Browse Source

runDhallCommand: append extra nativeBuildInputs

remotes/praha/master
Emery Hemingway 1 year ago
parent
commit
d3a3b8dc7c
  1. 5
      lib/default.nix

5
lib/default.nix

@ -18,8 +18,9 @@ let
in rec {
runDhallCommand = name: env: script:
nixpkgs.runCommand name
({ nativeBuildInputs = [ buildPackages.dhall ]; } // env) ''
nixpkgs.runCommand name (env // {
nativeBuildInputs = [ buildPackages.dhall ] ++ env.buildPackages or [ ];
}) ''
${dhallCachePrelude}
${script}
'';

Loading…
Cancel
Save