Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created May 8, 2021 23:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/1f5a6217334932803f572af18d9ade1d to your computer and use it in GitHub Desktop.
Save grahamc/1f5a6217334932803f572af18d9ade1d to your computer and use it in GitHub Desktop.
{ naersk, atuin }:
{ pkgs, config, ... }:
let
system = "x86_64-linux"; # todo: ???
atuin' = naersk.lib."${system}".buildPackage {
pname = "atuin";
src = atuin;
buildInputs = with pkgs; [ libsodium pkgconfig ];
SODIUM_USE_PKG_CONFIG = true;
};
in { environment.systemPackages = [ atuin' ]; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment