jiebi/CodeConvo huggingface dataset:
Change:
Our GitHub Actions workflow is designed to build a website on our server and deploy it. However we're unsure about the deployment phase on NixOS. Previously the workflow copied the built files into a directory that is served by the webserver, but on NixOS this results in a read-only filesystem error due to strong sandboxing. We've tried symlinking the build folder, but this only works until the service/server restarts, because the working directory will be cleared when the runner service starts up. Add an option to the github-runner module to disable cleaning the working directory on startup for specifying paths that are not read-only (if possible) that allows running a specified shell script or systemd service after the runner has finished More details about <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
You can control the sandboxing using . For example:
Thanks that solved our issue! Before opening this issue, I was only skimming at the file, and none of those sandboxing options looked helpful for this issue, I didn't know about where are the other options. I feel like some message could be for , for example "Check out for more options". I'd be happy to open a PR for this if you agree.
Hmm, the current message says "Modify the systemd service. Can be used to, e.g., adjust the sandboxing options." To me that's enough to start googling systemd options. I'm not super against it though. (Isn't sufficient?)

Discussion:
type = types.attrs; description = lib.mdDoc '' Modify the systemd service. Can be used to, e.g., adjust the sandboxing options. <ins> See {manpage}`systemd.exec(5)` for more options. </ins> ''; example = { ProtectHome = false;
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. --ping Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]: https://dbus-
I have an interest in this package [as it comes often in musl builds] but I don't know fixing it. Would you have any clue?
Something like should work, it would just be better to go to staging.
This builds fine now.

Discussion:
license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = [ maintainers.goibhniu ]; <ins> # Broken for Musl at 2023-12-28: # https://github.com/NixOS/nixpkgs/issues/277198 broken = stdenv.hostPlatform.isMusl; </ins> }; }
Change:
Package name: repgrep Latest released version: 0.15.0 <!-- Search your package here: --- Current version on the unstable channel: 0.14.3 Current version on the stable/release channel: 0.14.3 <!-- 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:
{ lib <ins> , stdenv </ins> , rustPlatform , fetchFromGitHub , asciidoctor

rustPlatform.buildRustPackage rec { pname = "repgrep"; <del> version = "0.14.3"; </del> <ins> version = "0.15.0"; </ins> src = fetchFromGitHub { owner = "acheronfail"; repo = "repgrep"; rev = version; <del> hash = "sha256-33b0dZJY/lnVJGMfAg/faD6PPJIFZsvMZOmKAqCZw8k="; </del> <ins> hash = "sha256-6ba7EJUts0Ni9EA3ENlK+a2FaPo7JohtCyqwR9DdL1E="; </ins> }; <del> cargoHash = "sha256-UMMTdWJ0/M8lN4abTJEVUGtoNp/g49DyW+OASg3TKfg="; </del> <ins> cargoHash = "sha256-XEjKTZ3qaiLWbm2wF+V97u9tGXDq/oTm249ubUE9n94="; </ins> nativeBuildInputs = [ asciidoctor

pushd "$(dirname "$(find -path '**/repgrep-stamp' | head -n 1)")" installManPage rgr.1 <del> installShellCompletion rgr.{bash,fish} _rgr </del> popd <ins> '' + lib.optionalString (stdenv.hostPlatform.canExecute stdenv.buildPlatform) '' # As it can be seen here: https://github.com/acheronfail/repgrep/blob/0.15.0/.github/workflows/release.yml#L206, the completions are just the same as ripgrep installShellCompletion --cmd rgr  --bash <(${lib.getExe ripgrep} --generate complete-bash | sed 's/-c rg/-c rgr/')  --zsh <(${lib.getExe ripgrep} --generate complete-zsh | sed 's/-c rg/-c rgr/')  --fish <(${lib.getExe ripgrep} --generate complete-fish | sed 's/-c rg/-c rgr/') </ins> ''; meta = with lib; {
Change:
Package name: Latest released version: <!-- Search your package here: --- Current version on the unstable channel: 1.2.7 Current version on the stable/release channel: 1.2.7 <!-- 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 previous commit: <!-- 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:
, lib , mkDerivation , fetchFromGitLab <del> , fetchpatch </del> , wafHook , pkg-config , cmake

mkDerivation rec { pname = "semantik"; <del> version = "1.2.7"; </del> <ins> version = "1.2.10"; </ins> src = fetchFromGitLab { owner = "ita1024"; repo = "semantik"; rev = "semantik-${version}"; <del> sha256 = "sha256-aXOokji6fYTpaeI/IIV+5RnTE2Cm8X3WfADf4Uftkss="; </del> <ins> hash = "sha256-qJ6MGxnxXcibF2qXZ2w7Ey/aBIEIx8Gg0dM2PnCl09Y="; </ins> }; patches = [ <del> (fetchpatch { name = "fix-kdelibs4support.patch"; url = "https://gitlab.com/ita1024/semantik/-/commit/a991265bd6e3ed6541f8ec099420bc08cc62e30c.patch"; sha256 = "sha256-E4XjdWfUnqhmFJs9ORznHoXMDS9zHWNXvQIKKkN4AAo="; }) </del> ./qt5.patch ];

]; meta = with lib; { <del> broken = (stdenv.isLinux && stdenv.isAarch64); </del> description = "A mind-mapping application for KDE"; license = licenses.mit; homepage = "https://waf.io/semantik.html"; maintainers = [ maintainers.shamilton ]; platforms = platforms.linux; <ins> mainProgram = "semantik"; </ins> }; }
Change:
Package name: vym Latest released version: <!-- Search your package here: --- Current version on the unstable channel: 2.8.42 Current version on the stable/release channel: 2.8.42 <!-- 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:
{ lib , stdenv <del> , fetchFromGitHub </del> , cmake <ins> , fetchFromGitHub </ins> , pkg-config , qtbase , qtscript

stdenv.mkDerivation (finalAttrs: { pname = "vym"; <del> version = "2.8.42"; </del> <ins> version = "2.9.26"; </ins> src = fetchFromGitHub { owner = "insilmaril"; repo = "vym"; <del> rev = "89f50bcba953c410caf459b0a4bfbd09018010b7"; # not tagged yet (why??) hash = "sha256-xMXvc8gt3nfKWbU+WoS24wCUTGDQRhG0Q9m7yDhY5/w="; </del> <ins> rev = "v${finalAttrs.version}"; hash = "sha256-5cHhv9GDjJvSqGJ+7fI0xaWCiXw/0WP0Bem/ZRV8Y7M="; </ins> }; <ins> outputs = [ "out" "man" ]; </ins> patches = [ (substituteAll { src = ./000-fix-zip-paths.diff;

qtsvg ]; <ins> strictDeps = true; </ins> qtWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ unzip zip ]}" ]; <del> meta = with lib; { </del> <ins> meta = { </ins> homepage = "http://www.insilmaril.de/vym/"; description = "A mind-mapping software"; longDescription = ''

drawn by hand or any drawing software vym offers much more features to work with such maps. ''; <del> license = licenses.gpl2Plus; maintainers = [ maintainers.AndersonTorres ]; platforms = platforms.linux; </del> <ins> license = with lib.licenses; [ gpl2Plus ]; maintainers = with lib.maintainers; [ AndersonTorres ]; platforms = lib.platforms.linux; </ins> }; })
Change:
Package name: hishtory Latest released version: 0.264 <!-- Search your package here: --- Current version on the unstable channel: 0.215 Current version on the stable/release channel: 0.215 <!-- 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:
buildGoModule rec { pname = "hishtory"; <del> version = "0.215"; </del> <ins> version = "0.266"; </ins> src = fetchFromGitHub { owner = "ddworken"; repo = pname; rev = "v${version}"; <del> hash = "sha256-XDxAzMQjtCfufWnEO5NXP8Zv823a85qYhkZcEZKxIXs="; </del> <ins> hash = "sha256-AyUdmzrHBPXzDSOvhNz270D1AP7UdIpeaSqSyIFyQLY="; </ins> }; <del> vendorHash = "sha256-aXHqPk8iBMbe0NlsY3ZR7iozBGCAKlOOQ23FAD/5hL8="; </del> <ins> vendorHash = "sha256-yk1ryXQ750xW7BYTMg0UQYb5DEIJ5ZWvoLLKSo3nx6k="; </ins> ldflags = [ "-X github.com/ddworken/hishtory/client/lib.Version=${version}" ]; <ins> subPackages = [ "." ]; </ins> excludedPackages = [ "backend/server" ]; postInstall = ''

cp client/lib/config.* $out/share/hishtory ''; <del> doCheck = false; </del> <ins> doCheck = true; </ins> meta = with lib; { description = "Your shell history: synced, queryable, and in context"; homepage = "https://github.com/ddworken/hishtory"; license = licenses.mit; maintainers = with maintainers; [ Enzime ]; <ins> mainProgram = "hishtory"; </ins> }; }
Change:
I was trying to fetch metadata for various packages for analysis and noticed that at least attribute is failing with infinite recursion. The reproducer against : Ideally metadata should evaluate successfully (or report an error with a function or equivalent, then could skip it). Not sure who the maintainer is. Trying recent contributors to . and Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
I think that could have regressed in I think this is because we are merging nuget- into meta and that into nuget-source. But I am not sure how fix this properly.
We have the team @ NixOS/dotnet now.

Discussion:
{ name , description ? "" , deps ? [] <del> }: </del> <ins> , ... }@args: </ins> <del> let nuget-source = stdenvNoCC.mkDerivation { inherit name; </del> <ins> stdenvNoCC.mkDerivation (lib.recursiveUpdate { inherit name; </ins> <del> nativeBuildInputs = [ python3 ]; </del> <ins> nativeBuildInputs = [ python3 ]; </ins> <del> buildCommand = '' mkdir -p $out/{lib,share} </del> <ins> buildCommand = '' mkdir -p $out/{lib,share} </ins> <del> # use -L to follow symbolic links. When `projectReferences` is used in # buildDotnetModule, one of the deps will be a symlink farm. find -L ${lib.concatStringsSep " " deps} -type f -name '*.nupkg' -exec  ln -s '{}' -t $out/lib ';' </del> <ins> # use -L to follow symbolic links. When `projectReferences` is used in # buildDotnetModule, one of the deps will be a symlink farm. find -L ${lib.concatStringsSep " " deps} -type f -name '*.nupkg' -exec  ln -s '{}' -t $out/lib ';' </ins> <del> # Generates a list of all licenses' spdx ids, if available. # Note that this currently ignores any license provided in plain text (e.g. "LICENSE.txt") python ${./extract-licenses-from-nupkgs.py} $out/lib > $out/share/licenses ''; </del> <ins> # Generates a list of all licenses' spdx ids, if available. # Note that this currently ignores any license provided in plain text (e.g. "LICENSE.txt") python ${./extract-licenses-from-nupkgs.py} $out/lib > $out/share/licenses ''; </ins> <del> meta.description = description; } // { # We need data from `$out` for `meta`, so we have to use overrides as to not hit infinite recursion. meta = nuget-source.meta // { licenses = let # TODO: avoid IFD depLicenses = lib.splitString "n" (builtins.readFile "${nuget-source}/share/licenses"); in lib.flatten (lib.forEach depLicenses (spdx: lib.optionals (spdx != "") (lib.getLicenseFromSpdxId spdx) )); }; }; in nuget-source </del> <ins> meta.description = description; } (removeAttrs args [ "name" "description" "deps" ])) </ins>
Change:
When I try to build , I get: System: (NixOS: , Ubuntu/Fedora: , ...) 09pre111447. (Hummingbird) Nix version: (run ) nix-env (Nix) 1.11.13 Nixpkgs version: (run ) "17.09pre111447." Sandboxing enabled: (run ) build-use-sandbox = true Any ideas?
fixed by
It's still not working.
it builds here on unstable. Travis seems to . Which error are you getting?
Got the same error while trying to install sqlite. Unstable works fine now. Thank you!

Discussion:
sha256 = "0vb71w1yq0xwwsclrn2jj9bk8w4n14rfv5c0aw46c11mp8xz7f71"; }; <ins> patches = [ ./sqlite.patch ]; # from: https://bugs.gentoo.org/show_bug.cgi?id=622776 </ins> buildInputs = [ chromaprint fftw flac libid3tag libmad libopus libshout libsndfile libusb1 libvorbis pkgconfig portaudio portmidi protobuf qt4

<ins> diff -urN old/src/library/trackcollection.h mixxx-2.0.0/src/library/trackcollection.h --- old/src/library/trackcollection.h	2017-07-30 00:04:48.511029517 -0400 +++ mixxx-2.0.0/src/library/trackcollection.h	2017-07-30 00:05:03.378699826 -0400 @@ -34,8 +34,7 @@ #include "library/dao/libraryhashdao.h" #ifdef __SQLITE3__ -typedef struct sqlite3_context sqlite3_context; -typedef struct Mem sqlite3_value; +#include <sqlite3.h> #endif class TrackInfoObject; </ins>
Change:
Helm defaults to a kubeVersion 1.20.0, which is 3 years old. Steps to reproduce the behavior: Would expect that helm defaults to a kubeVersion that is apart of the supported Kubernetes compatibility. helm 3.12 should support something similar to kubeVersion 1.25 accorsing to their version skew, The last version of helm to officially support 1.20 was 5 minor version ago Unclear where this default version is being defined. Downloading the corresponding binary directly from (example: ) does not encounter this issue <!-- 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]:
Great timing! I just ran into this issue not to long ago but I'm unsure how to resolve it. (On mobile so I'm going from memory) there is a hard coded version in the helm or something like that, that can be overridden at build time. Presumably the helm team does override it. We can of course override it as well but I'm unsure how we can keep it up to date. It would be a 1 line patch to fix it for now but my question is, is there an automated way to keep it at the same version as whatever the helm team uses
normally helm takes the k8s version from the go k8s client lib and increments the first part by 1 to arrive at the k8s version. On my current dev system the output is as following (debian sid) In go you can directly set via as the Makefile does, but it's not always clear that those things can just be overridden that easily. i'd prepare a patch but i've no idea on how to add some script execution into to fetch the variables :/
I am not sure how to add in script execution either. As a low tech eventual solution, opened a pull request to resolve the issue upstream.

Discussion:
"-X helm.sh/helm/v3/internal/version.gitCommit=${src.rev}" ]; <ins> preBuild = '' # set k8s version to client-go version, to match upstream K8S_MODULES_VER="$(go list -f '{{.Version}}' -m k8s.io/client-go)" K8S_MODULES_MAJOR_VER="$(($(cut -d. -f1 <<<"$K8S_MODULES_VER") + 1))" K8S_MODULES_MINOR_VER="$(cut -d. -f2 <<<"$K8S_MODULES_VER")" old_ldflags="''${ldflags}" ldflags="''${ldflags} -X helm.sh/helm/v3/pkg/lint/rules.k8sVersionMajor=''${K8S_MODULES_MAJOR_VER}" ldflags="''${ldflags} -X helm.sh/helm/v3/pkg/lint/rules.k8sVersionMinor=''${K8S_MODULES_MINOR_VER}" ldflags="''${ldflags} -X helm.sh/helm/v3/pkg/chartutil.k8sVersionMajor=''${K8S_MODULES_MAJOR_VER}" ldflags="''${ldflags} -X helm.sh/helm/v3/pkg/chartutil.k8sVersionMinor=''${K8S_MODULES_MINOR_VER}" ''; </ins> __darwinAllowLocalNetworking = true; preCheck = '' <ins> # restore ldflags for tests ldflags="''${old_ldflags}" </ins> # skipping version tests because they require dot git directory substituteInPlace cmd/helm/version_test.go  --replace "TestVersion" "SkipVersion"
Change:
Project description <!-- Describe the project a little: --Prometheus Exporter for AVM FritzBox Metadata homepage URL: source URL: license: AL2 platforms: linux, probably also darwin Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
There already is package called , but it seems abandoned. Does this new package have more/new metrics and/or is compatible with more FritzBox types?
I couldn't get to work on a machine where i was running the requested exporter before, so I would prefer to use this one. Not sure if its the models fault, but it's FRITZ!Box 5530 Fiber.

Discussion:
<ins> diff --git a/pyproject.toml b/pyproject.toml index ffad1a4..e7551da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,6 +44,9 @@ coverage = ">=6.4.4,<8.0.0" pytest-cov = ">=3,<5" ruff = "^0.1.7" +[tool.poetry.scripts] +fritzexporter = "fritzexporter.__main__:main" + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" </ins>

<ins> { lib , python3 , fetchFromGitHub }: python3.pkgs.buildPythonApplication rec { pname = "fritz-exporter"; version = "2.3.1"; pyproject = true; src = fetchFromGitHub { owner = "pdreker"; repo = "fritz_exporter"; rev = "fritzexporter-v${version}"; hash = "sha256-Dv/2Og1OJV7canZ8Y5Pai5gPRUvcRDYmSGoD2pnAkSs="; }; patches = [ # https://github.com/pdreker/fritz_exporter/pull/282 ./console-script.patch ]; postPatch = '' # don't test coverage sed -i "/^addopts/d" pyproject.toml ''; nativeBuildInputs = with python3.pkgs; [ poetry-core ]; propagatedBuildInputs = with python3.pkgs; [ attrs fritzconnection prometheus-client pyyaml requests ]; nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ]; meta = { changelog = "https://github.com/pdreker/fritz_exporter/blob/${src.rev}/CHANGELOG.md"; description = "Prometheus exporter for Fritz!Box home routers"; homepage = "https://github.com/pdreker/fritz_exporter"; license = lib.licenses.asl20; mainProgram = "fritzexporter"; maintainers = with lib.maintainers; [ marie ]; }; } </ins>
Change:
When building nixos top level, will be too long to consume. I don't have a minimal config to generate the drv but here is an example: No Error Related code: Not entirely sure which version is causing the failure --- used to be able to built on but seems to be failing afterwards. Will update once find the exact hash. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
The module list grows over time, so it would make sense to hit the limit at some point. I suppose you could write the expression to a file and pass to fix the problem. I don't get why this derivation is called "lazy" though.

Discussion:
libPath = filter (pkgs.path + "/lib"); pkgsLibPath = filter (pkgs.path + "/pkgs/pkgs-lib"); nixosPath = filter (pkgs.path + "/nixos"); <del> modules = map (p: ''"${removePrefix "${modulesPath}/" (toString p)}"'') docModules.lazy; </del> <ins> modules = "[ " + concatMapStringsSep " " (p: ''"${removePrefix "${modulesPath}/" (toString p)}"'') docModules.lazy + " ]"; passAsFile = [ "modules" ]; </ins> } '' export NIX_STORE_DIR=$TMPDIR/store export NIX_STATE_DIR=$TMPDIR/state

--argstr libPath "$libPath"  --argstr pkgsLibPath "$pkgsLibPath"  --argstr nixosPath "$nixosPath"  <del> --arg modules "[ $modules ]"  </del> <ins> --arg modules "import $modulesPath"  </ins> --argstr stateVersion "${options.system.stateVersion.default}"  --argstr release "${config.system.nixos.release}"  $nixosPath/lib/eval-cacheable-options.nix > $out
Change:
Package name: meli Latest released version: 0.8.4 <!-- Search your package here: --- Current version on the unstable channel: 0.8.2 Current version on the stable/release channel: 0.8.2 <!-- 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. simple version bump didn’t work Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
I tried to compile and it gives me errors related to openssl-sys not finding some file or directory. Edit: just and it worked, this makes openssl-sys use pkg-config.
can you please build the PR to see if there are any other issues?

Discussion:
rustPlatform.buildRustPackage rec { pname = "meli"; <del> version = "0.8.2"; </del> <ins> version = "0.8.4"; </ins> src = fetchgit { <del> url = "https://git.meli.delivery/meli/meli.git"; </del> <ins> url = "https://git.meli-email.org/meli/meli.git"; </ins> rev = "v${version}"; <del> hash = "sha256-iEHTFofga/HV/1jSAqTsqV55zC22tqI7UW7m4PZgz0M="; </del> <ins> hash = "sha256-wmIlYgXB17/i9Q+6C7pbcEjVlEuvhmqrSH+cDmaBKLs="; </ins> }; <del> cargoHash = "sha256-ijlivyBezLECBSaWBYVy9tVcSO8U+yGDQyU4dIATR6k="; </del> <ins> cargoHash = "sha256-gYS/dxNMz/HkCmRXH5AdHPXJ2giqpAHc4eVXJGOpMDM="; # Needed to get openssl-sys to use pkg-config OPENSSL_NO_VENDOR=1; </ins> nativeBuildInputs = [ pkg-config