srvos/shell.nix
zimbatm e896b8f419
introduce dev flake
Keep the number of exposed inputs from the top-level flake small by
splitting the development environment into its own flake.

The .envrc uses `--override-input srvos path:$PATH` so that the srvos
path always get re-calculated on reload, but not recorded. Since the
hash of srvos is stored inside of srvos, it would infinitely update
otherwise.
2023-04-03 16:10:38 +02:00

6 lines
125 B
Nix

{ system ? builtins.currentSystem }:
let
d = import ./. { inherit system; src = ./dev; };
in
d.devShells.${system}.default