common/nix: chanage nixpkgs flake to github ref
This makes it so flake.lock files produced by `nix flake lock` don't reference my personal Nix store, but upstream Nixpkgs
This commit is contained in:
parent
4adc24b8bf
commit
00eb9d49b3
@ -32,7 +32,15 @@ in
|
|||||||
id = "nixpkgs";
|
id = "nixpkgs";
|
||||||
type = "indirect";
|
type = "indirect";
|
||||||
};
|
};
|
||||||
flake = inputs.nixpkgs;
|
|
||||||
|
# used instead of `flake` option so produced flake.lock files are
|
||||||
|
# portable
|
||||||
|
to = {
|
||||||
|
type = "github";
|
||||||
|
owner = "NixOS";
|
||||||
|
repo = "nixpkgs";
|
||||||
|
rev = "${inputs.nixpkgs.rev}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user