Go to file
clerie e62674b6ec Explain derivations 2023-06-27 19:21:50 +02:00
.gitignore Bootstrap busybox from binaries 2023-06-27 18:09:35 +02:00
README.md Explain derivations 2023-06-27 19:21:50 +02:00
busybox.nix Add funktion to make easy shell builders 2023-06-27 19:13:04 +02:00
fetchurl.nix Bootstrap busybox from binaries 2023-06-27 18:09:35 +02:00

README.md

NixOS from scratch

My attempt to bootstrap a build environment in nix.

nix build -f busybox.nix busybox

All the busybox commands get exposed in a derivation called utils. You can build it:

nix build -f busybox.nix utils

The output of the derivation can be used as part of a PATH in a shell like it is done in shellDerivation.