lol

rawtherapee: fix version information (#428189)

authored by

Aleksana and committed by
GitHub
80f2162d bb642ba7

+9 -1
+9 -1
pkgs/applications/graphics/rawtherapee/default.nix
··· 50 50 }; 51 51 52 52 postPatch = '' 53 - echo "set(HG_VERSION ${version})" > ReleaseInfo.cmake 53 + cat <<EOF > ReleaseInfo.cmake 54 + set(GIT_DESCRIBE ${version}) 55 + set(GIT_BRANCH ${version}) 56 + set(GIT_VERSION ${version}) 57 + # Missing GIT_COMMIT and GIT_COMMIT_DATE, which are not easy to obtain. 58 + set(GIT_COMMITS_SINCE_TAG 0) 59 + set(GIT_COMMITS_SINCE_BRANCH 0) 60 + set(GIT_VERSION_NUMERIC_BS ${version}) 61 + EOF 54 62 substituteInPlace tools/osx/Info.plist.in rtgui/config.h.in \ 55 63 --replace "/Applications" "${placeholder "out"}/Applications" 56 64 '';