1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-07 22:36:53 +03:00

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.
This commit is contained in:
Georges Dubus 2020-02-25 17:10:48 +01:00 committed by Nicolas Mattia
parent 5fc9a36c97
commit 2d1947ddaf

View File

@ -60,7 +60,7 @@
in
haskellPackages.callPackage (
{ mkDerivation }:
haskellPackages.mkDerivation {
mkDerivation {
pname = spec.name;
version = spec.version;
inherit src;