jiebi/CodeConvo huggingface dataset:
Change:
Describe the bug There seems to be a bug currently with the package in the unstable channel. It seems like it was fixed in later versions. So, this bug report is intended to shed light on it, in the hopes that it gets updated. Right now, rust-analyzer will produce the following error (in version 2021-04-19): To Reproduce Steps to reproduce the behavior: to channel run in a rust project, or use the vscode extension and watch the output Expected behavior It shouldn't produce the error, and work as intended. Screenshots If applicable, add screenshots to help explain your problem. Additional context I asked in the zulip, and they said that it's a bug that has been fixed in newer versions. 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 Please run and paste the result. Maintainer information:

Discussion:
<del> { lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices, cmake </del> <ins> { lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices, cmake, fetchpatch </ins> , libiconv , useMimalloc ? false , doCheck ? true

rustPlatform.buildRustPackage rec { pname = "rust-analyzer-unwrapped"; <del> version = "2021-04-19"; cargoSha256 = "sha256-CXkI3CQ/v6RBMM2Dpp2u+qnRwba+nqzeaPSJGBiQUoY="; </del> <ins> version = "2021-05-10"; cargoSha256 = "sha256-PUecBFdYIJFZa5IwwNnuXOkuxtyrzWhxy3C+2jv/hvU="; </ins> src = fetchFromGitHub { owner = "rust-analyzer"; repo = "rust-analyzer"; rev = version; <del> sha256 = "sha256-W/cUwZEvlUXzqQ/futeNFwDWR/cTL/RLZaW2srIs83Q="; </del> <ins> sha256 = "sha256-oz6FqRMEUUTS4X2XhpWjp2JIgl1A6wQv2OU8auwUoVM="; </ins> }; <ins> patches = [ # Revert updates which require rust 1.52.0. # We currently have rust 1.51.0 in nixpkgs. # https://github.com/rust-analyzer/rust-analyzer/pull/8718 (fetchpatch { url = "https://github.com/rust-analyzer/rust-analyzer/pull/8718/commits/607d8a2f61e56fabb7a3bc5132592917fcdca970.patch"; sha256 = "sha256-g1yyq/XSwGxftnqSW1bR5UeMW4gW28f4JciGvwQ/n08="; revert = true; }) (fetchpatch { url = "https://github.com/rust-analyzer/rust-analyzer/pull/8718/commits/6a16ec52aa0d91945577c99cdf421b303b59301e.patch"; sha256 = "sha256-n7Ew/0fG8zPaMFCi8FVLjQZwJSaczI/QoehC6pDLrAk="; revert = true; }) ]; </ins> buildAndTestSubdir = "crates/rust-analyzer"; cargoBuildFlags = lib.optional useMimalloc "--features=mimalloc";
Change:
Describe the bug Qt5 is not being wrapped in Gnuradio 3.9. I believe there is an error here: Reproduce Steps to reproduce the behavior: a random source connected to a Qt GUI Sink the flow graph Expected behavior A Qt5 window should open with analysis tools. Screenshots ! Notify maintainers Metadata system: host os: multi-user?: sandbox: version: channels(erdnaxe): channels(root): nixpkgs: Maintainer information:
Tried to change with Now everything is working fine !
That's great! thanks for trying. Could you please make a PR?

Discussion:
] ++ lib.optionals (unwrapped.hasFeature "gr-qtgui" unwrapped.features) # 3.7 builds with qt4 <del> (if unwrapped.versionAttr.major == "3.8" then </del> <ins> (if lib.versionAtLeast unwrapped.versionAttr.major "3.8" then </ins> [ "--prefix" "QT_PLUGIN_PATH" ":" "${
Change:
Krita requires breeze-icons for it's buttons which is currently either miss configured or missing. To Reproduce Steps to reproduce the behavior: nixos unstable krita without breeze-icons, missing icons on buttons. breeze-icons, icons show. Expected behavior Icons to show on buttons. Screenshots ! ! Additional context This is my first issue, I am kind of shaky on Nix packaging. Sorry if I got something wrong. Notify maintainers Metadata system: host os: multi-user?: sandbox: version: channels(wyatt): channels(root): nixpkgs:

Discussion:
{ mkDerivation, lib, stdenv, makeWrapper, fetchurl, cmake, extra-cmake-modules , karchive, kconfig, kwidgetsaddons, kcompletion, kcoreaddons , kguiaddons, ki18n, kitemmodels, kitemviews, kwindowsystem <del> , kio, kcrash </del> <ins> , kio, kcrash, breeze-icons </ins> , boost, libraw, fftw, eigen, exiv2, libheif, lcms2, gsl, openexr, giflib , openjpeg, opencolorio, vc, poppler, curl, ilmbase , qtmultimedia, qtx11extras, quazip

buildInputs = [ karchive kconfig kwidgetsaddons kcompletion kcoreaddons kguiaddons <del> ki18n kitemmodels kitemviews kwindowsystem kio kcrash </del> <ins> ki18n kitemmodels kitemviews kwindowsystem kio kcrash breeze-icons </ins> boost libraw fftw eigen exiv2 lcms2 gsl openexr libheif giflib openjpeg opencolorio poppler curl ilmbase qtmultimedia qtx11extras quazip
Change:
Describe the bug Boinc crashes on startup with error To Reproduce Steps to reproduce the behavior: Expected behavior For the boinc daemon to work as expected 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 system: host os: multi-user?: sandbox: version: nixpkgs: Maintainer information:
Not sure if this is related, but I get:
I think this is could be from a bug with FHSUserEnv and autofs / x-systemd.automount. Do you have any filesystems mounted with those options?
This is the solution, only problem now is I can't figure how how to get the mount to have shared option with systemd mount unit / NixOS configuration.

Discussion:
} // hide all mounts we do from the parent <del> fail_if(mount(0, "/", 0, MS_PRIVATE | MS_REC, 0)); </del> <ins> fail_if(mount(0, "/", 0, MS_SLAVE | MS_REC, 0)); </ins> if (uid != 0) { spit("/proc/self/setgroups", "deny");
Change:
Project description A CLI tool to generate a file for Buildkite on the fly. Metadata homepage URL: source URL: license: mit platforms: all (I am not sure abut this)

Discussion:
githubId = 20923; name = "Erik Timan"; }; <ins> olebedev = { email = "ole6edev@gmail.com"; github = "olebedev"; githubId = 848535; name = "Oleg Lebedev"; }; </ins> olejorgenb = { email = "olejorgenb@yahoo.no"; github = "olejorgenb";

<ins> { lib , python3 }: with python3.pkgs; buildPythonApplication rec { pname = "bkyml"; version = "1.4.3"; src = fetchPypi { inherit pname version; sha256 = "01kpx35572mp4xl2fjyvfk39jfgfjcyzymbifk76891kaqkjb7r9"; }; # The pyscaffold is not a runtime dependency but just a python project bootstrapping tool. Thus, # instead of implement this package in nix we remove a dependency on it and fix up the version # of the package, that has been affected by the pyscaffold package dependency removal. postPatch = '' substituteInPlace setup.py  --replace "['pyscaffold>=3.0a0,<3.1a0'] + " ""  --replace "use_pyscaffold=True"  "" substituteInPlace src/bkyml/skeleton.py --replace  "from bkyml import __version__"  "__version__ = "${version}"" ''; # Don't run tests because they are broken when run within # buildPythonApplication for reasons I don't quite understand. doCheck = false; pythonImportsCheck = [ "bkyml" ]; propagatedBuildInputs = [ ruamel_yaml setuptools ]; meta = with lib; { homepage = "https://github.com/joscha/bkyml"; description = "A CLI tool to generate a pipeline.yaml file for Buildkite on the fly."; license = licenses.mit; maintainers = with maintainers; [ olebedev ]; }; } </ins>

bitwarden_rs-vault = callPackage ../tools/security/bitwarden_rs/vault.nix { }; <ins> bkyml = callPackage ../tools/misc/bkyml { }; </ins> blockbench-electron = callPackage ../applications/graphics/blockbench-electron { }; bmap-tools = callPackage ../tools/misc/bmap-tools { };
Change:
I'm trying to use the mwprocapture nixos module (which uses the mwprocapture kernel package) on 20.09 (linuxPackageslatest), and I get the following: Is this known and/or already fixed somewhere? (Also, is it safe to use it anyways?) I'd love to try and fix it further myself, but I don't know how to splice in a local/development nix file into my for development purposes :sweatsmile: (also CC
Looks like upgrading the package version resolved things. Will create a PR soon.
Thanks for the heads up.

Discussion:
with lib; <del> # The Magewell Pro Capture drivers are not supported for kernels older than 3.2 assert versionAtLeast kernel.version "3.2.0"; </del> let bits = if stdenv.is64bit then "64"

in stdenv.mkDerivation rec { <del> name = "mwprocapture-1.2.${version}-${kernel.version}"; version = "4177"; </del> <ins> name = "mwprocapture-1.3.0.${version}-${kernel.version}"; version = "4236"; </ins> src = fetchurl { <del> url = "http://www.magewell.com/files/drivers/ProCaptureForLinux_${version}.tar.gz"; sha256 = "1nf51w9yixpvr767k49sfdb9n9rv5qc72f5yki1mkghbmabw7vys"; </del> <ins> url = "https://www.magewell.com/files/drivers/ProCaptureForLinux_${version}.tar.gz"; sha256 = "1mfgj84km276sq5i8dny1vqp2ycqpvgplrmpbqwnk230d0w3qs74"; </ins> }; <del> nativeBuildInputs = [ kernel.moduleBuildDependencies ]; </del> <ins> nativeBuildInputs = kernel.moduleBuildDependencies; </ins> preConfigure = ''

license = licenses.unfreeRedistributable; maintainers = with maintainers; [ MP2E ]; platforms = platforms.linux; <ins> broken = kernel.kernelOlder "3.2.0"; </ins> }; }
Change:
For example: If this is called with instead of , it will fail to produce a output. This causes an assertion of the form: Unfortunately, doesn't keep the build directory around, making the source of the problem difficult to debug.
This is more of an issue for Thanks for reporting though!
Whoops! Is there an easy way to move it?
Not that I know of, sorry.
Fixed, thanks!

Discussion:
in assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins; stdenv.mkDerivation rec { <del> version = "2.6"; </del> <ins> version = "2.7"; </ins> pname = "weechat"; src = fetchurl { url = "https://weechat.org/files/src/weechat-${version}.tar.bz2"; <del> sha256 = "1narazk28m7lmn1vqi7bhyvnr8apjrmaa4w1hbadn64hwr8ya1hb"; </del> <ins> sha256 = "00hzchzw1w2181kczcrrnj8ngml3bwk7qciha3higxq3qynf0h8c"; </ins> }; outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins;

cmakeFlags = with stdenv.lib; [ "-DENABLE_MAN=ON" "-DENABLE_DOC=ON" <ins> "-DENABLE_JAVASCRIPT=OFF"  # Requires v8 <= 3.24.3, https://github.com/weechat/weechat/issues/360 "-DENABLE_PHP=OFF" </ins> ] ++ optionals stdenv.isDarwin ["-DICONV_LIBRARY=${libiconv}/lib/libiconv.dylib" "-DCMAKE_FIND_FRAMEWORK=LAST"] ++ map (p: "-D${p.cmakeFlag}=" + (if p.enabled then "ON" else "OFF")) plugins
Change:
For example: If this is called with instead of , it will fail to produce a output. This causes an assertion of the form: Unfortunately, doesn't keep the build directory around, making the source of the problem difficult to debug.
This is more of an issue for Thanks for reporting though!
Whoops! Is there an easy way to move it?
Not that I know of, sorry.
Fixed, thanks!

Discussion:
in assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins; stdenv.mkDerivation rec { <del> version = "2.6"; </del> <ins> version = "2.7.1"; </ins> pname = "weechat"; src = fetchurl { url = "https://weechat.org/files/src/weechat-${version}.tar.bz2"; <del> sha256 = "1narazk28m7lmn1vqi7bhyvnr8apjrmaa4w1hbadn64hwr8ya1hb"; </del> <ins> sha256 = "0acz41jg7lmipni9z2agfqw4dhmx5hf6k9w4pvr4zih1fhkldva2"; </ins> }; outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins;

cmakeFlags = with stdenv.lib; [ "-DENABLE_MAN=ON" "-DENABLE_DOC=ON" <ins> "-DENABLE_JAVASCRIPT=OFF"  # Requires v8 <= 3.24.3, https://github.com/weechat/weechat/issues/360 "-DENABLE_PHP=OFF" </ins> ] ++ optionals stdenv.isDarwin ["-DICONV_LIBRARY=${libiconv}/lib/libiconv.dylib" "-DCMAKE_FIND_FRAMEWORK=LAST"] ++ map (p: "-D${p.cmakeFlag}=" + (if p.enabled then "ON" else "OFF")) plugins
Change:
Describe the bug A clear and concise description of what the bug is. To Reproduce Note that the dconf key can be read fine, just not updated. This can be reproduced with GUI tools as well. For example is unable to change the status of extensions. The tool appears to update settings but after exiting and restarting the old value is still in place. I'm particularly interesting in the active gnome-shell extensions because I need to disable the extension to work aound the problems with the overview freezing, but this is also more generic. I can't change most settings in or . I suspect this is also why I keep seeing the Tour dialog every time I log in. Expected behavior The key should have been updated. Screenshots The shell commands illustrate the problem well. Additional context I can't think of any other context that would be helpful. Notify maintainers I'm mentioning the Gnome team members since they seem the most likely to be able to help. Metadata Please run and paste the result. Maintainer information:
That is super weird. Could you try if adding to your configuration fixes it?
Also, before that, I would try running .
First, thank you for the quick reply. Before making any changes: After adding to : So, that appears to have resolved the problem. I checked and i don't have anything touching in my or the overlay referred to from it where I maintain some local configuration modifications, I don't think there is something specific to my configuration that tripped this up. I'm very happy to have the overview working as it was very hard not to trigger it by habit. :-) I'd be happy to do anything else that can help narrow down why this was a problem in the first place.
It looks like dconf switched to d-bus activation so we need to add it to . But weirdly the activation works for me and the service is found, even though I do not have it in.

Discussion:
services.dbus.packages = [ pkgs.dconf ]; <ins> systemd.packages = [ pkgs.dconf ]; </ins> # For dconf executable environment.systemPackages = [ pkgs.dconf ];
Change:
<!-- Note that these are hard requirements --<!-- You can use the "Go to file" functionality on github to find the package Then you can go to the history for this package Find the latest "packagename: oldversion -newversion" commit The "newversion" is the the current version of the package --- <!-- 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! --- name: vice <!-- The current version can be found easily with the same process than above for checking the master branch If an open PR is present for the package, take this version as the current one and link to the PR --current version: 3.1 desired version: 3.5 <!-- Search your package here: If no maintainer is listed for your package, tag the person that last updated the package --maintainers: Please tag this issue in your PR. Also, the homepage should be https://vice-, seems completely unrelated to the project.
I marked this as stale due to inactivity. &rarr;

Discussion:
<del> { lib, stdenv, fetchurl, bison, flex, perl, libpng, giflib, libjpeg, alsa-lib, readline, libGLU, libGL, libXaw , pkg-config, gtk2, SDL, autoreconfHook, makeDesktopItem </del> <ins> { lib , stdenv , fetchurl , bison , flex , perl , libpng , giflib , libjpeg , alsa-lib , readline , libGLU , libGL , libXaw , pkg-config , gtk2 , SDL , SDL_image , autoreconfHook , makeDesktopItem , dos2unix , xa , file </ins> }: stdenv.mkDerivation rec { pname = "vice"; <del> version = "3.1"; </del> <ins> version = "3.5"; </ins> src = fetchurl { url = "mirror://sourceforge/vice-emu/vice-${version}.tar.gz"; <del> sha256 = "0h0jbml02s2a36hr78dxv1zshmfhxp1wadpcdl09aq416fb1bf1y"; </del> <ins> sha256 = "sha256-Vrl4+q64solgMr1gTQPDUBACGH7vHKWM7O1A8Rpl3A4="; </ins> }; <del> buildInputs = [ bison flex perl libpng giflib libjpeg alsa-lib readline libGLU libGL pkg-config gtk2 SDL autoreconfHook libXaw ]; </del> <ins> nativeBuildInputs = [ autoreconfHook bison dos2unix file flex pkg-config ]; buildInputs = [ alsa-lib giflib gtk2 libGL libGLU libXaw libjpeg libpng perl readline SDL SDL_image xa ]; </ins> dontDisableStatic = true; <del> configureFlags = [ "--enable-fullscreen --enable-gnomeui" ]; </del> <ins> configureFlags = [ "--enable-fullscreen" "--enable-gnomeui" "--disable-pdf-docs" ]; </ins> desktopItem = makeDesktopItem { name = "vice";

preBuild = '' for i in src/resid src/resid-dtv do <del> mkdir -pv $i/src ln -sv ../../wrap-u-ar.sh $i/src </del> <ins> mkdir -pv $i/src ln -sv ../../wrap-u-ar.sh $i/src </ins> done ''; <del> patchPhase = '' # Disable font-cache update sed -i -e "s|install: install-data-am|install-no: install-data-am|" data/fonts/Makefile.am ''; #NIX_LDFLAGS = "-lX11 -L${libX11}/lib"; </del> postInstall = '' mkdir -p $out/share/applications

meta = { description = "Commodore 64, 128 and other emulators"; <del> homepage = "http://www.viceteam.org"; </del> <ins> homepage = "https://vice-emu.sourceforge.io/"; </ins> license = lib.licenses.gpl2Plus; maintainers = [ lib.maintainers.sander ]; platforms = lib.platforms.linux;
Change:
Describe the bug The kicad package installs a broken symlink to . This seems to be both on the commit the symlink was introduced in () and master (). It causes problems when installing this package via home-manager (see nix-community/home-manager and ). To Reproduce Expected behavior I expect the symlink to point to an existing file, or not exist. Notify maintainers Metadata Please run and paste the result. system: host os: multi-user?: sandbox: version: channels(kai): channels(root): nixpkgs: Maintainer information:
woeps, sorry, i that for kicad-unstable thinking it wouldn't affect the stable package to have a dead link there (at least i think that's the issue, i'll look into it in a few hours) (how does relate to this issue? it's an erlang related change, which i don't think affects kicad)
just to make sure you get notified i opened to fix this (i'm assuming you meant to point to rather than the erlang commit)
Thanks! I tagged because that was the latest commit on when I tested this, just in case it was fixed since.
Seems to be working now, thanks very much for the quick fix :)

Discussion:
postInstall = '' mkdir -p $out/share ln -s ${base}/share/applications $out/share/applications <del> ln -s ${base}/share/metainfo $out/share/metainfo </del> ln -s ${base}/share/icons $out/share/icons ln -s ${base}/share/mime $out/share/mime <ins> '' + optionalString (stable) '' ln -s ${base}/share/appdata $out/share/appdata '' + optionalString (!stable) '' ln -s ${base}/share/metainfo $out/share/metainfo </ins> ''; # can't run this for each pname

}; "kicad-unstable" = { kicadVersion = { <del> version =			"2021-05-13"; </del> <ins> version =			"2021-05-16"; </ins> src = { <del> rev =			"8513ca974c28d76d9f74a7dc96601d98e66e87fd"; sha256 =		"1xlj6jwzwxsa14djqhj0csziii21mr9czvdj6fxqp6px84cifjsh"; </del> <ins> rev =			"c33b2cfa8d16072b9d1bce558e443c4afa889d06"; sha256 =		"1fvbxjpf880ikjqjhzj8wlxj0845gzrj1yv35rk7akbg4vl9ph72"; </ins> }; }; libVersion = { <del> version =			"2021-05-13"; </del> <ins> version =			"2021-05-16"; </ins> libSources = { i18n.rev =		"e89d9a89bec59199c1ade56ee2556591412ab7b0"; i18n.sha256 =		"04zaqyhj3qr4ymyd3k5vjpcna64j8klpsygcgjcv29s3rdi8glfl";
Change:
The default set of gstreamer modules in there (apparently) doesn't allow decoding AAC, which I consider a problem. Therefore I propose to extend the set, but there are two options: () and (a little weird to use ffmpeg there). I briefly tested both. /cc maintainer
If I look right, / lean their recommendations to and not .

Discussion:
, intltool , libpeas , libsoup <ins> , libsecret , libnotify </ins> , libdmapsharing , gnome , totem-pl-parser

, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ] }: let <del> pname = "rhythmbox"; version = "3.4.4"; </del> # The API version of libdmapsharing required by rhythmbox 3.4.4 is 3.0.

}); in stdenv.mkDerivation rec { <del> name = "${pname}-${version}"; </del> <ins> pname = "rhythmbox"; version = "3.4.4"; </ins> src = fetchurl { <del> url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; </del> <ins> url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; </ins> sha256 = "142xcvw4l19jyr5i72nbnrihs953pvrrzcbijjn9dxmxszbv03pf"; };

gst_all_1.gstreamer gst_all_1.gst-plugins-base <ins> gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-ugly gst_all_1.gst-libav </ins> libdmapsharing_3 # necessary for daap support <ins> libsecret libnotify </ins> ] ++ gst_plugins; <del> configureFlags = [ "--enable-daap" ]; </del> <ins> configureFlags = [ "--enable-daap" "--enable-libnotify" "--with-libsecret" ]; </ins> enableParallelBuilding = true;

meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Rhythmbox"; description = "A music playing application for GNOME"; <del> license = licenses.gpl2; </del> <ins> license = licenses.gpl2Plus; </ins> platforms = platforms.linux; maintainers = [ maintainers.rasendubi ]; };
Change:
Describe the bug Viber doesn't work on sway. I get this error: viber Failed to load client buffer integration: "wayland-egl" Available client buffer integrations: () failed to acquire GL context to resolve capabilities, using defaults.. No shell integration named "xdg-shell" found No shell integration named "xdg-shell-v6" found No shell integration named "wl-shell" found No shell integration named "ivi-shell" found Loading shell integration failed. Attempted to load the following shells ("xdg-shell", "xdg-shell-v6", "wl-shell", "ivi-shell") To Reproduce Steps to reproduce the behavior: sway. viber inside of terminal emulator. Expected behavior Should work:) Screenshots ! Notify maintainers
a workaround
yep. It works! Can it this variable be into package until viber will be fixed?
I marked this as stale due to inactivity. &rarr;

Discussion:
# qt.conf is not working, so override everything using environment variables wrapProgram $out/opt/viber/Viber  <ins> --set QT_QPA_PLATFORM "xcb"  </ins> --set QT_PLUGIN_PATH "$out/opt/viber/plugins"  --set QT_XKB_CONFIG_ROOT "${xorg.xkeyboardconfig}/share/X11/xkb"  --set QTCOMPOSE "${xorg.libX11.out}/share/X11/locale"
Change:
Building the package produces a large number of compiler warnings, and then fails with ... risout.c:111:26: note: previous initialization is here [ 0 ... NUMTYPES-1 ] = 0, ^ 8 warnings generated. ld: unknown option: -soname clang-7: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: [Makefile:83: ] Error 1 make[1]: Target 'all' not remade because of errors. make: [Makefile:40: all] Error 2 builder for '/nix/store/bqwyr2gywrffh3xrwplhi4sv7962d21r-bibutils-' failed with exit code 2 error: build of '/nix/store/bqwyr2gywrffh3xrwplhi4sv7962d21r-bibutils-' failed I have built bibutils by hand on macOS, without difficulty (I last tried it on 10.15), so it's not something intrinsically broken in the upstream package. I hope, therefore, it just requires a minor tweak in the Nix package. I note from that macOS isn't one of the listed supported platforms. I'm a little uncertain how best to report my current environment, but: OS : macOS 11.3.1 compiler: Apple clang version 11.0.3 (clang-1103.0.32.29) ; Target: x8664-apple-darwin20.4.0 nix --version: nix (Nix) 2.3.9

Discussion:
<del> { lib, stdenv, fetchurl }: </del> <ins> { lib , stdenv , fetchurl , static ? stdenv.hostPlatform.isStatic }: </ins> stdenv.mkDerivation rec { pname = "bibutils";

sha256 = "15p4av74ihsg03j854dkdqihpspwnp58p9g1lhx48w8kz91c0ml6"; }; <del> configureFlags = [ "--dynamic" "--install-dir" "$(out)/bin" "--install-lib" "$(out)/lib" ]; </del> <ins> preConfigure = lib.optionalString stdenv.isDarwin '' substituteInPlace lib/Makefile.dynamic  --replace '-Wl,-soname,$(SONAME)' "" ''; configureFlags = [ (if static then "--static" else "--dynamic") "--install-dir" "$(out)/bin" "--install-lib" "$(out)/lib" ]; </ins> dontAddPrefix = true; doCheck = true; checkTarget = "test"; <ins> preCheck = lib.optionalString stdenv.isDarwin '' export DYLD_LIBRARY_PATH=`pwd`/lib ''; </ins> meta = with lib; { description = "Bibliography format interconversion";

homepage = "https://sourceforge.net/p/bibutils/home/Bibutils/"; license = licenses.gpl2; maintainers = [ maintainers.garrison ]; <del> platforms = platforms.linux; </del> <ins> platforms = platforms.unix; </ins> }; }