From a524bf5c41c17975d7e85d87db1dc1d49e472f88 Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Tue, 30 Jul 2024 16:12:20 +0200 Subject: Initial commit --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 README.md (limited to 'README.md') 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 :: ( -> 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`. -- cgit v1.3.1