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 /shell.nix | |
| parent | 3231025b71b827be26daaf3f082b0be48ab66c2e (diff) | |
nix: use channel path by default on stable nix
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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 { |
