feat: wrap burrito exec to cd in its folder (to be able to run ./xml_converter)

This commit is contained in:
Xavier Morel
2025-04-22 13:42:34 +02:00
parent f958345e07
commit 2d7e482012
2 changed files with 5 additions and 10 deletions

View File

@@ -33,16 +33,7 @@
libudev-zero libudev-zero
]; ];
runScript = "${src}/burrito.x86_64"; runScript = "${self}/script.sh ${src}";
# dummy
# to see whats I'm getting
#installPhase = ''
# mkdir -p $out/bin
# cp -r $src $out/bin
# cp $src/burrito.x86_64 $out/bin/burrito-gw2
# chmod +x $out/bin/burrito-gw2
#'';
}; };
devShell.${system} = pkgs.mkShell { devShell.${system} = pkgs.mkShell {

4
script.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
cd $1
./burrito.x86_64