Add SPEC launcher

This commit is contained in:
2024-10-09 15:52:46 +02:00
parent 7e68d432f9
commit 3bcc4255db
4 changed files with 111 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
{
stdenv
, bash
}:
stdenv.mkDerivation {
name = "speclaunch";
src = ./launcher.sh;
dontUnpack = true;
dontConfigure = true;
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
cp $src $out/bin/speclaunch
chmod +x $out/bin/speclaunch
'';
buildInputs = [ bash ];
enableParallelBuilding = false;
hardeningDisable = [ "all" ];
dontStrip = true;
}