Mashup of flake utilities that I use often.
| examples/simple | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
Minimal flake utils
This repo contains random bits of code that I often use when creating flakes.
Included functions
eachSystem :: (<system> -> attrs)
Esentially equivalent to flake-utils' eachDefaultSystem
minimalMkShell :: ( <pkgs> -> {name ? "nix-shell", packages ? [], inputsFrom ? [], shellHook ? "", ...} -> derivation)
Like nixpkgs' mkShell but pulls in
fewer dependencies. The extra arguments (...) are all the attributes of stdenv.mkDerivation.