mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
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=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/src";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
@ -32,8 +30,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
makeFlags = [ "-C" "src" ];
|
||||
|
||||
installFlags = [ "prefix=$(out)" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/config.mk \
|
||||
--replace pkg-config "$PKG_CONFIG"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.uninformativ.de/git/katriawm/file/README.html";
|
||||
description = "A non-reparenting, dynamic window manager with decorations";
|
||||
|
Loading…
Reference in New Issue
Block a user