mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
llvmPackages.*: fix shebangs (#564731)
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
release_version,
|
||||
version,
|
||||
python3,
|
||||
perl,
|
||||
buildLlvmPackages,
|
||||
fixDarwinDylibNames,
|
||||
enableManpages ? false,
|
||||
@@ -97,6 +98,8 @@ stdenv.mkDerivation (
|
||||
buildInputs = [
|
||||
libxml2
|
||||
libllvm
|
||||
python3
|
||||
perl
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -128,7 +128,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ jq ];
|
||||
buildInputs =
|
||||
lib.optional (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isRiscV) linuxHeaders
|
||||
lib.optionals (!stdenv.hostPlatform.useLLVM) [
|
||||
python3 # FIXME: infinite recursion for pkgsLLVM
|
||||
]
|
||||
++ lib.optional (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isRiscV) linuxHeaders
|
||||
++ lib.optional (stdenv.hostPlatform.isFreeBSD) freebsd.include;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
@@ -54,7 +54,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]
|
||||
++ (lib.optional needHdrGen python3Packages.pyyaml);
|
||||
|
||||
buildInputs = lib.optional (isFullBuild && stdenv.hostPlatform.isLinux) linuxHeaders;
|
||||
buildInputs = [
|
||||
python3
|
||||
]
|
||||
++ lib.optional (isFullBuild && stdenv.hostPlatform.isLinux) linuxHeaders;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
|
||||
@@ -298,6 +298,7 @@ stdenv.mkDerivation (
|
||||
buildInputs = [
|
||||
libxml2
|
||||
libffi
|
||||
python3 # for opt-viewer scripts
|
||||
]
|
||||
++ optional enablePFM libpfm; # exegesis
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
runCommand,
|
||||
cmake,
|
||||
ninja,
|
||||
bashNonInteractive,
|
||||
libxml2,
|
||||
libllvm,
|
||||
version,
|
||||
@@ -68,6 +69,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
bashNonInteractive
|
||||
libllvm
|
||||
libxml2
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user