Skip to content

Commit

Permalink
nixos/google-compute-image: don't use <nixpkgs>
Browse files Browse the repository at this point in the history
Avoid loading code from the NIX_PATH as it prevents pinning
  • Loading branch information
zimbatm committed Jan 28, 2019
1 parent a21dad5 commit 622f97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/virtualisation/google-compute-image.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ in
rm $out/disk.raw
popd
'';
configFile = <nixpkgs/nixos/modules/virtualisation/google-compute-config.nix>;
configFile = ./google-compute-config.nix;
format = "raw";
inherit diskSize;
inherit config lib pkgs;
Expand Down

0 comments on commit 622f97a

Please sign in to comment.