mirror of
https://codeberg.org/spire/nix.git
synced 2026-11-30 11:30:45 +01:00
sourcemod-addon-socket from source
This commit is contained in:
parent
b9ca632c6d
commit
7eeba3211f
9 changed files with 117 additions and 22 deletions
|
|
@ -17,6 +17,8 @@ in
|
|||
pname = "metamod-source";
|
||||
version = "1.12.0.1224";
|
||||
|
||||
outputs = ["out" "dev"];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=format-truncation -Wno-error=ignored-attributes -Wno-error=template-id-cdtor";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
|
@ -50,5 +52,9 @@ in
|
|||
|
||||
installPhase = ''
|
||||
mv package $out
|
||||
|
||||
mkdir $dev
|
||||
cp -r $src/public $dev/public
|
||||
ln -s $dev/public $dev/include
|
||||
'';
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue