mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +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
|
||||
];
|
||||
|
||||
prePatch =
|
||||
let
|
||||
subdir = if stdenv.hostPlatform.isDarwin then "osx" else "linux";
|
||||
in
|
||||
"cd ${subdir}";
|
||||
sourceRoot = finalAttrs.src.name + (if stdenv.hostPlatform.isDarwin then "/osx" else "/linux");
|
||||
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue