blob: 286084124ed2594ecac03bb06850013ce008418c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 :: ( <pkgs> -> {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`.
|