Merge pull request #120461 from alyssais/netbsd-common

netbsd.common: just export the sources

authored by John Ericson and committed by GitHub a78ed5cb 068a59a3

+7 -12
+7 -12
pkgs/os-specific/bsd/netbsd/default.nix
··· 479 makeMinimal 480 install mandoc groff nbperf rpcgen 481 ]; 482 - extraPaths = with self; [ common.src ]; 483 headersOnly = true; 484 noCC = true; 485 meta.platforms = lib.platforms.netbsd; 486 makeFlags = [ "RPCGEN_CPP=${buildPackages.stdenv.cc.cc}/bin/cpp" ]; 487 }; 488 489 - common = mkDerivation { 490 - path = "common"; 491 - version = "8.0"; 492 - sha256 = "1fsm2b7p7zkhiz523jw75088cq2h39iknp0fp3di9a64bikwbhi1"; 493 - noCC = true; 494 - }; 495 496 sys-headers = mkDerivation { 497 pname = "sys-headers"; ··· 527 ''; 528 529 meta.platforms = lib.platforms.netbsd; 530 - extraPaths = with self; [ common.src ]; 531 532 installPhase = "includesPhase"; 533 dontBuild = true; ··· 564 path = "lib/libutil"; 565 version = "8.0"; 566 sha256 = "077syyxd303m4x7avs5nxzk4c9n13d5lyk5aicsacqjvx79qrk3i"; 567 - extraPaths = with self; [ common.src libc.src sys.src ]; 568 nativeBuildInputs = with buildPackages.netbsd; [ 569 bsdSetupHook 570 makeMinimal ··· 678 version = "8.0"; 679 sha256 = "078qsi4mg1hyyxr1awvjs9b0c2gicg3zw4vl603g1m9vm8gfxw9l"; 680 meta.platforms = lib.platforms.netbsd; 681 - extraPaths = with self; [ common.src libc.src ]; 682 postPatch = '' 683 sed -i 's,/usr\(/include/sys/syscall.h\),${self.headers}\1,g' \ 684 $BSDSRCDIR/lib/{libc,librt}/sys/Makefile.inc ··· 710 noCC = false; 711 dontBuild = false; 712 buildInputs = with self; [ headers ]; 713 - extraPaths = with self; [ common.src libc.src sys.src ]; 714 }; 715 716 libresolv = mkDerivation { ··· 773 USE_FORT = "yes"; 774 MKPROFILE = "no"; 775 extraPaths = with self; [ 776 - common.src i18n_module.src sys.src 777 ld_elf_so.src libpthread.src libm.src libresolv.src 778 librpcsvc.src libutil.src librt.src libcrypt.src 779 ];
··· 479 makeMinimal 480 install mandoc groff nbperf rpcgen 481 ]; 482 + extraPaths = with self; [ common ]; 483 headersOnly = true; 484 noCC = true; 485 meta.platforms = lib.platforms.netbsd; 486 makeFlags = [ "RPCGEN_CPP=${buildPackages.stdenv.cc.cc}/bin/cpp" ]; 487 }; 488 489 + common = fetchNetBSD "common" "8.0" "1fsm2b7p7zkhiz523jw75088cq2h39iknp0fp3di9a64bikwbhi1"; 490 491 sys-headers = mkDerivation { 492 pname = "sys-headers"; ··· 522 ''; 523 524 meta.platforms = lib.platforms.netbsd; 525 + extraPaths = with self; [ common ]; 526 527 installPhase = "includesPhase"; 528 dontBuild = true; ··· 559 path = "lib/libutil"; 560 version = "8.0"; 561 sha256 = "077syyxd303m4x7avs5nxzk4c9n13d5lyk5aicsacqjvx79qrk3i"; 562 + extraPaths = with self; [ common libc.src sys.src ]; 563 nativeBuildInputs = with buildPackages.netbsd; [ 564 bsdSetupHook 565 makeMinimal ··· 673 version = "8.0"; 674 sha256 = "078qsi4mg1hyyxr1awvjs9b0c2gicg3zw4vl603g1m9vm8gfxw9l"; 675 meta.platforms = lib.platforms.netbsd; 676 + extraPaths = with self; [ common libc.src ]; 677 postPatch = '' 678 sed -i 's,/usr\(/include/sys/syscall.h\),${self.headers}\1,g' \ 679 $BSDSRCDIR/lib/{libc,librt}/sys/Makefile.inc ··· 705 noCC = false; 706 dontBuild = false; 707 buildInputs = with self; [ headers ]; 708 + extraPaths = with self; [ common libc.src sys.src ]; 709 }; 710 711 libresolv = mkDerivation { ··· 768 USE_FORT = "yes"; 769 MKPROFILE = "no"; 770 extraPaths = with self; [ 771 + common i18n_module.src sys.src 772 ld_elf_so.src libpthread.src libm.src libresolv.src 773 librpcsvc.src libutil.src librt.src libcrypt.src 774 ];