jiebi/CodeConvo huggingface dataset:
Code change:
The nextcloud package set offers apps, that have licensing information attached, but not exposed as part of their meta attribute. Also, there are some apps, like news, where the licensing information says , which requires clarification. This needs to be fixed.
Thank you for opening the draft PR in order to fix my mistakes and broken packages. I'm sorry for the bad communication and the inability to resolve this serious issue. Fixing this for Wordpress packages and themes (wp4nix) and Nextcloud apps (nc4nix) in a foreseeable time exceeds my skills and competence. Therefore I would like to offer to add a flag to these package sets and remove them for the next release 23.11 if it's not resolved by then.

Related discussion:
text: { "bookmarks": { <del> "sha256": "0xx331bgly91y8ncxk36ha3ncrr2xlivblfi7rix6ffkrdx73yb9", "url": "https://github.com/nextcloud/bookmarks/releases/download/v13.0.1/bookmarks-13.0.1.tar.gz", "version": "13.0.1", "description": "- 📂 Sort bookmarks into foldersn- 🏷 Add tags and personal notesn- 🔍 Full-text searchn- 📲 Synchronize with all your browsers and devicesn- 👪 Share bookmarks with other users and publiclyn- ☠ Find broken linksn- ⚛ Generate RSS feeds of your collectionsn- 📔 Read archived versions of your links in case they are depublishedn- 💬 Create new bookmarks directly from within Nextcloud Talkn- 💼 Built-in Dashboard widgets for frequent and recent linksnnRequirements:n - PHP v7.4+n - PHP extensions:n   - intl: *n   - mbstring: *n - when using MySQL, use at least v8.0", </del> <ins> "sha256": "16j10gj5nghgji36jhng60291wl4h9c3vndjx9j8jij9qn6hz23f", "url": "https://github.com/nextcloud/bookmarks/releases/download/v13.1.0/bookmarks-13.1.0.tar.gz", "version": "13.1.0", "description": "- 📂 Sort bookmarks into foldersn- 🏷 Add tags and personal notesn- 🔍 Full-text searchn- 📲 Synchronize with all your browsers and devicesn- 👪 Share bookmarks with other users and publiclyn- ☠ Find broken linksn- ⚛ Generate RSS feeds of your collectionsn- 📔 Read archived versions of your links in case they are depublishedn- 💬 Create new bookmarks directly from within Nextcloud Talkn- 💼 Built-in Dashboard widgets for frequent and recent linksnnRequirements:n - PHP extensions:n   - intl: *n   - mbstring: *n - when using MySQL, use at least v8.0", </ins> "homepage": "https://github.com/nextcloud/bookmarks", "licenses": [ "agpl"
Code change:
The nextcloud package set offers apps, that have licensing information attached, but not exposed as part of their meta attribute. Also, there are some apps, like news, where the licensing information says , which requires clarification. This needs to be fixed.
Thank you for opening the draft PR in order to fix my mistakes and broken packages. I'm sorry for the bad communication and the inability to resolve this serious issue. Fixing this for Wordpress packages and themes (wp4nix) and Nextcloud apps (nc4nix) in a foreseeable time exceeds my skills and competence. Therefore I would like to offer to add a flag to these package sets and remove them for the next release 23.11 if it's not resolved by then.

Related discussion:
text: ] }, "news": { <del> "sha256": "1z08k8xnyv71zj0djlv339faq9lx23mlqgjanf2jhv6jhh8cy5c6", "url": "https://github.com/nextcloud/news/releases/download/22.0.0/news.tar.gz", "version": "22.0.0", </del> <ins> "sha256": "1j9dhqz5anwsmw3f8hbhvqc2h1fp15zmxzdbpnz1p3vwqf8f5cjs", "url": "https://github.com/nextcloud/news/releases/download/23.0.0/news.tar.gz", "version": "23.0.0", </ins> "description": "📰 A RSS/Atom Feed reader App for Nextcloudnn- 📲 Synchronize your feeds with multiple mobile or desktop [clients](https://nextcloud.github.io/news/clients/)n- 🔄 Automatic updates of your news feedsn- 🆓 Free and open source under AGPLv3, no ads or premium functionsnn**System Cron is currently required for this app to work**nnRequirements can be found [here](https://nextcloud.github.io/news/install/#dependencies)nnThe Changelog is available [here](https://github.com/nextcloud/news/blob/master/CHANGELOG.md)nnCreate a [bug report](https://github.com/nextcloud/news/issues/new/choose)nnCreate a [feature request](https://github.com/nextcloud/news/discussions/new)nnReport a [feed issue](https://github.com/nextcloud/news/discussions/new)", "homepage": "https://github.com/nextcloud/news", "licenses": [
Code change:
The nextcloud package set offers apps, that have licensing information attached, but not exposed as part of their meta attribute. Also, there are some apps, like news, where the licensing information says , which requires clarification. This needs to be fixed.
Thank you for opening the draft PR in order to fix my mistakes and broken packages. I'm sorry for the bad communication and the inability to resolve this serious issue. Fixing this for Wordpress packages and themes (wp4nix) and Nextcloud apps (nc4nix) in a foreseeable time exceeds my skills and competence. Therefore I would like to offer to add a flag to these package sets and remove them for the next release 23.11 if it's not resolved by then.

Related discussion:
text: generatedJson = { inherit apps; }; <ins> appBaseDefs = builtins.fromJSON (builtins.readFile ./nextcloud-apps.json); </ins> in { # Create a derivation from the official Nextcloud apps. # This takes the data generated from the go tool. <del> mkNextcloudDerivation = self.callPackage ({ }: { data }: </del> <ins> mkNextcloudDerivation = self.callPackage ({ }: { pname, data }: </ins> pkgs.fetchNextcloudApp { <del> inherit (data) url sha256; </del> <ins> appName = pname; appVersion = data.version; license = appBaseDefs.${pname}; inherit (data) url sha256 description homepage; </ins> }) {}; <del> } // lib.mapAttrs (type: pkgs: lib.makeExtensible (_: lib.mapAttrs (pname: data: self.mkNextcloudDerivation { inherit data; }) pkgs)) generatedJson; </del> <ins> } // lib.mapAttrs (type: pkgs: lib.makeExtensible (_: lib.mapAttrs (pname: data: self.mkNextcloudDerivation { inherit pname; inherit data; }) pkgs)) generatedJson; </ins> in (lib.makeExtensible (_: (lib.makeScope newScope packages))).extend (selfNC: superNC: {})
Code change:
The nextcloud package set offers apps, that have licensing information attached, but not exposed as part of their meta attribute. Also, there are some apps, like news, where the licensing information says , which requires clarification. This needs to be fixed.
Thank you for opening the draft PR in order to fix my mistakes and broken packages. I'm sorry for the bad communication and the inability to resolve this serious issue. Fixing this for Wordpress packages and themes (wp4nix) and Nextcloud apps (nc4nix) in a foreseeable time exceeds my skills and competence. Therefore I would like to offer to add a flag to these package sets and remove them for the next release 23.11 if it's not resolved by then.

Related discussion:
text: export NEXTCLOUD_VERSIONS=$(nix-instantiate --eval -E 'import ./nc-versions.nix {}' -A e) <del> APPS=`cat nextcloud-apps.json | jq -r '.[]' | sed -z 's/n/,/g;s/,$/n/'` </del> <ins> APPS=`cat nextcloud-apps.json | jq -r 'keys|.[]' | sed -z 's/n/,/g;s/,$/n/'` </ins> nc4nix -apps $APPS rm *.log
Code change:
The nextcloud package set offers apps, that have licensing information attached, but not exposed as part of their meta attribute. Also, there are some apps, like news, where the licensing information says , which requires clarification. This needs to be fixed.
Thank you for opening the draft PR in order to fix my mistakes and broken packages. I'm sorry for the bad communication and the inability to resolve this serious issue. Fixing this for Wordpress packages and themes (wp4nix) and Nextcloud apps (nc4nix) in a foreseeable time exceeds my skills and competence. Therefore I would like to offer to add a flag to these package sets and remove them for the next release 23.11 if it's not resolved by then.

Related discussion:
text: <del> [ "bookmarks" , "calendar" , "contacts" , "cospend" , "deck" , "files_texteditor" , "files_markdown" , "forms" , "groupfolders" , "impersonate" , "keeweb" , "mail" , "maps" , "memories" , "news" , "notes" , "notify_push" , "onlyoffice" , "polls" , "previewgenerator" , "qownnotesapi" , "registration" , "spreed" , "tasks" , "twofactor_nextcloud_notification" , "twofactor_totp" , "twofactor_webauthn" , "unsplash" , "user_saml" ] </del> <ins> { "bookmarks": "agpl3Plus" , "calendar": "agpl3Plus" , "contacts": "agpl3Plus" , "cospend": "agpl3Plus" , "deck": "agpl3Plus" , "files_texteditor": "agpl3Plus" , "files_markdown": "agpl3Plus" , "forms": "agpl3Plus" , "groupfolders": "agpl3Plus" , "impersonate": "agpl3Plus" , "keeweb": "agpl3Plus" , "mail": "agpl3Plus" , "maps": "agpl3Plus" , "memories": "agpl3Plus" , "news": "agpl3Plus" , "notes": "agpl3Plus" , "notify_push": "agpl3Plus" , "onlyoffice": "asl20" , "polls": "agpl3Plus" , "previewgenerator": "agpl3Plus" , "qownnotesapi": "agpl3Plus" , "registration": "agpl3Plus" , "spreed": "agpl3Plus" , "tasks": "agpl3Plus" , "twofactor_nextcloud_notification": "agpl3Only" , "twofactor_totp": "agpl3Plus" , "twofactor_webauthn": "agpl3Plus" , "unsplash": "agpl3Only" , "user_saml": "agpl3Plus" } </ins>
Code change:
Project description GoatCounter is an open source web analytics platform. Metadata homepage URL: source URL: license: EUPL platforms: unix, linux
I searched issued but not pull requests so I missed , should this stay open until that's closed?

Related discussion:
text: <ins> { lib , buildGoModule , fetchFromGitHub , testers , goatcounter }: buildGoModule rec { pname = "goatcounter"; version = "2.5.0"; src = fetchFromGitHub { owner = "arp242"; repo = "goatcounter"; rev = "v${version}"; sha256 = "sha256-lwiLk/YYxX4QwSDjpU/mAikumGXYMzleRzmPjZGruZU="; }; vendorHash = "sha256-YAb3uBWQc6hWzF1Z5cAg8RzJQSJV+6dkppfczKS832s="; subPackages = [ "cmd/goatcounter" ]; modRoot = "."; # Derived from the upstream build scripts: # # `-trimpath` is used, which `allowGoReference` sets allowGoReference = true; # Flags set in the upstream build. ldflags = [ "-s" "-w" "-X zgo.at/goatcounter/v2.Version=${src.rev}" ]; passthru.tests.version = testers.testVersion { package = goatcounter; command = "goatcounter version"; version = "v${version}"; }; meta = { description = "Easy web analytics. No tracking of personal data"; changelog = "https://github.com/arp242/goatcounter/releases/tag/${src.rev}"; longDescription = '' GoatCounter is an open source web analytics platform available as a hosted service (free for non-commercial use) or self-hosted app. It aims to offer easy to use and meaningful privacy-friendly web analytics as an alternative to Google Analytics or Matomo. ''; homepage = "https://github.com/arp242/goatcounter"; license = lib.licenses.eupl12; maintainers = with lib.maintainers; [ tylerjl ]; mainProgram = "goatcounter"; }; } </ins>
Code change:
defaults to the tmpfs defaults: 50% of RAM. What do you think about making it configurable? tmpfs has no real overhead when not used and just like normal memory, it can be swapped out if memory gets tight. I have a hp microserver n40l with 8GB RAM and i can't rebuild the linux kernel with , as my /tmp fills up even though i have a bit of RAM left.
I know i can do this instead (copied from one of my machines): but I don't like having a nice option for this, and still using the "manual" way.
since you have already found a solution for this, have you considered opening a PR?
i don't find that conversation atm (discussion was probably on irc?). anyway, my "fix" was too liberal in it accepts as input (bool and string) and didn't reuse the original systemd template/unit file. feel free to reuse this as a basis for your own pr or give me pointers how i could do that in a few lines and without messing around with the option. maybe i'll try a pr with the solution, but thats more of a hack. thanks for the reminder, that this is still an issue.
Why is a hack?
because it doesn't automatically get new features from the upstream systemd unit file. that was the main part of point two. whenever systemd gets a new feature, the unit files in every distro get automatic upgrades - just nixos would need manual intervention.
Oh I wasn't aware how this is currently done. Is it realistic to expect new "features" for a filesystem mount? Maybe my imagination is lacking, but I have no idea what that might be.
see
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly: for maintainers and people that previously touched the related code and @ mention them in a comment. on the . on the on .
This still seems like a desirable feature, especially since nix builds happen in /tmp.
I marked this as stale due to inactivity. &rarr;
Any activity on this? I've a build failing, even though boot.tmpOnTmpfs is set to false
have you tried increasing size of /tmp ? eg
Where is the RuntimeDirectory located? I thought that should be , which on my system is pretty big: I'll try to add that option to my config, not sure I fully understand what it does though, is it documented in more detail somewhere?_
sorry i made mistake in my post when i mentioned because its really not that one on my system it's You can look up systemd documentation for RuntimeDirectory
Rebuild nixos and reboot.
There is now an option for this:
For those who end up here, my problem was that for some reason was set to . Tip: just change the value and inspect the result with .

Related discussion:
text: with lib; <ins> let cfg = config.boot; in </ins> { ###### interface
Code change:
Some cuda packages come with vendored copies of libraries that are already available in nixpkgs. These vendored libraries still require patching their Runpaths, their presence reduces determinism, and breaks "deep replacement" (i.e. nixpkgs' feature allowing to ensure that everything in a package set uses the same revision of a dependency). For instance, ships , which otherwise is available as: Cf. Tasks [ ] Look into deleting these vendored libraries and re-linking their reverse dependencies against nixpkgs alternatives

Related discussion:
text: , libsForQt5 , libtiff , qt6Packages <ins> , qt6 </ins> , rdma-core , ucx , rsync
Code change:
Some cuda packages come with vendored copies of libraries that are already available in nixpkgs. These vendored libraries still require patching their Runpaths, their presence reduces determinism, and breaks "deep replacement" (i.e. nixpkgs' feature allowing to ensure that everything in a package set uses the same revision of a dependency). For instance, ships , which otherwise is available as: Cf. Tasks [ ] Look into deleting these vendored libraries and re-linking their reverse dependencies against nixpkgs alternatives

Related discussion:
text: ucx xorg.libxshmfence xorg.libxkbfile <del> ] ++ lib.optionals (lib.versionAtLeast version "12.1") (map lib.getLib [ </del> <ins> ] ++ (lib.optionals (lib.versionAtLeast version "12.1") (map lib.getLib ([ </ins> # Used by `/target-linux-x64/CollectX/clx` and `/target-linux-x64/CollectX/libclx_api.so` for: # - `libcurl.so.4` curlMinimal <del> # Used by `/target-linux-x64/libQt6Multimedia.so.6` for: # - `libgstaudio-1.0.so.0` # - `libgstvideo-1.0.so.0` # - `libgstpbutils-1.0.so.0` # - `libgstallocators-1.0.so.0` # - `libgstapp-1.0.so.0` # - `libgstbase-1.0.so.0` # - `libgstreamer-1.0.so.0` </del> <ins> # Used by `/host-linux-x64/Scripts/WebRTCContainer/setup/neko/server/bin/neko` </ins> gst_all_1.gstreamer gst_all_1.gst-plugins-base <del> ]); </del> <ins> ]) ++ (with qt6; [ qtmultimedia qttools qtpositioning qtscxml qtsvg qtwebchannel qtwebengine ]))); </ins> # Prepended to runpaths by autoPatchelf. # The order inherited from older rpath preFixup code
Code change:
Some cuda packages come with vendored copies of libraries that are already available in nixpkgs. These vendored libraries still require patching their Runpaths, their presence reduces determinism, and breaks "deep replacement" (i.e. nixpkgs' feature allowing to ensure that everything in a package set uses the same revision of a dependency). For instance, ships , which otherwise is available as: Cf. Tasks [ ] Look into deleting these vendored libraries and re-linking their reverse dependencies against nixpkgs alternatives

Related discussion:
text: rm -rf $out/lib ''} <ins> ${lib.optionalString (lib.versionAtLeast version "12.0") '' rm $out/host-linux-x64/libQt6* ''} </ins> # Remove some cruft. ${lib.optionalString ((lib.versionAtLeast version "7.0") && (lib.versionOlder version "10.1")) "rm $out/bin/uninstall*"}
Code change:
Some cuda packages come with vendored copies of libraries that are already available in nixpkgs. These vendored libraries still require patching their Runpaths, their presence reduces determinism, and breaks "deep replacement" (i.e. nixpkgs' feature allowing to ensure that everything in a package set uses the same revision of a dependency). For instance, ships , which otherwise is available as: Cf. Tasks [ ] Look into deleting these vendored libraries and re-linking their reverse dependencies against nixpkgs alternatives

Related discussion:
text: "11.8" = ./manifests/redistrib_11.8.0.json; "12.0" = ./manifests/redistrib_12.0.1.json; "12.1" = ./manifests/redistrib_12.1.1.json; <ins> "12.2" = ./manifests/redistrib_12.2.0.json; </ins> }; # Function to build a single cudatoolkit redist package
Code change:
Some cuda packages come with vendored copies of libraries that are already available in nixpkgs. These vendored libraries still require patching their Runpaths, their presence reduces determinism, and breaks "deep replacement" (i.e. nixpkgs' feature allowing to ensure that everything in a package set uses the same revision of a dependency). For instance, ships , which otherwise is available as: Cf. Tasks [ ] Look into deleting these vendored libraries and re-linking their reverse dependencies against nixpkgs alternatives

Related discussion:
text: url = "https://developer.download.nvidia.com/compute/cuda/12.1.1/local_installers/cuda_12.1.1_530.30.02_linux.run" sha256 = "sha256-10Ai1B2AEFMZ36Ib7qObd6W5kZU5wEh6BcqvJEbWpw4=" gcc = "gcc12" <ins> ["12.2"] version = "12.2.0" url = "https://developer.download.nvidia.com/compute/cuda/12.2.0/local_installers/cuda_12.2.0_535.54.03_linux.run" sha256 = "sha256-7PPSr63LrAKfD0UFeFgQ1S0AbkuHunn/P5hDNqK79Rg=" gcc = "gcc12" </ins>
Code change:
Some cuda packages come with vendored copies of libraries that are already available in nixpkgs. These vendored libraries still require patching their Runpaths, their presence reduces determinism, and breaks "deep replacement" (i.e. nixpkgs' feature allowing to ensure that everything in a package set uses the same revision of a dependency). For instance, ships , which otherwise is available as: Cf. Tasks [ ] Look into deleting these vendored libraries and re-linking their reverse dependencies against nixpkgs alternatives

Related discussion:
text: cudaPackages_12_0 = callPackage ./cuda-packages.nix { cudaVersion = "12.0"; }; cudaPackages_12_1 = callPackage ./cuda-packages.nix { cudaVersion = "12.1"; }; <ins> cudaPackages_12_2 = callPackage ./cuda-packages.nix { cudaVersion = "12.2"; }; </ins> cudaPackages_12 = cudaPackages_12_0; # TODO: try upgrading once there is a cuDNN release supporting CUDA 12. No
Code change:
Project description A video game ROM collection manager to help filter, sort, patch, archive, and report on collections on any OS. Metadata homepage URL: source URL: license: gpl3 platforms: linux

Related discussion:
text: <ins> { lib , buildNpmPackage , fetchFromGitHub }: buildNpmPackage rec { pname = "igir"; version = "2.0.6"; src = fetchFromGitHub { owner = "emmercm"; repo = "igir"; rev = "v${version}"; hash = "sha256-HIhk60I5VUMHBUp5EQGpE7RZ0KiYwVMl1jEX9zb5ttA="; }; npmDepsHash = "sha256-P+H6q+jwfJFMb5qtOS3OCVUu9MtZ+Knaog0qyP3FpFo="; # I have no clue why I have to do this postPatch = '' patchShebangs scripts/update-readme-help.sh ''; meta = with lib; { description = "A video game ROM collection manager to help filter, sort, patch, archive, and report on collections on any OS"; homepage = "https://igir.io"; license = licenses.gpl3Plus; maintainers = with maintainers; [ TheBrainScrambler ]; platforms = platforms.linux; }; } </ins>
Code change:
Project description A video game ROM collection manager to help filter, sort, patch, archive, and report on collections on any OS. Metadata homepage URL: source URL: license: gpl3 platforms: linux

Related discussion:
text: hyperpotamus = callPackage ../tools/misc/hyperpotamus { }; <ins> igir = callPackage ../tools/games/igir { }; </ins> immich-cli = callPackage ../tools/misc/immich-cli { }; inherit (callPackage ../tools/networking/ivpn/default.nix {}) ivpn ivpn-service;
Code change:
There are syntax elements, like which are used in the manual but undocumented in the . the generic syntax is document , but a few more non-admonition variations have been implemented recently that aren't yet documented in the manual. Originally posted by in

Related discussion:
text: Additional syntax extensions are available, all of which can be used in NixOS option documentation. The following extensions are currently used: <ins> - []{#ssec-contributing-markup-tables} Tables, using the [GitHub-flavored Markdown syntax](https://github.github.com/gfm/#tables-extension-). </ins> - []{#ssec-contributing-markup-anchors} Explicitly defined **anchors** on headings, to allow linking to sections. These should be always used, to ensure the anchors can be linked even when the heading text changes, and to prevent conflicts between [automatically assigned identifiers](https://github.com/jgm/commonmark-hs/blob/master/commonmark-extensions/test/auto_identifiers.md).
Code change:
the ruby gem tzinfo exists in two different versions/branches which are both maintained. the branch does not contain the file referenced by nixpkgs, only 1.x does. Ref: Extract from pkgs/development/ruby-modules/gem- I fixed it by overwriting tzinfo (again!) but this is not a good solution :/ cc System: (NixOS: , Ubuntu/Fedora: , ...) Nix version: (run ) Nixpkgs version: (run )
Hmm. I don't remember by heart, is available? If yes we could switch based on the version. Pseudo code:

Related discussion:
text: <ins> {stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}: stdenv.mkDerivation rec { version = "0.15.2"; name = "vala-${version}"; src = fetchurl { url = "mirror://gnome/sources/vala/0.15/${name}.tar.xz"; sha256 = "0g71zq6dpqrw2f40wfzdf18fdw41ymr17laqniy2kr622hkxdi8w"; }; buildNativeInputs = [ yacc flex pkgconfig xz ]; buildInputs = [ glib ]; meta = { description = "Compiler for the GObject type system"; homepage = "http://live.gnome.org/Vala"; license = "free-copyleft"; platforms = stdenv.lib.platforms.all; maintainers = [ stdenv.lib.maintainers.antono ]; }; } </ins>
Code change:
the ruby gem tzinfo exists in two different versions/branches which are both maintained. the branch does not contain the file referenced by nixpkgs, only 1.x does. Ref: Extract from pkgs/development/ruby-modules/gem- I fixed it by overwriting tzinfo (again!) but this is not a good solution :/ cc System: (NixOS: , Ubuntu/Fedora: , ...) Nix version: (run ) Nixpkgs version: (run )
Hmm. I don't remember by heart, is available? If yes we could switch based on the version. Pseudo code:

Related discussion:
text: <ins> {stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}: stdenv.mkDerivation rec { version = "0.16.1"; name = "vala-${version}"; src = fetchurl { url = "mirror://gnome/sources/vala/0.16/${name}.tar.xz"; sha256 = "1n708n9ixyy9qrzyv1wf4ybvcclx43ib9ki028wwpvkz6kv8zqlb"; }; buildNativeInputs = [ yacc flex pkgconfig xz ]; buildInputs = [ glib ]; meta = { description = "Compiler for the GObject type system"; homepage = "http://live.gnome.org/Vala"; license = "free-copyleft"; platforms = stdenv.lib.platforms.all; maintainers = [ stdenv.lib.maintainers.antono ]; }; } </ins>