This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{
|
||||
cargoToml,
|
||||
age,
|
||||
lib,
|
||||
makeWrapper,
|
||||
nativeBuildInputs,
|
||||
pkgs,
|
||||
...
|
||||
@@ -12,10 +14,16 @@ in
|
||||
version = cargo.package.version;
|
||||
src = ./.;
|
||||
|
||||
inherit nativeBuildInputs;
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ makeWrapper ];
|
||||
nativeCheckInputs = [ age ];
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
doCheck = true;
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/routine-tui \
|
||||
--prefix PATH : ${lib.makeBinPath [ age ]}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = cargo.package.description;
|
||||
license = lib.licenses.mit;
|
||||
|
||||
Reference in New Issue
Block a user