Skip to content

Commit dbb01e8

Browse files
author
faukah
committed
atuin.nix: add gitRev
1 parent dec2d71 commit dbb01e8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

atuin.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
installShellFiles,
1111
rustPlatform,
1212
libiconv,
13-
gitRev ? "dirty",
13+
gitRev,
1414
}:
1515
let
1616
fs = lib.fileset;
@@ -28,7 +28,7 @@ let
2828

2929
in
3030
rustPlatform.buildRustPackage {
31-
name = "atuin";
31+
pname = "atuin";
3232
version = "${packageVersion}-unstable-${gitRev}";
3333

3434
src = fs.toSource {

flake.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@
9191
{
9292
atuin = final.callPackage ./atuin.nix {
9393
inherit rustPlatform;
94-
gitRev = self.shortRev;
95-
inherit (final.darwin.apple_sdk.frameworks) Security SystemConfiguration AppKit;
94+
gitRev = self.shortRev or "dirty";
9695
};
9796

9897
default = self.overlays.atuin;

0 commit comments

Comments
 (0)