feat(nix): add devShell

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-03-14 10:51:47 +01:00
parent 950f921c09
commit b324778be7
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951
3 changed files with 9 additions and 0 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use flake

3
.gitignore vendored
View File

@ -22,6 +22,9 @@ Debug
build build
/build-* /build-*
# direnv / Nix
.direnv/
# Install dirs # Install dirs
install install
/install-* /install-*

View File

@ -48,6 +48,11 @@
in in
packages // {default = packages.prismlauncher;}; packages // {default = packages.prismlauncher;};
devShells.default = pkgs.mkShell {
inputsFrom = [self.packages.${system}.default];
buildInputs = with pkgs; [ccache ninja];
};
overlay = final: packagesFn; overlay = final: packagesFn;
}); });
} }