mirror of
https://codeberg.org/spire/nix.git
synced 2026-11-30 19:30:46 +01:00
fix sourcemod building
This commit is contained in:
parent
729767748f
commit
5ac6c298d1
2 changed files with 13 additions and 13 deletions
|
|
@ -14,17 +14,17 @@
|
|||
paths = attrValues sdks;
|
||||
};
|
||||
in
|
||||
multiStdenv.mkDerivation rec {
|
||||
multiStdenv.mkDerivation (finalAttrs: {
|
||||
pname = "metamod-source";
|
||||
version = "1.12";
|
||||
version = "1.12.0.1224";
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation -Wno-error=ignored-attributes -Wno-error=template-id-cdtor";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alliedmodders";
|
||||
repo = pname;
|
||||
rev = "02ee4a312525d17b2f6d2f21a953d06";
|
||||
sha256 = "sha256-Q+MDJsB6bDWos04gkzr2QY8Bn+vDmHM0ljQy80FlKzM=";
|
||||
repo = finalAttrs.pname;
|
||||
rev = finalAttrs.version;
|
||||
sha256 = "sha256-zH1ww22D0Ksthl7aTVbegrO/dnLCyV7mz1CQ9SeyOBY=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
|
@ -54,4 +54,4 @@ in
|
|||
mv package $out/share
|
||||
cp -r $src $out/include
|
||||
'';
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue