jiebi/CodeConvo huggingface dataset:
Code change:
The new option has the example: This is a list of attrsets, but this doesn't match the type, which is Also, it would be nice to have an example config for as well. Besides this, the new declarative configuration options for syncthing have been working well for me. Thanks for including them. CC

Related discussion:
text: description = '' Peers/devices which syncthing should communicate with. ''; <del> example = [ { name = "bigbox"; </del> <ins> example = { bigbox = { </ins> id = "7CFNTQM-IMTJBHJ-3UWRDIU-ZGQJFR6-VCXZ3NB-XUH3KZO-N52ITXR-LAIYUAU"; addresses = [ "tcp://192.168.0.10:51820" ]; <del> } ]; </del> <ins> }; }; </ins> type = types.attrsOf (types.submodule ({ config, ... }: { options = {
Code change:
The new option has the example: This is a list of attrsets, but this doesn't match the type, which is Also, it would be nice to have an example config for as well. Besides this, the new declarative configuration options for syncthing have been working well for me. Thanks for including them. CC

Related discussion:
text: description = '' folders which should be shared by syncthing. ''; <ins> example = { "/home/user/sync" = { id = "syncme"; devices = [ "bigbox" ]; }; }; </ins> type = types.attrsOf (types.submodule ({ config, ... }: { options = {
Code change:
So today I tried to build on unstable as described in the . This fails on the dependency . Thanks for your information in that guide! I tried to build according to the guide on and (with slight modifications for compatibility) on they both fail in at this point. Do you have any insights as to how you managed to get it to build? e.g. a nixpkgs commit?
Fix in

Related discussion:
text: , sourceVersion , sha256 , passthruFun <ins> , static ? false </ins> }: assert x11Support -> tcl != null
Code change:
So today I tried to build on unstable as described in the . This fails on the dependency . Thanks for your information in that guide! I tried to build according to the guide on and (with slight modifications for compatibility) on they both fail in at this point. Do you have any insights as to how you managed to get it to build? e.g. a nixpkgs commit?
Fix in

Related discussion:
text: ] # Never even try to use lchmod on linux, # don't rely on detecting glibc-isms. <del> ++ optional stdenv.hostPlatform.isLinux "ac_cv_func_lchmod=no"; </del> <ins> ++ optional stdenv.hostPlatform.isLinux "ac_cv_func_lchmod=no" ++ optional static "LDFLAGS=-static"; </ins> buildInputs = optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc ++
Code change:
So today I tried to build on unstable as described in the . This fails on the dependency . Thanks for your information in that guide! I tried to build according to the guide on and (with slight modifications for compatibility) on they both fail in at this point. Do you have any insights as to how you managed to get it to build? e.g. a nixpkgs commit?
Fix in

Related discussion:
text: stdenv.mkDerivation rec { pname = "proot"; <del> version = "5.1.0.20190305"; </del> <ins> version = "20190510"; </ins> src = fetchFromGitHub { repo = "proot"; owner = "proot-me"; <del> rev = "ff61c86cb26f71c06af22574d9d4cc3a77292781"; sha256 = "0qink34bjv0lshf3c8997w39r8yxgbhxpjbxw47l5xkvimlpc0dl"; </del> <ins> rev = "803e54d8a1b3d513108d3fc413ba6f7c80220b74"; sha256 = "0gwzqm5wpscj3fchlv3qggf3zzn0v00s4crb5ciwljan1zrqadhy"; </ins> }; postPatch = ''
Code change:
So today I tried to build on unstable as described in the . This fails on the dependency . Thanks for your information in that guide! I tried to build according to the guide on and (with slight modifications for compatibility) on they both fail in at this point. Do you have any insights as to how you managed to get it to build? e.g. a nixpkgs commit?
Fix in

Related discussion:
text: deps = [ python ]; substitutions = { inherit waf; <del> crossFlags = lib.optionalString (stdenv.hostPlatform != stdenv.targetPlatform) </del> <ins> crossFlags = lib.optionalString (stdenv.hostPlatform.system != stdenv.targetPlatform.system) </ins> ''--cross-compile "--cross-execute=${stdenv.targetPlatform.emulator pkgs}"''; }; } ../development/tools/build-managers/waf/setup-hook.sh;
Code change:
So today I tried to build on unstable as described in the . This fails on the dependency . Thanks for your information in that guide! I tried to build according to the guide on and (with slight modifications for compatibility) on they both fail in at this point. Do you have any insights as to how you managed to get it to build? e.g. a nixpkgs commit?
Fix in

Related discussion:
text: }; }; <ins> python27 = super.python27.override { static = true; }; </ins> }
Code change:
When the service starts, the following message is printed to the logs: sshguard[]: sshg-fw-ipset: Could not initialize firewall Blocking does not actually work. Blocked hosts can still initialize ssh connections. Default sshguard config. system: host os: multi-user?: sandbox: version: channels(root): channels(XXXX): nixpkgs:
It seems like that is due to ipsets being created of different types than intended. I'm not sure where it's getting created with that though: # ipset -L Name: sshguard4 Type: hash:ip Revision: 4 Header: family inet hashsize 1024 maxelem Size in memory: 88 References: 1 Number of entries: 0 Members: Name: sshguard6 Type: hash:ip Revision: 4 Header: family inet6 hashsize 1024 maxelem Size in memory: 104 References: 2 Number of entries: 0 Members: Whereas the script intends to create types which is why it returns with an error. I do not see where in the sshguard is type of ipset getting created. I came across though.

Related discussion:
text: path = with pkgs; [ iptables ipset iproute systemd ]; postStart = '' <del> ${pkgs.ipset}/bin/ipset -quiet create -exist sshguard4 hash:ip family inet ${pkgs.ipset}/bin/ipset -quiet create -exist sshguard6 hash:ip family inet6 </del> ${pkgs.iptables}/bin/iptables  -I INPUT -m set --match-set sshguard4 src -j DROP ${pkgs.iptables}/bin/ip6tables -I INPUT -m set --match-set sshguard6 src -j DROP '';
Code change:
is unmaintained, superseded by node2nix and should therefore be removed from nixpkgs Please run and paste the results.
seems LGTM. Wanna open a PR ?

Related discussion:
text: ''; }; <del> npm2nix = nodePackages."npm2nix-git://github.com/NixOS/npm2nix.git#5.12.0".override { postInstall = "npm run-script prepublish"; }; </del> pnpm = nodePackages.pnpm.override { nativeBuildInputs = [ pkgs.makeWrapper ];
Code change:
is unmaintained, superseded by node2nix and should therefore be removed from nixpkgs Please run and paste the results.
seems LGTM. Wanna open a PR ?

Related discussion:
text: , "nodemon" , "node-red" , "npm" <del> , { "npm2nix": "git://github.com/NixOS/npm2nix.git#5.12.0" } </del> , "npm-check-updates" , "ocaml-language-server" , "peerflix"
Code change:
is unmaintained, superseded by node2nix and should therefore be removed from nixpkgs Please run and paste the results.
seems LGTM. Wanna open a PR ?

Related discussion:
text: nodePackages = nodePackages_10_x; <del> npm2nix = nodePackages.npm2nix; </del> now-cli = callPackage ../development/web/now-cli {}; file-rename = callPackage ../tools/filesystems/file-rename { };
Code change:
no $ Add to installPhase
For some reason netpbm is installing the symlink to . Will be fixed by

Related discussion:
text: "${ghostscript}/bin:" + (if aspell == null then "" else "${aspell}/bin:") + (if tex == null then "" else "${tex}/bin:") + <del> (if netpbm == null then "" else "${netpbm}/bin:") + </del> <ins> (if netpbm == null then "" else "${stdenv.lib.getBin netpbm}/bin:") + </ins> (if imagemagick == null then "" else "${imagemagick}/bin:"); enableParallelBuilding = true;
Code change:
no $ Add to installPhase
For some reason netpbm is installing the symlink to . Will be fixed by

Related discussion:
text: makeFlags = [ "PREFIX=${placeholder "out"}" "LEX=flex" <del> "RGBDEF=${netpbm}/share/netpbm/misc/rgb.txt" </del> <ins> "RGBDEF=${netpbm.out}/share/netpbm/misc/rgb.txt" </ins> ]; nativeBuildInputs = [
Code change:
no $ Add to installPhase
For some reason netpbm is installing the symlink to . Will be fixed by

Related discussion:
text: for prog in ppmquant; do wrapProgram "$out/bin/$prog" --prefix PATH : "$out/bin" done <ins> moveToOutput bin "''${!outputBin}" runHook postInstall </ins> ''; <ins> passthru.updateScript = ./update.sh; </ins> meta = { <del> homepage = http://netpbm.sourceforge.net/; </del> <ins> homepage = "http://netpbm.sourceforge.net/"; </ins> description = "Toolkit for manipulation of graphic images"; <del> license = "GPL,free"; </del> <ins> license = lib.licenses.free; # http://netpbm.svn.code.sourceforge.net/p/netpbm/code/trunk/doc/copyright_summary </ins> platforms = with stdenv.lib.platforms; linux ++ darwin; }; }
Code change:
no $ Add to installPhase
For some reason netpbm is installing the symlink to . Will be fixed by

Related discussion:
text: <ins> #!/usr/bin/env nix-shell #!nix-shell -p bash -p subversion -p common-updater-scripts -i bash die() { echo "error: $1" >&2 exit 1 } attr=netpbm svnRoot=https://svn.code.sf.net/p/netpbm/code/advanced oldRev=$(nix-instantiate --eval -E "with import ./. {}; $attr.src.rev" | tr -d '"') if [[ -z "$oldRev" ]]; then die "Could not extract old revision." fi latestRev=$(svn info --show-item "last-changed-revision" "$svnRoot") if [[ -z "$latestRev" ]]; then die "Could not find out last changed revision." fi versionInfo=$(svn cat -r "$latestRev" "$svnRoot/version.mk") if [[ -z "$versionInfo" ]]; then die "Could not get version info." fi nixFile=$(nix-instantiate --eval --strict -A "$attr.meta.position" | sed -re 's/^"(.*):[0-9]+"$/1/') if [[ ! -f "$nixFile" ]]; then die "Could not evaluate '$attr.meta.position' to locate the .nix file!" fi # h remembers if we found the pattern; on the last line, if a pattern was previously found, we exit with 1 # https://stackoverflow.com/a/12145797/160386 sed -i "$nixFile" -re '/(brevbs*=s*)"'"$oldRev"'"/{ s||1"'"$latestRev"'"|; h }; ${x; /./{x; q1}; x}' && die "Unable to update revision." majorRelease=$(grep --perl-regex --only-matching 'NETPBM_MAJOR_RELEASE = K.+' <<< "$versionInfo") minorRelease=$(grep --perl-regex --only-matching 'NETPBM_MINOR_RELEASE = K.+' <<< "$versionInfo") pointRelease=$(grep --perl-regex --only-matching 'NETPBM_POINT_RELEASE = K.+' <<< "$versionInfo") update-source-version "$attr" "$majorRelease.$minorRelease.$pointRelease" </ins>
Code change:
no $ Add to installPhase
For some reason netpbm is installing the symlink to . Will be fixed by

Related discussion:
text: preConfigure = '' rm cmake/FindNETPBM.cmake <del> echo "SET(NETPBM_LIBRARY `find ${netpbm} -name "*.${stdenv.hostPlatform.extensions.sharedLibrary}*" -type f`)" >> cmake/FindNETPBM.cmake echo "SET(NETPBM_LIBRARIES `find ${netpbm} -name "*.${stdenv.hostPlatform.extensions.sharedLibrary}*" -type f`)" >> cmake/FindNETPBM.cmake echo "SET(NETPBM_INCLUDE_DIR ${netpbm}/include/netpbm)" >> cmake/FindNETPBM.cmake </del> <ins> echo "SET(NETPBM_LIBRARY `find ${stdenv.lib.getLib netpbm} -name "*.${stdenv.hostPlatform.extensions.sharedLibrary}*" -type f`)" >> cmake/FindNETPBM.cmake echo "SET(NETPBM_LIBRARIES `find ${stdenv.lib.getLib netpbm} -name "*.${stdenv.hostPlatform.extensions.sharedLibrary}*" -type f`)" >> cmake/FindNETPBM.cmake echo "SET(NETPBM_INCLUDE_DIR ${stdenv.lib.getDev netpbm}/include/netpbm)" >> cmake/FindNETPBM.cmake </ins> echo "INCLUDE(FindPackageHandleStandardArgs)" >> cmake/FindNETPBM.cmake echo "FIND_PACKAGE_HANDLE_STANDARD_ARGS(NETPBM DEFAULT_MSG NETPBM_LIBRARY NETPBM_INCLUDE_DIR)" >> cmake/FindNETPBM.cmake '';
Code change:
no $ Add to installPhase
For some reason netpbm is installing the symlink to . Will be fixed by

Related discussion:
text: buildInputs = [ libpng ]; configureFlags = [ <del> "--with-rgbtxt=${netpbm}/share/netpbm/misc/rgb.txt" </del> <ins> "--with-rgbtxt=${netpbm.out}/share/netpbm/misc/rgb.txt" </ins> ]; meta = with stdenv.lib; {
Code change:
no $ Add to installPhase
For some reason netpbm is installing the symlink to . Will be fixed by

Related discussion:
text: sed -i src/form.c -e '21i#include <stdlib.h>' # there is no point to bring in the whole netpbm package just for this file <del> install -Dm644 ${netpbm}/share/netpbm/misc/rgb.txt $out/share/yad/rgb.txt </del> <ins> install -Dm644 ${netpbm.out}/share/netpbm/misc/rgb.txt $out/share/yad/rgb.txt </ins> ''; postAutoreconf = ''
Code change:
no $ Add to installPhase
For some reason netpbm is installing the symlink to . Will be fixed by

Related discussion:
text: --replace "psselect" "${psutils}/bin/psselect" '' + stdenv.lib.optionalString (netpbm != null) '' substituteInPlace src/preproc/html/pre-html.cpp  <del> --replace "pnmcut" "${netpbm}/bin/pnmcut"  --replace "pnmcrop" "${netpbm}/bin/pnmcrop"  --replace "pnmtopng" "${netpbm}/bin/pnmtopng" </del> <ins> --replace "pnmcut" "${stdenv.lib.getBin netpbm}/bin/pnmcut"  --replace "pnmcrop" "${stdenv.lib.getBin netpbm}/bin/pnmcrop"  --replace "pnmtopng" "${stdenv.lib.getBin netpbm}/bin/pnmtopng" </ins> substituteInPlace tmac/www.tmac  <del> --replace "pnmcrop" "${netpbm}/bin/pnmcrop"  --replace "pngtopnm" "${netpbm}/bin/pngtopnm"  --replace "@PNMTOPS_NOSETPAGE@" "${netpbm}/bin/pnmtops -nosetpage" </del> <ins> --replace "pnmcrop" "${stdenv.lib.getBin netpbm}/bin/pnmcrop"  --replace "pngtopnm" "${stdenv.lib.getBin netpbm}/bin/pngtopnm"  --replace "@PNMTOPS_NOSETPAGE@" "${stdenv.lib.getBin netpbm}/bin/pnmtops -nosetpage" </ins> ''; buildInputs = [ ghostscript psutils netpbm perl ];
Code change:
Describe the bug fails on Darwin. To Reproduce Steps to reproduce the behavior: Expected behavior Package builds Additional context Error log: <details<summaryError log</summary</detailsMetadata Please run and paste the result. host os: multi-user?: sandbox: version: channels(yl): nixpkgs: Maintainer information: Possibly related to
On the master branch, I removed the derivation from the nix store with and I built it without substitutes; failed with the same message. This is not caused by , but help me discover it due to the update of the requests python package.
maintainer:
I don't have a way to test on joblib for darwin so this is why I didn't have input on this PR. Is there an easy way to test nixpkgs on darwin? Hackintosh via kvm?
There is that works with some tweaking but I wouldn't describe it as easy. Another option is to ask @ GrahamcOfBorg to do the builds on the PR if there are not too many iterations to do.

Related discussion:
text: , buildPythonPackage , fetchPypi , fetchpatch <ins> , stdenv </ins> , sphinx , numpydoc , pytest
Code change:
Describe the bug fails on Darwin. To Reproduce Steps to reproduce the behavior: Expected behavior Package builds Additional context Error log: <details<summaryError log</summary</detailsMetadata Please run and paste the result. host os: multi-user?: sandbox: version: channels(yl): nixpkgs: Maintainer information: Possibly related to
On the master branch, I removed the derivation from the nix store with and I built it without substitutes; failed with the same message. This is not caused by , but help me discover it due to the update of the requests python package.
maintainer:
I don't have a way to test on joblib for darwin so this is why I didn't have input on this PR. Is there an easy way to test nixpkgs on darwin? Hackintosh via kvm?
There is that works with some tweaking but I wouldn't describe it as easy. Another option is to ask @ GrahamcOfBorg to do the builds on the PR if there are not too many iterations to do.

Related discussion:
text: checkInputs = [ sphinx numpydoc pytest ]; propagatedBuildInputs = [ python-lz4 ]; <del> # test_disk_used is broken # https://github.com/joblib/joblib/issues/57 </del> <ins> # test_disk_used is broken: https://github.com/joblib/joblib/issues/57 # test_dispatch_multiprocessing is broken only on Darwin. </ins> checkPhase = '' <del> py.test joblib -k "not test_disk_used" </del> <ins> py.test -k 'not test_disk_used${lib.optionalString (stdenv.isDarwin) " and not test_dispatch_multiprocessing"}' joblib/test </ins> ''; meta = {
Code change:
Trying to build zathura on unstable, I get: Additional context I can't really see what might have changed recently (I think it started happening about 2 weeks ago....) for it to no longer find synctex. The texlive package is being included as a build input, which should have synctex Metadata system: host os: multi-user?: sandbox: version: channels(root): nixpkgs:
I can build zathura on master and the hydra has been doing ok. Am I missing something?
Hm, I'm not sure. I can't seem to get it to build.... "nix-build -A zathura" on master gives me the same error
This also builds for me on master. Only thing i can think of is your branch isn't up to date.
What do you think could be wrong? My sources are up to date:
I notice that I get a different drv on my system (), I think you may not be building from the master. IIRC when you run it will build from which may not point to your git checkout. If you want to build expressions from the current directory you need to do nix also can download a tarball with expressions, for example like this:
If no path is given nix-build will read and If doesn't exist it will fail. So, command is fine.
I just checked on another x86_64-linux NixOS system that evaluates to on . If the command is correct then there must be an override or an overlay in or that affects the derivation.
Oh my god, you're totally right. I had an overlay in my , which I think I had to add to disable synctex at one point when it wasn't working. Removing that and it builds fine. So sorry for wasting your guys' time but thanks for the help! (Although I wonder why it says it can't find synctex when it should have been disabled with the overlay?) Anyways, I'll close this issue, thanks again, it was driving me crazy!
What was the overlay? There may still be a bug here.
The build indeed fails with . I don't have time to open a PR now but the fix is pretty easy: can you reopen the issue?
Sure - it also fails to build with synctexSupport = false, not sure if your fix addresses that as well?
The option was introduced in I think we should just drop variant

Related discussion:
text: , gtk, girara, gettext, libxml2, check , sqlite, glib, texlive, libintl, libseccomp , file, librsvg <del> , gtk-mac-integration, synctexSupport ? true </del> <ins> , gtk-mac-integration </ins> }: <del> assert synctexSupport -> texlive != null; </del> with stdenv.lib; stdenv.mkDerivation rec {
Code change:
Trying to build zathura on unstable, I get: Additional context I can't really see what might have changed recently (I think it started happening about 2 weeks ago....) for it to no longer find synctex. The texlive package is being included as a build input, which should have synctex Metadata system: host os: multi-user?: sandbox: version: channels(root): nixpkgs:
I can build zathura on master and the hydra has been doing ok. Am I missing something?
Hm, I'm not sure. I can't seem to get it to build.... "nix-build -A zathura" on master gives me the same error
This also builds for me on master. Only thing i can think of is your branch isn't up to date.
What do you think could be wrong? My sources are up to date:
I notice that I get a different drv on my system (), I think you may not be building from the master. IIRC when you run it will build from which may not point to your git checkout. If you want to build expressions from the current directory you need to do nix also can download a tarball with expressions, for example like this:
If no path is given nix-build will read and If doesn't exist it will fail. So, command is fine.
I just checked on another x86_64-linux NixOS system that evaluates to on . If the command is correct then there must be an override or an overlay in or that affects the derivation.
Oh my god, you're totally right. I had an overlay in my , which I think I had to add to disable synctex at one point when it wasn't working. Removing that and it builds fine. So sorry for wasting your guys' time but thanks for the help! (Although I wonder why it says it can't find synctex when it should have been disabled with the overlay?) Anyways, I'll close this issue, thanks again, it was driving me crazy!
What was the overlay? There may still be a bug here.
The build indeed fails with . I don't have time to open a PR now but the fix is pretty easy: can you reopen the issue?
Sure - it also fails to build with synctexSupport = false, not sure if your fix addresses that as well?
The option was introduced in I think we should just drop variant

Related discussion:
text: # "-Dseccomp=enabled" "-Dmanpages=enabled" "-Dconvert-icon=enabled" <del> ] ++ optional synctexSupport "-Dsynctex=enabled"; </del> <ins> "-Dsynctex=enabled" ]; </ins> nativeBuildInputs = [ meson ninja pkgconfig desktop-file-utils python3.pkgs.sphinx
Code change:
Trying to build zathura on unstable, I get: Additional context I can't really see what might have changed recently (I think it started happening about 2 weeks ago....) for it to no longer find synctex. The texlive package is being included as a build input, which should have synctex Metadata system: host os: multi-user?: sandbox: version: channels(root): nixpkgs:
I can build zathura on master and the hydra has been doing ok. Am I missing something?
Hm, I'm not sure. I can't seem to get it to build.... "nix-build -A zathura" on master gives me the same error
This also builds for me on master. Only thing i can think of is your branch isn't up to date.
What do you think could be wrong? My sources are up to date:
I notice that I get a different drv on my system (), I think you may not be building from the master. IIRC when you run it will build from which may not point to your git checkout. If you want to build expressions from the current directory you need to do nix also can download a tarball with expressions, for example like this:
If no path is given nix-build will read and If doesn't exist it will fail. So, command is fine.
I just checked on another x86_64-linux NixOS system that evaluates to on . If the command is correct then there must be an override or an overlay in or that affects the derivation.
Oh my god, you're totally right. I had an overlay in my , which I think I had to add to disable synctex at one point when it wasn't working. Removing that and it builds fine. So sorry for wasting your guys' time but thanks for the help! (Although I wonder why it says it can't find synctex when it should have been disabled with the overlay?) Anyways, I'll close this issue, thanks again, it was driving me crazy!
What was the overlay? There may still be a bug here.
The build indeed fails with . I don't have time to open a PR now but the fix is pretty easy: can you reopen the issue?
Sure - it also fails to build with synctexSupport = false, not sure if your fix addresses that as well?
The option was introduced in I think we should just drop variant

Related discussion:
text: buildInputs = [ gtk girara libintl sqlite glib file librsvg <del> ] ++ optional synctexSupport texlive.bin.core ++ optional stdenv.isLinux libseccomp </del> <ins> texlive.bin.core ] ++ optional stdenv.isLinux libseccomp </ins> ++ optional stdenv.isDarwin gtk-mac-integration; doCheck = true;