HN user

theesm

5 karma
Posts0
Comments2
View on HN
No posts found.

I've been doing something similiar utilizing guix shell[0] setting my shebang to e.g.:

#!/usr/bin/env -S guix shell python python-requests python-pandas -- python3

in scripts for including per-script dependencies. This is language agnostic as long as the interpreter and its dependencies are available as guix packages. I think there may be a similiar approach for utilizing nix shells that way as well.

[0] https://guix.gnu.org/manual/en/html_node/Invoking-guix-shell...

I'm still on a x230 I've bought 12 years ago (which was also manufactured in around 2012) as my personal daily driver. I replaced the keyboard once as I preferred the x220 one, replaced the battery every 4 years, and wouldn't even consider "upgrading" to something else. I mostly write C, Guile and Perl code in Emacs on this machine and spend another large chunk of my time in a terminal emulator, so I'd even argue that my hardware requirements haven't really changed during the last decade and probably won't for yet another.