Question:
Project description A cross platform mod loader for The Legend of Zelda: Breath of the Wild in CEMU. Metadata homepage URL: source URL: license: GPL3+ platforms: Windows, Linux
I actually have this packaged in my nur repo: , but I let it go out of date for a bit. (should get back to updating that ). You can test it out with The version I packaged works really well (or at least when I was still using it ) - it was just frustrating to maintain with all the patches & new dependencies, and I decided to hold of on merging to nixpkgs for now.
Maybe should be made instead?
Please test / .

<ins> { lib , rustPlatform , fetchFromGitHub , cmake , pkg-config , wrapGAppsHook , atk , glib , gtk3-x11 }: rustPlatform.buildRustPackage rec { pname = "ukmm"; version = "0.7.1"; src = fetchFromGitHub { owner = "NiceneNerd"; repo = pname; rev = "v${version}"; sha256 = "sha256-TvRaaAVJPqvTTqs+d5d4y1KmDTvE41uP5AykLtHxD9w="; }; cargoLock = { lockFile = ./Cargo.lock; outputHashes = { "catppuccin-egui-1.0.2" = "sha256-+ILfvDgZxe/QPJuVqIbRjaHNovpRAX+ym2QZ96glb4w="; "ecolor-0.20.0" = "sha256-uTDkNRWsA1nM8Qhb0X2LjVDRuaW31vWxR8kDLL27BVE="; "egui-notify-0.4.0" = "sha256-jybtUnv9xqzulZ5nfg+T1u8iTOsPjKGVVQ7JhwbvPdU="; "egui_commonmark-0.6.0" = "sha256-hsVbtL2F+jifnzN6FgcDAVtLd1bVxTs0twn0SMvq9eU="; "egui_dock-0.2.1" = "sha256-gGIO0boXKxLu0ABDH/uJhEZEoE/ql8E65LRmr0Xhv3s="; "junction-0.2.0" = "sha256-6+pPp5wG1NoIj16Z+OvO4Pvy0jnQibn/A9cTaHAEVq4="; "msbt-0.1.1" = "sha256-PtBs60xgYrwS7yPnRzXpExwYUD3azIaqObRnnJEL5dE="; "msyt-1.2.1" = "sha256-aw5whCoQBhO0u9Fx2rTO1sRuPdGnAAlmPWv5q8CbQcI="; }; }; RUSTC_BOOTSTRAP = true; nativeBuildInputs = [ cmake pkg-config wrapGAppsHook ]; buildInputs = [ atk glib gtk3-x11 ]; cargoTestFlags = [ "--all" ]; checkFlags = [ # Requires a game dump of Breath of the Wild "--skip=gui::tasks::tests::remerge" "--skip=pack::tests::pack_mod" "--skip=project::tests::project_from_mod" "--skip=tests::read_meta" "--skip=unpack::tests::read_mod" "--skip=unpack::tests::unpack_mod" "--skip=unpack::tests::unzip_mod" # Requires Clear Camera mod "--skip=bnp::test_convert" ]; meta = with lib; { description = "A new mod manager for The Legend of Zelda: Breath of the Wild"; homepage = "https://github.com/NiceneNerd/ukmm"; changelog = "https://github.com/NiceneNerd/ukmm/blob/${src.rev}/CHANGELOG.md"; license = licenses.gpl3Plus; maintainers = with maintainers; [ kira-bruneau ]; platforms = platforms.linux; }; } </ins>


Question:
Project description A cross platform mod loader for The Legend of Zelda: Breath of the Wild in CEMU. Metadata homepage URL: source URL: license: GPL3+ platforms: Windows, Linux
I actually have this packaged in my nur repo: , but I let it go out of date for a bit. (should get back to updating that ). You can test it out with The version I packaged works really well (or at least when I was still using it ) - it was just frustrating to maintain with all the patches & new dependencies, and I decided to hold of on merging to nixpkgs for now.
Maybe should be made instead?
Please test / .

ttchat = callPackage ../tools/misc/ttchat { }; <ins> ukmm = callPackage ../tools/games/ukmm { }; </ins> unflac = callPackage ../tools/audio/unflac { }; veikk-linux-driver-gui = libsForQt5.callPackage ../tools/misc/veikk-linux-driver-gui { };


Question:
Project description Metadata homepage URL: source URL: license: MIT and Apache 2.0 platforms: linux and darwin (might also work on other platforms) Additional Notes It's worth noting that appears to be updating off the branch with a re-created tag upon each "release". It may be the case that doesn't make sense to be in right now, but perhaps folks have ideas on what it could look like to update automatically. EDIT (17 Apr 2023): I suspect the package will go in . It's also worth adding the following note from the source URL's ...
Didn't try it out myself, but this may work
I'm getting close to publishing a PR actually :) Should be up soon.
Update: adding packaging to the upstream flake may be the best idea for now. Either nixpkgs will need to support Rust-based packages with nightly toolchains (unlikely and for good reasons!) or will need to be buildable, and intentionally so, not as a hack, with stable Rust (linked issue: ). The good news is that caching solutions exist and work in should provide a good bluepoint for where to start with an upstream contribution. Full Context: Fortunately, likely will not have the same issue being included in nixpkgs, so I am authoring a PR to add reindeer (issue: ).
As of yesterday, I have a flake available on my fork that you can use to consume the binary in your downstream projects easily. For now, consider this a simple workaround. I plan on semi-regular-kinda-ish updating it and rebasing on trunk, and eventually contributing it upstream; see also Flake usage is easy. Something like the following should work where you can use or inside your flake outputs to refer to it, and you can put it in your environment, etc: You can also get a binary in your with
As of , there are now buck2 binaries, thanks to the Meta team doing releases! They can be updated every two weeks easily. So that means you don't need a Flake, cache, or any expensive build steps. Please let me know if the binary doesn't work for you; I've done some light testing on NixOS, and it seems to work fine in a normal environment; if things are broken somehow, we can pull it or figure something out.
Two side notes: I will probably migrate the flake to a new repository, so that I don't have to keep my main development fork clean at the moment. We can probably close this now, I think.
Thanks for the help I believe does close this issue since is now in nixpkgs. Great work and thank you again :)

"ehci_hcd" "ehci_pci" "ohci_hcd" <ins> "ohci_pci" </ins> "xhci_hcd" "usbhid" "hid_generic"


Question: Project description is a cargo subcommand, which shows crates info from See their for an output example. Metadata homepage URL: source URL: license: mit OR apache platforms: unix, linux, and darwin

<ins> { lib , rustPlatform , fetchFromGitLab , pkg-config , openssl , stdenv , darwin }: rustPlatform.buildRustPackage rec { pname = "cargo-info"; version = "0.7.3"; src = fetchFromGitLab { owner = "imp"; repo = "cargo-info"; rev = version; hash = "sha256-m8YytirD9JBwssZFO6oQ9TGqjqvu1GxHN3z8WKLiKd4="; }; cargoHash = "sha256-gI/DGPCVEi4Mg9nYLaPpeqpV7LBbxoLP0ditU6hPS1w="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; meta = with lib; { description = "Cargo subcommand to show crates info from crates.io"; homepage = "https://gitlab.com/imp/cargo-info"; changelog = "https://gitlab.com/imp/cargo-info/-/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ figsoda ]; }; } </ins>


Question: Project description is a cargo subcommand, which shows crates info from See their for an output example. Metadata homepage URL: source URL: license: mit OR apache platforms: unix, linux, and darwin

cargo-hf2 = callPackage ../development/tools/rust/cargo-hf2 { inherit (darwin.apple_sdk.frameworks) AppKit; }; <ins> cargo-info = callPackage ../development/tools/rust/cargo-info { }; </ins> cargo-inspect = callPackage ../development/tools/rust/cargo-inspect { inherit (darwin.apple_sdk.frameworks) Security; };


Question: Package name: gnome-obfuscate Latest released version: 0.0.9 <!-- Search your package here: --- Current version on the unstable channel: 0.0.7 Current version on the stable/release channel: 0.0.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 <!-- If the result shows no maintainers, tag the person that last updated the package. -- Note for maintainers: Please tag this issue in your PR.

{ stdenv , lib , fetchFromGitLab , gettext , meson , ninja , pkg-config <del> , python3 </del> , rustPlatform , wrapGAppsHook4 , appstream-glib , desktop-file-utils , glib , gtk4 <ins> , gdk-pixbuf </ins> , libadwaita , Foundation }: stdenv.mkDerivation rec { pname = "gnome-obfuscate"; <del> version = "0.0.7"; </del> <ins> version = "0.0.9"; </ins> src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "World"; repo = "Obfuscate"; rev = version; <del> sha256 = "sha256-jEMOg2yHi6K57XhA/7hkwwvedmikoB8pGV3ka+jixq8="; </del> <ins> hash = "sha256-aUhzact437V/bSsG2Ddu2mC03LbyXFg+hJiuGy5NQfQ="; </ins> }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; <del> sha256 = "sha256-P04BeidLXouPLzT/vsa4VC5AOENF0W4gqXqzdmRFhmE="; </del> <ins> hash = "sha256-HUQvdCmzjdmuJGDLtC/86yzbRimLzx+XbW29f+Ua48w="; </ins> }; nativeBuildInputs = [ gettext <del> glib </del> meson ninja pkg-config <del> python3 </del> rustPlatform.cargoSetupHook rustPlatform.rust.cargo rustPlatform.rust.rustc wrapGAppsHook4 <ins> appstream-glib desktop-file-utils </ins> ]; buildInputs = [ <del> appstream-glib desktop-file-utils </del> glib gtk4 <ins> gdk-pixbuf </ins> libadwaita ] ++ lib.optionals stdenv.isDarwin [ Foundation ]; <del> postPatch = '' patchShebangs build-aux/meson_post_install.py ''; </del> meta = with lib; { description = "Censor private information"; homepage = "https://gitlab.gnome.org/World/obfuscate"; license = licenses.gpl3Plus; <del> maintainers = with maintainers; [ fgaz ]; </del> platforms = platforms.all; <ins> mainProgram = "obfuscate"; maintainers = with maintainers; [ fgaz ]; </ins> }; }


Question: Project description Perhaps it would also require a module to set the correct permission for /dev/uinput? dotool reads commands from stdin and simulates keyboard and pointer events. It works everywhere on Linux, including in X11, Wayland and TTYs. <!-- Describe the project a little: --Metadata homepage URL: source URL: license: GPLv3 platforms: unix, linux dotool requires permission to to create the virtual input devices, and a udev rule grants this to users in group input. You could try: echo type hello | dotool and if need be, you can run: sudo groupadd -f input sudo usermod -a -G input $USER and re-login and trigger the udev rule or just reboot. See , but this greets the world: echo 'type Sup, Lads!' | dotool and this screams for three seconds: { echo keydown A; sleep 3; echo key H shift+1; } | dotool There is an initial delay registering the virtual devices, but you can keep writing commands to the same instance or use the daemon and client, and . dotoold & echo type super | dotoolc echo type speedy | dotoolc dotool will produce gobbledygook if your environment has assigned it a different keyboard layout than it's simulating keycodes for. You can match them up with the environment variables and . echo type azerty | DOTOOLXKBLAYOUT=fr dotool dotool was written for , which has a you're welcome to join. You can also send questions, thoughts or patches by composing an email to .

<ins> { lib , buildGoModule , fetchFromSourcehut , libxkbcommon , pkg-config }: buildGoModule rec { pname = "dotool"; version = "1.3"; src = fetchFromSourcehut { owner = "~geb"; repo = "dotool"; rev = version; hash = "sha256-z0fQ+qenHjtoriYSD2sOjEvfLVtZcMJbvnjKZFRSsMA="; }; vendorHash = "sha256-v0uoG9mNaemzhQAiG85RequGjkSllPd4UK2SrLjfm7A="; # uses nix store path for the dotool binary # also replaces /bin/echo with echo patches = [ ./fix-paths.patch ]; postPatch = '' substituteInPlace ./dotoold --replace "@dotool@" "$out/bin/dotool" ''; buildInputs = [ libxkbcommon ]; nativeBuildInputs = [ pkg-config ]; ldflags = [ "-s" "-w" "-X main.Version=${version}" ]; postInstall = '' mkdir -p $out/bin cp ./dotoold ./dotoolc $out/bin ''; meta = with lib; { description = "Command to simulate input anywhere"; homepage = "https://git.sr.ht/~geb/dotool"; changelog = "https://git.sr.ht/~geb/dotool/tree/${version}/item/CHANGELOG.md"; license = licenses.gpl3Only; maintainers = with maintainers; [ dit7ya ]; }; } </ins>


Question: Project description Perhaps it would also require a module to set the correct permission for /dev/uinput? dotool reads commands from stdin and simulates keyboard and pointer events. It works everywhere on Linux, including in X11, Wayland and TTYs. <!-- Describe the project a little: --Metadata homepage URL: source URL: license: GPLv3 platforms: unix, linux dotool requires permission to to create the virtual input devices, and a udev rule grants this to users in group input. You could try: echo type hello | dotool and if need be, you can run: sudo groupadd -f input sudo usermod -a -G input $USER and re-login and trigger the udev rule or just reboot. See , but this greets the world: echo 'type Sup, Lads!' | dotool and this screams for three seconds: { echo keydown A; sleep 3; echo key H shift+1; } | dotool There is an initial delay registering the virtual devices, but you can keep writing commands to the same instance or use the daemon and client, and . dotoold & echo type super | dotoolc echo type speedy | dotoolc dotool will produce gobbledygook if your environment has assigned it a different keyboard layout than it's simulating keycodes for. You can match them up with the environment variables and . echo type azerty | DOTOOLXKBLAYOUT=fr dotool dotool was written for , which has a you're welcome to join. You can also send questions, thoughts or patches by composing an email to .

<ins> diff --git a/dotoolc b/dotoolc index e2f7bba..6d1879e 100755 --- a/dotoolc +++ b/dotoolc @@ -7,7 +7,7 @@ is $DOTOOL_PIPE else /tmp/dotool-pipe.' >&2 fi fifo_being_read(){ -	[ -p "$1" ] && /bin/echo 1<>"$1" >"$1" +	[ -p "$1" ] && echo 1<>"$1" >"$1" } p="${DOTOOL_PIPE:-/tmp/dotool-pipe}" diff --git a/dotoold b/dotoold index d2d39a3..e46129c 100755 --- a/dotoold +++ b/dotoold @@ -7,7 +7,7 @@ for the pipe is $DOTOOL_PIPE else /tmp/dotool-pipe.' >&2 fi fifo_being_read(){ -	[ -p "$1" ] && /bin/echo 1<>"$1" >"$1" +	[ -p "$1" ] && echo 1<>"$1" >"$1" } p="${DOTOOL_PIPE:-/tmp/dotool-pipe}" @@ -20,5 +20,5 @@ fi rm -f -- "$p" || exit 1 trap 'rm -f -- "$p"; pkill -P $$; trap - EXIT; exit' EXIT INT TERM HUP mkfifo -m 660 "$p" || exit 1 -dotool <> "$p" & +@dotool@ <> "$p" & wait </ins>


Question: Project description Perhaps it would also require a module to set the correct permission for /dev/uinput? dotool reads commands from stdin and simulates keyboard and pointer events. It works everywhere on Linux, including in X11, Wayland and TTYs. <!-- Describe the project a little: --Metadata homepage URL: source URL: license: GPLv3 platforms: unix, linux dotool requires permission to to create the virtual input devices, and a udev rule grants this to users in group input. You could try: echo type hello | dotool and if need be, you can run: sudo groupadd -f input sudo usermod -a -G input $USER and re-login and trigger the udev rule or just reboot. See , but this greets the world: echo 'type Sup, Lads!' | dotool and this screams for three seconds: { echo keydown A; sleep 3; echo key H shift+1; } | dotool There is an initial delay registering the virtual devices, but you can keep writing commands to the same instance or use the daemon and client, and . dotoold & echo type super | dotoolc echo type speedy | dotoolc dotool will produce gobbledygook if your environment has assigned it a different keyboard layout than it's simulating keycodes for. You can match them up with the environment variables and . echo type azerty | DOTOOLXKBLAYOUT=fr dotool dotool was written for , which has a you're welcome to join. You can also send questions, thoughts or patches by composing an email to .

inherit (darwin.apple_sdk.frameworks) Security; }; <ins> dotool = callPackage ../tools/dotool { }; </ins> inherit (ocamlPackages) dot-merlin-reader; dozenal = callPackage ../applications/misc/dozenal { };


Question:
The script defined in contains a if it does not yet exist. The file name of the disk image is stored in the bash variable which is when creating the disk image. Thus, if contains a space, the disk image creation fails. The following is an easy way to reproduce the problem under macOS with a recent nixpkgs; not sure about a Linux example, but anything that triggers a VM creation via in the current directory should do the trick. and enter a folder with a space in its name: a VM via nix, e.g., (a recent builder VM for macOS). (will ask for sudo password for key setup) image creation is triggered and fails with the following output: The builder disk image for the VM should be created and the VM should be started. (Also seems like there is a minor typo in the error message: "Disk image does not exist, …".)
Good point, can you send a PR?
Sure, here it is. As far as I could see this seems the online place in the script where the variable was not properly escaped. A quick test via from a folder containing spaces worked as expected.

${concatStringsSep " n" ([ "-f qcow2" ] ++ optional (cfg.useBootLoader && cfg.useDefaultFilesystems) "-F qcow2 -b ${systemImage}/nixos.qcow2" ++ optional (!(cfg.useBootLoader && cfg.useDefaultFilesystems)) "-o size=${toString config.virtualisation.diskSize}M" <del> ++ [ "$NIX_DISK_IMAGE" ])} </del> <ins> ++ [ ''"$NIX_DISK_IMAGE"'' ])} </ins> echo "Virtualisation disk image created." fi


Question:
Regression caused by : on non-NixOS (in my case, Ubuntu 22.04), building the formats causes the following error Steps to reproduce the behavior: nix and nixpkgs on a Ubuntu 22.04 on some custom collection of packages. : call (after adjusting , because is not currently wrapped). Whereas calling seems to work fine, thus it's really the call to that messes up things. Formats should build, of course, and there should not be any mention of the impure ! also I don't know how to fix this one! Please run and paste the result. `
Yeah, I don't think we can fix this. I suggest a revert and patch properly.
In the meanwhile, I discovered my nix install (via the Debian package) couldn't sandbox properly. After removing the Debian package and installing nixpkgs proper, I could sandbox the build and avoid the issue. So this is in part a bug of the Debian nix package (because it does not sandbox properly). My suspicions are also on the function in perl, which calls (hardcoded!). That's my current best guess as to why the impure linker is involved. Maybe the correct solution to compile perl with the correct , if that's even possible... ? In the meanwhile, if non-sandboxed builds must be supported, we should definitely revert before 23.05 branches off.
Quick note: I am fairly convinced now that is causing problem because preloading libfaketime causes a glibc conflict. We should probably patch , or , in the perl Configure script so that perl calls a nix shell. if you know the appropriate person to cc for perl stuff, please do, I don't think I can patch perl correctly on my own.
The fact that the system function executes /bin/sh is governed by glibc. I remember this was discussed before, and there were issues with hardcoding in there.
Presumably a cycling dependency bash -glibc -bash, at a minimum. The lesson: is fragile and must be handled with care. Better patch fmtutil locally, like we do for mtxrun, to add faketime in front of the format calls. (Changing the perl configuration might still be doable, though, regardless of whether it changes the behaviour of . I'll give it a try.)
This issue has been mentioned on NixOS Discourse. There might be relevant details there:

# libfaketime fixes non-determinism related to timestamps ignoring FORCE_SOURCE_DATE # we cannot fix further randomness caused by luatex; for further details, see # https://salsa.debian.org/live-team/live-build/-/blob/master/examples/hooks/reproducible/2006-reproducible-texlive-binaries-fmt-files.hook.chroot#L52 <del> FORCE_SOURCE_DATE=1 TZ= faketime -f '@1980-01-01 00:00:00 x0.001' fmtutil --sys --all | grep '^fmtutil' # too verbose </del> <ins> # note that calling faketime and fmtutil is fragile (faketime uses LD_PRELOAD, fmtutil calls /bin/sh, causing potential glibc issues on non-NixOS) # so we patch fmtutil to use faketime, rather than calling faketime fmtutil substitute "$out/bin/fmtutil" fmtutil  --replace 'my $cmdline = "$eng -ini ' 'my $cmdline = "faketime -f '"'"'@1980-01-01 00:00:00 x0.001'"'"' $eng -ini ' FORCE_SOURCE_DATE=1 TZ= perl fmtutil --sys --all | grep '^fmtutil' # too verbose </ins> #texlinks "$out/bin" && wrapBin # do we need to regenerate format links? # Disable unavailable map files


Question:
With the urxvtd service enabled on NixOS, the first instance of does not display anything, but keeps running. All following instances work as expected. This differs from the behaviour of not enabling the urxvtd service and just running manually, where everything works as expected. Set . Reboot and log in. Open a non-urxvt terminal and run from it. I'm running on XFCE with XMonad, and the problem has been reproduced on plain XMonad. System: (Gorilla) Nix version: nix-env (Nix) 1.11.6 Nixpkgs version: "" /cc
Uhm, I can't reproduce it with either bspwm or no window manager. I will try XMonad later. update: Just tested with XMonad and negative. Are you sure you don't have anything else interfering? Can you test it in a VM?
I just encountered this issue on a fresh install of . I'm also using xmonad, though it might be unrelated. On boot, shows nothing. Upon opening xterm and running urxvtc, no new window opens but nor does the command return anything; it continues to run the job. Now if I open another xterm and run again I see both a .urxvtd-wrapped and a urxvtc instance, and running urxvtc now spawns a new terminal window as expected. Earlier when I ran I got a torrent of warnings for collisions, I think between with-unicode3 and with-unicode3-with-plugins, even though I've never put the latter in my config. Don't know if it's related. I've since GC'd and cleared old profiles, and the warnings were not reproduced on my most recent . Edit: actually I got the collision warnings again, so that's still a thing.
I have had this too for a while now but I had forgotten about this issue. I couldn't figure out what's the cause. I'll try investigating some more.
Is the problem still there with 18.09?
Yes, unfortunately it's still here.
I looked at this on NixOS 18.09 under XMonad. I think the issue is that urxvtd is not compatible with socket activation. When urxvtd starts, instead of listening on the socket provided by systemd, it creates its own fresh socket file at the same path (), replacing the old one. So when you start urxvtc the first time, it hangs because it's connecting to systemd's original socket whereas urxvtd has created and bound to a different one. When you start urxvtc a second time, the issue does not occur since urxvtd is already running (urxvtd creates a new socket only once, when it starts up). To verify I used these shell commands: systemctl --user stop urxvtd.service systemctl --user start ps -ef | grep urxvtd # urxvtd is not running stat --format %i "$RXVTSOCKET" # prints the inode of the socket file urxvtc # hangs, kill it with Ctrl-C ps -ef | grep urxvtd # now urxvtd has started stat --format %i "$RXVTSOCKET" # socket inode has changed urxvtc # works as normal stat --format %i "$RXVTSOCKET" # socket inode has not changed Checking [rxvt-unicode source code][1] confirms that it intends to delete the existing file at . [1]:
I have submitted a to fix this by removing the urxvtd socket activation.
thanks for figuring this out! tiny nit-pick the link to source code is wrong.
whoops! Fixed now.

}; config = mkIf cfg.enable { <del> systemd.user = { sockets.urxvtd = { description = "socket for urxvtd, the urxvt terminal daemon"; wantedBy = [ "graphical-session.target" ]; partOf = [ "graphical-session.target" ]; socketConfig = { ListenStream = "%t/urxvtd-socket"; }; </del> <ins> systemd.user.services.urxvtd = { description = "urxvt terminal daemon"; wantedBy = [ "graphical-session.target" ]; partOf = [ "graphical-session.target" ]; path = [ pkgs.xsel ]; serviceConfig = { ExecStart = "${pkgs.rxvt_unicode-with-plugins}/bin/urxvtd -o"; Environment = "RXVT_SOCKET=%t/urxvtd-socket"; Restart = "on-failure"; RestartSec = "5s"; </ins> }; <del> services.urxvtd = { description = "urxvt terminal daemon"; path = [ pkgs.xsel ]; serviceConfig = { ExecStart = "${pkgs.rxvt_unicode-with-plugins}/bin/urxvtd -o"; Environment = "RXVT_SOCKET=%t/urxvtd-socket"; Restart = "on-failure"; RestartSec = "5s"; }; }; </del> }; environment.systemPackages = [ pkgs.rxvt_unicode-with-plugins ];


Question:
Package name: swayfx Latest released version: 0.3 <!-- Search your package here: --- Current version on the unstable channel: 0.2 Current version on the stable/release channel: not packaged <!-- 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.
c.f.

sway-unwrapped.overrideAttrs (oldAttrs: rec { pname = "swayfx"; <del> version = "0.2"; </del> <ins> version = "0.3"; </ins> src = fetchFromGitHub { owner = "WillPower3309"; repo = "swayfx"; rev = version; <del> sha256 = "sha256-nVy7GdAnheWhjevcCPE407xWSLN8F4Le0uq2RDwv/Zc="; </del> <ins> sha256 = "sha256-3Odyeb10AGbNf6TI1W79sLiwB4PrszC5VzjCr7FuPz4="; </ins> }; <ins> # This patch was backported into SwayFX # remove when next release is rebased on Sway 1.9 patches = let removePatches = [ "LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM.patch" ]; in builtins.filter (patch: !builtins.elem (patch.name or null) removePatches) (oldAttrs.patches or [ ]); </ins> meta = with lib; { <del> description = "A Beautiful Sway Fork"; </del> <ins> description = "Sway, but with eye candy!"; </ins> homepage = "https://github.com/WillPower3309/swayfx"; maintainers = with maintainers; [ ricarch97 ]; license = licenses.mit;


Question: NetworkMiner NetworkMiner is an network forensics tool that extracts artifacts, such as files, images, emails and passwords, from captured network traffic in PCAP files. NetworkMiner can also be used to capture live network traffic by sniffing a network interface. Detailed information about each IP address in the analyzed network traffic is aggregated to a network host inventory, which can be used for passive asset discovery as well as to get an overview of which devices that are communicating. NetworkMiner is primarily designed to run in Windows, but can also be used in . Metadata homepage URL: source URL: platforms: linux

<ins> { lib , buildDotnetModule , fetchurl , unzip , dos2unix , makeWrapper , msbuild , mono }: buildDotnetModule rec { pname = "networkminer"; version = "2.8"; src = fetchurl { # Upstream does not provide versioned releases, a mirror has been uploaded # to archive.org url = "https://archive.org/download/networkminer-${lib.replaceStrings ["."] ["-"] version}/NetworkMiner_${lib.replaceStrings ["."] ["-"] version}_source.zip"; sha256 = "1n2312acq5rq0jizlcfk0crslx3wgcsd836p47nk3pnapzw0cqvv"; }; nativeBuildInputs = [ unzip dos2unix msbuild ]; patches = [ # Store application data in XDG_DATA_DIRS instead of trying to write to nix store ./xdg-dirs.patch ]; postPatch = '' # Not all files have UTF-8 BOM applied consistently find . -type f -exec dos2unix -m {} + # Embedded base64-encoded app icon in resx fails to parse. Delete it sed -zi 's|<data name="$this.Icon".*</data>||g' NetworkMiner/NamedPipeForm.resx sed -zi 's|<data name="$this.Icon".*</data>||g' NetworkMiner/UpdateCheck.resx ''; nugetDeps = ./deps.nix; buildPhase = '' runHook preBuild msbuild /p:Configuration=Release NetworkMiner.sln runHook postBuild ''; installPhase = '' runHook preInstall mkdir -p $out/bin $out/share cp -r NetworkMiner/bin/Release $out/share/NetworkMiner makeWrapper ${mono}/bin/mono $out/bin/NetworkMiner  --add-flags "$out/share/NetworkMiner/NetworkMiner.exe"  --add-flags "--noupdatecheck" install -D NetworkMiner/NetworkMiner.desktop $out/share/applications/NetworkMiner.desktop substituteInPlace $out/share/applications/NetworkMiner.desktop  --replace "Exec=mono NetworkMiner.exe %f" "Exec=NetworkMiner"  --replace "Icon=./networkminericon-96x96.png" "Icon=NetworkMiner" install -D NetworkMiner/networkminericon-96x96.png $out/share/pixmaps/NetworkMiner.png runHook postInstall ''; meta = with lib; { description = "The Open Source Network Forensic Analysis Tool (NFAT)"; homepage = "https://www.netresec.com/?page=NetworkMiner"; license = licenses.gpl2Only; maintainers = with maintainers; [ emilytrau ]; platforms = platforms.linux; mainProgram = "NetworkMiner"; }; } </ins>


Question: NetworkMiner NetworkMiner is an network forensics tool that extracts artifacts, such as files, images, emails and passwords, from captured network traffic in PCAP files. NetworkMiner can also be used to capture live network traffic by sniffing a network interface. Detailed information about each IP address in the analyzed network traffic is aggregated to a network host inventory, which can be used for passive asset discovery as well as to get an overview of which devices that are communicating. NetworkMiner is primarily designed to run in Windows, but can also be used in . Metadata homepage URL: source URL: platforms: linux

<ins> # This file was automatically generated by passthru.fetch-deps. # Please dont edit it manually, your changes might get overwritten! { fetchNuGet }: [ (fetchNuGet { pname = "Microsoft.NETFramework.ReferenceAssemblies"; version = "1.0.2"; sha256 = "0i42rn8xmvhn08799manpym06kpw89qy9080myyy2ngy565pqh0a"; }) (fetchNuGet { pname = "Microsoft.NETFramework.ReferenceAssemblies.net461"; version = "1.0.2"; sha256 = "0js3dp26nszx82q0phv7hmsm5z23dva7javbmk6a91lbkm07y8p2"; }) (fetchNuGet { pname = "Microsoft.NETFramework.ReferenceAssemblies.net472"; version = "1.0.2"; sha256 = "1dny43jksy6dm9zrkdm8j80gb25w6wdvjlxnphj7ngf0fbg3dd2c"; }) ] </ins>


Question: NetworkMiner NetworkMiner is an network forensics tool that extracts artifacts, such as files, images, emails and passwords, from captured network traffic in PCAP files. NetworkMiner can also be used to capture live network traffic by sniffing a network interface. Detailed information about each IP address in the analyzed network traffic is aggregated to a network host inventory, which can be used for passive asset discovery as well as to get an overview of which devices that are communicating. NetworkMiner is primarily designed to run in Windows, but can also be used in . Metadata homepage URL: source URL: platforms: linux

<ins> diff --git a/NetworkMiner/NetworkMinerForm.cs b/NetworkMiner/NetworkMinerForm.cs index 06c808b..6495b73 100644 --- a/NetworkMiner/NetworkMinerForm.cs +++ b/NetworkMiner/NetworkMinerForm.cs @@ -1,4 +1,4 @@ -//  Copyright: Erik Hjelmvik, NETRESEC +//  Copyright: Erik Hjelmvik, NETRESEC // //  NetworkMiner is free software; you can redistribute it and/or modify it //  under the terms of the GNU General Public License @@ -419,7 +419,7 @@ namespace NetworkMiner { } try { //require FileIOPermission to be PermissionState.Unrestricted -                string path = System.IO.Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath) + System.IO.Path.DirectorySeparatorChar + PacketParser.FileTransfer.FileStreamAssembler.ASSMEBLED_FILES_DIRECTORY; +                string path = System.IO.Path.GetDirectoryName(SharedUtils.XdgDirectories.GetOrCreateXdgDataHome()) + System.IO.Path.DirectorySeparatorChar + PacketParser.FileTransfer.FileStreamAssembler.ASSMEBLED_FILES_DIRECTORY; System.Security.Permissions.FileIOPermission fileIOPerm = new System.Security.Permissions.FileIOPermission(System.Security.Permissions.FileIOPermissionAccess.AllAccess, path); fileIOPerm.Demand(); } @@ -1023,13 +1023,13 @@ namespace NetworkMiner { public void CreateNewPacketHandlerWrapper(System.IO.DirectoryInfo outputDirectory) { //make sure that folders exists try { -                System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(outputDirectory.FullName + System.IO.Path.DirectorySeparatorChar + PacketParser.FileTransfer.FileStreamAssembler.ASSMEBLED_FILES_DIRECTORY); +                System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(SharedUtils.XdgDirectories.GetOrCreateXdgDataHome() + System.IO.Path.DirectorySeparatorChar + PacketParser.FileTransfer.FileStreamAssembler.ASSMEBLED_FILES_DIRECTORY); if (!di.Exists) di.Create(); -                di = new System.IO.DirectoryInfo(outputDirectory.FullName + System.IO.Path.DirectorySeparatorChar + PacketParser.FileTransfer.FileStreamAssembler.ASSMEBLED_FILES_DIRECTORY + System.IO.Path.DirectorySeparatorChar + "cache"); +                di = new System.IO.DirectoryInfo(SharedUtils.XdgDirectories.GetOrCreateXdgDataHome() + System.IO.Path.DirectorySeparatorChar + PacketParser.FileTransfer.FileStreamAssembler.ASSMEBLED_FILES_DIRECTORY + System.IO.Path.DirectorySeparatorChar + "cache"); if (!di.Exists) di.Create(); -                di = new System.IO.DirectoryInfo(outputDirectory.FullName + System.IO.Path.DirectorySeparatorChar + "Captures"); +                di = new System.IO.DirectoryInfo(SharedUtils.XdgDirectories.GetOrCreateXdgDataHome() + System.IO.Path.DirectorySeparatorChar + "Captures"); if (!di.Exists) di.Create(); } @@ -1962,7 +1962,7 @@ namespace NetworkMiner { string filename = Tools.GenerateCaptureFileName(DateTime.Now); //string filename="NM_"+DateTime.Now.ToString("s", System.Globalization.DateTimeFormatInfo.InvariantInfo).Replace(':','-')+".pcap"; -            string fileFullPath = this.OutputDirectory.FullName + "Captures" + System.IO.Path.DirectorySeparatorChar + filename; +            string fileFullPath = SharedUtils.XdgDirectories.GetOrCreateXdgDataHome() + System.IO.Path.DirectorySeparatorChar + "Captures" + System.IO.Path.DirectorySeparatorChar + filename; //string fileFullPath = System.IO.Path.GetDirectoryName(System.IO.Path.GetFullPath(System.Windows.Forms.Application.ExecutablePath)) + System.IO.Path.DirectorySeparatorChar + "Captures" + System.IO.Path.DirectorySeparatorChar + filename; //make sure to get the right datalink type @@ -2534,7 +2534,7 @@ namespace NetworkMiner { if (removeCapturedFiles) { PacketParser.FileTransfer.FileStreamAssemblerList.RemoveTempFiles(); -                string capturesDirectory = System.IO.Path.GetDirectoryName(System.IO.Path.GetFullPath(System.Windows.Forms.Application.ExecutablePath)) + System.IO.Path.DirectorySeparatorChar + "Captures"; +                string capturesDirectory = System.IO.Path.GetDirectoryName(System.IO.Path.GetFullPath(SharedUtils.XdgDirectories.GetOrCreateXdgDataHome())) + System.IO.Path.DirectorySeparatorChar + "Captures"; if (System.IO.Directory.Exists(capturesDirectory)) { foreach (string pcapFile in System.IO.Directory.GetFiles(capturesDirectory)) try { @@ -2545,7 +2545,7 @@ namespace NetworkMiner { //this.ShowAnomaly("Error deleting file "" + pcapFile + """, DateTime.Now); } } -                capturesDirectory = this.packetHandlerWrapper.PacketHandler.OutputDirectory + "Captures"; +                capturesDirectory = SharedUtils.XdgDirectories.GetOrCreateXdgDataHome() + System.IO.Path.DirectorySeparatorChar + "Captures"; if (System.IO.Directory.Exists(capturesDirectory)) { foreach (string pcapFile in System.IO.Directory.GetFiles(capturesDirectory)) try { @@ -2635,7 +2635,7 @@ namespace NetworkMiner { try { PacketParser.Utils.ByteConverter.ToByteArrayFromHexString(keyword);//to force valid hex this.keywordListBox.Items.Add(keyword); -                        //L�gg till keywordet till PacketHandler.PacketHandler!!! +                        //L�gg till keywordet till PacketHandler.PacketHandler!!! } catch (Exception ex) { errorMessage = ex.Message; @@ -2720,7 +2720,7 @@ namespace NetworkMiner { #endregion private void hostSortOrderComboBox_SelectedIndexChanged(object sender, EventArgs e) { -            //H�R SKA detailsHeader LIGGA Enabled MASSA OLIKA SORTERINGSORDNINGAR: +            //H�R SKA detailsHeader LIGGA Enabled MASSA OLIKA SORTERINGSORDNINGAR: //IP, HOTSNAME, SENT PACKETS, RECEIVED PACKETS, MAC ADDRESS this.RebuildHostsTree(sender, e); } @@ -2754,7 +2754,7 @@ namespace NetworkMiner { foreach (string p in paths) { if (!p.Contains(PacketParser.FileTransfer.FileStreamAssembler.ASSMEBLED_FILES_DIRECTORY)) return false; -                if (!this.IsSubDirectoryOf(new System.IO.DirectoryInfo(p), new System.IO.DirectoryInfo(this.packetHandlerWrapper.PacketHandler.OutputDirectory + PacketParser.FileTransfer.FileStreamAssembler.ASSMEBLED_FILES_DIRECTORY))) +                if (!this.IsSubDirectoryOf(new System.IO.DirectoryInfo(p), new System.IO.DirectoryInfo(SharedUtils.XdgDirectories.GetOrCreateXdgDataHome() + System.IO.Path.DirectorySeparatorChar + PacketParser.FileTransfer.FileStreamAssembler.ASSMEBLED_FILES_DIRECTORY))) return false; } return true; @@ -3976,7 +3976,7 @@ finally { } private void closeToolStripMenuItem_Click(object sender, EventArgs e) { -            DialogResult yesOrNo = MessageBox.Show("Would you like to delete all extracted files from:" + Environment.NewLine + this.OutputDirectory.FullName + PacketParser.FileTransfer.FileStreamAssembler.ASSMEBLED_FILES_DIRECTORY + System.IO.Path.DirectorySeparatorChar, "Delete extracted files?", MessageBoxButtons.YesNo); +            DialogResult yesOrNo = MessageBox.Show("Would you like to delete all extracted files from:" + Environment.NewLine + SharedUtils.XdgDirectories.GetOrCreateXdgDataHome() + System.IO.Path.DirectorySeparatorChar + PacketParser.FileTransfer.FileStreamAssembler.ASSMEBLED_FILES_DIRECTORY + System.IO.Path.DirectorySeparatorChar, "Delete extracted files?", MessageBoxButtons.YesNo); this.ResetCapturedData(false, yesOrNo == DialogResult.Yes, true); } diff --git a/NetworkMiner/PcapOverIP/ReceivePcapOverTcpForm.cs b/NetworkMiner/PcapOverIP/ReceivePcapOverTcpForm.cs index 9bae5f0..72586d4 100644 --- a/NetworkMiner/PcapOverIP/ReceivePcapOverTcpForm.cs +++ b/NetworkMiner/PcapOverIP/ReceivePcapOverTcpForm.cs @@ -162,7 +162,7 @@ namespace NetworkMiner.PcapOverIP { DateTime lastFrameTimestamp = DateTime.MinValue; string filename = Tools.GenerateCaptureFileName(DateTime.Now); -            string fileFullPath = this.packetHandler.OutputDirectory + "Captures" + System.IO.Path.DirectorySeparatorChar + filename; +            string fileFullPath = SharedUtils.XdgDirectories.GetOrCreateXdgDataHome() + System.IO.Path.DirectorySeparatorChar + "Captures" + System.IO.Path.DirectorySeparatorChar + filename; //string fileFullPath = System.IO.Path.GetDirectoryName(System.IO.Path.GetFullPath(System.Windows.Forms.Application.ExecutablePath)) + System.IO.Path.DirectorySeparatorChar + "Captures" + System.IO.Path.DirectorySeparatorChar + filename; PcapFileWriter pcapFileWriter = new PcapFileWriter(fileFullPath, this.pcapStreamReader.FileDataLinkType[0]); diff --git a/PacketParser/FileTransfer/FileStreamAssemblerList.cs b/PacketParser/FileTransfer/FileStreamAssemblerList.cs index 4a6a4dd..129d48b 100644 --- a/PacketParser/FileTransfer/FileStreamAssemblerList.cs +++ b/PacketParser/FileTransfer/FileStreamAssemblerList.cs @@ -191,7 +191,7 @@ namespace PacketParser.FileTransfer { if (removeExtractedFilesFromDisk) { //remove all files foreach (string subDirectory in System.IO.Directory.GetDirectories(this.FileOutputDirectory)) { -                    if (subDirectory == this.FileOutputDirectory + System.IO.Path.DirectorySeparatorChar + "cache") { +                    if (subDirectory == SharedUtils.XdgDirectories.GetOrCreateXdgDataHome() + System.IO.Path.DirectorySeparatorChar + "cache") { foreach (string cacheFile in System.IO.Directory.GetFiles(subDirectory)) try { System.IO.File.Delete(cacheFile); diff --git a/PacketParser/PacketHandler.cs b/PacketParser/PacketHandler.cs index a600200..cb78071 100644 --- a/PacketParser/PacketHandler.cs +++ b/PacketParser/PacketHandler.cs @@ -1,4 +1,4 @@ -//  Copyright: Erik Hjelmvik, NETRESEC +//  Copyright: Erik Hjelmvik, NETRESEC // //  NetworkMiner is free software; you can redistribute it and/or modify it //  under the terms of the GNU General Public License @@ -228,7 +228,7 @@ namespace PacketParser { //this.networkTcpSessionDictionary=new Dictionary<int, NetworkTcpSession>(); this.networkTcpSessionList=new PopularityList<int, NetworkTcpSession>(200); this.networkTcpSessionList.PopularityLost+=new PopularityList<int, NetworkTcpSession>.PopularityLostEventHandler(networkTcpSessionList_PopularityLost); -            this.FileStreamAssemblerList = new FileTransfer.FileStreamAssemblerList(this, 100, this.OutputDirectory + PacketParser.FileTransfer.FileStreamAssembler.ASSMEBLED_FILES_DIRECTORY + System.IO.Path.DirectorySeparatorChar); +            this.FileStreamAssemblerList = new FileTransfer.FileStreamAssemblerList(this, 100, SharedUtils.XdgDirectories.GetOrCreateXdgDataHome() + System.IO.Path.DirectorySeparatorChar + PacketParser.FileTransfer.FileStreamAssembler.ASSMEBLED_FILES_DIRECTORY + System.IO.Path.DirectorySeparatorChar); this.FileStreamAssemblerList.PopularityLost += this.FileStreamAssemblerList_PopularityLost; this.ReconstructedFileList=new List<FileTransfer.ReconstructedFile>(); this.credentialList=new SortedList<string, NetworkCredential>(); @@ -874,7 +874,7 @@ namespace PacketParser { //check the frame content for keywords foreach (byte[] keyword in this.keywordList) { -                        //jAG SLUTADE H�R. FUNKAR EJ VID RELOAD +                        //jAG SLUTADE H�R. FUNKAR EJ VID RELOAD int keyIndex = receivedFrame.IndexOf(keyword); if (keyIndex >= 0) { if (networkPacket != null) diff --git a/SharedUtils/XdgDirectories.cs b/SharedUtils/XdgDirectories.cs new file mode 100644 index 0000000..80c09e3 --- /dev/null +++ b/SharedUtils/XdgDirectories.cs @@ -0,0 +1,15 @@ +using System; +using System.IO; + +namespace SharedUtils { +    public class XdgDirectories { +        public static string GetOrCreateXdgDataHome() { +            string home = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile); +            string data = Environment.GetEnvironmentVariable("XDG_DATA_HOME") ?? home + System.IO.Path.DirectorySeparatorChar + ".local" + System.IO.Path.DirectorySeparatorChar + "share"; +            string dir = data + System.IO.Path.DirectorySeparatorChar + "NetworkMiner"; +            // Directory.CreateDirectory(dir); +            return dir; +        } + +    } +} </ins>


Question: NetworkMiner NetworkMiner is an network forensics tool that extracts artifacts, such as files, images, emails and passwords, from captured network traffic in PCAP files. NetworkMiner can also be used to capture live network traffic by sniffing a network interface. Detailed information about each IP address in the analyzed network traffic is aggregated to a network host inventory, which can be used for passive asset discovery as well as to get an overview of which devices that are communicating. NetworkMiner is primarily designed to run in Windows, but can also be used in . Metadata homepage URL: source URL: platforms: linux

netsniff-ng = callPackage ../tools/networking/netsniff-ng { }; <ins> networkminer = callPackage ../tools/security/networkminer { }; </ins> nixpacks = callPackage ../applications/virtualization/nixpacks { }; nkeys = callPackage ../tools/system/nkeys { };


Question:
Builds ok on x86_64, but on aarch64-darwin it hangs every time at  Steps to reproduce the behavior: <details</detailsI'm surprised not to see other issues about this as it seems to be logic contained in a major package (pytest), so I wonder if it's a problem local to my system. I tried rerunning after and and outcome was the same. Please run and paste the result.
I can reproduce this and, in my case, it is caused by the test in pylsp-mypy. I do not yet know why.
I believe this will be fixed by I'm planning to wait a few days for a response from upstream before patching this in case the code has to change, but please feel free to pull it in earlier if you have a need.
Yes, that sounds suspicious -- I'll try to build the PR and report back.
Sure enough, that patch does the trick.

, buildPythonPackage , fetchFromGitHub , fetchpatch <ins> , setuptools </ins> , mypy , pytestCheckHook , python-lsp-server , pythonOlder <del> , toml </del> <ins> , tomli </ins> }: buildPythonPackage rec { pname = "pylsp-mypy"; <del> version = "0.6.6"; format = "setuptools"; </del> <ins> version = "0.6.7"; format = "pyproject"; </ins> disabled = pythonOlder "3.7"; src = fetchFromGitHub { <del> owner = "Richardk2n"; </del> <ins> owner = "python-lsp"; </ins> repo = "pylsp-mypy"; rev = "refs/tags/${version}"; <del> hash = "sha256-9B+GSEoQEqd1W/g0oup4xULKWOF0TgSG5DfBtyWA3vs="; </del> <ins> hash = "sha256-ZsNIw0xjxnU9Ue0C7TlhzVOCOCKEbCa2CsiiqeMb14I="; </ins> }; <ins> patches = [ # https://github.com/python-lsp/pylsp-mypy/pull/64 (fetchpatch { name = "fix-hanging-test.patch"; url = "https://github.com/python-lsp/pylsp-mypy/commit/90d28edb474135007804f1e041f88713a95736f9.patch"; hash = "sha256-3DVyUXVImRemXCuyoXlYbPJm6p8OnhBdEKmwjx88ets="; }) ]; nativeBuildInputs = [ setuptools ]; </ins> propagatedBuildInputs = [ mypy python-lsp-server <del> toml </del> <ins> ] ++ lib.optionals (pythonOlder "3.11") [ tomli </ins> ]; nativeCheckInputs = [


Question:
Builds ok on x86_64, but on aarch64-darwin it hangs every time at  Steps to reproduce the behavior: <details</detailsI'm surprised not to see other issues about this as it seems to be logic contained in a major package (pytest), so I wonder if it's a problem local to my system. I tried rerunning after and and outcome was the same. Please run and paste the result.
I can reproduce this and, in my case, it is caused by the test in pylsp-mypy. I do not yet know why.
I believe this will be fixed by I'm planning to wait a few days for a response from upstream before patching this in case the code has to change, but please feel free to pull it in earlier if you have a need.
Yes, that sounds suspicious -- I'll try to build the PR and report back.
Sure enough, that patch does the trick.

meta = with lib; { description = "Mypy plugin for the Python LSP Server"; <del> homepage = "https://github.com/Richardk2n/pylsp-mypy"; </del> <ins> homepage = "https://github.com/python-lsp/pylsp-mypy"; </ins> license = licenses.mit; maintainers = with maintainers; [ cpcloud ]; };


Question: 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 .

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'


Question: 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 .

""" 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 )


Question: 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 .

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),


Question: 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 .

"--outfile", pubcert ) except: <del> rmtree(basedir) </del> <ins> rmtree(userdir) </ins> raise


Question:
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

}: 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 =


Question:
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

owner = "spesmilo"; repo = "electrum"; rev = version; <del> sha256 = "sha256-lXMz0U7zgtCApBCGZcpOHvLcyOeGG0yJE/gr7Gv+yBQ="; </del> <ins> sha256 = "sha256-R5jFxqaKnqQ+WNp4l0u34wMFxlbIsQ+9qDQxiQEu6kM="; </ins> postFetch = '' mv $out ./all


Question:
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

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 = ''


Question:
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.

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


Question: 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.

<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>


Question: 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.

<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>


Question: 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.

{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 ];


Question: 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.

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> }; }


Question: 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.

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++ { };


Question:
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.

<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;


Question:
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.

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>


Question:
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.

) + "-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" {


Question:
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.

"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"


Question:
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.

] }, "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": [


Question:
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.

{ "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"


Question:
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.

] }, "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": [


Question:
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.

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: {})


Question:
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.

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


Question:
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.

<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>


Question:
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?

<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>


Question:
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. →
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 .

with lib; <ins> let cfg = config.boot; in </ins> { ###### interface


Question:
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. →
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 .

''; }; <ins> boot.tmpOnTmpfsSize = mkOption { type = types.oneOf [ types.str types.types.ints.positive ]; default = "50%"; description = '' Size of tmpfs in percentage. Percentage is defined by systemd. ''; }; </ins> }; ###### implementation config = { <del> systemd.mounts = mkIf config.boot.tmpOnTmpfs [ </del> <ins> # When changing remember to update /tmp mount in virtualisation/qemu-vm.nix systemd.mounts = mkIf cfg.tmpOnTmpfs [ </ins> { what = "tmpfs"; where = "/tmp"; type = "tmpfs"; <del> mountConfig.Options = [ "mode=1777" "strictatime" "rw" "nosuid" "nodev" "size=50%" ]; </del> <ins> mountConfig.Options = [ "mode=1777" "strictatime" "rw" "nosuid" "nodev" "size=${toString cfg.tmpOnTmpfsSize}" ]; </ins> } ];


Question:
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. →
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 .

fsType = "tmpfs"; neededForBoot = true; # Sync with systemd's tmp.mount; <del> options = [ "mode=1777" "strictatime" "nosuid" "nodev" ]; </del> <ins> options = [ "mode=1777" "strictatime" "nosuid" "nodev" "size=${toString config.boot.tmpOnTmpfsSize}" ]; </ins> }; "/tmp/xchg" = { device = "xchg";


Question: 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

, libsForQt5 , libtiff , qt6Packages <ins> , qt6 </ins> , rdma-core , ucx , rsync


Question: 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

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


Question: 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

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*"}


Question: 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

"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