Loading pkgs/by-name/fs/fstl/package.nix +12 −0 Original line number Diff line number Diff line Loading @@ -4,15 +4,23 @@ fetchFromGitHub, cmake, libsForQt5, xdg-utils, }: stdenv.mkDerivation (finalAttrs: { pname = "fstl"; version = "0.11.1"; postPatch = '' patchShebangs --build xdg/xdg_install.sh substituteInPlace xdg/fstlapp-fstl.desktop \ --replace-fail 'Exec=fstl' 'Exec=${placeholder "out"}/bin/fstl' ''; nativeBuildInputs = [ cmake libsForQt5.wrapQtAppsHook xdg-utils ]; installPhase = lib.optionalString stdenv.hostPlatform.isDarwin '' Loading @@ -24,6 +32,10 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; postInstall = '' env --chdir ../xdg XDG_DATA_HOME=$out/share ./xdg_install.sh fstl ''; src = fetchFromGitHub { owner = "fstl-app"; repo = "fstl"; Loading Loading
pkgs/by-name/fs/fstl/package.nix +12 −0 Original line number Diff line number Diff line Loading @@ -4,15 +4,23 @@ fetchFromGitHub, cmake, libsForQt5, xdg-utils, }: stdenv.mkDerivation (finalAttrs: { pname = "fstl"; version = "0.11.1"; postPatch = '' patchShebangs --build xdg/xdg_install.sh substituteInPlace xdg/fstlapp-fstl.desktop \ --replace-fail 'Exec=fstl' 'Exec=${placeholder "out"}/bin/fstl' ''; nativeBuildInputs = [ cmake libsForQt5.wrapQtAppsHook xdg-utils ]; installPhase = lib.optionalString stdenv.hostPlatform.isDarwin '' Loading @@ -24,6 +32,10 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; postInstall = '' env --chdir ../xdg XDG_DATA_HOME=$out/share ./xdg_install.sh fstl ''; src = fetchFromGitHub { owner = "fstl-app"; repo = "fstl"; Loading