Make m1-linux run again!

This commit is contained in:
Natsu Kagami 2023-02-25 21:43:29 +01:00
parent 7684299ddc
commit b8e1b46b5c
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
8 changed files with 100 additions and 57 deletions

View file

@ -1,16 +1,5 @@
{ config, pkgs, lib, ... }:
let
fd =
if pkgs.stdenv.isAarch64 && pkgs.stdenv.isLinux then
pkgs.fd.overrideAttrs
(attrs:
{
preBuild = ''
export JEMALLOC_SYS_WITH_LG_PAGE=16
'';
}) else pkgs.fd;
in
{
imports = [
./kakoune/kak.nix