mirror of
https://github.com/nix-community/srvos.git
synced 2024-10-26 17:49:54 +03:00
e896b8f419
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.
6 lines
125 B
Nix
6 lines
125 B
Nix
{ system ? builtins.currentSystem }:
|
|
let
|
|
d = import ./. { inherit system; src = ./dev; };
|
|
in
|
|
d.devShells.${system}.default
|