working overlay

This commit is contained in:
sinavir 2024-01-06 19:35:33 +01:00
parent 1747b4516e
commit 7c41b132ec

View file

@ -3,8 +3,8 @@ final: prev: {
retropieSetup = final.callPackage ./retropie-setup.nix {};
joy2key = final.callPackage ./joy2key.nix {};
runcommand = final.callPackage ./runcommand.nix {};
emulationstationPatched = final.emulationStation.overrideAttrs (_: previous: {
patches = previous.patches ++ [ ./emulationstation.patch ];
emulationstationPatched = final.emulationstation.overrideAttrs (_: previous: {
patches = [ ./emulationstation.patch ];
});
symlinkJoinSubdir =
args_@{ name
@ -23,7 +23,7 @@ final: prev: {
}; # pass the defaults
in final.runCommand name args
''
mkdir -p $out
mkdir -p $out/${subdir}
for i in $(cat $pathsPath); do
${final.xorg.lndir}/bin/lndir -silent $i $out/${subdir}
done