working overlay
This commit is contained in:
parent
1747b4516e
commit
7c41b132ec
|
@ -3,8 +3,8 @@ final: prev: {
|
||||||
retropieSetup = final.callPackage ./retropie-setup.nix {};
|
retropieSetup = final.callPackage ./retropie-setup.nix {};
|
||||||
joy2key = final.callPackage ./joy2key.nix {};
|
joy2key = final.callPackage ./joy2key.nix {};
|
||||||
runcommand = final.callPackage ./runcommand.nix {};
|
runcommand = final.callPackage ./runcommand.nix {};
|
||||||
emulationstationPatched = final.emulationStation.overrideAttrs (_: previous: {
|
emulationstationPatched = final.emulationstation.overrideAttrs (_: previous: {
|
||||||
patches = previous.patches ++ [ ./emulationstation.patch ];
|
patches = [ ./emulationstation.patch ];
|
||||||
});
|
});
|
||||||
symlinkJoinSubdir =
|
symlinkJoinSubdir =
|
||||||
args_@{ name
|
args_@{ name
|
||||||
|
@ -23,7 +23,7 @@ final: prev: {
|
||||||
}; # pass the defaults
|
}; # pass the defaults
|
||||||
in final.runCommand name args
|
in final.runCommand name args
|
||||||
''
|
''
|
||||||
mkdir -p $out
|
mkdir -p $out/${subdir}
|
||||||
for i in $(cat $pathsPath); do
|
for i in $(cat $pathsPath); do
|
||||||
${final.xorg.lndir}/bin/lndir -silent $i $out/${subdir}
|
${final.xorg.lndir}/bin/lndir -silent $i $out/${subdir}
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue