Set flake channel as default for nix-shell and nix build

This commit is contained in:
Valentin Brandl 2022-02-18 12:18:09 +01:00
parent 0addd25afa
commit 8cf59cda0b

View File

@ -14,7 +14,7 @@ inputs:
]; ];
}; };
# nix shell and nix build should use the same channel as the flake # nix shell and nix build should use the same channel as the flake
registry.nixpkgs.flake = nixpkgs; registry.nixpkgs.flake = inputs.nixpkgs;
}; };
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;