News for hackers. Stuff that matters.
Re:NixOS 18.03 Released by jbboehr on Friday April 06, 2018 @11:30AM (#16773981)
There is a `/bin/sh` and `/usr/bin/env` provided - so you can use `/usr/bin/env bash`.

There is also this function which may be necessary for certain software: https://nixos.org/nixpkgs/manual/#sec-fhs-environments

You can compile some software manually in place using, for example, `nix-shell -p libssh2 -p zlib` without having to write a derivation. However, without writing a derivation, it may cease to function after a garbage collection or an upgrade.

Writing a derivation isn't too bad, here's one for one of my repos: https://github.com/jbboehr/handlebars.c/blob/master/derivati...

There are no comments on this comment yet.