kronos/shell.nix
2026-04-13 10:53:07 +02:00

17 lines
390 B
Nix

# Use npins to pin nixpkgs dependencies
# This makes it easier to cache build results
{
sources ? import ./npins,
system ? builtins.currentSystem,
pkgs ? import sources.nixpkgs {
inherit system;
config = { };
overlays = [ ];
},
}:
# Create a nix shell with devenv (so `use devenv` can work in direnv/.envrc)
pkgs.mkShell {
buildInputs = with pkgs; [
devenv
];
}