use script-dependencies.nix
as a nix shell environment instead of specifying dependencies in shebangs of each individual script file
This commit is contained in:
parent
d82fe7048a
commit
ef297345e1
4 changed files with 22 additions and 7 deletions
15
nixos/script-dependencies.nix
Normal file
15
nixos/script-dependencies.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
let
|
||||
nixpkgs = fetchTarball
|
||||
"https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
|
||||
pkgs = import nixpkgs {
|
||||
config = { };
|
||||
overlays = [ ];
|
||||
};
|
||||
in pkgs.mkShellNoCC {
|
||||
packages = with pkgs; [
|
||||
libnotify
|
||||
python312
|
||||
python312Packages.requests
|
||||
python312Packages.pyperclip
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue