-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
atuin: 16.0.0 -> 17.0.1 #263530
atuin: 16.0.0 -> 17.0.1 #263530
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I am running it on my machine and it seems to work well.
With the fix from the most recent change the build starts for me too. Unfortunately on aarch64-darwin the build fails when doing:
Full error
I tried adding
Full log
|
This should fix the darwin build: r-vdp@f730413 @ljrk0: apple SDK stuff is not in the global namespace used by |
I could fix this:
Now everything builds successfully. Patch: From baf4bb8a715a2fe435704fd9a7d22ed773255dc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Janis=20K=C3=B6nig?= <[email protected]>
Date: Thu, 26 Oct 2023 18:09:13 +0200
Subject: [PATCH] Fix missing framework: AppKit
Error on aarch64-darwin:
ld: framework not found AppKit
---
pkgs/tools/misc/atuin/default.nix | 3 ++-
pkgs/top-level/all-packages.nix | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/pkgs/tools/misc/atuin/default.nix b/pkgs/tools/misc/atuin/default.nix
index 4ce035300400..4b1de31970fd 100644
--- a/pkgs/tools/misc/atuin/default.nix
+++ b/pkgs/tools/misc/atuin/default.nix
@@ -6,6 +6,7 @@
, libiconv
, Security
, SystemConfiguration
+, AppKit
, nixosTests
}:
@@ -28,7 +29,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles ];
- buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security SystemConfiguration ];
+ buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security SystemConfiguration AppKit ];
postInstall = ''
installShellCompletion --cmd atuin \
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 365bde606773..8fa6f73e5543 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -285,7 +285,7 @@ with pkgs;
_0x = callPackage ../tools/misc/0x { };
atuin = callPackage ../tools/misc/atuin {
- inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
+ inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration AppKit;
};
automatic-timezoned = callPackage ../tools/system/automatic-timezoned { };
--
2.39.3 (Apple Git-145) EDIT: Haha, @r-vdp beat me to it by the second :'D |
Result of 1 package built:
|
Thanks for the great Darwin support on this PR. ❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I just tried it locally and it works fine there but the nixos test fails 🤔 |
I'll merge this since the test failures are unrelated to this pr |
Description of changes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)