separate out the import of sources.nix
This commit is contained in:
parent
e9818f358c
commit
ee898e593a
12
default.nix
12
default.nix
@ -1,6 +1,10 @@
|
|||||||
let
|
let
|
||||||
# Import sources
|
pinnedPkgs = import ./pinned-pkgs.nix;
|
||||||
sources = import ./nix/sources.nix;
|
|
||||||
|
|
||||||
# And return that specific nixpkgs
|
overlays = [];
|
||||||
in sources.nixpkgs
|
config = {};
|
||||||
|
|
||||||
|
pkgs = pinnedPkgs {
|
||||||
|
inherit overlays;
|
||||||
|
};
|
||||||
|
in pkgs
|
||||||
|
1
pinned-pkgs.nix
Normal file
1
pinned-pkgs.nix
Normal file
@ -0,0 +1 @@
|
|||||||
|
import (import ./nix/sources.nix).nixpkgs
|
Loading…
Reference in New Issue
Block a user