summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-07-04 15:56:24 -0400
committerseth <[email protected]>2024-07-04 16:11:35 -0400
commitefc8a642742943041a876afa705e7213d4b7c306 (patch)
tree09fe8d9977a48b80b50eac7d6221997d51dca662 /shell.nix
parent3231025b71b827be26daaf3f082b0be48ab66c2e (diff)
nix: use channel path by default on stable nix
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/shell.nix b/shell.nix
index 61095bb..5ef2b64 100644
--- a/shell.nix
+++ b/shell.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,
formatter ? pkgs.nixfmt-rfc-style,
}:
pkgs.mkShellNoCC {