Skip to content

Commit

Permalink
Fix foo to get back static executable
Browse files Browse the repository at this point in the history
The `overrideCabal` mechanism, used to provide static executables, requires the `mkDerivation` argument in `callPackage` to be actually used. `foo/default.nix` currently ignores this argument, so this broke the static executable override.
  • Loading branch information
madjar authored and nmattia committed Feb 25, 2020
1 parent 5fc9a36 commit 2d1947d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion foo/default.nix
Expand Up @@ -60,7 +60,7 @@
in
haskellPackages.callPackage (
{ mkDerivation }:
haskellPackages.mkDerivation {
mkDerivation {
pname = spec.name;
version = spec.version;
inherit src;
Expand Down

0 comments on commit 2d1947d

Please sign in to comment.