Skip to content

Commit

Permalink
Moved devShell to flake, comments in flake
Browse files Browse the repository at this point in the history
  • Loading branch information
adivinaelnombre committed Dec 25, 2024
1 parent ad1491d commit e3ee174
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 23 deletions.
21 changes: 21 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
};
};
}
23 changes: 0 additions & 23 deletions shell.nix

This file was deleted.

0 comments on commit e3ee174

Please sign in to comment.