cabal2nix: fix cross-eval
for some reason symlinkJoin nativeBuildInputs isn't being spliced correctly ``` nix-repl> cabal2nix error: attribute 'runtimeShell' missing at /nix/store/4hzwal3mxyppnz63rv174iky8j16a7mg-source/pkgs/top-level/all-packages.nix:867:17: 866| substitutions = { 867| shell = targetPackages.runtimeShell; | ^ 868| passthru.tests = tests.makeWrapper; … while evaluating the attribute 'shell' of the derivation 'hook' at /nix/store/4hzwal3mxyppnz63rv174iky8j16a7mg-source/pkgs/stdenv/generic/make-derivation.nix:270:7: 269| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { 270| name = | ^ 271| let … while evaluating the attribute 'nativeBuildInputs' of the derivation 'cabal2nix-aarch64-unknown-linux-gnu-2.19.0' at /nix/store/4hzwal3mxyppnz63rv174iky8j16a7mg-source/pkgs/stdenv/generic/make-derivation.nix:270:7: 269| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { 270| name = | ^ 271| let «derivation ```
This commit is contained in:
parent
211fdaa087
commit
2fe86cc267
|
@ -3097,7 +3097,7 @@ with pkgs;
|
|||
|
||||
cabal2nix = symlinkJoin {
|
||||
inherit (cabal2nix-unwrapped) name meta;
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [ buildPackages.makeWrapper ];
|
||||
paths = [ cabal2nix-unwrapped ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/cabal2nix \
|
||||
|
|
Loading…
Reference in a new issue