A python script I have depends on the requests2 package. I can run the script using
nix-shell --pure -p python3 -p python3Packages.requests2 --run ./my-script.py However when putting this line as a cron job I get the cron output: error: Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied What solutions are there to run a simple script with dependencies as a cron job, other than to add the script as a package? _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
