Updated flake to allow unfree packages within devshells
This commit is contained in:
parent
d9039bf929
commit
e1b01c1d31
1 changed files with 10 additions and 1 deletions
11
flake.nix
11
flake.nix
|
|
@ -11,7 +11,16 @@
|
|||
|
||||
systems = ["x86_64-linux"];
|
||||
|
||||
perSystem = { config, pkgs, ... }:
|
||||
perSystem = { config, pkgs, system, ... }:
|
||||
let
|
||||
pkgs = import inputs.nixpkgs {
|
||||
inherit system;
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
cudaSupport = true;
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
devShells = {
|
||||
python311-dev = (import ./envs/python311.nix {inherit pkgs;});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue