mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
python3Packages: fix makeWrapperArgs (#555828)
This commit is contained in:
committed by
Martin Weinelt
parent
c46611e57c
commit
3bdcd22f9c
@@ -117,7 +117,10 @@ buildPythonPackage rec {
|
||||
done
|
||||
'';
|
||||
|
||||
makeWrapperArgs = [ ''--add-flags "--setopt=pluginpath=$out/${python.sitePackages}/dnf-plugins"'' ];
|
||||
makeWrapperArgs = [
|
||||
"--add-flags"
|
||||
"--setopt=pluginpath=$out/${python.sitePackages}/dnf-plugins"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Core plugins to use with DNF package manager";
|
||||
|
||||
@@ -18,7 +18,12 @@ buildPythonPackage rec {
|
||||
hash = "sha256-kX/DCXO/qwm1iF44gG7aBSUpG4Vf2Aer0zwrtq4YNHo=";
|
||||
};
|
||||
|
||||
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ graphviz ]}" ];
|
||||
makeWrapperArgs = [
|
||||
"--prefix"
|
||||
"PATH"
|
||||
":"
|
||||
(lib.makeBinPath [ graphviz ])
|
||||
];
|
||||
|
||||
# Needed so dot is on path of the test script
|
||||
nativeCheckInputs = [ graphviz ];
|
||||
|
||||
@@ -46,8 +46,8 @@ buildPythonPackage (finalAttrs: {
|
||||
makeWrapperArgs = [
|
||||
"--prefix"
|
||||
"PYTHONPATH"
|
||||
"."
|
||||
":"
|
||||
"."
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -71,7 +71,8 @@ buildPythonPackage {
|
||||
# It is only usable from the wrapped bin/nitropy
|
||||
makeWrapperArgs = [
|
||||
"--set"
|
||||
"LIBNK_PATH ${lib.makeLibraryPath [ libnitrokey ]}"
|
||||
"LIBNK_PATH"
|
||||
(lib.makeLibraryPath [ libnitrokey ])
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pynitrokey" ];
|
||||
|
||||
@@ -125,7 +125,11 @@ buildPythonPackage (finalAttrs: {
|
||||
'';
|
||||
|
||||
# Set env variable explicitly for Darwin, but allow overriding when invoking directly
|
||||
makeWrapperArgs = [ "--set-default FONTCONFIG_FILE ${finalAttrs.env.FONTCONFIG_FILE}" ];
|
||||
makeWrapperArgs = [
|
||||
"--set-default"
|
||||
"FONTCONFIG_FILE"
|
||||
finalAttrs.env.FONTCONFIG_FILE
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "weasyprint" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user