1
0
Fork 0

sail: install atuin

This commit is contained in:
Daniel Kempkens 2023-02-27 20:34:05 +01:00
parent bf58b09d8d
commit 1306f4b736
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -1,5 +1,8 @@
{ pkgs, lib, ... }:
let
cargoHash = if pkgs.stdenv.isDarwin then "sha256-0j2daQ9Qj+t3J91lMw4OXdpUViFgPhDDJFMm4QvFohU=" else "sha256-WOJurXTLIKTyFrxjnQpDbyrc6U0UvJELvqfG2UbfS4g=";
in
{
programs.atuin = {
enable = true;
@ -18,7 +21,7 @@
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (lib.const {
name = "${oldAttrs.pname}-${version}-vendor.tar.gz";
inherit src;
outputHash = "sha256-0j2daQ9Qj+t3J91lMw4OXdpUViFgPhDDJFMm4QvFohU=";
outputHash = cargoHash;
});
checkFlags = [