diff options
| author | seth <[email protected]> | 2024-07-04 15:56:24 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-07-04 16:11:35 -0400 |
| commit | efc8a642742943041a876afa705e7213d4b7c306 (patch) | |
| tree | 09fe8d9977a48b80b50eac7d6221997d51dca662 /default.nix | |
| parent | 3231025b71b827be26daaf3f082b0be48ab66c2e (diff) | |
nix: use channel path by default on stable nix
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/default.nix b/default.nix index 714dd75..fed42e8 100644 --- a/default.nix +++ b/default.nix @@ -1,16 +1,11 @@ -let - lock = builtins.fromJSON (builtins.readFile ./flake.lock); - fetchTree = import ./nix/fetchTree.nix; - flakeSources = builtins.mapAttrs (_: node: fetchTree node.locked) lock.nodes; -in { - pkgs ? import sources.nixpkgs { + pkgs ? import nixpkgs { inherit system; config = { }; overlays = [ ]; }, + nixpkgs ? <nixpkgs>, system ? builtins.currentSystem, - sources ? flakeSources, }: { website = pkgs.callPackage ./nix/package.nix { }; |
