wonderful

This commit is contained in:
Rakarake 2026-01-03 17:20:17 +01:00
parent 164c8dd15f
commit fc0bb752f7
2 changed files with 12 additions and 4 deletions

6
flake.lock generated
View file

@ -20,11 +20,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1764950072, "lastModified": 1767116409,
"narHash": "sha256-BmPWzogsG2GsXZtlT+MTcAWeDK5hkbGRZTeZNW42fwA=", "narHash": "sha256-5vKw92l1GyTnjoLzEagJy5V5mDFck72LiQWZSOnSicw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f61125a668a320878494449750330ca58b78c557", "rev": "cad22e7d996aea55ecab064e84834289143e44a0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -9,7 +9,7 @@
let let
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
in in
{ rec {
defaultPackage = pkgs.stdenv.mkDerivation rec { defaultPackage = pkgs.stdenv.mkDerivation rec {
LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath buildInputs}"; LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath buildInputs}";
name = "glonkers"; name = "glonkers";
@ -28,6 +28,14 @@
cp glonkers $out/bin cp glonkers $out/bin
''; '';
}; };
devShell = pkgs.mkShell {
packages =
defaultPackage.nativeBuildInputs ++
defaultPackage.buildInputs ++
(with pkgs; [
renderdoc
]);
};
} }
); );
} }