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>
This commit is contained in:
Korny666 2022-10-27 09:29:08 +02:00 committed by GitHub
parent 4fc5d982c9
commit b621c3ab11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = ''