katriawm: fix cross compilation and minor improvement

authored by Nick Cao and committed by Anderson Torres ef8d674c 8ad2a44a

+7 -2
+7 -2
pkgs/by-name/ka/katriawm/package.nix
··· 16 16 hash = "sha256-IWviLboZz421/Amz/QG4o8jYaG8Y/l5PvmvXfK5nzJE="; 17 17 }; 18 18 19 - sourceRoot = "${finalAttrs.src.name}/src"; 20 - 21 19 nativeBuildInputs = [ 22 20 pkg-config 23 21 ]; ··· 32 30 33 31 strictDeps = true; 34 32 33 + makeFlags = [ "-C" "src" ]; 34 + 35 35 installFlags = [ "prefix=$(out)" ]; 36 + 37 + postPatch = '' 38 + substituteInPlace src/config.mk \ 39 + --replace pkg-config "$PKG_CONFIG" 40 + ''; 36 41 37 42 meta = { 38 43 homepage = "https://www.uninformativ.de/git/katriawm/file/README.html";