etc.overlay: fix cross-build

This commit is contained in:
Jörg Thalheim 2024-06-23 17:16:01 +02:00
parent 2b14afdba3
commit 04efc006a4

View File

@ -64,9 +64,9 @@ let
etcHardlinks = filter (f: f.mode != "symlink" && f.mode != "direct-symlink") etc'; etcHardlinks = filter (f: f.mode != "symlink" && f.mode != "direct-symlink") etc';
build-composefs-dump = pkgs.runCommand "build-composefs-dump.py" build-composefs-dump = pkgs.buildPackages.runCommand "build-composefs-dump.py"
{ {
buildInputs = [ pkgs.python3 ]; buildInputs = [ pkgs.buildPackages.python3 ];
} '' } ''
install ${./build-composefs-dump.py} $out install ${./build-composefs-dump.py} $out
patchShebangs --host $out patchShebangs --host $out