<Guest66>
Do nixpkgs patches have a merging mechanism?
<Guest66>
Given that you can specify multiple patches in a nixpkg.
<ShaRose>
I'd assume it applies them one after the other, but I haven't even looked at that stuff yet.
mexisme has joined #nixos
<Guest66>
And what if they conflict?
jluttine has quit [Ping timeout: 268 seconds]
<ShaRose>
Not sure how you think conflicting patches can be resolved automatically in a sane way
<gchristensen>
if they conflict, the first one to conflict causes the build to fail
<{^_^}>
[nixpkgs] @rencire opened pull request #69180 → nodePackages.commitlint: init at 8.1.0 → https://git.io/Je3Ns
<Guest66>
Makes sense.
<ShaRose>
On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
<ShaRose>
just because it popped into my head
mexisme has quit [Ping timeout: 276 seconds]
o1lo01ol1o has joined #nixos
liberiga has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<Guest66>
Yeah. Maybe it was a ill-posed question.
Ariakenom has quit [Quit: Leaving]
Guest66 has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @Mic92 pushed commit from @symphorien to release-19.09 « python3Packages.python-language-server: add setuptools as a dependency »: https://git.io/Je3pt
mac10688 has quit [Ping timeout: 268 seconds]
ng0_ is now known as ng0
Boubert has joined #nixos
Boubert has quit [Client Quit]
M-Gregoire49 has quit [Ping timeout: 240 seconds]
M-Gregoire49 has joined #nixos
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
<cinimod``>
I am getting error: a 'x86_64-linux' with features {kvm} is required to build '/nix/store/nkgyr8xjfpf0v1fvzdq22kqr9j1q7h2m-azure-image.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, nixos-test}
<Manu50>
may anyone help me pls ? i successfully installed nix yesterday on my pc. then i booted it and made an upgrade like it was described in the manual ... now i get an error msg when i nixos-rebuild switch for /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix
<LnL>
also note that these feature flags indicate it's a relatively heavy build, not all machines will be able to handle it
<Manu50>
the error is "value is a list while a set was expected"; the line says // { _definedNames = map (m: {inherit (m) file; names = attrNames m.config; }) configs; };
<{^_^}>
[nixpkgs] @doronbehar opened pull request #69198 → komodo-python3-dbgp: init at 11.1.1 → https://git.io/Je3hJ
<cinimod``>
LnL: I am on a linux machine: Linux sundials 5.0.0-1018-azure #19~18.04.1-Ubuntu SMP Wed Aug 21 05:13:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
<ddima>
Manu50: Could you paste the command, error and config in their entirety to some paste bin? error messages in nix can often be a bit tricky.
<pbb>
[03:27] <pbb> Any idea how I can make HDMI audio output work on a RPi3?
<justsomeguy>
How can I get man pages working? I installed man with "nix-env -i man" as root, but when I run "man zfs" it spits out what looks like binary data to pager.
<justsomeguy>
*the pager
<gyroninja>
It's a compressed version of the manpage
<LnL>
cinimod``: it's set by the requiredSystemFeatures nixos option
<cinimod``>
LnL: I commented out kvm in requiredSystemFeatures but still get the same error
<cinimod``>
Isn't the error complaining about the lack of kvm on the linux box?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Manu50>
ddima: the configuration.nix and the modules.nix ?
<clever>
cinimod``: does /dev/kvm exist?
<ddima>
Manu50: only the configs you modified, I presume modules.nix is not sth you touched.
<justsomeguy>
clever: Seems it was already installed. (The default for the documentation.* options seems to be true.) I can use man, but the pages are binary garbage.
<ddima>
aManu50: Sorry, forgot to mention, could you please run with the `--show-trace` flag as advised by the error message?
<justsomeguy>
clever: I did put documentation.man.enable = true in my configuration.nix and nixos-rebuild switch to it for safe measure, though.
<cinimod``>
I replaced kvm by kvn in requiredSystemFeatures and of course this failed to build - I then replaced kvn by the empty string and now it has built successfully
<cinimod``>
Perhaps I thought I had replaced kvm by the empty string but hadn't or that some caching was taking place (seems unlikely but maybe the hashes(?) all matched)
hyper_ch has quit [Read error: Connection reset by peer]
<dnlkrgr>
hey, nix / nixos newb here: I'm trying to add `nodejs` and node packages to my environment. After some googling I found out that I just need to add `pkgs.nodejs` and `pkgs.nodePackages.<pkg_name>` to my build inputs of my nix file. But I'm getting an `attribute missing` message. How and where can I see what node packages are available? And if the
<dnlkrgr>
packages aren't available, what other options do I have to add node packages to my environment?
hyper_ch has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<abbradar[m]>
yorick: hm, no idea for now. I want to grep udev's source code, maybe there are some clues (not @ home now). did you post an issue already?
nikola_i has quit [Max SendQ exceeded]
<Huw28>
Seems to have been it
<Huw28>
Thanks
nikola_i has joined #nixos
Ariakenom has joined #nixos
<yorick>
abbradar[m]: no yet, should I post it to nixos/systemd?
<alexarice[m]>
I just tried to update and got a warning about using zfs with linux 5.3. However I wasn't aware I was using zfs, how can I debug this?
<yorick>
alexarice[m]: fixed in master
<alexarice[m]>
ah
<alexarice[m]>
guess I'll wait a bit then
<alexarice[m]>
thanks
<abbradar[m]>
yorick: no idea now, let's do nixos/nixpkgs - maybe something in our configuration is broken
<abbradar[m]>
I don't see any changes in systemd newer than sep4 (CVE fix)
<abbradar[m]>
I'd bet on configuration or dependency issues
Huw28 has quit [Remote host closed the connection]
<hyperfekt>
Phillemann: Generally patchelf is preferred, but makeWrapper will work and will also allow you to prefix the library paths instead of replacing them.
ng0 has quit [Quit: Alexa, when is the end of world?]
<Phillemann>
patchelf seems a bit strange, doesn't it? Since I'm compiling the software myself, can't I patch the dlopen call?
xkapastel has joined #nixos
cinimod`` has joined #nixos
<hyperfekt>
Phillemann: I mean if you want to write a patch for the software to not use dlopen you can definitely do that. But since you were asking for makeWrapper I assumed you wanted to avoid that.
<Phillemann>
Nah, I'm totally open to doing that :D Sorry if I led you down the wrong path.
<Phillemann>
Okay, setting dlopenPropagatedBuildInputs = [ libGL ] didn't help at all apparently.
<cinimod``>
Hmmm - nixos seems to be building tensorflow from scratch
<cinimod``>
Maybe that's to be expected
<{^_^}>
[nixpkgs] @Lassulus opened pull request #69214 → iso-image: add loopback.cfg support to boot iso from grub → https://git.io/JesJo
M-Gregoire49 has joined #nixos
<hyperfekt>
Phillemann: Well, if I got right where you saw anme that it's just defined in a let and later used with patchelf. You cargo-culted a little bit there :b
<hyperfekt>
cinimod``: It's probably pulling in an unfree dependency the way you're using it?
<Phillemann>
Okay, sed-patching dlopen worked perfectly.
<Phillemann>
Now, do I make this an official package...Hm.
<qyliss>
is there any reason not to?
<Phillemann>
Well...probably not. Okay, I'm on it.
gnidorah has quit [Quit: Connection closed for inactivity]
<hyperfekt>
Phillemann: If you feel there's not likely to be other users or that you won't be able / willing to maintain it to a standard appropriate for nixpkgs you can also add it to the Nix User Repository. Not saying it shouldn't go in nixpkgs, just for future reference.
<Phillemann>
Okay, seems like a good rule of thumb.
nikola_ has quit [Ping timeout: 264 seconds]
werner291 has quit [Remote host closed the connection]
ris has joined #nixos
<cinimod``>
hyperfekt: yes an unfree dependency
<cinimod``>
Sadly I have built it on a VM without CUDA - I don't know if I can dynamically add CUDA or if I have to create a new VM - we shall see
werner291 has joined #nixos
orivej has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
zaeph has joined #nixos
<{^_^}>
[nixpkgs] @worldofpeace merged pull request #69143 → kexi: patch error due to Qt 5.13 → https://git.io/Je36e
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JesUv
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @Taneb to release-19.09 « kexi: patch error due to Qt 5.13 »: https://git.io/JesUU
<jb55>
I'm new to docker stuff on nixos, is this supposed to happen? for some reason I have no dns when doing docker build? https://jb55.com/s/5b14ab1026c0fd9d.txt anyone else run into this?
<qyliss>
Are you running docker build directly from a shell, or through something else?
fendor_ has quit [Ping timeout: 240 seconds]
<JaakkoLuttinen[m>
How can I put ${foo} into a string without making nix computing it but just leaving those characters as they were..
iqubic` has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
iqubic has joined #nixos
<JaakkoLuttinen[m>
I need strings like "foo = ${bar}" for INI files without nix converting that in any way..
<JaakkoLuttinen[m>
i tried "$${foo}" but that stays as such, with two dollar signs..
<mgdm>
does \${foo} work? (I don't know but that's what I'd try next)
<JaakkoLuttinen[m>
mgdm: thanks, that worked!
<MichaelRaskin>
Note that in two-single-quotes-delimited strings you escape with '' again: '' a = ''${b} ''
<mgdm>
MichaelRaskin: good to know, thanks!
<mgdm>
JaakkoLuttinen[m: \o/
<jb55>
qyliss: not sure what you mean, just doing it directly with `docker build .`
alex`` has quit [Ping timeout: 240 seconds]
alex`` has joined #nixos
<{^_^}>
[nixpkgs] @bdesham opened pull request #69215 → haskellPackages.pinboard-notes-backup: mark not broken → https://git.io/JesUR
iqubic` has joined #nixos
t58 has joined #nixos
iqubic has quit [Ping timeout: 264 seconds]
palo1 has joined #nixos
<{^_^}>
[nixpkgs] @pmiddend opened pull request #69216 → quake3e: init at 2019-09-09 → https://git.io/JesU2
<{^_^}>
[nixpkgs] @zimbatm pushed commit from @simonchatts to master « Fix Python 3 support for pythonPackages.ncclient (#68226) »: https://git.io/JesTk
rsoeldner has joined #nixos
<{^_^}>
[nixpkgs] @peti merged pull request #69215 → haskellPackages.pinboard-notes-backup: mark not broken → https://git.io/JesUR
<{^_^}>
[nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JesTI
bhipple has quit [Quit: Lost terminal]
zacts has joined #nixos
<{^_^}>
[nixpkgs] @rileyinman opened pull request #69219 → iosevka: Simplify custom build process → https://git.io/JesTm
<Shell>
hey, I wonder whether NixOS supports the x32 abi?
<alexarice[m]>
I assume nix-locate doesn't scan non-free packages
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<LnL>
it depends on hydra build results, which can't build unfree stuff
Arahael has quit [Ping timeout: 276 seconds]
kleisli has quit [Ping timeout: 276 seconds]
<alexarice[m]>
tilpner: any idea how to get libsteam_api in there?
sonercirit[m] has joined #nixos
ddellaco1 has quit [Ping timeout: 245 seconds]
<sonercirit[m]>
do you guys know how to boot into an older generation on a vps? currently trying to select a vps but not sure which ones support this or how does it work in general in remote servers
zaeph has quit [Quit: zaeph]
iqubic has joined #nixos
zaeph has joined #nixos
<tilpner>
sonercirit[m]: Hetzner Cloud has a web thing that allows you to see grub, which you can use to select an olde rgen
<sonercirit[m]>
tilpner: ty :)
<tilpner>
sonercirit[m]: If you have a shell (even recovery, with more effort) you can also change the default generation to boot
<sonercirit[m]>
tilpner: I was thinking about scenarios where I won't be able to ssh under any condition
<tilpner>
sonercirit[m]: Shell is not always ssh
<sonercirit[m]>
tilpner: I see what you mean :) thanks, I'll keep that in mind
<ddima>
many expose IPMI / similar in various ways - sometimes via web-interface, sometimes via horrid java applet *cough*
<ddima>
should be easy enough to find out in the docs before booking
gnidorah has quit [Quit: Connection closed for inactivity]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<colemickens>
Is there a service I should be running that would switch between 'powersave' and 'performance' governors depending on if I have power plugged in?
<colemickens>
I thought TLP should do it, but it doesn't, my laptop is always on performance, it seems.
polman has quit [Ping timeout: 240 seconds]
<ddima>
colemickens: do you have `CPU_SCALING_GOVERNOR_ON_BAT` set in tlp.extraConfig?
<ivan>
# man lsof
<ivan>
/run/current-system/sw/bin/man: can't open /run/current-system/sw/share/man/./version: No such file or directory
<colemickens>
ddima, no but it sounds like I should?
<ivan>
tilpner: thanks, I'm going to copy that over to the issue I filed
<tilpner>
ivan: Curiously, this does work: man ${lsof}/share/man/man8/lsof.8.gz
<colemickens>
ddima okay thanks. I'm just trying to figure out what is setting it now, as it seems like its set to something more power hungry than the usual kernel defaults.
mexisme has joined #nixos
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to release-19.09: https://git.io/JesLI
mexisme has quit [Ping timeout: 276 seconds]
shibboleth has joined #nixos
<DigitalKiwi>
on nixops page it says that currently only create and destroy of droplets is supported on digitalocean, what are the things nixops can't do ?
werner291 has quit [Ping timeout: 265 seconds]
Czen1 is now known as Czen
zaeph has quit [Remote host closed the connection]
zaeph has joined #nixos
freehardhat has quit [Read error: Connection reset by peer]
selfsymmetric-pa has quit [Remote host closed the connection]
zaeph has quit [Quit: zaeph]
zaeph has joined #nixos
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
<{^_^}>
[nixpkgs] @marsam opened pull request #69229 → treewide: use buildGoPackage in packages which vendor dependencies → https://git.io/JesLE
selfsymmetric-pa has joined #nixos
Ariakenom has joined #nixos
Arahael has joined #nixos
Ariakenom_ has quit [Ping timeout: 265 seconds]
dansho has joined #nixos
wfranzini has quit [Remote host closed the connection]