We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4d96187 + 9b835fb commit b111a54Copy full SHA for b111a54
libnpins/src/default.nix
@@ -212,6 +212,7 @@ let
212
image_name,
213
image_tag,
214
image_digest,
215
+ hash,
216
...
217
}:
218
if pkgs == null then
@@ -221,6 +222,7 @@ let
221
222
imageName = image_name;
223
imageDigest = image_digest;
224
finalImageTag = image_tag;
225
+ hash = hash;
226
};
227
in
228
mkFunctor (
test.nix
@@ -733,7 +733,7 @@ in
733
eq "$(jq -r .pins.hello_world.image_name npins/sources.json)" "localhost:5000/hello-world"
734
eq "$(jq -r .pins.hello_world.image_tag npins/sources.json)" "latest"
735
736
- nix-instantiate --eval --expr "((import ./npins).hello_world)"
+ nix-instantiate --eval --expr "((import ./npins).hello_world { pkgs = import ${pins.nixpkgs} {}; }).outPath"
737
'';
738
739
0 commit comments