From 2f52c1f991222d59d667f19889513e3aa78fc0ec Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Thu, 16 Jul 2026 01:34:37 +0200 Subject: [PATCH 1/2] bean-add: fix version scheme --- pkgs/applications/office/beancount/bean-add.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/office/beancount/bean-add.nix b/pkgs/applications/office/beancount/bean-add.nix index e3e80e2cbef5..ca6203a771fd 100644 --- a/pkgs/applications/office/beancount/bean-add.nix +++ b/pkgs/applications/office/beancount/bean-add.nix @@ -7,7 +7,7 @@ stdenv.mkDerivation { pname = "bean-add"; - version = "unstable-2018-01-08"; + version = "0-unstable-2018-01-08"; src = fetchFromGitHub { owner = "simon-v"; From e8852a21809fa17e467a70cbde013650848f8b6e Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Thu, 16 Jul 2026 01:37:08 +0200 Subject: [PATCH 2/2] bead-add: use installBin --- pkgs/applications/office/beancount/bean-add.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/office/beancount/bean-add.nix b/pkgs/applications/office/beancount/bean-add.nix index ca6203a771fd..91ed7e4894ef 100644 --- a/pkgs/applications/office/beancount/bean-add.nix +++ b/pkgs/applications/office/beancount/bean-add.nix @@ -3,6 +3,7 @@ stdenv, fetchFromGitHub, python3Packages, + installShellFiles, }: stdenv.mkDerivation { @@ -18,10 +19,10 @@ stdenv.mkDerivation { propagatedBuildInputs = with python3Packages; [ python ]; - installPhase = '' - mkdir -p $out/bin/ - cp bean-add $out/bin/bean-add - chmod +x $out/bin/bean-add + nativeBuildInputs = [ installShellFiles ]; + + postInstall = '' + installBin bean-add ''; meta = {