Fix Nix build by disabling broken cargo-auditable step
This commit is contained in:
1 parent
475e9f571f
commit
bb3c8e2200
2 files changed
+10
-7
No files matched your search
Generated
+4
-4
@@ -38,16 +38,16 @@
|
||||
"harfbuzz": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1719502711,
|
||||
"narHash": "sha256-2ieCf3ftNk851FZBDPVl+7QHWBqD729KiUxUyxi26Yg=",
|
||||
"lastModified": 1740783589,
|
||||
"narHash": "sha256-ac8hV7QFuxcKtVb0m6UhOEz6bXGqQr/qkRtIdpNbbWU=",
|
||||
"owner": "harfbuzz",
|
||||
"repo": "harfbuzz",
|
||||
"rev": "9c03576c49db6e7207d9bcdfe3abd170a809157f",
|
||||
"rev": "3ef8709829a5884517ad91a97b32b9435b2f20d1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "harfbuzz",
|
||||
"ref": "9.0.0",
|
||||
"ref": "10.4.0",
|
||||
"repo": "harfbuzz",
|
||||
"type": "github"
|
||||
}
|
||||
|
||||
+6
-3
@@ -25,7 +25,7 @@
|
||||
flake = false;
|
||||
};
|
||||
harfbuzz = {
|
||||
url = "github:harfbuzz/harfbuzz/9.0.0";
|
||||
url = "github:harfbuzz/harfbuzz/10.4.0";
|
||||
flake = false;
|
||||
};
|
||||
libpng = {
|
||||
@@ -131,14 +131,17 @@
|
||||
--replace-fail 'hash hostnamectl 2>/dev/null' 'command type -P hostnamectl &>/dev/null'
|
||||
'';
|
||||
|
||||
# Disable cargo-auditable until https://github.com/rust-secure-code/cargo-auditable/issues/124 is fixed
|
||||
auditable = false;
|
||||
|
||||
preFixup =
|
||||
lib.optionalString stdenv.isLinux ''
|
||||
lib.optionalString stdenv.isLinux /* bash */ ''
|
||||
patchelf \
|
||||
--add-needed "${pkgs.libGL}/lib/libEGL.so.1" \
|
||||
--add-needed "${pkgs.vulkan-loader}/lib/libvulkan.so.1" \
|
||||
$out/bin/wezterm-gui
|
||||
''
|
||||
+ lib.optionalString stdenv.isDarwin ''
|
||||
+ lib.optionalString stdenv.isDarwin /* bash */ ''
|
||||
mkdir -p "$out/Applications"
|
||||
OUT_APP="$out/Applications/WezTerm.app"
|
||||
cp -r assets/macos/WezTerm.app "$OUT_APP"
|
||||
|
||||
Reference in new issue
Block a user