diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..9c9027e --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# 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](https://github.com/numtide/flake-utils/blob/b1d9ab70662946ef0850d488da1c9019f3a9752a/README.md#eachdefaultsystem--system---attrs) + +### `mkMinimalShell :: ( {name ? "nix-shell", packages ? [], inputsFrom ? [], shellHook ? "", ...} -> derivation)` + +Like [nixpkgs' mkShell](https://ryantm.github.io/nixpkgs/builders/special/mkshell/) but pulls in +fewer dependencies. The extra arguments (...) are all the attributes of `stdenv.mkDerivation`. |
