From efc8a642742943041a876afa705e7213d4b7c306 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 4 Jul 2024 15:56:24 -0400 Subject: nix: use channel path by default on stable nix --- shell.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'shell.nix') 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 ? , system ? builtins.currentSystem, - sources ? flakeSources, formatter ? pkgs.nixfmt-rfc-style, }: pkgs.mkShellNoCC { -- cgit v1.2.3