diff options
author | Korny666 <phtde@web.de> | 2022-10-27 09:29:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 09:29:08 +0200 |
commit | b621c3ab1154a5a8a4fd492dd04928c8b07a2984 (patch) | |
tree | 5b3329fa6329f84bc3fe4faf8759938e4b441b72 /pkgs/applications/version-management | |
parent | 4fc5d982c9f563c2bd00d0bafd0be9fba7518024 (diff) |
smartgithg: fix execution on nixos (#197927)
* smartgithg: fix execution on nixos * Update pkgs/applications/version-management/smartgithg/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r-- | pkgs/applications/version-management/smartgithg/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/smartgithg/default.nix b/pkgs/applications/version-management/smartgithg/default.nix index 932f4847c2815..dab74a8ec5cb1 100644 --- a/pkgs/applications/version-management/smartgithg/default.nix +++ b/pkgs/applications/version-management/smartgithg/default.nix @@ -34,7 +34,10 @@ stdenv.mkDerivation rec { --prefix JRE_HOME : ${jre} \ --prefix JAVA_HOME : ${jre} \ --prefix SMARTGITHG_JAVA_HOME : ${jre} \ - ) \ + ) + # add missing shebang for start script + sed -i $out/bin/smartgit \ + -e '1i#!/bin/bash' ''; installPhase = '' |