flake: shell/ -> shell.nix
This commit is contained in:
parent
c69cc18327
commit
e6aa87bbf1
3 changed files with 2 additions and 2 deletions
40
shell.nix
Normal file
40
shell.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ self, lib, ... }:
|
||||
|
||||
{
|
||||
perSystem =
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs',
|
||||
...
|
||||
}:
|
||||
{
|
||||
devshells.default =
|
||||
let
|
||||
pythonEnv = (
|
||||
pkgs.python3.withPackages (
|
||||
p: with p; [
|
||||
qtile
|
||||
qtile-extras
|
||||
]
|
||||
)
|
||||
);
|
||||
in
|
||||
{
|
||||
devshell.name = "universe";
|
||||
devshell.motd = "";
|
||||
|
||||
devshell.packages = [
|
||||
pythonEnv
|
||||
inputs'.disko.packages.disko
|
||||
];
|
||||
|
||||
env = [
|
||||
{
|
||||
name = "PYTHONPATH";
|
||||
prefix = "${pythonEnv}/${pythonEnv.sitePackages}";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue