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
|
||||
# Import sources
|
||||
sources = import ./nix/sources.nix;
|
||||
pinnedPkgs = import ./pinned-pkgs.nix;
|
||||
|
||||
# And return that specific nixpkgs
|
||||
in sources.nixpkgs
|
||||
overlays = [];
|
||||
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