Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 820f3be9b491
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dfb9e8689dfb
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 5, 2020

  1. kupfer: fix build

    FRidh committed Nov 5, 2020
    Copy the full SHA
    dfb9e86 View commit details
Showing with 4 additions and 6 deletions.
  1. +4 −6 pkgs/applications/misc/kupfer/default.nix
10 changes: 4 additions & 6 deletions pkgs/applications/misc/kupfer/default.nix
Original file line number Diff line number Diff line change
@@ -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"
)
'';