andreas303 has quit [Remote host closed the connection]
andreas303 has joined #nixos
ransom has quit [Ping timeout: 240 seconds]
acarrico has joined #nixos
davidv7_ has quit [Quit: Konversation terminated!]
aswanson has quit [Ping timeout: 265 seconds]
davidv7 has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
<energizer>
I'm seeing a bunch of "patchelf: wrong ELF type" in a build log. Do I need to do something about that?
<cole-h>
Probably not. I think patchelf runs on all files that have the executable bit. Since a shell script is executable, but cannot be linked to any libraries, patchelf will fail on those, for example.
<energizer>
alright
<armin>
cole-h: wat
lsix has quit [Quit: WeeChat 2.9]
<cole-h>
Can you be more specific where your confusion lies?
<armin>
your explanation is wrong on so many levels that i lost track.
<cole-h>
Feel free to correct me.
<armin>
but let me try.
<AWizzArd>
In my fresh NixOS 20.09 install I run Gnome and have installed Slack. Slack has no icon in the system tray. Do I actually have a tray app? What should I add to my configuration.nix to have a systray in which Slack (and others) can appear?
<cole-h>
I'm just going off intuition. I'm not very knowledgable in patchelf, as you can see.
<armin>
so, why do you think a shellscript would be linked to libraries?
<cole-h>
I'm saying they can't be.
<armin>
that's just not right.
<energizer>
armin: what's the correct answer to my question?
<cole-h>
Therefore patchelf will fail on a shell script.
mallox has quit [Quit: WeeChat 3.0]
<armin>
energizer: oh, i'm sorry, i don't know, my guess is "you don't need to bother until you notice breakage", but don't quote me on that
<armin>
energizer: that could pretty well mean nothing special. it could well be that it actually tries to do something on a shell script (which i would consider a serious packaging bug, at the very minimum), it also could be that something breaks (i wouldn't think so, but i'm not sure enough to be ablet to tell you that won't happen)
<cole-h>
armin: So, from what I'm hearing, there's nothing actually wrong with my explanation? Aside from a misinterpretation on your part?
<cole-h>
Just don't want to continue spouting obviously (to some) wrong information.
<armin>
cole-h: ok then i can't help you, sorry.
<cole-h>
No worries.
rb2k has joined #nixos
<lukegb>
Wow, that conversation was confusingly hostile and conveyed no useful information :p
<Rusty1>
Oedmunston dispensary
<lcvass>
I just want to thank those who helped me with a Qt issue with python libs earlier
<{^_^}>
[nixpkgs] @jonringer pushed commit from @fabaff to master « python3Packages.discordpy: 1.5.1 -> 1.6.0 »: https://git.io/JLhD8
<ajs124>
the overrides come from the nixos options (systemd.mouts = ...). the ones that were merged in the faulty PR.
acarrico has quit [Ping timeout: 264 seconds]
<cole-h>
OH
<cole-h>
I get it now
<cole-h>
I thought 108881 removed the systemd.mounts option
<ajs124>
*mounts
<cole-h>
No, it just adds the additionalUpstreamSystemUnits
<energizer>
,locate bin/make
<cole-h>
Got it, thanks.
<{^_^}>
Found in packages: gnumake, gnumake42
<cole-h>
Then, I'm fine with either being merged. I'll leave the decision to someone else :P
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 69 commits to staging-next: https://git.io/JLhDB
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 70 commits to staging: https://git.io/JLhDR
<cole-h>
ajs124++ Thanks. I've edited my comment to link to our conversation.
<{^_^}>
ajs124's karma now has 2 digits!
hschmale has joined #nixos
<{^_^}>
[nixpkgs] @iblech opened pull request #108902 → enigma: init at 1.21 → https://git.io/JLhDg
<cole-h>
ajs124: Though if we use your PR, maybe we should get rid of the redundant options (e.g. the "what" and "where")?
hschmale has quit [Quit: WeeChat 2.9]
rb2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rajivr has joined #nixos
est31 has quit [Ping timeout: 240 seconds]
ransom_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikroskeem has joined #nixos
<ajs124>
that might not be a bad idea. then again, maybe the merging works based on any of those? I'll do some tests.
est31 has joined #nixos
<cole-h>
Well, yes I'm sure it probably works the same. It just seems useless to have something that upstream already has (e.g. we're not "overriding" the "what" and "where", but just the mount options).
<mikroskeem>
hey. i'm trying to fix up docker derivation to get 20.10 in place and tbh, i have no idea if i'm on the right path
<ajs124>
actually, why does nixos/modules/virtualisation/qemu-vm.nix have its own config.boot.tmpOnTmpfs?
<mikroskeem>
well clearly it isn't, its maintainability got just worse by 200%
davidv7 has quit [Ping timeout: 272 seconds]
<cole-h>
ajs124: I'll leave a comment on your PR about the duplicate overrides, just so people know it's been discussed if anybody has the same idea :P
<mikroskeem>
i'm kind of confused what to do - should i keep moby as a separate derivation or pack it back together like it was done previously?
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JLhyY
<mikroskeem>
in ideal i'd drop everything but 20.10 lol
<ajs124>
does 20.10 support "modern" technologies like nftables or cgroupsv2? I've had to replace docker with podman, because it doesn't have either of them.
<mikroskeem>
it supports cgroupsv2
<mikroskeem>
but not sure about nftables
<mikroskeem>
i played with 20.10 beta, i think i still have its derivation around somewhere...
<mikroskeem>
ah yeah i mentioned about it under cgroups v2 github issue
heyitsrama has quit [Remote host closed the connection]
Jd007 has quit [Quit: Jd007]
<infinisil>
l
<infinisil>
Oh, that's not the right window!
heyitsrama has joined #nixos
heyitsrama has quit [Remote host closed the connection]
<thorn_>
ive got a file ./foo.nix, its got a function in it, and i want to use it in ./bar/baz/file.nix, whats the best way to use the function? i made file.nix a recursive attrset and went foo = import ../../foo.nix, but that seems odd and i havent gotten it to evaluate, is there a better way?
<colemickens>
thorn_: import is what you want, it should be as if the contents of the file was literally placed at the right hand of the equal sign there.
marquezini has joined #nixos
<thorn_>
the contents of the file is { a, b, ...} : { blah blah blah }, and im using it by assuming the name i said was equal to the import is the name of the function
heyitsrama has quit [Remote host closed the connection]
sangoma has joined #nixos
detran has joined #nixos
m0rphism has joined #nixos
donofrio has joined #nixos
<donofrio>
need some help, how do I make a full statefull backup of a nix install on my imac?
thorn_ has quit [Remote host closed the connection]
thorn_ has joined #nixos
<thorn_>
if you know the generation path you should be able to grab the closure of it i think?
<cole-h>
Well, if you have the configuration, the whole point of Nix is that you should be able to get to the same point, no?
thorn_ is now known as jesystani
heyitsrama has joined #nixos
jesystani has quit [Remote host closed the connection]
marquezini has quit [Ping timeout: 272 seconds]
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
<donofrio>
what directory do I cp to get all of nix install copyed, I was suggested nix-copy-closure but that seems to be over networking when all I want is a local copy in case I brake something?
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tpw_rules>
donofrio: use nix copy file:///blah.blah /nix/store/hhhh-blah/
orivej has quit [Ping timeout: 240 seconds]
<tpw_rules>
of course you'll have to copy all your derivations and configuration too so you get the same hashes when you reevaluate everything
<tpw_rules>
the only thing this can do is save compilation time
<tpw_rules>
nix copy copies to a directory so you have to pack everything up. the stuff on that pages copies to one file which is easier. in neither case is anything compressed though, you'll have to run it through zstd or something
indianterrain_ has joined #nixos
indianterrain_ has quit [Remote host closed the connection]
indianterrain has quit [Client Quit]
indianterrain has joined #nixos
Xe is now known as Cadey
heyitsrama has quit [Remote host closed the connection]
<donofrio>
tpw_rules, so basically use nix-copy-closure and just use localhost ssh cause it would get the derivations and such?
<tpw_rules>
none of the commands do that
<tpw_rules>
there's no way to do that
heyitsrama has joined #nixos
<donofrio>
cp of -r /nix-path ?
<tpw_rules>
what do you hope to accomplish?
<tpw_rules>
no that doesn't work either
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
indianterrain has quit [Quit: Leaving]
spacefrogg has joined #nixos
<donofrio>
tpw_rules, full 4gb backup of my working nix install to attempt to get wget working on my imac without AVX instruction set on my imac 2008? right now it returns "Illigal instruction :4" just like pianobar used to do till I did a 16 hour compile of everything and then pianobar works, but not youtube-dl (crashes python) and I guess wget doesn't work along with many other binaries if my hunch is correct
<tpw_rules>
you can copy /nix over if you want to copy everything, but you still have to copy all your .nix files separately
<tpw_rules>
and configuration
heyitsrama has quit [Remote host closed the connection]
rb2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @moaxcp opened pull request #108908 → jbang: init at 0.58.0 → https://git.io/JLhQC
endformationage has quit [Quit: WeeChat 2.9]
<{^_^}>
[nixpkgs] @thiagokokada opened pull request #108909 → nixos/libinput: separate settings by mouse/touchpad → https://git.io/JLhQz
lord| has quit [Ping timeout: 264 seconds]
dandart has quit [Ping timeout: 240 seconds]
Volk has quit [Quit: See you next time!]
rb2k has joined #nixos
sigmundv__ has quit [Read error: Connection reset by peer]
sigmundv__ has joined #nixos
sigmundv_ has joined #nixos
<donofrio>
tpw_rules, where are these config files stored so far I've get to find them
<tpw_rules>
you had to set them all up
veleiro has quit [Read error: Connection reset by peer]
sigmundv__ has quit [Ping timeout: 264 seconds]
veleiro has joined #nixos
<donofrio>
tpw_rules, negative - I just installed and then ran the command "nix-shell -p pianobar --option substitute false" waited 16 hours then my pianobar ran finally....
Cale has quit [Remote host closed the connection]
m0rphism has quit [Ping timeout: 265 seconds]
<tpw_rules>
then you'll just have to make sure the new nixpkgs has the same hash
<donofrio>
tpw_rules, hu? I'm still new here - fwiw
<{^_^}>
[nixpkgs] @Gabriel439 opened pull request #108910 → Fix support for extending Dhall package set → https://git.io/JLh7c
<taylor1791>
On nixos, I added rofi and rofi-calc to environment.systemPackages. However, `rofi` does not detect the plugin. If I run `rofi -plugin-path $(nix eval nixpkgs.rofi-calc.outPath | sed s/\"//g)`, I can enable the plugin. Can anyone recommend a better way to teach rofi to the location of the plugins? I do not use home-manager.
kalbasit has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<ZaraChimera>
After editing configuration.nix for the install, I get a message about services.xserver.job.execCmd has conflicting definitions in /mnt/etc/nixos/configuration.nix and /nix/var/nix/profile/per-user/root/channels/...
CMCDragonkai1 has joined #nixos
<{^_^}>
[nixpkgs] @midchildan opened pull request #108916 → powerline-symbols: init at 2.8.1 → https://git.io/JLh57
<{^_^}>
[nixpkgs] @bryanasdev000 opened pull request #108917 → ocitools: Update doc to use CommonMark → https://git.io/JLhdO
Dotz0cat_ has joined #nixos
<ZaraChimera>
Okay. Seems I can't install my preferred displayManager from the GNOME liveUSB for nixos 20.09 because services.xserver.displaymanager is defined in multiple locations so the system will not install.
Dotz0cat has quit [Ping timeout: 246 seconds]
taylor1791 has quit [Quit: WeeChat 2.9]
kalbasit has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 256 seconds]
Rusty1 has quit [Quit: WeeChat 2.3]
revtintin has joined #nixos
cole-h has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 12 commits to staging-next: https://git.io/JLhF6
<{^_^}>
[nixpkgs] @github-actions[bot] pushed 13 commits to staging: https://git.io/JLhFi
<ZaraChimera>
I was trying to get ly display manager enabled through the option services.xserver.displayManager.job.execCmd = "${pkgs.ly}/bin/ly" in my configuration.nix. When I try to run the install I keep getting the message that the job.execCmd has conflicting definitions
<pjt_tmp>
ZaraChimera: you could cheat with an override
<pjt_tmp>
pkgs.lib.mkForce I think?
<ZaraChimera>
Where would the override go?
supersandro2000 has quit [Ping timeout: 264 seconds]
<pjt_tmp>
just after the = (again, I *think*)
<pjt_tmp>
and the first party might not be needed if you've pulled in pkgs.lib
<ZaraChimera>
This is for an initial install to HD
<pjt_tmp>
hm
<pjt_tmp>
also is that really all that's needed? I came across ly awhile ago and wondered why it was a package and not a service
<pjt_tmp>
seems like a better fit for tiling wm-ville
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
palo1 has joined #nixos
<ZaraChimera>
Apparently, I have to define ly as my displayManager using ${pkgs.ly}/bin/ly in order to get it to work.
<pjt_tmp>
that's def something that can be fixed
<ZaraChimera>
I was experimenting building a system with spectrwm and enlightenment.
supersandro2000 has joined #nixos
<pjt_tmp>
that's an...interesting combo
<ZaraChimera>
The weird thing is that it's listing the conflict in a directory that's part of the live environment and I'm trying to build from the mounted HD partition.
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
<pjt_tmp>
conflict still happens with the override too?
<ZaraChimera>
I hadn't entered the override
<pjt_tmp>
try it?
<ZaraChimera>
I hadn't entered the override after the = in my servicse.xserver.displayManager line
veleiro has quit [Read error: Connection reset by peer]
<ZaraChimera>
Progress. Now it's griping that I didn't properly define the allowUnfree thing.
veleiro has joined #nixos
<pjt_tmp>
I hope the ly thing didnt cause that
<pjt_tmp>
that'd be too weird
<ZaraChimera>
No that was caused by trying to install the nVidia GPU drivers
<ZaraChimera>
I put the nixpkgs.allowUnfree = true after the { import ... in configuration.nix, but apparently that isn't right.
<ZaraChimera>
Bah.
<ZaraChimera>
Blasted typo.
<ZaraChimera>
nixpkgs.config.allwUnfree... and my brain kept reading that with an o that wasn't there.
<ZaraChimera>
Okay. Looks like the pkgs.lib.mkForce in the ly line seems to have worked.
<ZaraChimera>
The conflicting/multiple locations issue has been mentioned in 2018 and 2019 for different setups as well, so seems to be a persistent issue with both nixos-install or nixos-rebuild
veleiro has quit [Read error: Connection reset by peer]
* ZaraChimera
keeps fingers crossed
veleiro has joined #nixos
veleiro has quit [Read error: Connection reset by peer]
veleiro has joined #nixos
<pjt_tmp>
oboy
justanotheruser has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
ZaraChimera has quit [Remote host closed the connection]
veleiro has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @Profpatsch pushed commit from @alyssais to master « doc: add "prefer lib over stdenv.lib" convention »: https://git.io/JLhNH
noudle has joined #nixos
<supersandro2000>
Can someone help me out with finding the PR that fixed nokogiri for rubyPackages?
<ZaraChimera>
systemctl status display-manager and journalctl -xe aren't helpful.
<pjt_tmp>
does it just hang indefintely?
<ZaraChimera>
No, fails to start x11, and dumps me back to terminal. Using systemctl restart display-manager.service doesn't do anything.
<ZaraChimera>
I tried reconfiguring with my nvidia driver line commented out with the same result.
<pjt_tmp>
can you wrap execCmd with bash -x somehow to dump mpre info?
<pjt_tmp>
I don't know where that'd show up, if anywhere
<pjt_tmp>
possibly could send it to a named pipe?
<ZaraChimera>
Not sure how I'd go about doing that.
<ZaraChimera>
I can launch ly manually but all I get for options are shell and xinitrc
<pjt_tmp>
execCmd = 'bash -xc "${pkgs.ly}/bin/ly"' maybe (again, if that's even possible. I'm kinda guessing here)
<ZaraChimera>
Disabled ly and enabled lightdm to see if that makes a difference
srk has quit [Ping timeout: 240 seconds]
luxemboye has quit [Ping timeout: 240 seconds]
<ZaraChimera>
Okay, the issue is apparently with ly.
<ZaraChimera>
swapping it for lightdm works.
<pjt_tmp>
huh
<pjt_tmp>
I am dissapoint, it looked nice and I swear I remember getting it to work
<pjt_tmp>
not declaritevely tho
<pjt_tmp>
:/
<pjt_tmp>
ZaraChimera: you know what we really should do though? File an issue to have ly added as a dm. I knew I wasn't the only one who was interested and now I know for sure
<pjt_tmp>
I could do that right now honestly
* ZaraChimera
supposes I could make myself a Github account :D
<ZaraChimera>
The issue requiring pkgs.lib.mkForce is another one.
<pjt_tmp>
yes, that has big slapdash patch vibes
<ZaraChimera>
I'll revert and see if I missed something in ly's ini file.
<pjt_tmp>
oh yeah, it uses ini. eugh :|
<pjt_tmp>
that'll feel good to abstract
<ZaraChimera>
Freaking learning curves.
<ZaraChimera>
I do like how snappy enlightenment is :D
* ZaraChimera
is beginning to think they may need a github to keep track of config files and recipies and be able to merge them back in.
<pjt_tmp>
it is helpful
<ZaraChimera>
And wifi doesn't work.
<ZaraChimera>
Well crap.
<pjt_tmp>
you know how to use wpa_s manually?
<pjt_tmp>
that's the workaround
<pjt_tmp>
man wpa_passphrase, wpa_supplicant
<pjt_tmp>
unless it's a driver thing and running it manually isn't possible
<ZaraChimera>
I set up the wpa_supplicant.conf that I had in my notes from last time around, but this time the issue seems to be that the connman daemon isn't running.
<ZaraChimera>
Also seem to be missing the acpi daemon as well.
<pjt_tmp>
any reason you're importing a conf like that instead of using the nix options?
<ZaraChimera>
Because I had got it working that way in the past, and written down the steps for myself.
<{^_^}>
[nixpkgs] @bryanasdev000 opened pull request #108921 → ibus: Update doc to use CommonMark → https://git.io/JLhAP
<ZaraChimera>
I did add the services.connman.enable = true in configuration.nix and enabled wifi with wpa_supplicant.
<ZaraChimera>
The lines that worked in the past in my wpa_supplicant.conf were ctrl_interface = DIR = /run/wpa_supplicant GROUP = wheel
<pjt_tmp>
you could also look in man configuration.nix under networking.wireless.<networkname>
<ZaraChimera>
Okay, wired at least works, and since this is a desktop and I have a long enough ethernet cable to use for the moment.
Jd007 has quit [Quit: Jd007]
<ZaraChimera>
Oh right I think I had to something with the connman technologies as well.
<pjt_tmp>
If it's not a mobile device I really would suggest looking at networking.wireless.* . You don't need a manager as much if the wifi is static.
<pjt_tmp>
You really could just ditch the external wifi.conf file. Unless it has some really complicated stuff in it,
<pjt_tmp>
you could get away with something as simple as networking.wireless.networks.thenetworkname.psk = "bestpassworpd";
<ZaraChimera>
Yeah.
<ZaraChimera>
And this would be declared in the configuration.nix?
<pjt_tmp>
yup.
<pjt_tmp>
that's where most config magic goes
<ZaraChimera>
That's second on the list. First is to figure out why connmanctl scan wifi isn't working.
turlando has joined #nixos
<pjt_tmp>
is that just to see what networks are near?
<pjt_tmp>
If you just need that utility I could suggest wavemon.
<ZaraChimera>
Yeah
<ZaraChimera>
network stuff is a pain in enlightenment when not using connman because econnman and networkmanager do not play nice.
<ZaraChimera>
listing the technologies it does say wifi is powered but not connected. When doing connmanctl scan wifi it says not supported.
orivej has joined #nixos
<ZaraChimera>
Bingo.
<pjt_tmp>
I personally do not use an connection managers (or any desktop manager actually) and have a desktop computer connected soley by wifi, and the configuration.nix line about is pretty much my entire nwtworking setup. I'd suggest at least trying it
<ZaraChimera>
wpa_supplicant needed to be started with -u flag
<ZaraChimera>
I know I can declare wifi stuff in my configuration.nix but if I want to use this as a base to build an install on a laptop just having the fixed solution for desktop isn't going to cut it.
<pjt_tmp>
I've rebuilt my config hundreds of times with networking in it and not once has it caused any kind of havoc
s1341 has joined #nixos
<ZaraChimera>
so I'd add "wpa_supplicant -u" to the extraCmdArgs option?
<s1341>
hrm. it seems like it would be super useful... no? i'm failing at googling it though....
<ZaraChimera>
eyJhb Okay, that seems to have worked now. :)
<eyJhb>
Useful for NixOS? Not really sure I have had any time where I needed to do this...
<eyJhb>
ZaraChimera: Perfect ;)
* ZaraChimera
is still very much a NixOS newbie.
<s1341>
eyJhb: useful in general.... like for example, if I want to connect to multiple VPNs at the same time, and have a each shell + children associated with one of those...
<eyJhb>
That's a little beyound nix-shell. Also VPN is more than just DNS, there are a LOT of routes, and once you go down that path, you might as well segregate them as needed.
<eyJhb>
Having setup the DNS correct, is only a tiny bit of the entire thing
<s1341>
yeah. i meant once one was going the seperate network namespace route.
<ZaraChimera>
Orbstheorem looking at it now, but I think that might be above my current ability to make use of. I'm still sort of at the stage of mostly copy-paste stuff from the manual and see what happens when I don't and try to figure out how to fix it.
<Orbstheorem>
x)
<Orbstheorem>
From the top of my memory, in a nutshell the main issues were: Upstream clears the session envvars before calling pam, Hardcoded paths to binaries and there was something 'weird' about the way it requested the tty.
<Orbstheorem>
But this was about a year and a half ago, so these issues may have been fixed.
<ZaraChimera>
In 20.09 what I am seeing is ly isn't available as a displayManager option, and if I didn't use pkgs.lib.mkForce then nixos-install would complain about displayManager being defined in multiple locations or having conflicting definitions.
<ZaraChimera>
That went away if I commented out services.xserver.displayManger.job.execCmd = "${pkgs.ly}/bin/ly" or used pkgs.lib.mkForce. The next issue was that if I had ly enabled X11 failed to start.
dramforever has joined #nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<{^_^}>
[nixpkgs] @SuperSandro2000 opened pull request #108924 → rubyPackages.nokogiri: Fix overwrites for 1.11.1 → https://git.io/JLhpg
berberman_ has joined #nixos
berberman has quit [Ping timeout: 264 seconds]
tensor5 has quit [Quit: tensor5]
ky0ko has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @SuperSandro2000 opened pull request #108925 → pythonPackages.*: Disable tests,nasc: Fix compilation by using gcc9 → https://git.io/JLhhi
respawn_ has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @siraben opened pull request #108926 → treewide: minor cleanup of packages maintained by siraben → https://git.io/JLhhM
vegan_power[m] has joined #nixos
<{^_^}>
[nixpkgs] @ehmry merged pull request #108910 → Fix support for extending Dhall package set → https://git.io/JLh7c
<{^_^}>
[nixpkgs] @ehmry pushed commit from @Gabriel439 to master « Fix support for extending Dhall package set »: https://git.io/JLhhH
delneg has quit [Remote host closed the connection]
delneg_ has joined #nixos
<V>
typetetris: can you specify a flake as the argument to `nix repl`?
sangoma has quit [Read error: Connection reset by peer]
zupo_ has joined #nixos
ky0ko has joined #nixos
<V>
(I've not used flakes, I just know that they're not finished yet and are new enough to be buggy somewhat regularly, so I'm staying away from them currently)
<V>
(it's quite possible this functionality doesn't exist; there's a bunch of features that the current CLI tools have that aren't provided by the new nix command)
<srxl>
I was able to try get something going with cabal2nix on the project, but it seems like some dependencies are marked broken at the moment
sangoma has joined #nixos
<srxl>
in particular, brotli requires a 2.13.x version of QuickCheck, but nixpkgs seems to only package 2.14
<viric>
Is it possible that we have swap without discard options?
<viric>
especially encrypted swap
<srxl>
It sounds like a fairly trivial fix, and I'd be willing to get it fixed in nixpkgs, although I'm not sure how the haskell infrastructure works for packages
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLjve
seanparsons has quit [Ping timeout: 268 seconds]
ghasshee has quit [Ping timeout: 256 seconds]
juba1 has joined #nixos
<{^_^}>
[nixpkgs] @Profpatsch opened pull request #108933 → hpack: add a statically built executable → https://git.io/JLjvU
seanparsons has joined #nixos
<juba1>
Hello, hackers! I am in a job application process and the company asking me to learn nix package manager before 10 days and be able to build apps in pure environment. However, at this point I am very confused how things really work and could not find a actually user friendly documentation or guide yet
<juba1>
any help would be highly appreciated
<juba1>
sorry for noob question, but I am trying to take my seat in the community and I also need to start from 0 , right :)
<clever>
betawaffle: then check the consituens tab
<Yaniel>
master only gets the eval tests in PRs, nixpkgs-unstable gets a couple and nixos-unstable is supposed to still give you a usable bases system at all times
<betawaffle>
perfect, thanks
<betawaffle>
Yaniel++ clever++
<{^_^}>
Yaniel's karma got increased to 10
<{^_^}>
clever's karma got increased to 551
qyliss has joined #nixos
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<V>
if you're just using nixpkgs, nixpkgs-unstable is the freshest branch you'll want to use. if you're running nixos from it... seriously, don't use anything past nixos-unstable
<V>
you *will* regret it
<clever>
V: nixos-unstable can sometimes be newer then nixpkgs-unstable, when darwin CI fails
<betawaffle>
ok, so then my next question is, i'm converting my nixos config to a flake, and i'm trying to decide if i want to have multiple nixpkgs-based inputs, or if i should just use nixos-unstable as nixpkgs in all cases
avaq has joined #nixos
<betawaffle>
is there anything i might want to use from nixpkgs _before_ it passes nixos tests?
<Yaniel>
you can't
<Yaniel>
because nixos-unstable is only updated *after* the tests pass
<V>
the tests are done on hydra, once
<V>
not locally
<V>
nix{pkgs,os}-unstable just get bumped to reflect the latest respective successful hydra jobset
<Yaniel>
as a rule of thumb always use nixos-unstable or one of the stable release channels
<Yaniel>
and for single packages you can use nixpkgs-unstable or straight up a git branch if you want for whatever reason
<tuxcoder[m]>
Hello all! I'm a bit new to nix, and people told me this is the right place to ask / fill a bugreport
<Yaniel>
the right place to ask for sure
<Yaniel>
for bug reports it is probably better to head to github
<tuxcoder[m]>
I installed a minimal nixos on my laptop and needed some time to get my touchpad running, in the end I not only needed to enable `services.xserver.libinput.enable=true` also add the package libinput otherwise X11 has found / not loaded the modules for that
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tuxcoder[m]>
If this a not should be behaviour I can fill a issue on github
<{^_^}>
[nixpkgs] @luc65r opened pull request #108942 → deemix: init at 2.0.11 → https://git.io/JLj3R
<Yaniel>
it does sound like something that should pull in the package automagically
<itai33[m]>
how do i check if a package exists cache.nixos.org?
<{^_^}>
[nixpkgs] @Atemu opened pull request #108958 → Update zen kernels → https://git.io/JLjlg
<gchristensen>
you have to know the store path of the package, do you have the store path?
delneg_ has quit []
<mikroskeem>
i'm about to PR docker update to nixpkgs
<mikroskeem>
but i'm not sure if i should update pkgs/top-level/all-packages.nix as well?
<mikroskeem>
since i dropped old docker derivations
<infinisil>
pinpox: CocInstall won't really work with Nix, you need to include a nix-packaged version of the plugin into the vim configuration instead
<infinisil>
> vimPlugins.coc-lua
<{^_^}>
attribute 'coc-lua' missing, at (string):460:1
<cole-h>
(Doesn't appear to be packaged)
<cole-h>
(yet ;)
medvid_ has quit [Ping timeout: 256 seconds]
<eyJhb>
If you are lucky, then CocInstall will work. But as infinisil said else it needs to be packaged. And it is really not nice packaging nodejs things (which I think it is)
<mikroskeem>
^ let me know if something is missing. i'll gladly take any help, those are my first contributions to nixpkgs
lsix has joined #nixos
meh` has joined #nixos
<adisbladis>
mikroskeem: Since the Docker PR depends on the proxy one and the proxy one is a trivial bump I'd have done them as a single PR
<adisbladis>
You don't have to change anything now, just know that it's perfectly acceptable to bundle multiple related changes in a single PR
<mikroskeem>
thanks
sangoma has joined #nixos
meh` has quit [Ping timeout: 256 seconds]
sss2 has quit [Quit: Leaving]
rb2k has joined #nixos
<{^_^}>
[nixpkgs] @iblech opened pull request #108961 → jumpnbump: init at 1.70-dev → https://git.io/JLj8c
meh` has joined #nixos
ilios has joined #nixos
ardumont has quit [Ping timeout: 264 seconds]
ilios has left #nixos [#nixos]
catern has quit [Ping timeout: 264 seconds]
pierre_rannou[m] has quit [Quit: Idle for 30+ days]
f00860[m] has quit [Quit: Idle for 30+ days]
pheoxy has quit [Quit: Idle for 30+ days]
kcwesley[m] has quit [Quit: Idle for 30+ days]
ph_0x17[m] has quit [Quit: Idle for 30+ days]
costrouc has joined #nixos
m0rphism has joined #nixos
shibboleth has joined #nixos
ardumont has joined #nixos
aswanson has joined #nixos
respawn_ has joined #nixos
rb2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rb2k has joined #nixos
<itai33[m]>
gchristensen: on checking if a package exists on cache.nixos.org, i haven't been able to find the store path as a part of the search of the nixpkgs, isit there somewhere
<clever>
itai33[m]: open `nix repl '<nixpkgs>'` and then eval `"${hello}"`
<clever>
itai33[m]: or just `nix-build '<nixpkgs>' -A hello --dry-run`
ATuin has joined #nixos
<itai33[m]>
clever: cool, and how do i use the store to find out if it's cached?
<clever>
itai33[m]: the --dry-run cmd will tell you
<itai33[m]>
how?
<clever>
itai33[m]: `nix-build '<nixpkgs>' -A hello --dry-run`
<itai33[m]>
yeah i did that
<itai33[m]>
it just tells me that it will fetch a path
<clever>
then the path is in the cache
<itai33[m]>
but it still downloads a bunch of dependencies for it to compile though, i thought binary caches were supposed to prevent that or something
<itai33[m]>
or are the dependencies dynamically linked or something
cosimone has joined #nixos
<clever>
itai33[m]: what dependencies is it downloading, to compile what?
mallox has quit [Ping timeout: 260 seconds]
<itai33[m]>
for example for pandoc it's downloading a bunch of haskell libraries
<itai33[m]>
clever:
<itai33[m]>
or mpd
<clever>
itai33[m]: when you do `nix-build '<nixpkgs>' -A mpd --dry-run`, does it say its building anything, or is it all fetched?
<itai33[m]>
all fetched
<itai33[m]>
maybe i'm just conflating fetching dependencies and building stuff locally
<clever>
yeah, sounds like everything is cached perfectly for mpd
<itai33[m]>
cool
<itai33[m]>
how often does nix update it's hackage stuff?
<itai33[m]>
aparently my package was broken for like a month due to dependencies and i only now notice
<clever>
itai33[m]: which package?
<itai33[m]>
hum
<{^_^}>
[nixpkgs] @glittershark opened pull request #108962 → fprintd: Use cfg.package instead of pkgs.fprintd → https://git.io/JLjBR
<itai33[m]>
well haskellPackages.hum
<{^_^}>
[nixpkgs] @fabaff opened pull request #108963 → crlfuzz: init at 1.4.0 → https://git.io/JLjB0
<itai33[m]>
i pushed a fix but i need to wait for the next hackage update for it to work
<clever>
haskell fixes usually go into the haskell-updates branch, and then somebody runs hackage2nix to update the nix files
<clever>
and then it gets pushed to master
ATuin has quit [Quit: WeeChat 3.0]
<itai33[m]>
and it seems that this happens about once a week or so
<itai33[m]>
you know what would be cool? if the nix cache automatically emailed the maintainer that their package is broken (the first time it get's built to be broken)
<clever>
hydra did do that at one time
rb2k has quit [Ping timeout: 260 seconds]
meh` has quit [Ping timeout: 246 seconds]
<itai33[m]>
clever: was it disabled on purpous?
<clever>
not sure, gchristensen may know more
<adisbladis>
Iirc people thought it was too spammy or something along those lines
ixxie has quit [Quit: Lost terminal]
<itai33[m]>
yeah i'd kind of guess that that is why, but i feel like if it only notifies you on the first faliure per version it would probably be fine
<gchristensen>
we sent 50,000 emails one afternoon when we created a new release jobset, and people were unhappy so we disabled it and I don't know why we haven't turned it back on, I thought we were going to
<eyJhb>
What about opening an issue instead, then peoples Github notifications is what determines what they get (not a issue pr. package, but rather pr. jobset evaluation)
<adisbladis>
eyJhb: I think that'd be worse
<adisbladis>
Issues for transient failures that are never going to get cleaned up...
<eyJhb>
How come? Too many issues that never gets closed?
<eyJhb>
Yeah
<adisbladis>
It's going to be so much noise to signal ratio
<adisbladis>
(with good enough tooling this may be a possibility)
<Piece_Maker>
does anyone have a znc server with letsencrypt cert setup on nixos? I had it set up but it seems to have broken and I've no idea why
bridge[evilred]1 has quit [Remote host closed the connection]
<Piece_Maker>
my cert is up for renewal and it doesn't seem to want to do it (I guess this is more an acme service problem than a ZNC one, so I'm not sure why I mentioned the ZNC part!), the acme-zncserverdomain.service fails with this: https://termbin.com/pr15n
bridge[evilred] has joined #nixos
dandart has joined #nixos
<Piece_Maker>
hunting around for that error with acme seems to suggest a problem with permissions of the directories specified... but those permissions look OK on my side
srk has quit [Read error: Connection reset by peer]
jb55 has quit [Read error: Connection reset by peer]
xelxebar_ has quit [Write error: Connection reset by peer]
est31 has quit [Read error: Connection reset by peer]
andreas303 has quit [Write error: Connection reset by peer]
cantstanya has quit [Write error: Connection reset by peer]
Hail_Spacecake has quit [Write error: Connection reset by peer]
luxemboye has quit [Write error: Connection reset by peer]
nicoo has quit [Write error: Connection reset by peer]
gxt has quit [Read error: Connection reset by peer]
shibboleth has quit [Write error: Connection reset by peer]
oida has quit [Write error: Connection reset by peer]
madalu has quit [Write error: Connection reset by peer]
justanotheruser has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
<eyJhb>
Piece_Maker: Do you have a nginx proxy setup or anything like that?
<eyJhb>
Seems like something is changing the output of the .well-known
<Piece_Maker>
hmmm
<marble_visions>
Fmarble
<marble_visions>
(ignore ^)
<eyJhb>
Fmarble yourself! \s
<Piece_Maker>
I do have the same subdomain in both services.nginx and also security.acme.certs
<BlackboardN>
I'm not sure I understand how external package configuration is supposed to work with home-manager. I've added foo to my home.packages, and foo provides options under programs.foo, but they aren't recognized when I put them into home.nix. Is there a way to bring those options into scope along with all of home-manager's options? Or is there some
<BlackboardN>
other idiomatic way to configure them?
<betawaffle>
in a flake-based nixos configuration, should i be setting `_module.args.pkgs` or `nixpkgs.pkgs` to the package set i want?
<betawaffle>
(or something else)
luxemboye has joined #nixos
jb55 has joined #nixos
<infinisil>
betawaffle: You generally want to only modify the package set for NixOS using overlays, by setting `nixpkgs.overlays`
<betawaffle>
ok cool
<infinisil>
There is the `nixpkgs.pkgs` option though, but you need to make sure to apply the config, overlays (and ideally localSystem and crossSystem) similar to the example of that option
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
meh` has joined #nixos
zupo has joined #nixos
<philipp[m]>
Is there a guideline, what changes exactly can be backported to stable?
<philipp[m]>
I have this PR here that would save me some pain if it was in stable and I think it's reasonable to assume that it's pretty much backward compatible: https://github.com/NixOS/nixpkgs/pull/108966
davidv7_ has quit [Remote host closed the connection]
davidv7 has joined #nixos
rb2k has quit [Ping timeout: 258 seconds]
catern has joined #nixos
aswanson has quit [Ping timeout: 246 seconds]
Jd007 has joined #nixos
lsix has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dandart has quit [Ping timeout: 264 seconds]
jakosimov[m] has joined #nixos
attila_lendvai_ has joined #nixos
attila_lendvai has quit [Ping timeout: 272 seconds]
ransom has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
emilsp has quit [Ping timeout: 624 seconds]
TonyTheLion has joined #nixos
MidAutumnHotaru has quit [Quit: Quit 啾]
MidAutumnHotaru has joined #nixos
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
<lordcirth>
I downloaded the nixops repo and ran nix-shell, and I can run nixops. But it only works while I am in that directory. Is there no way to have the nixops command work in the nix-shell regardless of $PWD?
alexherbo2 has joined #nixos
<Yaniel>
install it like any other application
sarcasticadmin has joined #nixos
<lordcirth>
Yaniel, nix-env -i . ?
respawn_ has quit [Ping timeout: 264 seconds]
<Yaniel>
put it in environment.systemPacakges
<Yaniel>
or userPackages or wherever you put your apps
<Yaniel>
nix-env -i if you really have to
lord| has joined #nixos
<Yaniel>
and you don't need the repo cloned unless you want to hack on nixops itself, it is packaged in nixpkgs
attila_lendvai_ has quit [Ping timeout: 272 seconds]
berberman_ has joined #nixos
alexherbo21 has joined #nixos
zupo has joined #nixos
berberman_ has quit [Max SendQ exceeded]
berberman has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @SuperSandro2000 merged pull request #108799 → pythonPackages.*: Disable various checkPhases with zero tests run, libgda: Fix building with newest mysql, vtk_{7,8}: Fi… → https://git.io/JLpgi
xelxebar has joined #nixos
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 15 commits to master: https://git.io/JLjgs
berberman has joined #nixos
alexherbo2 has quit [Ping timeout: 264 seconds]
alexherbo21 is now known as alexherbo2
jonatanb has quit [Ping timeout: 256 seconds]
<DigitalKiwi>
in any case it doesn't work :( it goes to a black screen with the spinner and then eventually that goes away and i have a gray screen with xmonad working but no plasmashell (and it's only gray because i enabled compiz before it would stay on something that looked like the spinner had stopped spinning and i thought it was frozen...but it just doesn't refresh the screen anymore)
aswanson has joined #nixos
Kim has joined #nixos
Kim has quit [Client Quit]
Kim has joined #nixos
<DigitalKiwi>
nixos-unstable started a few weeks ago idk when
Kim is now known as rummik
<DigitalKiwi>
on dec 19th it worked
rajivr has quit [Quit: Connection closed for inactivity]
<Piece_Maker>
<eyJhb "Ohh yeah, it really does. Most u"> yeah i don't run nixos on my desktop at the mo though so can't easily distcc it that way :( hmm, looks like I've hit the rate limit on letsencrypt now (or at least that's the error I'm getting now...)
<Piece_Maker>
guess I can give it a day and see what happens hehe
meh`_ has joined #nixos
<DigitalKiwi>
and if my timestamps are anything to go on it stopped working before jan 2nd
<DigitalKiwi>
if it is broken on aarch64 i have an idea ...
fuzzypixelz has joined #nixos
<DigitalKiwi>
eyJhb: do you know why nix search with nix flakes always downloads everytime and how to stop that...
<{^_^}>
[nixpkgs] @fabaff opened pull request #108972 → python3Packages.mulpyplexer: init at 0.08 → https://git.io/JLj2C
attila_lendvai has quit [Ping timeout: 272 seconds]
meh`_ has quit [Ping timeout: 265 seconds]
vidbina_ has quit [Ping timeout: 264 seconds]
<eyJhb>
No clue sorry, I don't use flakes DigitalKiwi :( Sorry
<fuzzypixelz>
was the Calamares installer dropped _only_ because of the security issues (mind filling me in on that? how come other distros like Manjaro are doing fine with it), or did people _also_ think nixos doesn't need a graphical installer? Given that all efforts to bring it back went nowhere
meh` has joined #nixos
<{^_^}>
[nixpkgs] @Ericson2314 merged pull request #108507 → ott-mode: Factor our from ott → https://git.io/JLNqw
<eyJhb>
fuzzypixelz: Just based on knowing nothing about it, but knowing the community I would guess that it is because it required too many resources to maintain
attila_lendvai has joined #nixos
<lordcirth>
Yaniel, nixops 2.0 is not in nixpkgs, even master. Only 1.7
attila_lendvai_ has quit [Ping timeout: 272 seconds]
<DigitalKiwi>
fuzzypixelz: manjaro doing something is probably a good reason to not do something :)
briar_blank has joined #nixos
<DigitalKiwi>
but what do you mean by dropped? it's in nixpkgs
attila_lendvai has quit [Ping timeout: 272 seconds]
<DigitalKiwi>
lordcirth: i have a few repos/branches with a way to do it
<fuzzypixelz>
DigitalKiwi: spot on. But seriously, most other distros have graphical installers the only ones that don't are the ones you (I) wouldn't want to run ayway (arch, void, g-g-ggentoo)
<lordcirth>
DigitalKiwi, I just did nix-env -i '.*' -f .
<fuzzypixelz>
DigitalKiwi: I'm talking about the official iso, if you can make a custom iso then you're probably comfortable enough to install it yourself on the command line, I would say
zupo has joined #nixos
<DigitalKiwi>
idk it's a lot easier to make a custom iso than it is to install nixos lol
fendor_ is now known as fendor
<lordcirth>
what? installing nixos is easy. mount, install, reboot
<noonien>
is it possible to have global settings for glib and gtk? for settings that would normally go in .config/glib-2.0/settings/keyfile and .config/gtk-3.0/settings.ini ?
<fuzzypixelz>
umm, what do you mean by global?
<noonien>
so that i set default values for all users
<pinpox>
infinisil: cole-h eyJhb Yeah, coc-lua is not packaged. Is it really so hard to package that? I would expect it to be pretty much like the other coc plugins
aasg has quit [Quit: Bridge terminating on SIGTERM]
<pinpox>
Also, some CocInstall'ed plugins are working file, just this one wont work
schweby has joined #nixos
Core2222 has joined #nixos
MYYAGIS has quit [Ping timeout: 240 seconds]
mcaju has joined #nixos
MmeQuignon has quit [Ping timeout: 260 seconds]
attila_lendvai has joined #nixos
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
sangoma has quit [Quit: WeeChat 3.0]
kalipso has joined #nixos
hnOsmium0001 has joined #nixos
<kalipso>
hey, if i want to build a flake using: nix build github:username/repository the submodules of that git project are not getting fetched, is there a way to enable that?
teto has joined #nixos
growpotkin has joined #nixos
proofofkeags has joined #nixos
proofofkeags_ has joined #nixos
proofofkeags_ has quit [Remote host closed the connection]
lsix has joined #nixos
<eyJhb>
pinpox: Also what I stated above, you might get lucky. But not it isn't THAT annoying, so it is fairly doable! You should have a stab at it if you have the time
lordcirth__ has joined #nixos
lordcirth has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @petabyteboy opened pull request #108975 → uboot: add patch to fix #97064 → https://git.io/JLjwM
fuiltilt has joined #nixos
kfc has joined #nixos
aasg has joined #nixos
sarcasticadmin has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @adisbladis merged pull request #108962 → fprintd: Use cfg.package instead of pkgs.fprintd → https://git.io/JLjBR
<aanderse>
Jan Tojnar: ok - just hard code it to true, or have an option to pass somehow?
<ZaraChimera>
Successfully got my initial install done. One problem is that the nvidia drivers make font unreadably small in the nvidia control panel and in lightdm when logging in. Search-fu hasn't turned up much that is helpful for a NixOS install.
<ZaraChimera>
I have tried tweaking the scaling in Enlightenment but it doesn't seem to affect the nVidia Control panel. And doesn't affect lightdm.
<jtojnar>
aaron: I am not aware of any way to parametrize flakes 😿
<aanderse>
ok
<aanderse>
well if you're happy to add that i'm fine with it (and would **really** appreciate that)
meh` has joined #nixos
<{^_^}>
[nixpkgs] @lukegb opened pull request #108977 → various: mark as broken or fix → https://git.io/JLjrX
Core2222 has quit [Read error: Connection reset by peer]
<jtojnar>
aaron: pushed that
<jtojnar>
alternately, you could use the overlay
<{^_^}>
[nixpkgs] @Profpatsch opened pull request #108978 → treewide: with stdenv.lib; in meta -> with lib; → https://git.io/JLjr5
<aanderse>
Jan Tojnar: great it is working now. i'd prefer to selectively pull in packages, if that isn't a hassle
<{^_^}>
[nixpkgs] @flokli merged pull request #108844 → nixos/redis: add test for unix socket access → https://git.io/JLhkw
<Nigel[m]>
with networking.nat.enable = true (2nd, double NAT) and using services.dhcpd.extraConfig ... anyone able to help me know how to push push upstream DNS server addresses to clients?
<{^_^}>
[nixpkgs] @nagy opened pull request #108980 → poedit: use gtk3 → https://git.io/JLjox
<Mindavi>
Hi, I was wondering how the nixos testing infrastructure works. I'm looking at the ZFS test suite (see https://github.com/NixOS/nixpkgs/issues/108649), but it takes very long to run. I'm looking for answers on these questions: What is an acceptable runtime for these tests? How often are they run?
<{^_^}>
#108649 (by Atemu, 3 days ago, open): ZTS: ZFS Test Suite
<adisbladis>
Mindavi: How long is "very long"?
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
attila_lendvai has joined #nixos
<adisbladis>
10 minutes?
rb2k has joined #nixos
<Mindavi>
adisbladis: The 'sanity check' test suite takes 41 minutes, the full test suite can take 'several hours', but haven't gotten a full run for that yet
<adisbladis>
Hm, I seem to recall a much shorter running test suite?
<adisbladis>
41 minutes is unacceptable I'd say
<Mindavi>
Yeah, I thought that might be too long as well
ZaraChimera has quit [Quit: Connection closed]
<adisbladis>
Hm, it was so long ago I looked at the ZFS tests
<Mindavi>
There's indeed a simple sanity check that's currently in the tests folder already
<Mindavi>
But there's an official test suite, I figured it might be interesting to use that
<Mindavi>
But it takes way too long like this
attila_lendvai_ has quit [Ping timeout: 272 seconds]
<adisbladis>
Yeah, there is a reason why the tests are the way they are ;)
<{^_^}>
[nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLjKO
<Guest28275>
to do non-root remote building, the user being ssh'd into just has to be in nix-trusted, right?
kaliumxy1 has joined #nixos
<Mindavi>
Yeah, I guess so. Thanks for the information, I'll think if there's a way to just run a couple of tests. It's kinda hard to decide which tests are really useful though
Guest28275 is now known as AmandaGC
rb2k has quit [Ping timeout: 264 seconds]
kaliumxyz has quit [Ping timeout: 265 seconds]
<adisbladis>
Mindavi: You could use ztest directly
<{^_^}>
[nixpkgs] @symphorien merged pull request #106082 → nixos/uwsgi: run with capabilities instead of root → https://git.io/JIWlf
<adisbladis>
That may be a good starting point for some test improvements
AmandaGC is now known as AmandaC
<AmandaC>
WEll, let's see if I got quassel happy with my nick now, instead of constantly trying to identify as another Amanda
AmandaC has quit [Quit: Toodles]
<armin>
happens to the best of us
<armin>
the person who tried to identify as me constantly was very thankful when i told them
AmandaC has joined #nixos
<armin>
:)
<Mindavi>
adisbladis: I got the zfs test suite running, so I think it would be nice to use that. There are options to run parts of it as well, so that's nice
<Mindavi>
ztest might be useful too, indeed
<adisbladis>
Mindavi: If you can find a reasonable subset to run I'd be very happy to merge that work
<Mindavi>
What would be a more acceptable runtime? A couple of minutes?
<adisbladis>
I tried when I created the original nixpkgs test
<adisbladis>
Mindavi: Hard to say exactly. IMO ZFS is important enough to occupy more testing time than most other packages. Arbitrarily I'd say maybe 10 minutes?
<adisbladis>
That's completely arbitrary
attila_lendvai has quit [Ping timeout: 272 seconds]
aswanson has quit [Ping timeout: 256 seconds]
<Mindavi>
Yeah, I'd think that it is indeed quite important. I guess we can discuss with some stakeholders in the PR when I submit it. I think between a couple mins to 10 mins is reasonable, but it shouldn't be longer than that.
<adisbladis>
Mindavi: I'm the maintainer of the current ZFS nixpkgs tests
rb2k has joined #nixos
<adisbladis>
Just fyi
<Mindavi>
Yeah, not sure if there's anyone else we should discuss this with then?
Volk has joined #nixos
<Mindavi>
I did see that you created it indeed :) nice to have the correct person to talk to
<{^_^}>
[nixpkgs] @flokli merged pull request #108726 → nixos/networking: make /etc/netgroup by default → https://git.io/JLxPd
<donofrio>
what directory do I cp to get all of nix install copyed, I was suggested nix-copy-closure but that seems to be over networking when all I want is a local copy in case I brake something?
<Mindavi>
adisbladis: Anyhow, I'm signing off again, you'll see a PR come in soon-ish probably :)
Mindavi has quit [Quit: leaving]
<kingsley>
What version is the video editor package named "kdenlive", now?
<adisbladis>
donofrio: `nix copy` has the option to copy to a local directory
<AmandaC>
donofrio: worth noting that anything new will have a different path in the nix store, so if you disable (or never enabled) automatic garbage collection it'll still be in the storr
<AmandaC>
Unless you're doing something fucky like writing to the nix store from something not managed by nix
<{^_^}>
[nixpkgs] @doronbehar opened pull request #108981 → nixos/mpd: use credentials only if needed → https://git.io/JLjKA
rb2k has quit [Ping timeout: 260 seconds]
<elvishjerricco>
I have a path that I want to put in the nix store a la string interpolation. But it's a symlink to a file in the same directory. The string interpolation just puts a symlink into the store that points to the file name, which obviously doesn't exist in /nix/store. How do I get nix to copy the file that the symlink is pointing to instead of the symlink?
<donofrio>
adisbladis, what about the derivations and such?
<{^_^}>
[nixpkgs] @markuskowa opened pull request #108983 → Use mpi attribute consistently to provide a default MPI implementation → https://git.io/JLj6e
rb2k has joined #nixos
spudly1 has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #nixos
AmandaC has quit [Quit: Toodles]
zupo has quit [Ping timeout: 256 seconds]
AmandaC has joined #nixos
zupo has joined #nixos
__monty__ has quit [Quit: leaving]
AmandaC has quit [Client Quit]
knupfer1 has joined #nixos
rb2k has quit [Ping timeout: 240 seconds]
cfinch has joined #nixos
zertox has quit [Remote host closed the connection]
AmandaC has joined #nixos
bigvalen has quit [Quit: Go bye-byes]
knupfer1 has quit [Ping timeout: 260 seconds]
<noonien>
is there a helper to help me create a package using the output of another existing package, but with a patch added? i can do this with a normal derivation, i'm just wondering if there's a shortcut
rb2k has joined #nixos
oida has quit [Remote host closed the connection]
fendor has quit [Remote host closed the connection]
<{^_^}>
[nixpkgs] @jtojnar pushed 48 commits to staging-next: https://git.io/JLj6D
<{^_^}>
[nixpkgs] @mweinelt pushed 2 commits to release-20.09: https://git.io/JLj65
<kingsley>
FWIW, I seem to have answered my own question: repology.org says nixpkgs unstable has version 20.08.3 of the video editor package named "kdenlive".
<noonien>
i'm not sure overiding work, i don't want to rebuild the entire derivation, just modify one of its output file
risson has quit [Excess Flood]
<noonien>
works as i want it to*
<mikroskeem>
can you bring a better example what you want to do?
<mikroskeem>
what kind of a file you want to replace
risson has joined #nixos
Emantor has joined #nixos
<noonien>
well, there's a file in the kde plasma package, @share/plasma/layout-templates/org.kde.plasma.desktop.defaultPanel/contents/layout.js in the built package. i just need to patch a line of that, and i don't want to have to recompile plasma for a file that just gets copied to the output from the source
<mikroskeem>
i see
lsix has quit [Remote host closed the connection]
lsix has joined #nixos
<{^_^}>
[nixpkgs] @fabaff opened pull request #108985 → python3Packages.teslajsonpy: init at 0.10.4 → https://git.io/JLjil