Question:
If you want root access to an NFS share secured with Kerberos, you need to modify the default . Currently, I override the source, because NixOS has no options to modify : The text is mostly copied from the default NixOS . The only changes are This solution is brittle, and requires manual intervention if the default ever changes. I'm not sure exactly what the NixOS options should look like, but there should be mechanisms to modify in NixOS. system: host os: multi-user?: sandbox: version: channels(root): nixpkgs:
what about an option like so you can easily override/append values as you see fit?
That looks great. I'm a big fan of RFC 42 :) Just one question though. Can you remove an option, such as ?
Good question. can we bug you for some advice on how you can remove values from a option?
There's nothing builtin for that. The best that can be done is to just filter out values during string generation. Though in INI's case, is also a valid value in INI files, so that might not be a great idea. There is that adds a way to "unset" values, though I haven't looked into it much.
Thanks for mentioning without the ability to remove values would this not work?
I did a double-check on , and it looks like and are actually separate, but related. defaults to the value of . Also, the default value of is already , so removing it in my configuration had no effect. On that note, we may consider removing , as that is already the default. Regardless, your RFC 42 solution should work, even without the ability to remove values.
are you interested in opening a PR? Feel free to use the branch I posted.
I can open a pull request. Just one question: is there a reason the option and variables are called instead of ?
Typo
pull request is up. I fixed the typo and a syntax error.

rpcMountpoint = "${nfsStateDir}/rpc_pipefs"; <del> idmapdConfFile = pkgs.writeText "idmapd.conf" '' [General] Pipefs-Directory = ${rpcMountpoint} ${optionalString (config.networking.domain != null) "Domain = ${config.networking.domain}"} [Mapping] Nobody-User = nobody Nobody-Group = nogroup [Translation] Method = nsswitch ''; </del> <ins> format = pkgs.formats.ini {}; idmapdConfFile = format.generate "idmapd.conf" cfg.idmapd.settings; </ins> nfsConfFile = pkgs.writeText "nfs.conf" cfg.extraConfig; requestKeyConfFile = pkgs.writeText "request-key.conf" '' create id_resolver * * ${pkgs.nfs-utils}/bin/nfsidmap -t 600 %k %d


Question:
If you want root access to an NFS share secured with Kerberos, you need to modify the default . Currently, I override the source, because NixOS has no options to modify : The text is mostly copied from the default NixOS . The only changes are This solution is brittle, and requires manual intervention if the default ever changes. I'm not sure exactly what the NixOS options should look like, but there should be mechanisms to modify in NixOS. system: host os: multi-user?: sandbox: version: channels(root): nixpkgs:
what about an option like so you can easily override/append values as you see fit?
That looks great. I'm a big fan of RFC 42 :) Just one question though. Can you remove an option, such as ?
Good question. can we bug you for some advice on how you can remove values from a option?
There's nothing builtin for that. The best that can be done is to just filter out values during string generation. Though in INI's case, is also a valid value in INI files, so that might not be a great idea. There is that adds a way to "unset" values, though I haven't looked into it much.
Thanks for mentioning without the ability to remove values would this not work?
I did a double-check on , and it looks like and are actually separate, but related. defaults to the value of . Also, the default value of is already , so removing it in my configuration had no effect. On that note, we may consider removing , as that is already the default. Regardless, your RFC 42 solution should work, even without the ability to remove values.
are you interested in opening a PR? Feel free to use the branch I posted.
I can open a pull request. Just one question: is there a reason the option and variables are called instead of ?
Typo
pull request is up. I fixed the typo and a syntax error.

options = { services.nfs = { <ins> idmapd.settings = mkOption { type = format.type; default = {}; description = '' libnfsidmap configuration. Refer to <link xlink:href="https://linux.die.net/man/5/idmapd.conf"/> for details. ''; example = literalExample '' { Translation = { GSS-Methods = "static,nsswitch"; }; Static = { "root/hostname.domain.com@REALM.COM" = "root"; }; } ''; }; </ins> extraConfig = mkOption { type = types.lines; default = "";


Question:
If you want root access to an NFS share secured with Kerberos, you need to modify the default . Currently, I override the source, because NixOS has no options to modify : The text is mostly copied from the default NixOS . The only changes are This solution is brittle, and requires manual intervention if the default ever changes. I'm not sure exactly what the NixOS options should look like, but there should be mechanisms to modify in NixOS. system: host os: multi-user?: sandbox: version: channels(root): nixpkgs:
what about an option like so you can easily override/append values as you see fit?
That looks great. I'm a big fan of RFC 42 :) Just one question though. Can you remove an option, such as ?
Good question. can we bug you for some advice on how you can remove values from a option?
There's nothing builtin for that. The best that can be done is to just filter out values during string generation. Though in INI's case, is also a valid value in INI files, so that might not be a great idea. There is that adds a way to "unset" values, though I haven't looked into it much.
Thanks for mentioning without the ability to remove values would this not work?
I did a double-check on , and it looks like and are actually separate, but related. defaults to the value of . Also, the default value of is already , so removing it in my configuration had no effect. On that note, we may consider removing , as that is already the default. Regardless, your RFC 42 solution should work, even without the ability to remove values.
are you interested in opening a PR? Feel free to use the branch I posted.
I can open a pull request. Just one question: is there a reason the option and variables are called instead of ?
Typo
pull request is up. I fixed the typo and a syntax error.

services.rpcbind.enable = true; <ins> services.nfs.idmapd.settings = { General = mkMerge [ { Pipefs-Directory = rpcMountpoint; } (mkIf (config.networking.domain != null) { Domain = config.networking.domain; }) ]; Mapping = { Nobody-User = "nobody"; Nobody-Group = "nogroup"; }; Translation = { Method = "nsswitch"; }; }; </ins> system.fsPackages = [ pkgs.nfs-utils ]; boot.initrd.kernelModules = mkIf inInitrd [ "nfs" ];


Question:
The package takes a long time to build the individual glyphs using . See also Other distros simply use the release tarball (e.g. AUR ) which already has the resulting 13 MB file prebuilt. Should we do this as well, given that it's a font? CC maintainer:
I'm conflicted: on one hand NixOS is a source based distribution and building from source makes it possible to apply patches and whatnot, but on the other it's just a font without any executable stuff and 1.5 hours is a lot. I guess it depends on how valuable build time is?
It seems quite common for fonts in nixpkgs to use the upstream-release-provided font files; examples I picked randomly by clicking around in : Some fonts are generated by a call to , for example , but there doesn't seem to be a requirement for that. So I propose to make one of the former category.
EDIT: confused with
Ow. Well, that's a good enough reason to switch I guess :) I'll open a pr. edit: or I could Increase the timeout :)
cc
I have a sentiment for source builds but no rational arguments. The above arguments for building from source are reasonable. We also have package for a bitmap version of the font (using build system from Noto). That artefact is not available upstream so we need to build it ourselves, unless we want to depend on Fedora.
Yeah, I'm similar (at least for fonts, outside fonts there's many rational arguments :rofl: ). And I think considering how it times out... It's the best choice for now as there's not a ton of benefit to argue. Though doesn't seem to be incredibly difficult to do :frowning_face.
I think in practice this is still not going to address the root issue that the calling of inkscape is highly inefficient. Hehe, I bet nix being content addressed would make a lot of us much happier with not having to rebuild stuff pointlessly.
I'm sorry, I confused the two packages. It's apparently the other one that's timing out on Hydra:
Even with the 5x speedup I found in it'd still take 20 minutes to build it though. If somebody goes through the effort of fixing it upstream, we may want to consider switching back to fully-from-source. But there are 1000s of open-source tasks higher than this on my list :)
Can relate. (says ever opensource contributor ever while submitting 10x README PRs in a day :grin: )

stdenv.mkDerivation rec { pname = "twemoji-color-font"; <del> version = "12.0.1"; </del> <ins> version = "13.0.1"; </ins> # We fetch the prebuilt font because building it takes 1.5 hours on hydra. # Relevant issue: https://github.com/NixOS/nixpkgs/issues/97871 src = fetchurl { url = "https://github.com/eosrei/twemoji-color-font/releases/download/v${version}/TwitterColorEmoji-SVGinOT-Linux-${version}.tar.gz"; <del> sha256 = "1kdy2k7b1k7sjp2l8g10lp2v000iwk8i3wcwgkhqfbwrrj7dg1kq"; </del> <ins> sha256 = "1mn2cb6a3v0q8i81s9a8bk49nbwxq91n6ki7827i7rhjkncb0mbn"; </ins> }; dontBuild = true;


Question:
Project description DeepSpeech is an open source Speech-To-Text engine, using a model trained by machine learning techniques based on Baidu's Deep Speech research paper. Project DeepSpeech uses Google's TensorFlow to make the implementation easier. Metadata homepage URL: source URL: license: Mozilla Public License platforms: Unsure
I already tried this with a local clone of deepspeech: But I get this error for unknown reasons:
I guess pip is searching for a python package named sox.
That one doesn't seem to be in nixpkgs, is that right?
Doesn't look like it, you might want to package that as well looks like this would need packaged as well
There is .
I marked this as stale due to inactivity. →
:(
I binary package in , which works fine for my use case (linking to it from Rust). The binary itself works fine as well

<ins> { stdenv, lib, fetchurl, autoPatchelfHook }: stdenv.mkDerivation rec { pname = "deepspeech"; version = "0.9.3"; src = fetchurl { url = "https://github.com/mozilla/DeepSpeech/releases/download/v${version}/native_client.amd64.cpu.linux.tar.xz"; sha256 = "1qy2gspprcxi76jk06ljp028xl0wkk1m3mqaxyf5qbhhfbvvpfap"; }; setSourceRoot = "sourceRoot=`pwd`"; nativeBuildInputs = [ autoPatchelfHook ]; buildInputs = [ stdenv.cc.cc.lib ]; installPhase = '' install -D deepspeech $out/bin/deepspeech install -D deepspeech.h $out/include/deepspeech.h install -D libdeepspeech.so $out/lib/libdeepspeech.so ''; meta = with lib; { homepage = https://github.com/mozilla/DeepSpeech; description = "Open source embedded (offline, on-device) speech-to-text engine, which can run in real time on broad range of devices"; license = licenses.mpl20; platforms = [ "x86_64-linux" ]; maintainers = with maintainers; [ rvolosatovs ]; }; } </ins>


Question:
Project description DeepSpeech is an open source Speech-To-Text engine, using a model trained by machine learning techniques based on Baidu's Deep Speech research paper. Project DeepSpeech uses Google's TensorFlow to make the implementation easier. Metadata homepage URL: source URL: license: Mozilla Public License platforms: Unsure
I already tried this with a local clone of deepspeech: But I get this error for unknown reasons:
I guess pip is searching for a python package named sox.
That one doesn't seem to be in nixpkgs, is that right?
Doesn't look like it, you might want to package that as well looks like this would need packaged as well
There is .
I marked this as stale due to inactivity. →
:(
I binary package in , which works fine for my use case (linking to it from Rust). The binary itself works fine as well

dbus-map = callPackage ../tools/misc/dbus-map { }; <ins> deepspeech = callPackage ../misc/deepspeech { }; </ins> dell-530cdn = callPackage ../misc/drivers/dell-530cdn {}; demjson = with python3Packages; toPythonApplication demjson;


Question: Describe the bug To Reproduce Expected behavior It should give me a shell Additional context I can fix it with which is based off 20.09-beta but I don't seem to be able to use HEAD (it breaks for another reason). Notify maintainers Metadata Maintainer information:

]; prePatch = lib.optionalString stdenv.isDarwin '' <del> substituteInPlace configure --replace "-install_name libR.dylib" "-install_name $out/lib/R/lib/libR.dylib" </del> <ins> substituteInPlace configure  --replace "-install_name libRblas.dylib" "-install_name $out/lib/R/lib/libRblas.dylib"  --replace "-install_name libRlapack.dylib" "-install_name $out/lib/R/lib/libRlapack.dylib"  --replace "-install_name libR.dylib" "-install_name $out/lib/R/lib/libR.dylib" </ins> ''; dontDisableStatic = static;