Hacker Newsnew | past | comments | ask | show | jobs | submit | theesm's commentslogin

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...


Do these environments reuse existing system-installed packages and hard-link the files?


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.


The X230 is absolutely a classic, a local optimum of computer hardware. I have several of them at this point. It's just too bad that it doesn't have the X220's keyboard.


I've heard of people transplanting the X220 keyboard into X230, but don't knwo how polished that can turn out.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: