Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

spectrwm: use `sourceRoot`

Acid Bong 3900ae55 483cf0f8

+1 -5
+1 -5
pkgs/by-name/sp/spectrwm/package.nix
··· 36 36 libbsd 37 37 ]; 38 38 39 - prePatch = 40 - let 41 - subdir = if stdenv.hostPlatform.isDarwin then "osx" else "linux"; 42 - in 43 - "cd ${subdir}"; 39 + sourceRoot = finalAttrs.src.name + (if stdenv.hostPlatform.isDarwin then "/osx" else "/linux"); 44 40 45 41 makeFlags = [ "PREFIX=${placeholder "out"}" ]; 46 42