18 lines
390 B
Nix
18 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
|
||
|
|
];
|
||
|
|
}
|