2
0
Fork 0

packages/genodelabs: move all those patches to a subdir

This commit is contained in:
Ehmry - 2020-11-10 17:32:49 +01:00
parent 1dad7fa174
commit a7ef650679
23 changed files with 16 additions and 16 deletions

View File

@ -30,7 +30,7 @@ let
version = upstreamSources.lastModifiedDate; version = upstreamSources.lastModifiedDate;
src = upstreamSources; src = upstreamSources;
nativeBuildInputs = [ expect gnumake tcl ]; nativeBuildInputs = [ expect gnumake tcl ];
patches = [ ./binary-labels.patch ./label-fail.patch ]; patches = [ ./patches/binary-labels.patch ./patches/label-fail.patch ];
configurePhase = '' configurePhase = ''
patchShebangs ./tool patchShebangs ./tool
substituteInPlace repos/base/etc/tools.conf \ substituteInPlace repos/base/etc/tools.conf \
@ -296,7 +296,7 @@ let
''; '';
}; };
basePatches = [ ./cxx-align.patch ./core-diag.patch ]; basePatches = [ ./patches/cxx-align.patch ./patches/core-diag.patch ];
in makePackages // depotPackages // { in makePackages // depotPackages // {

View File

@ -31,7 +31,7 @@ in {
''; '';
}; };
cached_fs_rom.patches = [ ./cached_fs_rom.patch ]; cached_fs_rom.patches = [ ./patches/cached_fs_rom.patch ];
coreutils = { coreutils = {
enableParallelBuilding = false; enableParallelBuilding = false;
@ -49,9 +49,9 @@ in {
gpt_write.portInputs = [ jitterentropy ]; gpt_write.portInputs = [ jitterentropy ];
init.patches = [ ./sandbox.patch ./xml-fail.patch ]; init.patches = [ ./patches/sandbox.patch ./patches/xml-fail.patch ];
event_filter.patches = [ ./event_filter.patch ]; event_filter.patches = [ ./patches/event_filter.patch ];
intel_fb_drv = { intel_fb_drv = {
BOARD = "pc"; BOARD = "pc";
@ -63,7 +63,7 @@ in {
libc = { libc = {
buildInputs = [ self.vfs ]; buildInputs = [ self.vfs ];
portInputs = [ libc ]; portInputs = [ libc ];
patches = [ ./libc.patch ]; patches = [ ./patches/libc.patch ];
}; };
libiconv.portInputs = [ libc libiconv ]; libiconv.portInputs = [ libc libiconv ];
@ -80,7 +80,7 @@ in {
noux.portInputs = [ libc ]; noux.portInputs = [ libc ];
platform_drv.patches = [ ./platform_drv.patch ]; platform_drv.patches = [ ./patches/platform_drv.patch ];
posix = { posix = {
buildInputs = [ self.libc ]; buildInputs = [ self.libc ];
@ -104,9 +104,9 @@ in {
# The following are tests are patched to exit at completion # The following are tests are patched to exit at completion
"test-log".patches = [ ./test-log.patch ]; "test-log".patches = [ ./patches/test-log.patch ];
"test-signal".patches = [ ./test-signal.patch ]; "test-signal".patches = [ ./patches/test-signal.patch ];
usb_drv.portInputs = [ dde_linux ]; usb_drv.portInputs = [ dde_linux ];
@ -119,10 +119,10 @@ in {
vfs.outputs = [ "out" "lib" ]; vfs.outputs = [ "out" "lib" ];
vfs_audit = { }; vfs_audit = { };
vfs_block = { }; vfs_block = { };
vfs_import.patches = [ ./vfs_import.patch ]; vfs_import.patches = [ ./patches/vfs_import.patch ];
vfs_jitterentropy.portInputs = [ jitterentropy libc ]; vfs_jitterentropy.portInputs = [ jitterentropy libc ];
vfs_lwip = { vfs_lwip = {
patches = [ ./lwip.patch ]; patches = [ ./patches/lwip.patch ];
portInputs = [ lwip ]; portInputs = [ lwip ];
}; };
vfs_pipe = { }; vfs_pipe = { };
@ -131,7 +131,7 @@ in {
virtdev_rom = { }; virtdev_rom = { };
virtio_nic_drv = { virtio_nic_drv = {
patches = [ ./virtio_net.patch ]; patches = [ ./patches/virtio_net.patch ];
postInstall = "mv $out/bin/virtio_*_nic $out/bin/$pname"; postInstall = "mv $out/bin/virtio_*_nic $out/bin/$pname";
}; };

View File

@ -9,14 +9,14 @@
test-pci = { test-pci = {
targets = [ "test/pci" ]; targets = [ "test/pci" ];
patches = [ ./test-pci.patch ]; patches = [ ./patches/test-pci.patch ];
}; };
test-rtc.targets = [ "test/rtc" ]; test-rtc.targets = [ "test/rtc" ];
test-vmm_x86 = { test-vmm_x86 = {
targets = [ "test/vmm_x86" ]; targets = [ "test/vmm_x86" ];
patches = [ ./test-vmm_x86.patch ]; patches = [ ./patches/test-vmm_x86.patch ];
}; };
} }

View File

@ -20,13 +20,13 @@ with pkgs;
dde_rump = { dde_rump = {
hash = "sha256-Wr5otGkWEa+5xImsFHQzwap5LckNEbyWA/7xbNcOreI="; hash = "sha256-Wr5otGkWEa+5xImsFHQzwap5LckNEbyWA/7xbNcOreI=";
nativeBuildInputs = [ subversion ]; nativeBuildInputs = [ subversion ];
patches = [ ./svn-trust-server-cert.patch ]; patches = [ ./patches/svn-trust-server-cert.patch ];
}; };
expat.hash = "sha256-KpeM2ySmf+Ojx1mAj9n8lfX7iHaa7w5MPPKZcn4GpTc="; expat.hash = "sha256-KpeM2ySmf+Ojx1mAj9n8lfX7iHaa7w5MPPKZcn4GpTc=";
gcc = { gcc = {
hash = "sha256-1AKjUbh8X5ips8pg0twpBTtc2qCVXGrbifJ/cf3yRcE="; hash = "sha256-1AKjUbh8X5ips8pg0twpBTtc2qCVXGrbifJ/cf3yRcE=";
nativeBuildInputs = [ autoconf264 autogen ]; nativeBuildInputs = [ autoconf264 autogen ];
patches = [ ./gcc-port.patch ]; patches = [ ./patches/gcc-port.patch ];
}; };
gdb.hash = "sha256-YfVWDdXSRt7rHMvlMxIL5ikbHDe/e6ryTt3V7FfsJ4M="; gdb.hash = "sha256-YfVWDdXSRt7rHMvlMxIL5ikbHDe/e6ryTt3V7FfsJ4M=";
gmp.hash = "sha256-ZOHMhhqMe8glpMEGg++uDjCxXksAXDiBKCchEPQKTCA="; gmp.hash = "sha256-ZOHMhhqMe8glpMEGg++uDjCxXksAXDiBKCchEPQKTCA=";