jiebi/CodeConvo huggingface dataset:
Change:
Steps to reproduce the behavior: on x86_64-darwin Broken commit: Working commit: Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Here, aarch64-darwin has the same problem.
Same on .
Ah apparently already fixed on

Discussion:
pythonRelaxDeps = [ # platformdirs 4.x is backwards compatible; https://github.com/python-poetry/poetry/commit/eb80d10846f7336b0b2a66ce2964e72dffee9a1c "platformdirs" <ins> # xattr 1.0 is backwards compatible modulo dropping Python 2 support: https://github.com/xattr/xattr/compare/v0.10.0...v1.0.0 "xattr" </ins> ]; propagatedBuildInputs = [
Change:
Project description forwards dns over https queries to normal dns servers and vice versa. Metadata homepage URL: source URL: license: apache 2.0 platforms: unix, linux, darwin, ... ubuntu package url:
Upstream has system services. Is there a need to include these modules (services) within this package? I would prefer not to include them if there is no need, because is not actively developed and has not released a single stable version yet.
I personally don't need them, because I prefer creating systemd services via nix configuration anyways.

Discussion:
<ins> { buildGoModule , fetchFromGitHub , lib }: buildGoModule { pname = "dnss"; version = "0-unstable-2024-03-17"; src = fetchFromGitHub { owner = "albertito"; repo = "dnss"; rev = "da8986dd432870f5710e3e8652c92c95f34b830b"; hash = "sha256-YjBt+22fc9yHcORRmd//rejNVvf6eK+FAYAcT0fABuI="; }; vendorHash = "sha256-d9aGSBRblkvH5Ixw3jpbgC8lMW/qEYNJfLTVeUlos7A="; meta = with lib; { description = "A daemon for using DNS over HTTPS"; homepage = "https://blitiri.com.ar/git/r/dnss/"; license = licenses.asl20; mainProgram = "dnss"; maintainers = with maintainers; [ raspher ]; }; } </ins>
Change:
When tries to create a volume of type=block, it cannot be created due to the occurrence of . This is because is not registered in . Steps to reproduce the behavior: Create block type volume. If you check nixpkgs for lxd 5.20, you can see other package dependencies that are not present in incus. For example with lvm, this is expected to severely impact the lvm backend. (Currently, it cannot be confirmed because there is no lvm drive.) Can we change it in the same way as lxd? <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Opened a PR to fix. Sorry about that. Not sure why I dropped these...

Discussion:
, attr , bash , btrfs-progs <ins> , cdrkit </ins> , criu , dnsmasq <ins> , e2fsprogs , getent </ins> , gnutar , gptfdisk , gzip , iproute2 , iptables <ins> , kmod , lvm2 , minio , nftables </ins> , OVMF , qemu_kvm , qemu-utils , rsync , spice-gtk , squashfsTools <ins> , thin-provisioning-tools </ins> , util-linux , virtiofsd , xz

attr bash btrfs-progs <ins> cdrkit </ins> criu dnsmasq <ins> e2fsprogs getent </ins> gnutar gptfdisk gzip iproute2 iptables <ins> kmod lvm2 minio nftables </ins> qemu_kvm qemu-utils rsync squashfsTools <ins> thin-provisioning-tools </ins> util-linux virtiofsd xz
Change:
Steps to reproduce the behavior: The maintainer has no activity on GitHub since June 2020. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
This is an issue regarding the fact that no longer has as a default include. I'll open a PR with a fix

Discussion:
{ lib, stdenv, fetchFromGitHub, cmake, dmenu }: <del> stdenv.mkDerivation rec { </del> <ins> stdenv.mkDerivation (finalAttrs: { </ins> pname = "j4-dmenu-desktop"; <del> version = "2.18"; </del> <ins> version = "unstable-2023-09-12"; </ins> src = fetchFromGitHub { owner = "enkore"; <del> repo = pname; rev = "r${version}"; sha256 = "1gxpgifzy0hnpd0ymw3r32amzr32z3bgb90ldjzl438p6h1q0i26"; </del> <ins> repo = "j4-dmenu-desktop"; rev = "7e3fd045482a8ea70619e422975b52feabc75175"; hash = "sha256-8PmfzQkHlEdMbrcQO0bPruP3jaKEcr/17x0/Z7Jedh0="; </ins> }; postPatch = '' <del> sed -e 's,dmenu -i,${dmenu}/bin/dmenu -i,g' -i ./src/Main.hh </del> <ins> substituteInPlace src/main.cc  --replace "dmenu -i" "${lib.getExe dmenu} -i" </ins> ''; nativeBuildInputs = [ cmake ];

]; meta = with lib; { <del> description = "A wrapper for dmenu that recognize .desktop files"; </del> <ins> changelog = "https://github.com/enkore/j4-dmenu-desktop/blob/${finalAttrs.src.rev}/CHANGELOG"; description = "A wrapper for dmenu that recognizes .desktop files"; </ins> homepage = "https://github.com/enkore/j4-dmenu-desktop"; <del> license = licenses.gpl3; </del> <ins> license = licenses.gpl3Only; mainProgram = "j4-dmenu-desktop"; </ins> maintainers = with maintainers; [ ericsagnes ]; platforms = platforms.unix; }; <del> } </del> <ins> }) </ins>
Change:
Steps to reproduce the behavior: truststore Output of : Adding to solves this issue. Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:

Discussion:
<ins> { lib , buildPythonPackage , pythonOlder , fetchFromGitHub , pdm-backend , packaging , pytestCheckHook }: buildPythonPackage rec { pname = "dep-logic"; version = "0.0.4"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "pdm-project"; repo = "dep-logic"; rev = version; hash = "sha256-AFiCNzHlo3BADqbjRBruA80cfM6Ytdb+gReEg5hUmro="; }; nativeBuildInputs = [ pdm-backend ]; propagatedBuildInputs = [ packaging ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "dep_logic" ]; meta = { changelog = "https://github.com/pdm-project/dep-logic/releases/tag/${src.rev}"; description = "Python dependency specifications supporting logical operations"; homepage = "https://github.com/pdm-project/dep-logic"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ tomasajt ]; }; } </ins>

with python.pkgs; buildPythonApplication rec { pname = "pdm"; <del> version = "2.10.4"; format = "pyproject"; disabled = pythonOlder "3.7"; </del> <ins> version = "2.12.1"; pyproject = true; disabled = pythonOlder "3.8"; </ins> src = fetchPypi { inherit pname version; <del> hash = "sha256-bf2dTLWQQ+3sstC0fSCOVdidMzunGX3rBcyi37x6S/s="; </del> <ins> hash = "sha256-OaKroZmGyUWnm/WEw3dSheJOnH+O2KYDgVthxfrF20w="; </ins> }; nativeBuildInputs = [

blinker certifi cachecontrol <ins> dep-logic </ins> findpython installer packaging

] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata <ins> ] ++ lib.optionals (pythonAtLeast "3.10") [ truststore </ins> ]; nativeCheckInputs = [

denonavr = callPackage ../development/python-modules/denonavr { }; <ins> dep-logic = callPackage ../development/python-modules/dep-logic { }; </ins> dependency-injector = callPackage ../development/python-modules/dependency-injector { }; deploykit = callPackage ../development/python-modules/deploykit { };
Change:
In case somebody missed it, seems gnutls requires an upgrade:
Relatively simple.
Why the check has been disabled?
Described in the commit ;-)

Discussion:
import ./generic.nix ( rec { <del> version = "3.4.2"; </del> <ins> version = "3.4.4"; </ins> testing = false; preConfigure = ''

src = fetchurl { url = "mirror://kernel/linux/kernel/v3.x/${if testing then "testing/" else ""}linux-${version}.tar.xz"; <del> sha256 = "0pd96g1qcp2wgdnvk79hljjrpr6xjk0159lks47n181a3yirzf4x"; </del> <ins> sha256 = "0l4h7amhsmgpnii8rgwi32nd7ajsifk2xckjd39pfzwdifacw5yw"; </ins> }; config = configWithPlatform stdenv.platform;
Change:
Hi. So I'm running KDE and whenever I try to launch the AnyDesk application, I get the notification: Launching AnyDesk (Failed) Could not find the program '/nix/store/a1cic900s29g1hfwv731cm3bsgni7p9i-AnyDesk.desktop/bin/anydesk' I have to run from the terminal to open AnyDesk. Please run and paste the result. Content of /run/current-system/sw/share/applications/AnyDesk.desktop: However, that Nix store path only has the desktop file and no binaries. The AnyDesk binary is in .

Discussion:
desktopItems = [ (makeDesktopItem { name = "AnyDesk"; <del> exec = "${placeholder "out"}/bin/anydesk %u"; </del> <ins> exec = "anydesk %u"; </ins> icon = "anydesk"; desktopName = "AnyDesk"; genericName = description;
Change:
Issue: Installing Ocenaudio creates no entry in the apps menu. But I am still able to start Ocenaudio from the console. I'm using the latest NixOS 11.23 and Gnome.

Discussion:
dpkg -x $src $out cp -av $out/opt/ocenaudio/* $out rm -rf $out/opt <ins> mv $out/usr/share $out/share rm -rf $out/usr substituteInPlace $out/share/applications/ocenaudio.desktop  --replace "/opt/ocenaudio/bin/ocenaudio" "ocenaudio" mkdir -p $out/share/licenses/ocenaudio mv $out/bin/ocenaudio_license.txt $out/share/licenses/ocenaudio/LICENSE </ins> # Create symlink bzip2 library ln -s ${bzip2.out}/lib/libbz2.so.1 $out/lib/libbz2.so.1.0
Change:
Steps to reproduce the behavior: poetry on macOS ARM64 from current master (so that is fixed) with fails It boils down to: Building works on Linux ARM64. Don't know about macOS x64. ? Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
~duplicate~ Sorry, I misread.

Discussion:
, pytest-mock , pytest-xdist , pythonAtLeast <ins> , darwin </ins> }: buildPythonPackage rec {

httpretty pytest-mock pytest-xdist <ins> ] ++ lib.optionals stdenv.isDarwin [ darwin.ps </ins> ]; preCheck = (''
Change:
The package requires an "install" step which is not currently in the package. Attempting to perform this imperatively fails: Steps to reproduce the behavior: . . Theoretically, this should be run for the user, without the user needing to run it. I'm not sure what needs, exactly, but in any case needs to be able to be run at some point. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Hi! The pywalfox install isn't exactly nix/NixOS friendly + imperative in nature ... and since the only important part that it does is copying a manifest file I usually just do it myself. For example here is my personal home-manager module for inspiration I'm not exactly sure how to cover every case since for some people the path to the manifest should be (root install) and for others that either only use home-manager or just want it installed in the userspace only, which is inaccessible to simple nix setups. I could try putting it in the former path and see if it works for the latter mentioned cases I guess? I'll later try debugging the latter cases with the global path, but I remember running into issues while trying to implement this and ultimately just giving up and writing the hm module instead.
Hey and by the error message, it says the nix store is read only, perhaps you need to check the nix store permission / use root?
There's a branch on the pywalfox repo that works flawlessly on nixOS read more: I have the following snippet that builds the python package
Should be resolved, let me know if any issues persist.
Could you backport this to stable?

Discussion:
<del> { lib, python3, fetchPypi }: python3.pkgs.buildPythonApplication rec { </del> <ins> { lib, fetchFromGitHub, python3, }: python3.pkgs.buildPythonApplication { </ins> pname = "pywalfox-native"; version = "2.7.4"; <del> src = fetchPypi { inherit version; pname = "pywalfox"; hash = "sha256-Wec9fic4lXT7gBY04D2EcfCb/gYoZcrYA/aMRWaA7WY="; </del> <ins> src = fetchFromGitHub { owner = "Frewacom"; repo = "pywalfox-native"; rev = "7ecbbb193e6a7dab424bf3128adfa7e2d0fa6ff9"; hash = "sha256-i1DgdYmNVvG+mZiFiBmVHsQnFvfDFOFTGf0GEy81lpE="; </ins> }; pythonImportsCheck = [ "pywalfox" ];
Change:
I think this should be installed to rather than . System: 17.03.1645. (Gorilla) Nix version: nix-env (Nix) 1.11.13 Nixpkgs version: "17.03.1645." Sandboxing enabled: true
Thanks
You're welcome!

Discussion:
doCheck = false; preInstall = '' <ins> substituteInPlace setup.py --replace /usr/share/doc/ share/doc/ </ins> # see https://github.com/NixOS/nixpkgs/issues/4968 ${python}/bin/${python.executable} setup.py install_data --install-dir=$out --root=$out '';
Change:
Steps to reproduce the behavior: on aarch64-darwin Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:

Discussion:
{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { <del> version = "2.2.7b"; </del> <ins> version = "3.0.0d"; </ins> pname = "discount"; src = fetchFromGitHub { owner = "Orc"; repo = pname; rev = "v${version}"; <del> sha256 = "sha256-S6OVKYulhvEPRqNXBsvZ7m2W4cbdnrpZKPAo3SfD+9s="; </del> <ins> sha256 = "sha256-fFSlW9qnH3NL9civ793LrScOJSuRe9i377BgpNzOXa0="; </ins> }; patches = [ ./fix-configure-path.patch ];
Change:
Steps to reproduce the behavior: kdeltachat nixpkgs (recent unstable). fyi i hadn't tried this package before, so not sure if the issue is recent. Please run and paste the result.
It's been like this for a while. Maybe can help? Applying doesn't fix it.
Are you sure it is applied? This is the only place is used and the patch actually fixes this problem.
Never mind, my bad.

Discussion:
mkDerivation rec { pname = "kdeltachat"; <del> version = "unstable-2023-01-31"; </del> <ins> version = "unstable-2024-01-14"; </ins> src = fetchFromSourcehut { owner = "~link2xt"; repo = "kdeltachat"; <del> rev = "0c9370cfe41ae7f99b4fceced896f66fb4e9195c"; hash = "sha256-6KSzsPs8tSzVOxGUWj/AvSJihrSwamZgUNGvjnmNnag="; </del> <ins> rev = "d61a01c2d6d5bdcc9ca500b466ed42689b2bd5c6"; hash = "sha256-KmL3ODXPi1c8C5z2ySHg0vA5Vg/dZumDZTbpxkzf7A4="; </ins> }; nativeBuildInputs = [
Change:
Steps to reproduce the behavior: <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Hi! I suggest you edit the title of the issue, naming the actual package.
Can you test this PR please? Not sure why it broke, but instead of debugging this I just went ahead and upgraded the package.

Discussion:
, extraPkgs ? [ ] }: let <del> version = "8.1.18"; </del> <ins> version = "8.3.1"; </ins> cbangSrc = fetchFromGitHub { owner = "cauldrondevelopmentllc"; repo = "cbang"; rev = "bastet-v${version}"; <del> hash = "sha256-G0rknVmZiyC4sRTOowFjf7EQ5peGf+HLPPcLWXXFlX4="; </del> <ins> hash = "sha256-cuyfJG5aDJ6e2SllxwKTViG0j8FWHvjcTaaBBtkgEdU="; </ins> }; fah-client = stdenv.mkDerivation {

owner = "FoldingAtHome"; repo = "fah-client-bastet"; rev = "v${version}"; <del> hash = "sha256-IgT/5NqCwN8N8OObjtASuT4IRb2EN4bdixxUdjiyddI="; </del> <ins> hash = "sha256-Ztc2im4Xmk8f6GotGRgA5zDkcyQFnodUvroJVl+ApT4="; </ins> }; nativeBuildInputs = [ scons ];

installPhase = '' runHook preInstall <del> mkdir -p $out/{bin,share/applications,share/feh-client} </del> <ins> mkdir -p $out/{bin,share/applications} </ins> cp fah-client $out/bin/fah-client <del> cp install/lin/fah-client.desktop $out/share/applications/ cp -r images $out/share/feh-client/ sed -e "s|Icon=.*|Icon=$out/share/feh-client/images/fahlogo.png|g" -i $out/share/applications/fah-client.desktop </del> <ins> cp install/lin/fah-client.desktop.in $out/share/applications/fah-client.desktop sed  -e "s|Icon=.*|Icon=$out/share/feh-client/images/fahlogo.png|g"  -e "s|%(PACKAGE_URL)s|https://github.com/FoldingAtHome/fah-client-bastet|g"  -i $out/share/applications/fah-client.desktop </ins> runHook postInstall '';
Change:
Steps to reproduce the behavior: nsjail Add any other context about the problem here. let me know if there is anything I can do to help. Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:

Discussion:
buildInputs = [ libnl protobuf protobufc ]; enableParallelBuilding = true; <ins> env.NIX_CFLAGS_COMPILE = toString [ "-Wno-error" ]; </ins> preBuild = '' makeFlagsArray+=(USER_DEFINES='-DNEWUIDMAP_PATH=${shadow}/bin/newuidmap -DNEWGIDMAP_PATH=${shadow}/bin/newgidmap') '';
Change:
Steps to reproduce the behavior: Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:

Discussion:
, buildPythonPackage , fetchPypi , poetry-core <ins> , pythonRelaxDepsHook </ins> , flet-core , httpx , oauthlib

buildPythonPackage rec { pname = "flet-runtime"; version = "0.18.0"; <del> format = "pyproject"; </del> <ins> pyproject = true; </ins> src = fetchPypi { pname = "flet_runtime";

nativeBuildInputs = [ poetry-core <ins> pythonRelaxDepsHook ]; pythonRelaxDeps = [ "httpx" </ins> ]; propagatedBuildInputs = [

{ lib , buildPythonPackage , fetchPypi <ins> , pythonRelaxDepsHook </ins> # build-system , poetry-core

buildPythonPackage rec { pname = "flet"; version = "0.18.0"; <del> format = "pyproject"; </del> <ins> pyproject = true; </ins> src = fetchPypi { inherit pname version;

nativeBuildInputs = [ poetry-core <ins> pythonRelaxDepsHook ]; pythonRelaxDeps = [ "websockets" </ins> ]; propagatedBuildInputs = [
Change:
Package name: kitty Latest released version: 0.32.0 () <!-- Search your package here: --- Current version on the unstable channel: 0.31.0 Current version on the stable/release channel: 0.31.0 <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- Notify maintainers <!-- If the result shows no maintainers, tag the person that last updated the package. --Note for maintainers: Please tag this issue in your PR. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:

Discussion:
with python3Packages; buildPythonApplication rec { pname = "kitty"; <del> version = "0.31.0"; </del> <ins> version = "0.32.0"; </ins> format = "other"; src = fetchFromGitHub { owner = "kovidgoyal"; repo = "kitty"; rev = "refs/tags/v${version}"; <del> hash = "sha256-VWWuC4T0pyTgqPNm0gNL1j3FShU5b8S157C1dKLon1g="; </del> <ins> hash = "sha256-untfXvBAn39C+s1BxVjXoLpPvnw7TM/uPFB+zZHH8w8="; </ins> }; goModules = (buildGoModule { pname = "kitty-go-modules"; inherit src version; <del> vendorHash = "sha256-OyZAWefSIiLQO0icxMIHWH3BKgNas8HIxLcse/qWKcU="; </del> <ins> vendorHash = "sha256-WRDP3Uyttz/kWm07tjv7wNguF/a1YgZqutbvFEOHuE0="; </ins> }).goModules; buildInputs = [
Change:
build .#CoinMP (only fails for Darwin) log failures: aarch64-darwin: x86_64-darwin: No maintainer listed in package.

Discussion:
enableParallelBuilding = true; <ins> env = lib.optionalAttrs stdenv.cc.isClang { CXXFLAGS = "-std=c++14"; }; </ins> hardeningDisable = [ "format" ]; meta = with lib; {
Change:
Project description An emoji picker for linux, with custom tags support and localization. Metadata homepage URL: source URL: license: GPL3 platforms: unix, linux, darwin Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:

Discussion:
<ins> { lib , python3 , fetchFromGitHub , desktop-file-utils , glib , gobject-introspection , gtk4 , meson , ninja , wrapGAppsHook4 , libadwaita }: python3.pkgs.buildPythonApplication rec { pname = "smile"; version = "2.9.0"; format = "other"; src = fetchFromGitHub { owner = "mijorus"; repo = "smile"; rev = version; hash = "sha256-tXbRel+rtaE2zPO8NOc4X+Ktk4PdRHBMtpsGLbvuHZk="; }; postPatch = '' patchShebangs build-aux/meson/postinstall.py substituteInPlace build-aux/meson/postinstall.py  --replace-fail gtk-update-icon-cache gtk4-update-icon-cache ''; nativeBuildInputs = [ desktop-file-utils # for update-desktop-database glib # for glib-compile-resources gobject-introspection gtk4 # for gtk4-update-icon-cache meson ninja wrapGAppsHook4 ]; buildInputs = [ libadwaita ]; propagatedBuildInputs = with python3.pkgs; [ dbus-python manimpango pygobject3 ]; dontWrapGApps = true; preFixup = '' makeWrapperArgs+=("''${gappsWrapperArgs[@]}") ''; meta = { changelog = "https://smile.mijorus.it/changelog"; description = "An emoji picker for linux, with custom tags support and localization"; downloadPage = "https://github.com/mijorus/smile"; homepage = "https://mijorus.it/projects/smile/"; license = lib.licenses.gpl3Plus; mainProgram = "smile"; maintainers = with lib.maintainers; [ koppor ]; }; } </ins>
Change:
Package name: Stretchly Latest released version: 1.15.1 <!-- Search your package here: --- Current version on the unstable channel: Current version on the stable/release channel: <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- Notify maintainers <!-- If the result shows no maintainers, tag the person that last updated the package. --Note for maintainers: Please tag this issue in your PR. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:

Discussion:
, makeDesktopItem }: <del> stdenv.mkDerivation rec { </del> <ins> stdenv.mkDerivation (finalAttrs: { </ins> pname = "stretchly"; <del> version = "1.8.1"; </del> <ins> version = "1.15.1"; </ins> src = fetchurl { <del> url = "https://github.com/hovancik/stretchly/releases/download/v${version}/stretchly-${version}.tar.xz"; sha256 = "sha256-/v74vDGxD5iiOPeBXPAaV42JpyBjeJSO/Lk88pCkDng="; </del> <ins> url = "https://github.com/hovancik/stretchly/releases/download/v${finalAttrs.version}/stretchly-${finalAttrs.version}.tar.xz"; hash = "sha256-suTH6o7vtUr2DidPXAwqrya5/WukQOFmS/34LaiWDBs="; </ins> }; icon = fetchurl { <del> url = "https://raw.githubusercontent.com/hovancik/stretchly/v${version}/stretchly_128x128.png"; sha256 = "0whfg1fy2hjyk1lzpryikc1aj8agsjhfrb0bf7ggl6r9m8s1rvdl"; </del> <ins> url = "https://raw.githubusercontent.com/hovancik/stretchly/v${finalAttrs.version}/stretchly_128x128.png"; hash = "sha256-tO0cNKopG/recQus7KDUTyGpApvR5/tpmF5C4V14DnI="; </ins> }; nativeBuildInputs = [ makeWrapper ];

installPhase = '' runHook preInstall <del> mkdir -p $out/bin $out/share/${pname}/ mv resources/app.asar* $out/share/${pname}/ </del> <ins> mkdir -p $out/bin $out/share/${finalAttrs.pname}/ mv resources/app.asar* $out/share/${finalAttrs.pname}/ </ins> mkdir -p $out/share/applications <del> ln -s ${desktopItem}/share/applications/* $out/share/applications/ </del> <ins> ln -s ${finalAttrs.desktopItem}/share/applications/* $out/share/applications/ </ins> <del> makeWrapper ${electron}/bin/electron $out/bin/${pname}  --add-flags $out/share/${pname}/app.asar </del> <ins> makeWrapper ${electron}/bin/electron $out/bin/${finalAttrs.pname}  --add-flags $out/share/${finalAttrs.pname}/app.asar </ins> runHook postInstall '';

}; desktopItem = makeDesktopItem { <del> name = pname; exec = pname; icon = icon; </del> <ins> name = finalAttrs.pname; exec = finalAttrs.pname; icon = finalAttrs.icon; </ins> desktopName = "Stretchly"; genericName = "Stretchly"; categories = [ "Utility" ];

maintainers = with maintainers; [ _1000101 ]; platforms = platforms.linux; }; <del> } </del> <ins> }) </ins>