tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
spectrwm: use `sourceRoot`
Acid Bong
8 months ago
3900ae55
483cf0f8
+1
-5
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
sp
spectrwm
package.nix
+1
-5
pkgs/by-name/sp/spectrwm/package.nix
···
36
36
libbsd
37
37
];
38
38
39
39
-
prePatch =
40
40
-
let
41
41
-
subdir = if stdenv.hostPlatform.isDarwin then "osx" else "linux";
42
42
-
in
43
43
-
"cd ${subdir}";
39
39
+
sourceRoot = finalAttrs.src.name + (if stdenv.hostPlatform.isDarwin then "/osx" else "/linux");
44
40
45
41
makeFlags = [ "PREFIX=${placeholder "out"}" ];
46
42