From 2d1947ddaf0fe78d32017ae8ff6b2721c5c72a18 Mon Sep 17 00:00:00 2001 From: Georges Dubus Date: Tue, 25 Feb 2020 17:10:48 +0100 Subject: [PATCH] Fix foo to get back static executable 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. --- foo/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foo/default.nix b/foo/default.nix index fc58c68..df0d48a 100644 --- a/foo/default.nix +++ b/foo/default.nix @@ -60,7 +60,7 @@ in haskellPackages.callPackage ( { mkDerivation }: - haskellPackages.mkDerivation { + mkDerivation { pname = spec.name; version = spec.version; inherit src;