jiebi/CodeConvo huggingface dataset:
Code change:
Describe the bug When receiving email notifications from , for example after a scrub, the hostname is missing from the subject and from the body of the email: To Reproduce Steps to reproduce the behavior: up ZFS and zed ( and ) a scrub for the email Expected behavior Hostname should be present in the subject and body of the email. Additional context Try adding the following in your configuration and notice how the returns nothing: Notify maintainers Metadata Please run and paste the result. Maintainer information:
I just noticed in my logs: So the environment is probably missing something for the command to be available.
Requires net-tools
Please make a PR to add it to the ZED path as we did for the other tools required in ZED.
I will but I have never committed to this repo so it may take time before I learn what is required.
Also, it would have been nice if such a problem would not have been silent, maybe by using in bash scripts.
you need to add it here: You can rebuild your own NixOS using the instructions from here:
I submitted the PR

Related discussion:
text: services.zfs.zed.settings = { ZED_EMAIL_PROG = mkDefault "${pkgs.mailutils}/bin/mail"; <del> PATH = lib.makeBinPath [ packages.zfsUser pkgs.utillinux pkgs.gawk pkgs.gnused pkgs.gnugrep pkgs.coreutils pkgs.curl ]; </del> <ins> PATH = lib.makeBinPath [ packages.zfsUser pkgs.coreutils pkgs.curl pkgs.gawk pkgs.gnugrep pkgs.gnused pkgs.nettools pkgs.utillinux ]; </ins> }; environment.etc = genAttrs
Code change:
Describe the bug does not start up. To Reproduce Install and run in the terminal. Expected behavior A TypeScript REPL should start up. Additional context It's possible that the peer dependency on TypeScript is not handled properly. Notify maintainers Metadata Please run and paste the result.
I am not sure how to fix this as it is not a dependency of the tsun package, it is defined as a peer dependency and this expression is generated from a simple JSON file. Of course it should be fixable with overriding and specifying typescript as a dependency, but I don't see any other packages that have these kind of overrides, thus I am not sure how to do it for node packages. I know some other generated packages have some overrides that adds missing dependencies/applies patches and things like that. For now you should be able to include both packages (typescript and tsun) to get it to work.
I've tried , but this yields the same error message as above, which I produced with my main , where I have Is there a more idiomatic way of installing , either locally or globally?
Ah, it is a bit confusing, but seems you need nodejs as well, this works for me: It seems without nodejs it won't setup the which is used for the modules to be found.
In this works for me. But when I have all this in my and install a new generation, fails with the same error as before. I've tried having in but then I get after installing from .
It is the that needs to be set, so this would work: I see now that there are other overrides in the so I should update this package with this code there.
The correct fix might also be this: As the reason why it is not included by the autogenerated expression is due to it being part of peerDependencies which is not included by default in the node2nix command.

Related discussion:
text: ''; }; <ins> tsun = super.tsun.overrideAttrs (oldAttrs: { buildInputs = oldAttrs.buildInputs ++ [ pkgs.makeWrapper ]; postInstall = '' wrapProgram "$out/bin/tsun"  --prefix NODE_PATH : ${self.typescript}/lib/node_modules ''; }); </ins> stf = super.stf.override { meta.broken = since "10"; };
Code change:
To reproduce: create new (ethernet) connection, with ip4 set to link-local. When ing the connection, the following errors are thrown: An reveals the problem: I thought the following would fix it (): but this creates a new problem:
add that new user when NM is enabled in the nixos module.
Did suggestion work? I was just bitten by this issue.
Did not try it futher yet. If you want you can try it.

Related discussion:
text: gammu-smsd = 228; pdnsd = 229; octoprint = 230; <ins> avahi-autoipd = 231; </ins> # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
Code change:
To reproduce: create new (ethernet) connection, with ip4 set to link-local. When ing the connection, the following errors are thrown: An reveals the problem: I thought the following would fix it (): but this creates a new problem:
add that new user when NM is enabled in the nixos module.
Did suggestion work? I was just bitten by this issue.
Did not try it futher yet. If you want you can try it.

Related discussion:
text: users.extraUsers = [{ name = "nm-openvpn"; uid = config.ids.uids.nm-openvpn; <ins> } { # to enable link-local connections name = "avahi-autoipd"; uid = config.ids.uids.avahi-autoipd; </ins> }]; systemd.packages = cfg.packages;
Code change:
To reproduce: create new (ethernet) connection, with ip4 set to link-local. When ing the connection, the following errors are thrown: An reveals the problem: I thought the following would fix it (): but this creates a new problem:
add that new user when NM is enabled in the nixos module.
Did suggestion work? I was just bitten by this issue.
Did not try it futher yet. If you want you can try it.

Related discussion:
text: --replace /bin/sh ${stdenv.shell}  --replace /usr/sbin/ethtool ${ethtool}/sbin/ethtool  --replace /bin/sed ${gnused}/bin/sed <ins> # to enable link-local connections substituteInPlace src/devices/nm-device.c --replace '("avahi-autoipd", NULL, NULL)' '("avahi-autoipd", &"${avahi}/sbin/avahi-autoipd", NULL)' </ins> configureFlags="$configureFlags --with-udev-dir=$out/lib/udev" '';
Code change:
The metasploit package no longer builds. I've updating it myself, but I haven't been very successful. If someone could point out my mistake I would gladly correct it and submit a PR.
Is this issue still relevant? , (pinging you because you are able to close this if necessary)
Looks relevant to me, as there was no commit to metasploit that updates or fixes it. Why do you think I isn't relevant anymore?
Current version: 3.3.1 Last stable version: 4.12 We definitely need a maintainer. is there a tag for ?

Related discussion:
text: , libiconv, postgresql, v8_3_16_14, clang, sqlite, zlib, imagemagick , pkgconfig , ncurses, xapian_1_2_22, gpgme, utillinux, fetchpatch, tzdata, icu, libffi , cmake, libssh2, openssl, mysql, darwin, git, perl, gecode_3, curl <del> , libmsgpack, qt48, libsodium, snappy, libossp_uuid, lxc </del> <ins> , libmsgpack, qt48, libsodium, snappy, libossp_uuid, lxc, libpcap </ins> }@args: let
Code change:
The metasploit package no longer builds. I've updating it myself, but I haven't been very successful. If someone could point out my mistake I would gladly correct it and submit a PR.
Is this issue still relevant? , (pinging you because you are able to close this if necessary)
Looks relevant to me, as there was no commit to metasploit that updates or fixes it. Why do you think I isn't relevant anymore?
Current version: 3.3.1 Last stable version: 4.12 We definitely need a maintainer. is there a tag for ?

Related discussion:
text: buildInputs = [ curl ]; }; <ins> pcaprub = attrs: { buildInputs = [ libpcap ]; }; </ins> pg = attrs: { buildFlags = [ "--with-pg-config=${postgresql}/bin/pg_config"
Code change:
The metasploit package no longer builds. I've updating it myself, but I haven't been very successful. If someone could point out my mistake I would gladly correct it and submit a PR.
Is this issue still relevant? , (pinging you because you are able to close this if necessary)
Looks relevant to me, as there was no commit to metasploit that updates or fixes it. Why do you think I isn't relevant anymore?
Current version: 3.3.1 Last stable version: 4.12 We definitely need a maintainer. is there a tag for ?

Related discussion:
text: ''; }; <ins> rb-readline = attrs: { dontBuild = false; postPatch = '' substituteInPlace lib/rbreadline.rb  --replace 'infocmp' '${ncurses.dev}/bin/infocmp' ''; }; </ins> timfel-krb5-auth = attrs: { buildInputs = [ kerberos ]; };
Code change:
The metasploit package no longer builds. I've updating it myself, but I haven't been very successful. If someone could point out my mistake I would gladly correct it and submit a PR.
Is this issue still relevant? , (pinging you because you are able to close this if necessary)
Looks relevant to me, as there was no commit to metasploit that updates or fixes it. Why do you think I isn't relevant anymore?
Current version: 3.3.1 Last stable version: 4.12 We definitely need a maintainer. is there a tag for ?

Related discussion:
text: <ins> # frozen_string_literal: true source "https://rubygems.org" gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/4.14.17" </ins>
Code change:
The metasploit package no longer builds. I've updating it myself, but I haven't been very successful. If someone could point out my mistake I would gladly correct it and submit a PR.
Is this issue still relevant? , (pinging you because you are able to close this if necessary)
Looks relevant to me, as there was no commit to metasploit that updates or fixes it. Why do you think I isn't relevant anymore?
Current version: 3.3.1 Last stable version: 4.12 We definitely need a maintainer. is there a tag for ?

Related discussion:
text: <del> { stdenv, fetchurl, makeWrapper, ruby }: stdenv.mkDerivation rec { </del> <ins> { stdenv, fetchFromGitHub, makeWrapper, ruby, bundlerEnv, ncurses }: # Maintainer notes for updating: # 1. increment version number in expression and in Gemfile # 2. run $ nix-shell --command "bundler install && bundix" #    in metasploit in nixpkgs let env = bundlerEnv { inherit ruby; name = "metasploit-bundler-env"; gemdir = ./.; }; in stdenv.mkDerivation rec { </ins> name = "metasploit-framework-${version}"; <del> version = "3.3.1"; </del> <ins> version = "4.14.17"; </ins> <del> src = fetchurl { url = "http://downloads.metasploit.com/data/releases/archive/framework-${version}.tar.bz2"; sha256 = "07clzw1zfnqjhyydsc4mza238isai58p7aygh653qxsqb9a0j7qw"; </del> <ins> src = fetchFromGitHub { owner = "rapid7"; repo = "metasploit-framework"; rev = version; sha256 = "0g666lxin9f0v9vhfh3s913ym8fnh32rpfl1rpj8d8n1azch5fn0"; </ins> }; <del> buildInputs = [makeWrapper]; </del> <ins> buildInputs = [ makeWrapper ]; dontPatchelf = true; # stay away from exploit executables </ins> installPhase = '' <del> mkdir -p $out/share/msf mkdir -p $out/bin </del> <ins> mkdir -p $out/{bin,share/msf} </ins> cp -r * $out/share/msf for i in $out/share/msf/msf*; do <del> makeWrapper $i $out/bin/$(basename $i) --prefix RUBYLIB : $out/share/msf/lib </del> <ins> bin=$out/bin/$(basename $i) cat > $bin <<EOF #!/bin/sh -e exec ${env}/bin/bundle exec ${ruby}/bin/ruby $i "$@" EOF chmod +x $bin </ins> done ''; <del> postInstall = '' patchShebangs $out/share/msf ''; meta = { </del> <ins> meta = with stdenv.lib; { </ins> description = "Metasploit Framework - a collection of exploits"; homepage = https://github.com/rapid7/metasploit-framework/wiki; <del> platforms = stdenv.lib.platforms.unix; </del> <ins> platforms = platforms.unix; license = licenses.bsd3; maintainers = [ maintainers.makefu ]; </ins> }; }
Code change:
The metasploit package no longer builds. I've updating it myself, but I haven't been very successful. If someone could point out my mistake I would gladly correct it and submit a PR.
Is this issue still relevant? , (pinging you because you are able to close this if necessary)
Looks relevant to me, as there was no commit to metasploit that updates or fixes it. Why do you think I isn't relevant anymore?
Current version: 3.3.1 Last stable version: 4.12 We definitely need a maintainer. is there a tag for ?

Related discussion:
text: <ins> # Env to update Gemfile.lock / gemset.nix with import <nixpkgs> {}; stdenv.mkDerivation { name = "env"; buildInputs = [ sqlite libpcap postgresql libxml2 libxslt pkgconfig bundix ]; } </ins>
Code change:
The metasploit package no longer builds. I've updating it myself, but I haven't been very successful. If someone could point out my mistake I would gladly correct it and submit a PR.
Is this issue still relevant? , (pinging you because you are able to close this if necessary)
Looks relevant to me, as there was no commit to metasploit that updates or fixes it. Why do you think I isn't relevant anymore?
Current version: 3.3.1 Last stable version: 4.12 We definitely need a maintainer. is there a tag for ?

Related discussion:
text: mscgen = callPackage ../tools/graphics/mscgen { }; <del> msf = callPackage ../tools/security/metasploit { }; </del> <ins> metasploit = callPackage ../tools/security/metasploit { }; msf = metasploit; </ins> ms-sys = callPackage ../tools/misc/ms-sys { };
Code change:
Project description Cross platform chewing user phrase editor Chewing editor is a widely-used bopomofo input method for traditional Chinese, and chewing-editor is the tool to edit the database of user phrases stored by the input method. Users of chewing will need chewing-editor sooner or later. NixOS have chewing include as a fcitx engine () that can be used in the module, but not chewing-editor. Metadata homepage URL: source URL: license: gpl2 platforms: unix
The corresponding pull request is merged. Closing.

Related discussion:
text: githubId = 24496705; name = "Scott Hamilton"; }; <ins> ShamrockLee = { name = "Shamrock Lee"; email = "44064051+ShamrockLee@users.noreply.github.com"; github = "ShamrockLee"; githubId = 44064051; }; </ins> shanemikel = { email = "shanepearlman@pm.me"; github = "shanemikel";
Code change:
Project description Cross platform chewing user phrase editor Chewing editor is a widely-used bopomofo input method for traditional Chinese, and chewing-editor is the tool to edit the database of user phrases stored by the input method. Users of chewing will need chewing-editor sooner or later. NixOS have chewing include as a fcitx engine () that can be used in the module, but not chewing-editor. Metadata homepage URL: source URL: license: gpl2 platforms: unix
The corresponding pull request is merged. Closing.

Related discussion:
text: <ins> { stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, libchewing, qtbase , qttools }: mkDerivation rec { pname = "chewing-editor"; version = "0.1.1"; src = fetchFromGitHub { owner = "chewing"; repo = "${pname}"; rev = "${version}"; sha256 = "0kc2hjx1gplm3s3p1r5sn0cyxw3k1q4gyv08q9r6rs4sg7xh2w7w"; }; doCheck = true; nativeBuildInputs = [ cmake pkgconfig ]; buildInputs = [ libchewing qtbase qttools ]; meta = with stdenv.lib; { description = "Cross platform chewing user phrase editor"; longDescription = '' chewing-editor is a cross platform chewing user phrase editor. It provides a easy way to manage user phrase. With it, user can customize their user phrase to increase input performance. ''; homepage = "https://github.com/chewing/chewing-editor"; license = licenses.gpl2Plus; maintainers = [ maintainers.ShamrockLee ]; platforms = platforms.all; }; } </ins>
Code change:
Project description Cross platform chewing user phrase editor Chewing editor is a widely-used bopomofo input method for traditional Chinese, and chewing-editor is the tool to edit the database of user phrases stored by the input method. Users of chewing will need chewing-editor sooner or later. NixOS have chewing include as a fcitx engine () that can be used in the module, but not chewing-editor. Metadata homepage URL: source URL: license: gpl2 platforms: unix
The corresponding pull request is merged. Closing.

Related discussion:
text: fcitx-configtool = callPackage ../tools/inputmethods/fcitx/fcitx-configtool.nix { }; <ins> chewing-editor = libsForQt5.callPackage ../applications/misc/chewing-editor { }; </ins> fcppt = callPackage ../development/libraries/fcppt { }; fcrackzip = callPackage ../tools/security/fcrackzip { };
Code change:
Describe the bug pitivi crashes with gtk errors on startup. To Reproduce Steps to reproduce the behavior: in terminal and press enter the error message: Additional context This happens at least on wayland/sway. Notify maintainers as he did the last change to the packet and no maintainer is defined. Metadata Please run and paste the result. system: host os: multi-user?: sandbox: version: channels(root): nixpkgs: Maintainer information:
I get a different error with nix on Ubuntu on commit : On on Ubuntu it works.
PR in .

Related discussion:
text: mv data/org.pitivi.Pitivi-mime.xml data/org.pitivi.Pitivi-mime.xml.in ''; <ins> # Fixes error #     Couldn’t recognize the image file format for file ".../share/pitivi/pixmaps/asset-proxied.svg" # at startup, see https://github.com/NixOS/nixpkgs/issues/56943 # and https://github.com/NixOS/nixpkgs/issues/89691#issuecomment-714398705. strictDeps = false; </ins> passthru = { updateScript = gnome3.updateScript { packageName = "pitivi";
Code change:
Describe the bug cannot be built from current master due to failing tests. To Reproduce Additional context Relevant logs: Notify maintainers Metadata Please run and paste the result. Maintainer information:

Related discussion:
text: <ins> From acab088fd6af0b2ef2df1396aeb93bfc2e020fa5 Mon Sep 17 00:00:00 2001 From: "Yukihiro "Matz" Matsumoto" <matz@ruby.or.jp> Date: Mon, 27 Apr 2020 18:52:43 +0900 Subject: [PATCH 1/2] Updating `parse.y for recent `bison` (retry). --- mrbgems/mruby-compiler/core/parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y index 6a1faf4e..2a4f740e 100644 --- a/mrbgems/mruby-compiler/core/parse.y +++ b/mrbgems/mruby-compiler/core/parse.y @@ -1323,7 +1323,7 @@ heredoc_end(parser_state *p) %} -%pure-parser +%define api.pure %parse-param {parser_state *p} %lex-param {parser_state *p} -- 2.27.0 From 3cc682d943b29e84928a847a23f411ddbace74b7 Mon Sep 17 00:00:00 2001 From: "Yukihiro "Matz" Matsumoto" <matz@ruby.or.jp> Date: Fri, 15 May 2020 12:30:13 +0900 Subject: [PATCH 2/2] Remove `YYERROR_VERBOSE` which no longer supported since `bison 3.6`. Instead we added `%define parse.error verbose`. --- mrbgems/mruby-compiler/core/parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y index 2a4f740e..eee6a5e5 100644 --- a/mrbgems/mruby-compiler/core/parse.y +++ b/mrbgems/mruby-compiler/core/parse.y @@ -9,7 +9,6 @@ #ifdef PARSER_DEBUG # define YYDEBUG 1 #endif -#define YYERROR_VERBOSE 1 #define YYSTACK_USE_ALLOCA 1 #include <ctype.h> @@ -1323,6 +1322,7 @@ heredoc_end(parser_state *p) %} +%define parse.error verbose %define api.pure %parse-param {parser_state *p} %lex-param {parser_state *p} -- 2.27.0 </ins>
Code change:
Describe the bug cannot be built from current master due to failing tests. To Reproduce Additional context Relevant logs: Notify maintainers Metadata Please run and paste the result. Maintainer information:

Related discussion:
text: <del> { stdenv, ruby, bison, fetchFromGitHub }: </del> <ins> { stdenv, ruby, bison, rake, fetchFromGitHub }: </ins> stdenv.mkDerivation rec { pname = "mruby"; <del> version = "2.1.0"; </del> <ins> version = "2.1.1"; </ins> src = fetchFromGitHub { owner   = "mruby"; repo    = "mruby"; rev     = version; <del> sha256  = "1y072c7dh9jf8xwy7kia6cb4dkpspq4zf24ssn7zm5f46p4waxni"; </del> <ins> sha256  = "gEEb0Vn/G+dNgeY6r0VP8bMSPrEOf5s+0GoOcnIPtEU="; </ins> }; <del> nativeBuildInputs = [ ruby bison ]; </del> <ins> nativeBuildInputs = [ ruby bison rake ]; patches = [ ./bison-36-compat.patch ]; </ins> # Necessary so it uses `gcc` instead of `ld` for linking. # https://github.com/mruby/mruby/blob/35be8b252495d92ca811d76996f03c470ee33380/tasks/toolchains/gcc.rake#L25
Code change:
Describe the bug All last builds on Hydra have failed because of (top level package). E.g. Nr Status -- -- 1 Cached failure (log, raw, tail) (propagated from build ) First broken build 2020-06-05 19:14:56: Nr Status -- -- 1 Failed (log, raw, tail) (propagated from build ) Log: To Reproduce I can't reproduce the issue locally though, does compile. Expected behavior Hydra job should not fail on mariadb. Notify maintainers <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- Metadata $ nix-shell -p nix-info --run "nix-info -m" system: host os: multi-user?: sandbox: version: channels(theo): channels(root): channels(arsleust): nixpkgs: Maintainer information:
Reproduction: are you sure you tried it on darwin? (That's what fails on Hydra.)
Probably caused by , Darwin doesn't have .so 's right? cc

Related discussion:
text: chmod +x "$out"/bin/wsrep_sst_common rm "$out"/bin/{mariadb-client-test,mariadb-test,mysql_client_test,mysqltest} rm -r "$out"/data # Don't need testing data <del> mv "$out"/OFF/suite/plugins/pam/pam_mariadb_mtr.so "$out"/share/pam/lib/security mv "$out"/OFF/suite/plugins/pam/mariadb_mtr "$out"/share/pam/etc/security rm -r "$out"/OFF </del> '' + optionalString withStorageMroonga '' mv "$out"/share/{groonga,groonga-normalizer-mysql} "$out"/share/doc/mysql '' + optionalString (!stdenv.hostPlatform.isDarwin) '' <ins> mv "$out"/OFF/suite/plugins/pam/pam_mariadb_mtr.so "$out"/share/pam/lib/security mv "$out"/OFF/suite/plugins/pam/mariadb_mtr "$out"/share/pam/etc/security rm -r "$out"/OFF </ins> sed -i 's/-mariadb/-mysql/' "$out"/bin/galera_new_cluster '';
Code change:
Describe the bug Size of aarch64 sd_image has suddenly blown up a lot. whereas on commit it was To Reproduce Hydra: - - This blocks the channel ATM.
It seems this is caused by my PR here: We switched to , but does not erase the original file, while does. I created PR which hopefully fixes this by passing to .

Related discussion:
text: if test -n "$compressImage"; then echo "Compressing image..." <del> zstd -T$NIX_BUILD_CORES $out/iso/$isoName </del> <ins> zstd -T$NIX_BUILD_CORES --rm $out/iso/$isoName </ins> fi mkdir -p $out/nix-support
Code change:
Describe the bug Size of aarch64 sd_image has suddenly blown up a lot. whereas on commit it was To Reproduce Hydra: - - This blocks the channel ATM.
It seems this is caused by my PR here: We switched to , but does not erase the original file, while does. I created PR which hopefully fixes this by passing to .

Related discussion:
text: fsck.vfat -vn firmware_part.img dd conv=notrunc if=firmware_part.img of=$img seek=$START count=$SECTORS if test -n "$compressImage"; then <del> zstd -T$NIX_BUILD_CORES $img </del> <ins> zstd -T$NIX_BUILD_CORES --rm $img </ins> fi ''; }) {};
Code change:
Project description Caprine is an unofficial and privacy-focused Facebook Messenger app with many useful features. Metadata homepage URL: URL: mit platforms: linux, darwin
I marked this as stale due to inactivity. &rarr;
I'd love to have this, too. I tried to take a stab at it a while back (using Atom and other Electron apps as a base) but it kept core dumping. I'm going to have to give it another try soon.
I have a binary package PR ( ) dangling for a long time. You may want to take a look.

Related discussion:
text: <ins> { lib , fetchurl , appimageTools , gtk3 , gsettings-desktop-schemas , xorg , pname , version , sha256 , metaCommon ? { } }: let name = "${pname}-${version}"; src = fetchurl { url = "https://github.com/sindresorhus/caprine/releases/download/v${version}/Caprine-${version}.AppImage"; name = "Caprine-${version}.AppImage"; inherit sha256; }; extracted = appimageTools.extractType2 { inherit name src; }; in (appimageTools.wrapType2 { inherit name src; profile = '' export LC_ALL=C.UTF-8 export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS ''; extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs; extraInstallCommands = '' mv $out/bin/{${name},caprine} mkdir -p $out/share "${xorg.lndir}/bin/lndir" -silent "${extracted}/usr/share" "$out/share" ln -s ${extracted}/caprine.png $out/share/icons/caprine.png mkdir $out/share/applications cp ${extracted}/caprine.desktop $out/share/applications/ substituteInPlace $out/share/applications/caprine.desktop  --replace AppRun caprine ''; meta = metaCommon // { platforms = [ "x86_64-linux" ]; mainProgram = "caprine"; }; }) // { inherit pname version; } </ins>