katriawm: fix cross compilation and minor improvement
This commit is contained in:
parent
8ad2a44a5c
commit
ef8d674c3d
|
@ -16,8 +16,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
hash = "sha256-IWviLboZz421/Amz/QG4o8jYaG8Y/l5PvmvXfK5nzJE=";
|
hash = "sha256-IWviLboZz421/Amz/QG4o8jYaG8Y/l5PvmvXfK5nzJE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${finalAttrs.src.name}/src";
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
@ -32,8 +30,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
|
makeFlags = [ "-C" "src" ];
|
||||||
|
|
||||||
installFlags = [ "prefix=$(out)" ];
|
installFlags = [ "prefix=$(out)" ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/config.mk \
|
||||||
|
--replace pkg-config "$PKG_CONFIG"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://www.uninformativ.de/git/katriawm/file/README.html";
|
homepage = "https://www.uninformativ.de/git/katriawm/file/README.html";
|
||||||
description = "A non-reparenting, dynamic window manager with decorations";
|
description = "A non-reparenting, dynamic window manager with decorations";
|
||||||
|
|
Loading…
Reference in a new issue