Skip to content

Commit 255ef85

Browse files
authored
miracle-wm: 0.4.1 -> 0.5.1 (NixOS#392251)
2 parents fc08e97 + e1b123c commit 255ef85

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pkgs/by-name/mi/miracle-wm/package.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,21 @@
3030

3131
stdenv.mkDerivation (finalAttrs: {
3232
pname = "miracle-wm";
33-
version = "0.4.1";
33+
version = "0.5.1";
3434

3535
src = fetchFromGitHub {
3636
owner = "miracle-wm-org";
3737
repo = "miracle-wm";
3838
tag = "v${finalAttrs.version}";
39-
hash = "sha256-LPcVLpskpmHc8EzdNqMT6BnbY8Le/BVojpXPIqy6tGI=";
39+
hash = "sha256-PCY6vAnDjyoIL66oREUGRypQFX90EKB1RlXTkQDyXMw=";
4040
};
4141

4242
postPatch =
4343
''
4444
substituteInPlace CMakeLists.txt \
45-
--replace-fail 'DESTINATION /usr/lib' 'DESTINATION ''${CMAKE_INSTALL_LIBDIR}'
45+
--replace-fail 'DESTINATION /usr/lib' 'DESTINATION ''${CMAKE_INSTALL_LIBDIR}' \
46+
--replace-fail '-march=native' '# -march=native' \
47+
--replace-fail '-flto' '# -flto'
4648
''
4749
+ lib.optionalString (!finalAttrs.finalPackage.doCheck) ''
4850
substituteInPlace CMakeLists.txt \

0 commit comments

Comments
 (0)