git.iko.soy/typeable/nixpkgs
on master help sign in
atuin: fix darwin build
commitd8094789f34e201c65d8593f5962b9ef1717a237 authorStéphan Kochen <git@stephank.nl> dateTue 11 May 2021, 23:02 (6 years ago) parent85784a6
2 files changed+9−1
pkgs/tools/misc/atuin/default.nix+6 pkgs/top-level/all-packages.nix+3−1
pkgs/tools/misc/atuin/default.nix+6
@@ -1,6 +1,10 @@
11{ lib
2+, stdenv
23, fetchFromGitHub
34, rustPlatform
5+, libiconv
6+, Security
7+, SystemConfiguration
48}:
59
610rustPlatform.buildRustPackage rec {
@@ -16,6 +20,8 @@ rustPlatform.buildRustPackage rec {
1620
1721 cargoSha256 = "0vy6q3hjp374lyg00zxim8aplh83iq3f4rrmpz5vnpwbag1fdql3";
1822
23+ buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security SystemConfiguration ];
24+
1925 meta = with lib; {
2026 description = "Replacement for a shell history which records additional commands context with optional encrypted synchronization between machines";
2127 homepage = "https://github.com/ellie/atuin";
pkgs/top-level/all-packages.nix+3−1
@@ -156,7 +156,9 @@ in
156156
157157 antsimulator = callPackage ../games/antsimulator { };
158158
159− atuin = callPackage ../tools/misc/atuin { };
159+ atuin = callPackage ../tools/misc/atuin {
160+ inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
161+ };
160162
161163 fiche = callPackage ../servers/fiche { };
162164