about summary refs log tree commit diff
path: root/pkgs/applications/misc/marktext
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2024-04-21 16:31:47 +0200
committerPeder Bergebakken Sundt <pbsds@hotmail.com>2024-04-24 15:26:52 +0200
commit985aa8174d940615c6966fd66b3cbf585e5697d4 (patch)
treea4f9ed21bae32db6bf4f521d3b7ec79b6fec8f29 /pkgs/applications/misc/marktext
parent9a1ba358e5f9d9ace76de868758306f31a208806 (diff)
treewide: unbreak appimageTools.wrapType2 builds
`appimageTools.wrapType2` no longer creates a binary `$out/bin/${name}` if `pname` and `version` is provided.
Derivations that have worked around this behavior with a `mv $out/bin/{${name},${pname}}` broke as a result.
This should fix most instances.

contex: #271071
Diffstat (limited to 'pkgs/applications/misc/marktext')
-rw-r--r--pkgs/applications/misc/marktext/default.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkgs/applications/misc/marktext/default.nix b/pkgs/applications/misc/marktext/default.nix
index bc9418d57838e..647e833e69604 100644
--- a/pkgs/applications/misc/marktext/default.nix
+++ b/pkgs/applications/misc/marktext/default.nix
@@ -27,9 +27,6 @@ appimageTools.wrapType2 rec {
   ];
 
   extraInstallCommands = ''
-    # Strip version from binary name.
-    mv $out/bin/${pname}-${version} $out/bin/${pname}
-
     install -m 444 -D ${appimageContents}/marktext.desktop $out/share/applications/marktext.desktop
     substituteInPlace $out/share/applications/marktext.desktop \
       --replace "Exec=AppRun" "Exec=${pname} --"