Fix a lot of FIXMEs

This commit is contained in:
Geoffrey Frogeye 2023-12-04 22:47:02 +01:00
parent 6569596b8a
commit f12ff6a989
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
13 changed files with 86 additions and 51 deletions

View file

@ -34,5 +34,18 @@
# Enable sound
sound.enable = true;
hardware.pulseaudio.enable = true;
# UPST
# TODO Find a way to override packages either at NixOS level or HM level depending on what is used
nixpkgs.overlays = [
(final: prev: {
sct = prev.sct.overrideAttrs
(old: {
patches = (old.patches or [ ]) ++ [
./sct_aarch64.patch
];
});
})
];
};
}

10
os/sct_aarch64.patch Normal file
View file

@ -0,0 +1,10 @@
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@ LIBDIR_i386=$(PREFIX)/lib
LIBDIR_i686=$(PREFIX)/lib
LIBDIR_amd64=$(PREFIX)/lib
LIBDIR_x86_64=$(PREFIX)/lib64
+LIBDIR_aarch64=$(PREFIX)/lib
LIBDIR?=$(LIBDIR_$(MACHINE))
MANDIR_Darwin=$(PREFIX)/share/man
MANDIR_Linux=$(PREFIX)/share/man