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:
cswimr 2024-11-25 14:21:02 -05:00
parent d82fe7048a
commit ef297345e1
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
4 changed files with 22 additions and 7 deletions

View 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
];
}