jiebi/CodeConvo huggingface dataset:
Change:
complains that it can't find. Install & try to start it. should work without throwing an error, at least when is set.
I found the cause for this issue on my machine. I was using . When I change it to use use only one SDK, omnisharp will work again: This works for my use-case since I only have one SDK installed at the moment. It's not optimal, though and it was working previously at some point.
Also, if I , omnisharp is still working. So I guess it should be possible to fix this in:
I get another error now, though: Possibly related:
I got the same error. Is it caused by a version incompatibility? The latest version of the package in nixpkgs-unstable is 1.38.1, and the latest version of is . v1.38.2 of - - mentions updating build tools to match dotnet 6.0.201. Does updating omnisharp or downgrading dotnet help this issue?
Omnisharp has been updated to v1.38.2 (on master, at least), does this error still occur?
Still occurs for me. Now the error is that it cannot find System.Configuration.ConfigurationManager with version 4.0.3 It seems there is a mismatch, dotnet-sdk package contains System.Configuration.ConfigurationManager with version 4.0.0: The same error was reported in omnisharp repository -
I've been seeing that same error thrown on my end as well. Went ahead and bumped the dotnet core packages, and that doesn't seem to change the result (tested sdk 6.0.202): Interestingly, sdk 7.0.100-preview.3..4 also showed 4.0.0.0: (Will be PRing the updates, and addition of 7.0, momentarily) EDIT: Won't be PRing the updates yet, breaks a number of packages currently. Will PR the addition of 7.0 though
Possibly related: OmniSharp/omnisharp-roslyn
Seems like the omnisharp-roslyn package incorretly refernces this dll. It seems like a problem with the upstream repo, not the nix packaging. Btw, I made a PR with the dotnet 6 bump here:
Still getting this error, anyone has a solution for it? UPDATE: Downgrading this single package to stable temporarily fixed it.
After some investigation, the issue with System.Config.ConfigurationManager in upstream repo was fixed by This was fixed by removing the problematic dll during build, causing omnisharp-roslyn to find the dll in dotnet sdk folder, and bind properly. But since it was to the file, which nix build doesn't use, the fix did not carry over to nixpkgs. The simple solution is to add a manual removal of dlls to the , mimicking the hack upstream. This causes omnisharp to work again on my machine: I'm going to try adding the above fix in a PR to nixpkgs.

Discussion:
installPhase = '' mkdir -p $out/bin cp -r bin/Release/OmniSharp.Stdio.Driver/net6.0 $out/src <ins> # Delete files to mimick hacks in https://github.com/OmniSharp/omnisharp-roslyn/blob/bdc14ca/build.cake#L594 rm $out/src/NuGet.*.dll rm $out/src/System.Configuration.ConfigurationManager.dll </ins> makeWrapper $out/src/OmniSharp $out/bin/omnisharp  --prefix DOTNET_ROOT : ${dotnet-sdk}  --suffix PATH : ${dotnet-sdk}/bin
Change:
Links like do not work, since the scheme handler is not registered in the desktop entry file. Steps to reproduce the behavior: Zotero stuff to biblography to select item using a url The correct item is selected Related flathub issue: I'm using 21.11 stable, a backport would be appreciated. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --

Discussion:
genericName = "Reference Management"; categories = [ "Office" "Database" ]; startupNotify = true; <del> mimeTypes = [ "text/plain" ]; </del> <ins> mimeTypes = [ "x-scheme-handler/zotero" "text/plain" ]; </ins> }; installPhase = ''
Change:
, CVSSv3=6.5 (nixos-21.11) HashiCorp Consul and Consul Enterprise 1.8.0 through 1.9.14, 1.10.7, and 1.11.2 has Uncontrolled Resource Consumption. Scanned versions: nixos-21.11: . Cc Cc Cc Cc
PR

Discussion:
buildGoModule rec { pname = "consul"; <del> version = "1.10.3"; </del> <ins> version = "1.10.10"; </ins> rev = "v${version}"; # Note: Currently only release tags are supported, because they have the Consul UI

owner = "hashicorp"; repo = pname; inherit rev; <del> sha256 = "sha256-Jn8cF+8Wf4zZ/PFXvjCGpomSa/DvraBGW0LsZQ+Zy+4="; </del> <ins> sha256 = "0ya95pxznlfgbxsxp8b9fv4wi5h0872xmpshwszy3aws9cpipfwz"; </ins> }; passthru.tests.consul = nixosTests.consul;

# has a split module structure in one repo subPackages = ["." "connect/certgen"]; <del> vendorSha256 = "sha256-cQP1po9LGunFVocl4+HPs67oae2KpgyfRRB+xGVySUY="; </del> <ins> vendorSha256 = "1z4hzkl2n0074hhn154mkk3gvzwrl13g37v24zrp2aa6jifhimmj"; </ins> doCheck = false;
Change:
, CVSSv3=9.8 (nixos-21.11, nixos-unstable) CVSSv3=7.5 (nixos-21.11, nixos-unstable) PJSIP is a free and open source multimedia communication library written in C language. In versions prior to and including 2.12 PJSIP there is a stack-buffer overflow vulnerability which only impacts PJSIP users who accept hashed digest credentials (credentials with datatype ). This issue has been patched in the master branch of the PJSIP repository and will be included with the next release. Users unable to upgrade need to check that the hashed digest data length must be equal to before passing to PJSIP. PJSIP is a free and open source multimedia communication library written in C. Versions 2.12 and prior contain a stack buffer overflow vulnerability that affects PJSUA2 users or users that call the API . Applications that do not use PJSUA2 and do not directly call or should not be affected. A patch is available on the branch of the GitHub repository. There are currently no known workarounds. Scanned versions: nixos-21.11: ; nixos-unstable: . Cc

Discussion:
stdenv.mkDerivation rec { pname = "pjsip"; <del> version = "2.12"; </del> <ins> version = "2.12.1"; </ins> src = fetchFromGitHub { owner = pname; repo = "pjproject"; rev = version; <del> sha256 = "sha256-snp9+PlffU9Ay8o42PM8SqyP60hu9nozp457HM+0bM8="; </del> <ins> sha256 = "sha256-HIDL4xzzTu3irzrIOf8qSNCAvHGOMpi8EDeqZb8mMnc="; </ins> }; patches = [ ./fix-aarch64.patch <del> (fetchpatch { name = "CVE-2022-24764.patch"; url = "https://github.com/pjsip/pjproject/commit/560a1346f87aabe126509bb24930106dea292b00.patch"; sha256 = "1fy78v3clm0gby7qcq3ny6f7d7f4qnn01lkqq67bf2s85k2phisg"; }) </del> ]; buildInputs = [ openssl libsamplerate ]
Change:
, CVSSv3=7.8 (nixos-unstable) CVSSv3=5.5 (nixos-unstable) Use After Free in opissetbp in GitHub repository radareorg/radare2 prior to 5.6.6. Use After Free in rreggetname_idx in GitHub repository radareorg/radare2 prior to 5.6.6. Scanned versions: nixos-unstable: . Cc Cc Cc Cc

Discussion:
in stdenv.mkDerivation rec { pname = "radare2"; <del> version = "5.6.4"; </del> <ins> version = "5.6.8"; </ins> src = fetchFromGitHub { owner = "radare"; repo = "radare2"; rev = version; <del> sha256 = "sha256-rqGlp9fHTF1z8A+DROYfzHXi5xfLMdUWzssGN5uHQmE="; </del> <ins> sha256 = "0fpz63dfac1i6wwf5wp3v1vs3r5yzh05g95m5vidx56h0g4dcp44"; </ins> }; preBuild = ''
Change:
minetest fails to run and reports Killed: 9 build minetest and run on macos aarch64 (I can't confirm if x86 is also broken). A clear and concise description of what you expected to happen. If applicable, add screenshots to help explain your problem. Add any other context about the problem here. <!-- 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.

Discussion:
postPatch = '' substituteInPlace src/filesys.cpp --replace "/bin/rm" "${coreutils}/bin/rm" <ins> '' + lib.optionalString stdenv.isDarwin '' sed -i '/pagezero_size/d;/fixup_bundle/d' src/CMakeLists.txt </ins> ''; <del> postInstall = '' </del> <ins> postInstall = lib.optionalString stdenv.isLinux '' </ins> mkdir -pv $out/share/minetest/games/minetest_game/ cp -rv ${sources.data}/* $out/share/minetest/games/minetest_game/ patchShebangs $out

license = licenses.lgpl21Plus; platforms = platforms.linux ++ platforms.darwin; maintainers = with maintainers; [ pyrolagus fpletz fgaz ]; <del> # https://github.com/NixOS/nixpkgs/pull/186160#issuecomment-1212635918 broken = stdenv.isDarwin; </del> }; };
Change:
Both and are failing on master, which prevents nixos-unstable from advancing. Hydra log: Bisected to: Introduced in
Revert for now in order to get the zlib update to ? (also needs merging and maybe fixing additional stuff)

Discussion:
# Start systemd in a clean environment. echo "starting systemd..." <del> exec env - @systemdExecutable@ "$@" </del> <ins> exec @systemdExecutable@ "$@" </ins>
Change:
gef expects from to be in path. The wrapper does not ensure that this is the case. Steps to reproduce the behavior: 't install No error messages and full functionality It's probably quite rare to write a configuration with and without but I happened to do it! <!-- 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.

Discussion:
, makeWrapper , gdb , python3 <ins> , bintools-unwrapped </ins> , file , ps , git

makeWrapper ${gdb}/bin/gdb $out/bin/gef  --add-flags "-q -x $out/share/gef/gef.py"  --set NIX_PYTHONPATH ${pythonPath}  <del> --prefix PATH : ${lib.makeBinPath [ python3 file ps ]} </del> <ins> --prefix PATH : ${lib.makeBinPath [ python3 bintools-unwrapped # for readelf file ps ]} </ins> ''; checkInputs = [
Change:
Project description The package contains TrueType fonts for Lao language. Metadata homepage URL: source URL: license: gpl2+ platforms: all

Discussion:
<ins> { fetchzip, lib }: let version = "0.0.20060226"; in fetchzip { name = "lao-${version}"; url = "mirror://debian/pool/main/f/fonts-lao/fonts-lao_${version}.orig.tar.xz"; sha256 = "sha256-Ti3DNOgLR5VBJ1mSe8M+qs4UYbCR7qOPgqxRfmHa+jY="; postFetch = '' mkdir -p $out/share/fonts tar xf $downloadedFile --strip-components=1 -C $out/share/fonts fonts-lao-${version}/Phetsarath_OT.ttf ''; meta = with lib; { description = "TrueType font for Lao language"; license = licenses.gpl2Plus; maintainers = with lib.maintainers; [ serge ]; platforms = platforms.all; }; } </ins>

layan-kde = callPackage ../data/themes/layan-kde { }; <ins> lao = callPackage ../data/fonts/lao {}; </ins> lato = callPackage ../data/fonts/lato {}; league-of-moveable-type = callPackage ../data/fonts/league-of-moveable-type {};
Change:
I want to report an NVIDIA driver bug to nvidia's forums and they require users to submit a log file generated by a script called included in their proprietary driver package, however the nix derviation for the drivers doesn't seem to include this script. Steps to reproduce the behavior: nvidia proprietary driver running A log file is created
See in . The expression needs to be updated to include other executables that are now not copied over. Actually, look at the last lines sh if [ -n "$bin" ]; then # Install /share files. mkdir -p $bin/share/man/man1 cp -p * $bin/share/man/man1 rm -f $bin/share/man/man1/{nvidia-xconfig,nvidia-settings,nvidia-persistenced} # Install the programs. for i in nvidia-cuda-mps-control nvidia-cuda-mps-server nvidia-smi nvidia-debugdump; do if [ -e "$i" ]; then install -Dm755 bin/bin/$i # unmodified binary backup for mounting in containers install -Dm755 bin/origBin/$i patchelf --interpreter "NIX_CC/nix-support/dynamic-linker)"  --set-rpath libPath i fi done # FIXME: needs PATH and other fixes # install -Dm755 nvidia-bug- $bin/bin/nvidia-bug- fi ``
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
As an owner of a 3090 card that crashes sometimes, this utility would be very helpful to have. In the meantime, I suggest people encountering this issue to find a copy of the script and issuing the commands in there one by one. This is unfortunately not as useful when interacting on the nvidia forum though.

Discussion:
--set-rpath $out/lib:$libPath $bin/bin/$i fi done <del> # FIXME: needs PATH and other fixes # install -Dm755 nvidia-bug-report.sh $bin/bin/nvidia-bug-report.sh </del> <ins> substituteInPlace nvidia-bug-report.sh  --replace /bin/grep grep  --replace /bin/ls ls install -Dm755 nvidia-bug-report.sh $bin/bin/nvidia-bug-report.sh </ins> fi }
Change:
Project description Warm color scheme for Neovim and beyond Metadata homepage URL: source URL: license: mit platforms: unix, linux, darwin, ...

Discussion:
meta.homepage = "https://github.com/chikamichi/mediawiki.vim/"; }; <ins> melange-nvim = buildVimPluginFrom2Nix { pname = "melange-nvim"; version = "2023-04-06"; src = fetchFromGitHub { owner = "savq"; repo = "melange-nvim"; rev = "f15922543dd70b360335effb61411c05c710b99c"; sha256 = "19swmv0xzlxp7bcmgdm2qfam28wi9igqvfn5q7wq8qshb2wqzph1"; }; meta.homepage = "https://github.com/savq/melange-nvim/"; }; </ins> mini-nvim = buildVimPluginFrom2Nix { pname = "mini.nvim"; version = "2023-05-07";

https://github.com/kaicataldo/material.vim/,HEAD, https://github.com/vim-scripts/mayansmoke/,, https://github.com/chikamichi/mediawiki.vim/,HEAD, <ins> https://github.com/savq/melange-nvim/,, </ins> https://github.com/echasnovski/mini.nvim/,, https://github.com/wfxr/minimap.vim/,, https://github.com/jose-elias-alvarez/minsnip.nvim/,,
Change:
When enabling the Qtile window manager, globally defined Python environments cannot be used. Steps to reproduce the behavior: define a global Python environment in : Python environment: Qtile: defined Python environment is no longer available: I expect to be able to use globally defined Python environments regardless of the window manager in use, in this case, Qtile. This issue has been briefly discussed in NixOS .
Thanks a lot!
This exact issue still occurs for me; but only while being logged into Qtile.

Discussion:
in { <del> options = { services.xserver.windowManager.qtile.enable = mkEnableOption "qtile"; </del> <ins> options.services.xserver.windowManager.qtile = { enable = mkEnableOption "qtile"; package = mkPackageOption pkgs "qtile" { }; </ins> }; config = mkIf cfg.enable { services.xserver.windowManager.session = [{ name = "qtile"; start = '' <del> ${pkgs.qtile}/bin/qtile start & </del> <ins> ${cfg.package}/bin/qtile start & </ins> waitPID=$! ''; }]; <del> environment.systemPackages = [ pkgs.qtile ]; </del> <ins> environment.systemPackages = [ # pkgs.qtile is currently a buildenv of qtile and its dependencies. # For userland commands, we want the underlying package so that # packages such as python don't bleed into userland and overwrite intended behavior. (cfg.package.unwrapped or cfg.package) ]; </ins> }; }
Change:
Build of failed on x86_64-linux as of . Maintainer cc: Other cc: n/a nixpkgs at commit This issue was automatically generated by . that created this issue. Internal tag:

Discussion:
buildPythonPackage rec { pname = "chex"; <del> # As of 2021-12-29, the latest official version has broken tests with jax 0.2.26: # `AttributeError: module 'jax.interpreters.xla' has no attribute 'xb'` version = "unstable-2021-12-16"; </del> <ins> version = "0.1.2"; </ins> format = "setuptools"; src = fetchFromGitHub { owner = "deepmind"; repo = pname; <del> rev = "5adc10e0b4218f8ec775567fca38b68bbad42a3a"; sha256 = "00xib6zv9pwid2q7wcr109qj3fa3g3b852skz8444kw7r0qxy7z3"; </del> <ins> rev = "v${version}"; hash = "sha256-NtZYOHByKBcKmhRaNULwaQqxfoPRmgbtJ3cFHNfy4E8="; </ins> }; propagatedBuildInputs = [

owner = "deepmind"; repo = pname; rev = "v${version}"; <del> sha256 = "sha256-qvKMeGPiWXvvyV+GZdTWdsC6Wp08AmP8nDtWk7sZtqM="; </del> <ins> hash = "sha256-qvKMeGPiWXvvyV+GZdTWdsC6Wp08AmP8nDtWk7sZtqM="; </ins> }; propagatedBuildInputs = [

checkInputs = [ chex cloudpickle <ins> dill </ins> dm-tree jaxlib pytest-xdist

"haiku/_src/integration/jax2tf_test.py" ]; <ins> disabledTests = [ # See https://github.com/deepmind/dm-haiku/issues/366. "test_jit_Recurrent" ]; </ins> meta = with lib; { description = "Haiku is a simple neural network library for JAX developed by some of the authors of Sonnet."; homepage = "https://github.com/deepmind/dm-haiku";
Change:
Build of failed on x86_64-linux as of . Maintainer cc: Other cc: n/a nixpkgs at commit This issue was automatically generated by . that created this issue. Internal tag: -

Discussion:
, future , imagemagick , importlib-resources <ins> , jax , jaxlib </ins> , jinja2 , langdetect , lib

beautifulsoup4 ffmpeg imagemagick <ins> jax jaxlib </ins> jinja2 langdetect matplotlib

# Requires `tensorflow_io` which is not packaged in `nixpkgs`. "tensorflow_datasets/image/lsun_test.py" <ins> # Requires `envlogger` which is not packaged in `nixpkgs`. "tensorflow_datasets/rlds/robosuite_panda_pick_place_can/robosuite_panda_pick_place_can_test.py" </ins> # Fails with `TypeError: Constant constructor takes either 0 or 2 positional arguments` # deep in TF AutoGraph. Doesn't reproduce in Docker with Ubuntu 22.04 => might be related # to the differences in some of the dependencies?
Change:
A clear and concise description of what the bug is. See log gotten from : Steps to reproduce the behavior: to in your or to rebuild A clear and concise description of what you expected to happen. Build successfully <!-- 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.
Yeah is for 0.8.5 and 1.0.0 () breaks the build for meson 0.61 again...

Discussion:
{ lib , fetchFromGitHub <ins> , fetchpatch </ins> , meson , ninja , pkg-config

sha256 = "sha256-qNaljtuA5E/QaLJ9QILPRQCqOvKmX4ZGq/0z5unA8KA="; }; <ins> patches = [ # Fix build with meson 0.61, can be removed on next update. # https://github.com/NixOS/nixpkgs/issues/167584 (fetchpatch { url = "https://github.com/maoschanz/drawing/commit/6dd271089af76b69322500778e3ad6615a117dcc.patch"; sha256 = "sha256-4pKWm3LYstVxZ4+gGsZDfM4K+7WBY8EYjylzc/CQZmo="; includes = [ "data/meson.build" "help/meson.build" ]; }) ]; </ins> nativeBuildInputs = [ appstream-glib desktop-file-utils
Change:
I am new to Nix, but I am pretty sure there is a dependency missing. Run Docker container: Install home-manager: Execute home-manager: Install ncurses: The Shell script itself uses the tput command.

Discussion:
#Adapted from #https://github.com/rycee/home-manager/blob/2c07829be2bcae55e04997b19719ff902a44016d/home-manager/default.nix <del> { bash, coreutils, findutils, gnused, less, gettext, nixos-option, lib, stdenv, makeWrapper, fetchFromGitHub }: </del> <ins> { bash, coreutils, findutils, gnused, less, ncurses, gettext, nixos-option, lib, stdenv, makeWrapper, fetchFromGitHub }: </ins> stdenv.mkDerivation rec {

substituteInPlace $out/bin/home-manager  --subst-var-by bash "${bash}"  --subst-var-by DEP_PATH "${ <del> lib.makeBinPath [ coreutils findutils gettext gnused less nixos-option ] </del> <ins> lib.makeBinPath [ coreutils findutils gettext gnused less ncurses nixos-option ] </ins> }"  --subst-var-by HOME_MANAGER_LIB '${src}/lib/bash/home-manager.sh'  --subst-var-by HOME_MANAGER_PATH '${src}'
Change:
Project description DevSpace is an open-source developer tool for Kubernetes that lets you develop and deploy cloud-native software faster. Metadata homepage URL: source URL: license: apache2 platforms: linux, darwin

Discussion:
<ins> { lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "devspace"; version = "5.18.4"; src = fetchFromGitHub { owner = "loft-sh"; repo = "devspace"; rev = "v${version}"; sha256 = "0s5117cgxgrxfki5drvg6d22dvrjffa03bi644zdl1p631r599r1"; }; vendorSha256 = null; ldflags = [ "-s" "-w" "-X main.version=${version}" ]; # Check are disable since they requiered a working K8S cluster # TODO: add a nixosTest to be able to perform the package check doCheck = false; meta = with lib; { description = "DevSpace is an open-source developer tool for Kubernetes that lets you develop and deploy cloud-native software faster"; homepage = "https://devspace.sh/"; changelog = "https://github.com/loft-sh/devspace/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ darkonion0 ]; }; } </ins>

inherit (darwin.apple_sdk.frameworks) CoreServices; }; <ins> devspace = callPackage ../development/tools/misc/devspace { }; </ins> maturin = callPackage ../development/tools/rust/maturin { inherit (darwin.apple_sdk.frameworks) Security; };
Change:
After upgrading to the current version of nixpgs (nixos-unstable) anki starts up to a blank main window. According to the documentation () that is because of the system glibc having changed to a version not compatible with anki. Their suggested fix is that users move to using the beta package instead. Steps to reproduce the behavior: -shell -p Anki working as usual Add any other context about the problem here. Please run and paste the result. Excerpt from
Can confirm the behaviour.

Discussion:
<del> { fetchurl, stdenv, lib, buildFHSUserEnv, appimageTools, writeShellScript, anki, undmg }: </del> <ins> { fetchurl, stdenv, lib, buildFHSUserEnv, appimageTools, writeShellScript, anki, undmg, zstd }: </ins> let pname = "anki-bin"; # Update hashes for both Linux and Darwin! <del> version = "2.1.49"; </del> <ins> version = "2.1.51"; </ins> sources = { linux = fetchurl { <del> url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux.tar.bz2"; sha256 = "sha256-uG39g9CXnquArFsxtFHWWoDaNwu8y2KKh+SqGt8aqi0="; </del> <ins> url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-linux-qt6.tar.zst"; sha256 = "sha256-ZKVc+TvkNu5mGgibhRIuoLuIfvyoVDy+c4h+Apz9P+0="; </ins> }; <del> darwin = fetchurl { url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac.dmg"; sha256 = "sha256-sEVWZQpICL7RYrOuPm1Y5XhzPxCwNk1WGP1rctTtE4Y="; </del> <ins> # For some reason anki distributes completely separate dmg-files for the aarch64 version and the x86_64 version darwin-x86_64 = fetchurl { url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-intel-qt6.dmg"; sha256 = "sha256-wZMJEbcpezVAuBSKlwNTHlqjp0FfmyDB7XD6BBuJhyA="; }; darwin-aarch64 = fetchurl { url = "https://github.com/ankitects/anki/releases/download/${version}/anki-${version}-mac-apple-qt6.dmg"; sha256 = "sha256-6RDTYKoisX5DJ9VPWrP9VH9DCABabb9MB3nG4S8jtR0="; </ins> }; }; unpacked = stdenv.mkDerivation { inherit pname version; <ins> nativeBuildInputs = [ zstd ]; </ins> src = sources.linux; installPhase = ''

if stdenv.isLinux then buildFHSUserEnv (appimageTools.defaultFhsEnvArgs // { name = "anki"; <ins> # Dependencies of anki targetPkgs = pkgs: (with pkgs; [ xorg.libxkbfile krb5 ]); </ins> runScript = writeShellScript "anki-wrapper.sh" '' exec ${unpacked}/bin/anki '';

}) else stdenv.mkDerivation { inherit pname version passthru; <del> src = sources.darwin; </del> <ins> src = if stdenv.isAarch64 then sources.darwin-aarch64 else sources.darwin-x86_64; </ins> nativeBuildInputs = [ undmg ]; sourceRoot = ".";
Change:
A clear and concise description of what the bug is. Setting fails. Steps to reproduce the behavior: nixos-rebuild boot A clear and concise description of what you expected to happen. should run successfully. If applicable, add screenshots to help explain your problem. Error message is given: Add any other context about the problem here. Trying to or the hpssacli-2.40- will also fail. Accessing the above link directly in a browser also fails. Potential reason that can be excluded, for I cannot access above link from a machine outside China. Following link is accessible: <!-- 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.

Discussion:
version = "2.40-13.0"; src = pkgs.fetchurl { <del> url = "https://downloads.linux.hpe.com/SDR/downloads/MCP/Ubuntu/pool/non-free/${pname}-${version}_amd64.deb"; </del> <ins> urls = [ "https://downloads.linux.hpe.com/SDR/downloads/MCP/Ubuntu/pool/non-free/${pname}-${version}_amd64.deb" "http://apt.netangels.net/pool/main/h/hpssacli/${pname}-${version}_amd64.deb" ]; </ins> sha256 = "11w7fwk93lmfw0yya4jpjwdmgjimqxx6412sqa166g1pz4jil4sw"; };