APply a nix override

This commit is contained in:
Graham Christensen
2020-05-25 22:10:17 -04:00
parent c661bb2669
commit 9540815f73
2 changed files with 11 additions and 5 deletions

View File

@@ -1,10 +1,10 @@
{ runCommand, nixUnstable, jq, path }:
{ runCommand, nix, jq, path }:
let
map-squash = ./map-squash.nix;
mkSquashfsManifest = { name, storeContents, reverse ? false }:
runCommand "${name}-squashfs-manifest" {
buildInputs = [ nixUnstable jq ];
buildInputs = [ nix jq ];
requiredSystemFeatures = [ "recursive-nix" ];
exportReferencesGraph = [ "root" storeContents ];
NIX_PATH = "nixpkgs=${path}";