mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
spectrwm: use sourceRoot
This commit is contained in:
parent
483cf0f894
commit
3900ae5556
1 changed files with 1 additions and 5 deletions
|
@ -36,11 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
libbsd
|
libbsd
|
||||||
];
|
];
|
||||||
|
|
||||||
prePatch =
|
sourceRoot = finalAttrs.src.name + (if stdenv.hostPlatform.isDarwin then "/osx" else "/linux");
|
||||||
let
|
|
||||||
subdir = if stdenv.hostPlatform.isDarwin then "osx" else "linux";
|
|
||||||
in
|
|
||||||
"cd ${subdir}";
|
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue