jiebi/CodeConvo huggingface dataset:
Code change:
So I today I spawned a machine with and satisfyingly the directory was generated with all of the certificates etc that taskwarrior needs, including the clients' certificates. I noticed that the users' keys located at are owned by root with read only permissions for the root user alone. No matter what are and . I'd like to enable the group read those client keys, as well as the file so that I can configure a client easily. Thankfully the group can read the file, but not the client keys. The manual indeed explains that the command: Could be used to get those keys, but I'd like to use syncthing for that to automate the process even further. I got a bit lost while reading the . Specifically, I'm not sure why does always works in the following umask: I mean, ~why not~ - a solution is suggested in . A word of comment will be appreciated. cc .

Related discussion:
text: os.setuid(uid) <ins> def run_as_taskd_group(): gid = grp.getgrnam(TASKD_GROUP).gr_gid os.setgid(gid) </ins> def taskd_cmd(cmd, *args, **kwargs): """ Invoke taskd with the specified command with the privileges of the 'taskd'
Code change:
So I today I spawned a machine with and satisfyingly the directory was generated with all of the certificates etc that taskwarrior needs, including the clients' certificates. I noticed that the users' keys located at are owned by root with read only permissions for the root user alone. No matter what are and . I'd like to enable the group read those client keys, as well as the file so that I can configure a client easily. Thankfully the group can read the file, but not the client keys. The manual indeed explains that the command: Could be used to get those keys, but I'd like to use syncthing for that to automate the process even further. I got a bit lost while reading the . Specifically, I'm not sure why does always works in the following umask: I mean, ~why not~ - a solution is suggested in . A word of comment will be appreciated. cc .

Related discussion:
text: """ return subprocess.check_output( [CERTTOOL_COMMAND] + list(args), <del> preexec_fn=lambda: os.umask(0o077), </del> <ins> preexec_fn=run_as_taskd_group, </ins> stderr=subprocess.STDOUT, **kwargs )
Code change:
So I today I spawned a machine with and satisfyingly the directory was generated with all of the certificates etc that taskwarrior needs, including the clients' certificates. I noticed that the users' keys located at are owned by root with read only permissions for the root user alone. No matter what are and . I'd like to enable the group read those client keys, as well as the file so that I can configure a client easily. Thankfully the group can read the file, but not the client keys. The manual indeed explains that the command: Could be used to get those keys, but I'd like to use syncthing for that to automate the process even further. I got a bit lost while reading the . Specifically, I'm not sure why does always works in the following umask: I mean, ~why not~ - a solution is suggested in . A word of comment will be appreciated. cc .

Related discussion:
text: sys.stderr.write(msg.format(user)) return <del> basedir = os.path.join(TASKD_DATA_DIR, "keys", org, user) if os.path.exists(basedir): </del> <ins> keysdir = os.path.join(TASKD_DATA_DIR, "keys" ) orgdir  = os.path.join(keysdir       , org    ) userdir = os.path.join(orgdir        , user   ) if os.path.exists(userdir): </ins> raise OSError("Keyfile directory for {} already exists.".format(user)) <del> privkey = os.path.join(basedir, "private.key") pubcert = os.path.join(basedir, "public.cert") </del> <ins> privkey = os.path.join(userdir, "private.key") pubcert = os.path.join(userdir, "public.cert") </ins> try: <del> os.makedirs(basedir, mode=0o700) </del> <ins> # We change the permissions and the owner ship of the base directories # so that cfg.group and cfg.user could read the directories' contents. # See also: https://bugs.python.org/issue42367 for bd in [keysdir, orgdir, userdir]: # Allow cfg.group, but not others to read the contents of this group os.makedirs(bd, exist_ok=True) # not using mode= argument to makedirs intentionally - forcing the # permissions we want os.chmod(bd, mode=0o750) os.chown( bd, uid=pwd.getpwnam(TASKD_USER).pw_uid, gid=grp.getgrnam(TASKD_GROUP).gr_gid, ) </ins> certtool_cmd("-p", "--bits", CERT_BITS, "--outfile", privkey) <ins> os.chmod(privkey, 0o640) </ins> template_data = [ "organization = {0}".format(org),
Code change:
So I today I spawned a machine with and satisfyingly the directory was generated with all of the certificates etc that taskwarrior needs, including the clients' certificates. I noticed that the users' keys located at are owned by root with read only permissions for the root user alone. No matter what are and . I'd like to enable the group read those client keys, as well as the file so that I can configure a client easily. Thankfully the group can read the file, but not the client keys. The manual indeed explains that the command: Could be used to get those keys, but I'd like to use syncthing for that to automate the process even further. I got a bit lost while reading the . Specifically, I'm not sure why does always works in the following umask: I mean, ~why not~ - a solution is suggested in . A word of comment will be appreciated. cc .

Related discussion:
text: "--outfile", pubcert ) except: <del> rmtree(basedir) </del> <ins> rmtree(userdir) </ins> raise
Code change:
Package name: electrum Latest released version: 4.4.4 <!-- Search your package here: --- Current version on the unstable channel: 4.4.0 Current version on the stable/release channel: 4.4.0 <!-- 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. Reporters Note: Tried the update locally and got the error Looking at the diff on the electrum github I see the substituteInPlace pattern will no longer match: In:
PR in

Related discussion:
text: }: let <del> version = "4.4.0"; </del> <ins> version = "4.4.4"; </ins> libsecp256k1_name = <del> if stdenv.isLinux then "libsecp256k1.so.0" else if stdenv.isDarwin then "libsecp256k1.0.dylib" </del> <ins> if stdenv.isLinux then "libsecp256k1.so.{v}" else if stdenv.isDarwin then "libsecp256k1.{v}.dylib" </ins> else "libsecp256k1${stdenv.hostPlatform.extensions.sharedLibrary}"; libzbar_name =
Code change:
Package name: electrum Latest released version: 4.4.4 <!-- Search your package here: --- Current version on the unstable channel: 4.4.0 Current version on the stable/release channel: 4.4.0 <!-- 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. Reporters Note: Tried the update locally and got the error Looking at the diff on the electrum github I see the substituteInPlace pattern will no longer match: In:
PR in

Related discussion:
text: owner = "spesmilo"; repo = "electrum"; rev = version; <del> sha256 = "sha256-lXMz0U7zgtCApBCGZcpOHvLcyOeGG0yJE/gr7Gv+yBQ="; </del> <ins> sha256 = "sha256-R5jFxqaKnqQ+WNp4l0u34wMFxlbIsQ+9qDQxiQEu6kM="; </ins> postFetch = '' mv $out ./all
Code change:
Package name: electrum Latest released version: 4.4.4 <!-- Search your package here: --- Current version on the unstable channel: 4.4.0 Current version on the stable/release channel: 4.4.0 <!-- 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. Reporters Note: Tried the update locally and got the error Looking at the diff on the electrum github I see the substituteInPlace pattern will no longer match: In:
PR in

Related discussion:
text: src = fetchurl { url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz"; <del> sha256 = "sha256-SHV+fCDhfgIh7s8L7eDbKj8bkHSVm7J2PPQ4CQpp6cI="; </del> <ins> sha256 = "sha256-a0In9PARV3xSJCXggKicgmBBWjiUxGF/LbP4jLZTvxc="; </ins> }; postUnpack = ''
Code change:
Hello I was trying to review just now the source code that 'rstudioWrapper' uses. When I hit source from nixos-search I was redirected to this link However after checking in , I noticed that the expression that runs 'rstudioWrapper' is this one I'm not sure why this is happening, nor if the report should be here or in nixpkgs. In case I made a mistake, I would appreciate if you let me know so I can open another report. Thank you very much for nixos-search, I can't imagine the Nix experience without this amazing search engine.
This is indeed a nixpkgs issue as nixos-search just links to . The default position is determined by , so things like usually get their position reported at the definition of rather than at its call site. Maybe that could be fixed by making use the position of one of its arguments, but I don't think there's anything to be done in the case where the second argument is empty ().
Oh, that was fast. Thanks for your help! I stay tuned if I can/should do anything.
Hello again! I'm just seeing that your PR has already been merged. Do you agree if we close this issue, or is there anything left? nix-search unstable already perfectly references rStudioWrapper! Thank you very much for your help.
This is probably not completely solved yet (uses of without arguments would still have incorrect position information) but there's nothing actionable left to do so we might as well close it.

Related discussion:
text: inherit buildCommand name; passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or []); <ins> } // lib.optionalAttrs (! derivationArgs?meta) { </ins> pos = let args = builtins.attrNames derivationArgs; in if builtins.length args > 0 then builtins.unsafeGetAttrPos (builtins.head args) derivationArgs
Code change:
As a newcomer to nixpkgs and MacOS user I've followed manual how to install . Unfortunately second command in tutorial which is supposed to list available Haskell packages fails to execute: This was broken by refactoring done by in the commit: Run command on MacOS. System: OS X 10.11.5 / Darwin 15.5.0 Nix version: 1.11.7 Nixpkgs version: 17.09pre102737.

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:
As a newcomer to nixpkgs and MacOS user I've followed manual how to install . Unfortunately second command in tutorial which is supposed to list available Haskell packages fails to execute: This was broken by refactoring done by in the commit: Run command on MacOS. System: OS X 10.11.5 / Darwin 15.5.0 Nix version: 1.11.7 Nixpkgs version: 17.09pre102737.

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>
Code change:
As a newcomer to nixpkgs and MacOS user I've followed manual how to install . Unfortunately second command in tutorial which is supposed to list available Haskell packages fails to execute: This was broken by refactoring done by in the commit: Run command on MacOS. System: OS X 10.11.5 / Darwin 15.5.0 Nix version: 1.11.7 Nixpkgs version: 17.09pre102737.

Related discussion:
text: {stdenv, fetchurl, yacc, flex, pkgconfig, glib, xz}: stdenv.mkDerivation rec { <del> name = "vala-0.14.2"; </del> <ins> version = "0.17.2"; name = "vala-${version}"; </ins> src = fetchurl { <del> url = mirror://gnome/sources/vala/0.14/vala-0.14.2.tar.xz; sha256 = "1l5kllw9vpwv24lzv9fp64l3sad46wpxgvsgryrwlrjg91w6jzl0"; </del> <ins> url = "mirror://gnome/sources/vala/0.17/${name}.tar.xz"; sha256 = "09i2s0dwmrk147ind2dx7nq845g12fp6fsjqrphhrr0dbi0zzgh3"; </ins> }; buildNativeInputs = [ yacc flex pkgconfig xz ];
Code change:
As a newcomer to nixpkgs and MacOS user I've followed manual how to install . Unfortunately second command in tutorial which is supposed to list available Haskell packages fails to execute: This was broken by refactoring done by in the commit: Run command on MacOS. System: OS X 10.11.5 / Darwin 15.5.0 Nix version: 1.11.7 Nixpkgs version: 17.09pre102737.

Related discussion:
text: meta = { description = "Compiler for the GObject type system"; homepage = "http://live.gnome.org/Vala"; <ins> license = "free-copyleft"; platforms = stdenv.lib.platforms.all; maintainers = [ stdenv.lib.maintainers.antono ]; </ins> }; }
Code change:
As a newcomer to nixpkgs and MacOS user I've followed manual how to install . Unfortunately second command in tutorial which is supposed to list available Haskell packages fails to execute: This was broken by refactoring done by in the commit: Run command on MacOS. System: OS X 10.11.5 / Darwin 15.5.0 Nix version: 1.11.7 Nixpkgs version: 17.09pre102737.

Related discussion:
text: urweb = callPackage ../development/compilers/urweb { }; <del> vala = callPackage ../development/compilers/vala { }; </del> <ins> vala = vala17; vala15 = callPackage ../development/compilers/vala/15.2.nix { }; vala16 = callPackage ../development/compilers/vala/16.1.nix { }; vala17 = callPackage ../development/compilers/vala/default.nix { }; </ins> visualcpp = callPackage ../development/compilers/visual-c++ { };
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> { stdenv, fetchzip, applyPatches, ... }: </del> <ins> { stdenv, fetchzip, applyPatches, lib, ... }: </ins> { url , sha256 <ins> , appName ? null , appVersion ? null , license </ins> , patches ? [ ] <del> , name ? null , version ? null </del> <ins> , description ? null , homepage ? null </ins> }: <del> if name != null || version != null then throw '' `pkgs.fetchNextcloudApp` has been changed to use `fetchzip`. To update, please * remove `name`/`version` * update the hash '' else applyPatches { </del> <ins> applyPatches ({ </ins> inherit patches; src = fetchzip { inherit url sha256;
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: fi popd &>/dev/null ''; <ins> meta = { license = lib.licenses.${license}; longDescription = description; inherit homepage; } // lib.optionalAttrs (description != null) { longDescription = description; } // lib.optionalAttrs (homepage != null) { inherit homepage; }; </ins> }; <del> } </del> <ins> } // lib.optionalAttrs (appName != null && appVersion != null) { name = "nextcloud-app-${appName}-${appVersion}"; }) </ins>
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: ) + "-patched" , patches   ? [] , postPatch ? "" <del> }: stdenvNoCC.mkDerivation { </del> <ins> , ... }@args: stdenvNoCC.mkDerivation { </ins> inherit name src patches postPatch; preferLocalBuild = true; allowSubstitutes = false; phases = "unpackPhase patchPhase installPhase"; installPhase = "cp -R ./ $out"; <del> }; </del> <ins> } # Carry `meta` information from the underlying `src` if present. // (optionalAttrs (src?meta) { inherit (src) meta; }) // (removeAttrs args [ "src" "name" "patches" "postPatch" ]); </ins> /* An immutable file in the store with a length of 0 bytes. */ emptyFile = runCommand "empty-file" {
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: "sha256": "1kdpma5f3rb9g29j364lqv6bkar5qgwlvcxmhpmzllwlkmjpc9w8", "url": "https://github.com/nextcloud/bookmarks/releases/download/v12.1.0/bookmarks-12.1.0.tar.gz", "version": "12.1.0", <del> "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> "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: ] }, "onlyoffice": { <del> "sha256": "10axh9a4w8y3iw95xdjn4q8wjg5459dki42xb6cax5ikimyfv07j", "url": "https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v7.8.0/onlyoffice.tar.gz", "version": "7.8.0", </del> <ins> "sha256": "12hzmngps86ha4lcfwaf62svfz41aywykq0z419r644g5i4v7raq", "url": "https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v7.9.0/onlyoffice.tar.gz", "version": "7.9.0", </ins> "description": "ONLYOFFICE connector allows you to view, edit and collaborate on text documents, spreadsheets and presentations within Nextcloud using ONLYOFFICE Docs. This will create a new Edit in ONLYOFFICE action within the document library for Office documents. This allows multiple users to co-author documents in real time from the familiar web interface and save the changes back to your file storage.", "homepage": "https://www.onlyoffice.com", "licenses": [