Mashup of flake utilities that I use often.
Find a file
2024-08-01 02:35:59 +02:00
examples/simple Fix eachSystem 2024-07-30 16:33:16 +02:00
.gitignore Initial commit 2024-07-30 16:12:20 +02:00
flake.lock Initial commit 2024-07-30 16:12:20 +02:00
flake.nix Fix eachSystem 2024-07-30 16:33:16 +02:00
LICENSE Add MIT license 2024-07-30 16:36:41 +02:00
README.md Fix typo in README 2024-08-01 02:35:59 +02:00

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.