feat(nix): add devShell
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
950f921c09
commit
b324778be7
3 changed files with 9 additions and 0 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use flake
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -22,6 +22,9 @@ Debug
|
|||
build
|
||||
/build-*
|
||||
|
||||
# direnv / Nix
|
||||
.direnv/
|
||||
|
||||
# Install dirs
|
||||
install
|
||||
/install-*
|
||||
|
|
|
@ -48,6 +48,11 @@
|
|||
in
|
||||
packages // {default = packages.prismlauncher;};
|
||||
|
||||
devShells.default = pkgs.mkShell {
|
||||
inputsFrom = [self.packages.${system}.default];
|
||||
buildInputs = with pkgs; [ccache ninja];
|
||||
};
|
||||
|
||||
overlay = final: packagesFn;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue