mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-04-11 18:57:47 +00:00
Moved devShell to flake, comments in flake
This commit is contained in:
parent
ad1491d944
commit
e3ee174b53
21
flake.nix
21
flake.nix
@ -33,9 +33,30 @@
|
||||
};
|
||||
in
|
||||
{
|
||||
# Install the game on your own computer
|
||||
packages.x86_64-linux = {
|
||||
hl2 = pkgs.callPackage ./build.nix { inherit hl2-unwrapped; };
|
||||
default = self.packages.x86_64-linux.hl2;
|
||||
};
|
||||
|
||||
# Build the game for others
|
||||
devShells.default = pkgs.mkShell rec {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
makeWrapper
|
||||
SDL2
|
||||
freetype
|
||||
fontconfig
|
||||
zlib
|
||||
bzip2
|
||||
libjpeg
|
||||
libpng
|
||||
curl
|
||||
openal
|
||||
libopus
|
||||
pkg-config
|
||||
gcc
|
||||
python3
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user