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