kupfer: fix build
This commit is contained in:
parent
820f3be9b4
commit
dfb9e8689d
@ -16,6 +16,8 @@ buildPythonApplication rec {
|
||||
pname = "kupfer";
|
||||
version = "319";
|
||||
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/kupferlauncher/kupfer/releases/download/v${version}/kupfer-v${version}.tar.xz";
|
||||
sha256 = "0c9xjx13r8ckfr4az116bhxsd3pk78v04c3lz6lqhraak0rp4d92";
|
||||
@ -33,13 +35,9 @@ buildPythonApplication rec {
|
||||
# see https://github.com/NixOS/nixpkgs/issues/56943 for details
|
||||
strictDeps = false;
|
||||
|
||||
postInstall = let
|
||||
pythonPath = (stdenv.lib.concatMapStringsSep ":"
|
||||
(m: "${m}/lib/${python.libPrefix}/site-packages")
|
||||
propagatedBuildInputs);
|
||||
in ''
|
||||
postInstall = ''
|
||||
gappsWrapperArgs+=(
|
||||
"--prefix" "PYTHONPATH" : "${pythonPath}"
|
||||
"--prefix" "PYTHONPATH" : "${makePythonPath propagatedBuildInputs}"
|
||||
"--set" "PYTHONNOUSERSITE" "1"
|
||||
)
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user