worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale โœจ https://discourse.nixos.org/t/nixos-20-09-release/9668 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-inf
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
AlpineLlama has joined #nixos
Qwerky_ has quit [Remote host closed the connection]
ufo44 has left #nixos ["Textual IRC Client: www.textualapp.com"]
<{^_^}> [nixpkgs] @KAction opened pull request #117917 โ†’ md2gemini: init at 1.8.1 โ†’ https://github.com/NixOS/nixpkgs/pull/117917
ddellacosta has joined #nixos
<dgpratt> I was interested in doing some experiments with Apache Pulsar, but I see that it isn't configured as a Nix package. I decided to try my hand at making such a package following https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/apache-kafka/default.nix as an example (Kafka and Pulsar are similar projects).
<dgpratt> Seems to be going fine and making sense, but I'm wondering if there is a particularly good way to know what sort of machinations are necessary to perform in e.g. the installPhase script.
<dgpratt> I mean, how did the author of that script discover that Kafka uses GNU grep and that it has to be wrapped in that manner? Trial and error?
ddellacosta has quit [Ping timeout: 246 seconds]
ddellaco_ has joined #nixos
h0m1 has quit [Quit: WeeChat 3.1]
h0m1 has joined #nixos
<Gaelan> Is there a way to generate TOML from a nix expression?
<Gaelan> I've found builtins.fromTOML, but grepping the Nix and Nixpkgs manual doesn't find an inverse
<hexa-> > pkgs.formats.toml
<{^_^}> <LAMBDA>
tmciver has joined #nixos
<Gaelan> > pkgs.formats.toml {"foo" = "bar";}
<{^_^}> 'toml' at /var/lib/nixbot/nixpkgs/master/repo/pkgs/pkgs-lib/formats.nix:86:10 called with unexpected argument 'foo', at (string):493:1
<Gaelan> > pkgs.formats.toml {} {"foo" = "bar";}
<{^_^}> attempt to call something which is not a function but a set, at (string):493:1
<Gaelan> alright, fine, I'll read the docs
<Gaelan> and thanks!
<Gaelan> hexa-++
<{^_^}> hexa-'s karma got increased to -2147483648
Jd007 has joined #nixos
slack1256 has joined #nixos
<zhaofeng> Woo, karma overflow ๐Ÿ‘€
<Gaelan> aha, for the record:
<Gaelan> > (pkgs.formats.toml {}).generate "foo.toml" {foo = "bar";}
<{^_^}> "<derivation /nix/store/sxjd0sbw2km8xd8kd13xagxzfay15wjv-foo.toml.drv>"
<{^_^}> [nixpkgs] @mweinelt merged pull request #117574 โ†’ [20.09] firefox-bin: 86.0.1 -> 87.0 [High security fixes] โ†’ https://github.com/NixOS/nixpkgs/pull/117574
<hexa-> oh wow :3
<hexa-> zhaofeng: watch out, I'm testbuilding your source routing pr :p
<tmciver> Hello. Are there any good tutorials on setting a static IP in Nix? I've tried setting it up using info here: https://nixos.org/manual/nixos/stable/index.html#sec-ipv4 and setting useDHCP to false, but it does not seem to work.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates ยซ hackage-packages.nix: automatic Haskell package set update ยป: https://git.io/JYchO
<hexa-> tmciver: there are two useDHCPs, a global and a per interface one. https://search.nixos.org/options?channel=20.09&from=0&size=50&sort=relevance&query=useDHCP
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b722e3ff4c1 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
tdeo has quit [Remote host closed the connection]
diamondburned has quit [Remote host closed the connection]
diamondburned has joined #nixos
tdeo has joined #nixos
<tmciver> hexa-: yes, I've got them both set to false.
<hexa-> tmciver: and it still does DHCP for you?
<tmciver> Yes.
PCPROGS has joined #nixos
<gchristensen> what if nixos-generate-config detected you used wifi and ... enabled it .. :P
PCPROGS has quit [Client Quit]
<hexa-> tmciver: can you paste(bin) your network config?
<tmciver> I'm *trying* to set a static IP for both.
<tmciver> hexa-: Here's the relevant bit: https://gist.github.com/tmciver/f19056d8e599c39667cb6059c0f69532. I can paste the whole thing if that helps.
<hexa-> did you `nixos-rebuild switch`?
jonringer has joined #nixos
<tmciver> BTW, I've also configured network-manager, if that matters.
<hexa-> hm
<tmciver> hexa-: Yes, but I can try again to be sure.
<hexa-> it might interfere, yes
<tmciver> hexa-: OK, I'll try disabling network-manager next.
<hexa-> at least if the interface is managed through network-manager
<hexa-> networking.networkmanager.unmanaged = [ "interface-name:enp0s31f6" ];
justanotheruser has joined #nixos
<hexa-> would be another way to tackle this
<hexa-> anyway, I'd recommend using networkd for static configurations
<tmciver> hexa-: Disabling network-manager did not fix it. I can try the unmanaged suggestion.
<hexa-> I'm not too familiar with the scripted networking
<tmciver> What is networkd? How do I configure that in Nix?
<hexa-> there should be a systemd unit that sets up the static addresses
<hexa-> if you can find it you might be able to get some log from it
<hexa-> systemd-networkd
<tmciver> OK
<hexa-> it's below `systemd.network`
<tmciver> hexa-: What do you mean "it's below"? Apologies, fairly new to Nix.
<tmciver> Thanks.
<hexa-> you probably also want 'systemd.network.enable = true;`
<hexa-> anyway, I'm off for the night
<hexa-> \o
<tmciver> Thanks again!
<tmciver> gchristensen: what's nixos-generate-config? Does it generate an /initial/ config or generates config based on my config?
<dgpratt> still trying to make sense of what this install script is doing: what is the point of wrapping a shell script to e.g. set JAVA_HOME when that would presumably be set in the environment already?
<gchristensen> oh sorry I meant that for nobody in particualr
<gchristensen> but itcreates a initial nixos config
<tmciver> gchristensen: :) OK, thanks.
tejing has joined #nixos
ryantrinkle has joined #nixos
<tmciver> The reason I'm trying to set a static IP is because I'm getting unexpected nameservers in /etc/resolv.conf but if someone knows a way I can get rid of them while using DHCP, I'd love to hear it.
<ryantrinkle> whenever i update my system, opengl stuff stops working until i reboot (or maybe just restart X?); I suspect this is due to the loaded version of the nvidia driver and/or some part of X disagreeing with the one that the client apps are using
<ryantrinkle> is there a way to pin that so that it doesn't change until later?
Negher has quit [Remote host closed the connection]
<ryantrinkle> the output is: X connection to :0 broken (explicit kill or server shutdown).
Jd007 has quit [Quit: Jd007]
ris has quit [Ping timeout: 246 seconds]
CMCDragonkai has joined #nixos
acarrico has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<ryantrinkle> it looks like /run/opengl-driver should be involved in some way?
<tomberek> who is good at understanding the new content-addressable system?
Guest55480 has quit [Ping timeout: 265 seconds]
<Gaelan> tmciver: to expand on what gchristensen, it sort of does both - if you run it again, it will regenerate hardware-configuration.nix (based on your hardware and currently mounted filesystems), but won't touch your main configuration.nix. So if you're careful about not editing hardware-confguration.nix, you can use it to handle hardware changes
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos
<Gaelan> dgpratt: Not familiar with the Java infra in particular, but in general Nixpkgs avoids global configuration (like setting JAVA_HOME in your environment, or installing libraries to /usr/lib) in favor of hard coding specific store paths, which makes it possible to have software that depends on multiple versions of Java (and, conversely, means things can't break if your global JAVA_HOME breaks)
<tmciver> Gaelan: ๐Ÿ‘
haritz has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
Jd007 has joined #nixos
<dgpratt> Thanks Gaelan. I tend to forget that in Nix land, if I have installed package A, which depends on package B, it is not necessarily the case that package B is also installed and configured in the environment.
haritz has joined #nixos
haritz has quit [Changing host]
haritz has joined #nixos
h0m2 has joined #nixos
<Gaelan> dgpratt: yep, that takes a bit of getting used to
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
ryantrinkle has quit [Ping timeout: 246 seconds]
h0m1 has quit [Ping timeout: 240 seconds]
npec has joined #nixos
npec has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @SuperSandro2000 pushed to SuperSandro2000-patch-1 ยซ nixos/containers: update example path to match defaults ยป: https://git.io/JYCLB
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #117918 โ†’ nixos/containers: update example path to match defaults โ†’ https://github.com/NixOS/nixpkgs/pull/117918
cjb has quit [Read error: Connection reset by peer]
katrin has quit [Quit: ZNC 1.8.1 - https://znc.in]
Dr8128 has quit [Ping timeout: 252 seconds]
Vadrigar_ has joined #nixos
katrin has joined #nixos
stree has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #117864 โ†’ libfyaml: 0.6 -> 0.6.3 โ†’ https://github.com/NixOS/nixpkgs/pull/117864
<{^_^}> [nixpkgs] @marsam merged pull request #117641 โ†’ postgresqlPackages.pg_auto_failover: 1.4.2 -> 1.5.1 โ†’ https://github.com/NixOS/nixpkgs/pull/117641
Vadrigar_ has quit [Ping timeout: 268 seconds]
cjb has joined #nixos
rajivr has joined #nixos
<{^_^}> [nixpkgs] @i077 opened pull request #117919 โ†’ Correct typo in alias for inter font โ†’ https://github.com/NixOS/nixpkgs/pull/117919
stree has joined #nixos
Jd007 has quit [Quit: Jd007]
DigitalKiwi is now known as CryptoKiwi
CryptoKiwi is now known as DigitalKiwi
Wizek has quit [Quit: Connection closed for inactivity]
<fuzzypixelz> while building a cargo project with flakes/naersk, I get at the end "error: creating symlink from '/mnt/data/Projects/nix/eww/result.tmp-26163-1475353796' to '/nix/store/rgrfwyy8az7ah4k5xy6w5fpb37dnmgcg-eww-0.1.0': Function not implemented"
<fuzzypixelz> what does this mean?
<fuzzypixelz> I built the flake with `nix build`
<{^_^}> [nixpkgs] @tomberek closed pull request #115580 โ†’ smplayer: 20.6.0 -> 21.1.0 โ†’ https://github.com/NixOS/nixpkgs/pull/115580
fuzzypixelz has quit [Ping timeout: 240 seconds]
fuzzypixelz59 has joined #nixos
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @tomberek merged pull request #108433 โ†’ bedops: init 2.4.39 โ†’ https://github.com/NixOS/nixpkgs/pull/108433
D_ has quit [Quit: ๐Ÿ’จ]
D__ has joined #nixos
fuzzypixelz59 has quit [Quit: Connection closed]
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
CMCDragonkai has quit [Quit: CMCDragonkai]
CMCDragonkai has joined #nixos
bridge[evilred] has quit [Remote host closed the connection]
stephank has quit [Quit: stephank]
stephank has joined #nixos
bridge[evilred] has joined #nixos
bridge[evilred] has quit [Excess Flood]
bridge[evilred] has joined #nixos
<spacetato> fuzzypixelz: `/mnt/data` is on a different filesystem than `/nix/store`?
<spacetato> seems like it had trouble making the symlink in `/mnt/data`
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @mweinelt merged pull request #117645 โ†’ linux: Enable SRv6 options โ†’ https://github.com/NixOS/nixpkgs/pull/117645
hyper_ch4 has joined #nixos
AlpineLlama has joined #nixos
oxalica has quit [Quit: oxalica]
hyper_ch2 has quit [Ping timeout: 245 seconds]
Rovanion has quit [Ping timeout: 240 seconds]
andreas31 has quit [Ping timeout: 240 seconds]
<tejing> fuzzypixelz: it sounds to me like /mnt/data is a filesystem type that doesn't support symlinks
Rovanion has joined #nixos
andreas31 has joined #nixos
nicbk has joined #nixos
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/3a8a85da229 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
<{^_^}> [nixpkgs] @rmcgibbo opened pull request #117920 โ†’ python3Packages.pyzerproc: 0.4.8 -> 0.4.9 โ†’ https://github.com/NixOS/nixpkgs/pull/117920
<{^_^}> [nixpkgs] @ryantm merged pull request #117689 โ†’ python38Packages.lightgbm: 3.1.1 -> 3.2.0 โ†’ https://github.com/NixOS/nixpkgs/pull/117689
zebrag has quit [Quit: Konversation terminated!]
Vadrigar_ has joined #nixos
Supersonic112 has joined #nixos
Vadrigar_ has quit [Ping timeout: 240 seconds]
Supersonic has quit [Ping timeout: 240 seconds]
Supersonic112 is now known as Supersonic
stree has quit [Ping timeout: 246 seconds]
johnny101 has quit [Quit: ZNC 1.8.1 - https://znc.in]
johnny101 has joined #nixos
stree has joined #nixos
Jd007 has joined #nixos
maxdevjs has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #117791 โ†’ jbang: 0.69.1 -> 0.69.2 โ†’ https://github.com/NixOS/nixpkgs/pull/117791
<s1341_> good morning.
<s1341_> i installed nixUnstable and now i have the following issues in nix doctor: how do I fix them:
zie has quit [Quit: ZNC 1.8.1 - https://znc.in]
terinjokes has quit [Quit: ZNC 1.8.1 - https://znc.in]
zie has joined #nixos
terinjokes has joined #nixos
<cwnovusordoseclo> I'm having some issues getting nixos to boot the installer on an xps-15. I get the installer menu then it fails on stage 1 in both legacy and uefi.
<cwnovusordoseclo> I found this issue (and the drive isn't labeled as `NIXOS_ISO`), but I can't update the drive label due to `Bad magic number in super-block while trying to open /dev/sda1` https://github.com/NixOS/nixpkgs/issues/6265
<{^_^}> #6265 (by lethalman, 6 years ago, closed): Cannot boot live cd
<cwnovusordoseclo> the SD card was burned with dd to /dev/sda
ddellaco_ has quit [Remote host closed the connection]
ddellacosta has joined #nixos
ddellacosta has quit [Remote host closed the connection]
rubm has quit [Ping timeout: 260 seconds]
<samueldr> try with a usb drive instead of an SD card
<samueldr> it could be that the driver for the xps 15's SD card reader is missing from the iso image build
<kini> Are there any plans to make `nixos-rebuild` call `nix build` instead of `nix-build`? I think the compact progress display shown by `nix build` would be nice to have for system rebuilds.
<samueldr> 6 years ago is a looong time here, and the label for the iso shouldn't be an issue
<samueldr> kini: the `nix` cli tools would need to get stable first :)
orivej has quit [Ping timeout: 240 seconds]
<samueldr> and yes, iirc
wentasah has quit [Quit: Bye]
sangoma has joined #nixos
<samueldr> though those search terms don't really lend themselves to good results
<samueldr> there's https://github.com/NixOS/nixpkgs/issues/45595 but that's not what I had in mind
<{^_^}> #45595 (by michaelpj, 2 years ago, open): Use nix 2.0 commands in nixos-rebuild
<kini> oh right, I keep forgetting they're still experimental... I use them rather than the hyphenated commands most of the time
<{^_^}> [nixpkgs] @peterhoeg opened pull request #117921 โ†’ plasma5: 5.21.1 -> 5.21.3 โ†’ https://github.com/NixOS/nixpkgs/pull/117921
gerschtli has quit [Quit: WeeChat 2.9]
<s1341_> Hiya samueldr
gerschtli has joined #nixos
cjb has quit [Read error: Connection reset by peer]
cjb has joined #nixos
palo1 has joined #nixos
<samueldr> hi, if you're wondering why I didn't answer your question: it's because I don't know
<{^_^}> [nixpkgs] @samuelgrf opened pull request #117922 โ†’ linuxPackages.rtl8821ce: 2020-12-16 -> 2021-03-21 โ†’ https://github.com/NixOS/nixpkgs/pull/117922
<cwnovusordoseclo> <samueldr "it could be that the driver for "> Booting with copytoram fails also. Bummer, I guess I gotta order a flash drive
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<samueldr> copytoram would need to read from the same storage the stage-1 (initrd, initramfs) doesn't know how to read from (if my assumption is good)
<cwnovusordoseclo> I figured that might be the case, but I'm having trouble separating bios and installer in my mind. it obviously reads it enough to load the boot selector
<samueldr> the odds are probably 50/50 that my assumptions are good, considering until recently it never had been tested with an sd card
<samueldr> and it required drivers to be added to the stage-1
<cwnovusordoseclo> FWIW I couldn't boot from an SD that I built on another nixos machine
<cwnovusordoseclo> * FWIW I couldn't boot from an SD that I built on another nixos machine. Not sure what that means
<cwnovusordoseclo> That makes no sense. I did a nixos-rebuild from another machine with most hradware supported and tried moving the sd card. that also failed
<cwnovusordoseclo> Thanks for your help samueldr
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #117438 โ†’ compsize: use upstream's installer โ†’ https://github.com/NixOS/nixpkgs/pull/117438
simba1 has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
Lord_of_Life has joined #nixos
skijoe has joined #nixos
skijoe has left #nixos [#nixos]
simba1 has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
cjb has quit []
jbox has quit [Quit: WeeChat 3.1]
jarkad has joined #nixos
Vadrigar_ has joined #nixos
ddellacosta has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/97127a47c09 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
Vadrigar_ has quit [Ping timeout: 240 seconds]
codygman__ has joined #nixos
<s1341_> samueldr: was just saying hi ;)
ddellacosta has quit [Ping timeout: 268 seconds]
malook has joined #nixos
codygman__ has quit [Remote host closed the connection]
malook has quit [Remote host closed the connection]
codygman__ has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #117923 โ†’ qt5.qtwebengine: fix source exceeding output limit โ†’ https://github.com/NixOS/nixpkgs/pull/117923
<kunrooted[m]> any good ideas/guides how I can make an .iso from currently running NixOS?
<leonardp> kunrooted: you can take a look at the wiki article: https://nixos.wiki/wiki/Creating_a_NixOS_live_CD
<leonardp> basically it's super easy, barely an inconvenience
CMCDragonkai has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 240 seconds]
<kunrooted[m]> thanks, anyone tried it in here...?
<kunrooted[m]> just curious
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
ddellacosta has joined #nixos
Nickli has quit [Read error: Connection reset by peer]
Nickli has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
ddellacosta has quit [Ping timeout: 246 seconds]
stree has quit [Ping timeout: 240 seconds]
jesystani has quit [Ping timeout: 240 seconds]
codygman__ has quit [Ping timeout: 268 seconds]
cfricke has joined #nixos
griff__ has joined #nixos
stree has joined #nixos
pareidolia has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #117924 โ†’ miniserve: 0.12.1 -> 0.13.0 โ†’ https://github.com/NixOS/nixpkgs/pull/117924
pareidolia has joined #nixos
ddellacosta has joined #nixos
saschagrunert has joined #nixos
avaq has joined #nixos
lsix has joined #nixos
vidbina has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
sss2 has quit [Remote host closed the connection]
Guest55480 has joined #nixos
ahmedelgabri has joined #nixos
Jd007 has quit [Quit: Jd007]
<{^_^}> [nixpkgs] @zowoq merged pull request #117924 โ†’ miniserve: 0.12.1 -> 0.13.0 โ†’ https://github.com/NixOS/nixpkgs/pull/117924
ddellacosta has joined #nixos
wentasah has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
<s1341_> kunrooted[m]: do you perhaps know how i can fix teh nix-doctor issues?
<s1341_> how can I install nixUnstable and get rid of the original nix?
Nickli has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 opened pull request #117925 โ†’ nixos/hydra: gc-check-reachability no longer exists in nix 2.4 โ†’ https://github.com/NixOS/nixpkgs/pull/117925
Nickli has joined #nixos
zupo has joined #nixos
jonringer has quit [Ping timeout: 258 seconds]
sss2 has joined #nixos
<s1341_> fwiw... i fixed it by add nix.package = pkgs.nixUnstable to my /etc/nixos/configuration.nix and doing a nixos-rebuild swithc;
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
supersandro2000 has quit [Client Quit]
supersandro2000 has joined #nixos
<Aleksejs> Hi, after I switched to 20.09, none of my scanners work with my system. scanimage -L shows nothing, also with sudo. My user is in the scanner group. I have hardware.sane and services.saned enabled and also added these backends: pkgs.sane-airscan pkgs.hplipWithPlugin pkgs.saneBackends
civodul has joined #nixos
jimmiehansson has joined #nixos
bl1nk has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117918 โ†’ nixos/containers: update example path to match defaults โ†’ https://github.com/NixOS/nixpkgs/pull/117918
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117919 โ†’ Correct typo in alias for inter font โ†’ https://github.com/NixOS/nixpkgs/pull/117919
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117920 โ†’ python3Packages.pyzerproc: 0.4.8 -> 0.4.9 โ†’ https://github.com/NixOS/nixpkgs/pull/117920
cole-h has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @doronbehar merged pull request #117908 โ†’ whatsapp-for-linux: init-at 1.1.5 โ†’ https://github.com/NixOS/nixpkgs/pull/117908
fendor has joined #nixos
ddellacosta has joined #nixos
oida has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d88cdc7bc1a (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
oida has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @doronbehar merged pull request #117306 โ†’ gcompris: 1.0 -> 1.1 โ†’ https://github.com/NixOS/nixpkgs/pull/117306
graf_blutwurst has joined #nixos
VideoGameEnjoyer has quit [Read error: Connection reset by peer]
VideoGameEnjoyer has joined #nixos
thc202 has joined #nixos
phalrax has joined #nixos
<phalrax> Anyone having trouble with the latest channel update and virtualbox? It's not building for me
dandart has joined #nixos
ManiacOfMadness has quit []
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
avaq has quit [Remote host closed the connection]
avaq has joined #nixos
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main ยซ Automated team sync results. ยป: https://git.io/JYWto
ManiacOfMadness has joined #nixos
berberman has quit [Ping timeout: 276 seconds]
berberman has joined #nixos
LilleCarl has joined #nixos
<Ke> anyone know, how can I check what's going on with aarch64 unstable hydra
ManiacOfMadness has quit [Ping timeout: 246 seconds]
<Ke> https://hydra.nixos.org/queue-runner-status is it this, but what are the seconds?
ddellacosta has joined #nixos
ardumont has left #nixos ["WeeChat 3.0"]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #117911 โ†’ maintainers: pshendry -> polendri โ†’ https://github.com/NixOS/nixpkgs/pull/117911
ddellacosta has quit [Ping timeout: 268 seconds]
stree has quit [Ping timeout: 268 seconds]
ManiacOfMadness has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #117439 โ†’ nixos/geoclue2: do not start geoclue agent for system users โ†’ https://github.com/NixOS/nixpkgs/pull/117439
zupo_ has joined #nixos
Guest44411 has quit [Quit: Idle for 30+ days]
woobilicious[m] has quit [Quit: Idle for 30+ days]
la_mlatu[m] has quit [Quit: Idle for 30+ days]
Charles[m]2 has quit [Quit: Idle for 30+ days]
chipb has quit [Read error: Connection reset by peer]
chipb_ has joined #nixos
BenjiProd has joined #nixos
zupo has quit [Ping timeout: 240 seconds]
gianarb has quit [Quit: ZNC 1.8.1 - https://znc.in]
gianarb has joined #nixos
stree has joined #nixos
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main ยซ Automated team sync results. ยป: https://git.io/JYW3R
orivej has joined #nixos
<typetetris> I am trying to do a fixed output derivation (the build needs to download something) and I keep getting "path <...> is not valid" at the end. (Otherwise the build succeeds.) What am I doing wrong? What can I do to make that work?
domogled has joined #nixos
gianarb has quit [Quit: ZNC 1.8.1 - https://znc.in]
griff__ has quit [Quit: griff__]
<{^_^}> [nixpkgs] @zimbatm merged pull request #117925 โ†’ nixos/hydra: gc-check-reachability no longer exists in nix 2.4 โ†’ https://github.com/NixOS/nixpkgs/pull/117925
gianarb has joined #nixos
tarruda3 has quit [Read error: Connection reset by peer]
tarruda3 has joined #nixos
<Ke> also, why nodes have running 0 and runnable nonzero
<Ke> ?
<{^_^}> [nixpkgs] @peterhoeg opened pull request #117926 โ†’ crystal2nix: 0.1.0 -> 0.1.1 โ†’ https://github.com/NixOS/nixpkgs/pull/117926
ddellacosta has joined #nixos
hiro98 has joined #nixos
domogled has quit [Quit: domogled]
ddellacosta has quit [Ping timeout: 268 seconds]
hiro98 has quit [Ping timeout: 246 seconds]
ManiacOfMadness` has joined #nixos
fuiltilt has quit [Quit: WeeChat 2.9]
ManiacOfMadness has quit [Ping timeout: 246 seconds]
avaq has quit [Ping timeout: 240 seconds]
avaq has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117886 โ†’ pythonPackages.pygments: enable tests โ†’ https://github.com/NixOS/nixpkgs/pull/117886
avn has quit [Remote host closed the connection]
ddellacosta has joined #nixos
alexherbo2 has joined #nixos
nixo_ has quit [Quit: Leaving]
ddellacosta has quit [Ping timeout: 268 seconds]
Qwerky has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #117926 โ†’ crystal2nix: 0.1.0 -> 0.1.1 โ†’ https://github.com/NixOS/nixpkgs/pull/117926
gulplante has joined #nixos
avaq has quit [Remote host closed the connection]
beertoagunfight has joined #nixos
evils has joined #nixos
<{^_^}> [nixpkgs] @gares opened pull request #117927 โ†’ coq-elpi: update โ†’ https://github.com/NixOS/nixpkgs/pull/117927
<contrun> What is the easiest way to try a unmerged nixos module? I want to use pomerium on nixos, the PR has been a while.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117751 โ†’ python38Packages.google-cloud-bigquery: 2.12.0 -> 2.13.1 โ†’ https://github.com/NixOS/nixpkgs/pull/117751
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117756 โ†’ python38Packages.google-cloud-container: 2.3.1 -> 2.4.0 โ†’ https://github.com/NixOS/nixpkgs/pull/117756
avaq has joined #nixos
griff__ has joined #nixos
jarkad has quit [Quit: WeeChat 2.9]
jarkad has joined #nixos
dandart has quit [Remote host closed the connection]
leotaku has quit [Ping timeout: 240 seconds]
Qwerky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #115055 โ†’ deluge: shut up ngettext error on webui start โ†’ https://github.com/NixOS/nixpkgs/pull/115055
herbertBurger has joined #nixos
leotaku has joined #nixos
<lukegb> contrun: sorry about that
<lukegb> I should get back to it
<contrun> lukegb: It's quite OK. I am asking a more general problem of how to get unstable modules into a stable channel system. I think people may also want that.
<lukegb> In general, you should just be able to add the specific module to your imports
<contrun> I this specific case, there are some files I need to import, the nixos module and the pomerium derivation. I wonder if there is any easier way to do this. I mean just import the nixpkgs branch, and write my configuration.nix.
herbertBurger has quit [Quit: nyaa~]
<{^_^}> [nixpkgs] @ymatsiuk opened pull request #117928 โ†’ nixos/fprtind: add TOD support โ†’ https://github.com/NixOS/nixpkgs/pull/117928
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @wandersoncferreira opened pull request #117929 โ†’ [20.09] - Backport #117908 โ†’ https://github.com/NixOS/nixpkgs/pull/117929
<{^_^}> [nixpkgs] @pmenke-de opened pull request #117930 โ†’ Citrix workspace add 21.3.0 โ†’ https://github.com/NixOS/nixpkgs/pull/117930
<supersandro2000> contrun: last time I tried this I could only change everything or nothing
<supersandro2000> you can use unstable and overwrite the packages with stable
<supersandro2000> but that will be a bit hacky
ddellacosta has quit [Ping timeout: 252 seconds]
respawn_ has joined #nixos
hiro98 has joined #nixos
beertoagunfight has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/96a4f3f97c2 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
S0rin has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Munksgaard opened pull request #117931 โ†’ bitwarden_rs: 1.19.0 -> 1.20.0 โ†’ https://github.com/NixOS/nixpkgs/pull/117931
<contrun> <supersandro2000 "arslonga: last time I tried this"> Well. Thanks.
dandart has joined #nixos
<lukegb> contrun: you can help by giving that PR an approving review :^)
avaq has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #117768 โ†’ exoscale-cli: 1.24.0 -> 1.26.0 โ†’ https://github.com/NixOS/nixpkgs/pull/117768
Vadrigar_ has joined #nixos
<contrun> lukegb: Done. Thanks.
stree has quit [Quit: Caught exception]
stree has joined #nixos
dandart has quit [Quit: dandart]
<{^_^}> [nixpkgs] @Munksgaard opened pull request #117932 โ†’ bitwarden_rs-vault: 2.18.1b -> 2.19.0 โ†’ https://github.com/NixOS/nixpkgs/pull/117932
S0rin has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
m4tsa_ has quit [Ping timeout: 240 seconds]
m4ts has joined #nixos
Dr8128 has joined #nixos
ddellacosta has joined #nixos
gulplante has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @zimbatm opened pull request #117933 โ†’ nixpkgs-fmt: 1.1.0 -> 1.2.0 โ†’ https://github.com/NixOS/nixpkgs/pull/117933
Vadrigar_ has quit [Ping timeout: 260 seconds]
ddellacosta has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @zimbatm merged pull request #117933 โ†’ nixpkgs-fmt: 1.1.0 -> 1.2.0 โ†’ https://github.com/NixOS/nixpkgs/pull/117933
jarkad has quit [Quit: WeeChat 2.9]
meh` has joined #nixos
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
aminechikhaoui has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117893 โ†’ opensnitch: init at 1.3.6 โ†’ https://github.com/NixOS/nixpkgs/pull/117893
alexherbo2 has quit [Ping timeout: 252 seconds]
ddellacosta has joined #nixos
philr has quit [Ping timeout: 240 seconds]
avaq has joined #nixos
alexherbo2 has joined #nixos
ddellacosta has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117922 โ†’ linuxPackages.rtl8821ce: 2020-12-16 -> 2021-03-21 โ†’ https://github.com/NixOS/nixpkgs/pull/117922
hiro98 has quit [Quit: hiro98]
<phalrax> I have grafana running on port 3000 but can't access it from other systems in my network because firewalld is blocking it,ย  networking.firewall.allowedTCPPorts = [ 3000 ]; doesn't work though, any idea why?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117915 โ†’ dpt-rp1-py: Add setuptools to propagatedBuildInput โ†’ https://github.com/NixOS/nixpkgs/pull/117915
jarkad has joined #nixos
ece8 has joined #nixos
ece has quit [Read error: Connection reset by peer]
ece8 is now known as ece
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #117813 โ†’ Nvim whichkey setup.lua โ†’ https://github.com/NixOS/nixpkgs/pull/117813
ManiacOfMadness` has quit [Ping timeout: 246 seconds]
<supersandro2000> phalrax: is it listening on ::0 or ::1?
<supersandro2000> ss -tulpen | grep 3000
<phalrax> supersandro2000 tcp 0 0 127.0.0.1:3000 0.0.0.0:* LISTEN -
<phalrax> supersandro2000 looks identical to this one for example: tcp6 0 0 :::9100 :::* LISTEN -. that one works though
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #116136 โ†’ clightd: 5.1 -> 5.2 โ†’ https://github.com/NixOS/nixpkgs/pull/116136
<supersandro2000> phalrax: it should be 0.0.0.0:3000
<supersandro2000> otherwise it only listens on localhost
<supersandro2000> the second is peer address port and I have no idea what it is doing
<phalrax> ohh alright
<phalrax> I thought the foreign address decides what it's listening to
ddellacosta has joined #nixos
FRidh has joined #nixos
zebrag has joined #nixos
<phalrax> setting grafana to 0.0.0.0 worked, thanks
dev_mohe has joined #nixos
dev_mohe has quit [Client Quit]
ddellacosta has quit [Ping timeout: 268 seconds]
S0rin has quit [Ping timeout: 252 seconds]
S0rin has joined #nixos
griff__ has quit [Quit: griff__]
<gthm> w/in 5
<dgpratt> I'm using a command like this to enter a build environment for this package I'm trying to create: nix-shell $NIXPKGS --pure -A myPackage
<dgpratt> how can I make the "which" command available in that environment without adding it to the package definition?
<dgpratt> I tried to add "-p which" to the above, but it seems to change the context to the configured nixpkgs location instead of the repository referenced by $NIXPKGS
<{^_^}> [nix] @edolstra pushed to master ยซ nixpkgs/master compatibility ยป: https://git.io/JYWbA
aaabbbbbbbbbb has joined #nixos
<aaabbbbbbbbbb> Hi, I would like to run clion with gtest support. I've run the following but the clion can't file gtest libs:
<aaabbbbbbbbbb> nix-shell -p 'with import <nixpkgs> { }; [ gcc_multi gnumake automake autoconf glibc libtool pkgconfig boost cmake gtest jetbrains.clion ]'
<aaabbbbbbbbbb> And then run clion inside nix-shell
rubm has joined #nixos
<aaabbbbbbbbbb> I have modified the CMakeLists.txt and added this too, so the include files are found:
<aaabbbbbbbbbb> # 'lib' is the folder with Google Test sources
<aaabbbbbbbbbb> add_subdirectory(lib/googletest)
<aaabbbbbbbbbb> include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
<aaabbbbbbbbbb> But I get this error: Linking CXX static library ../../libgtestd.a Error running link command: No such file or directory
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
<Raito_Bezarius> does anyone tried to install texlive-combined-full on nixos-unstable?
<Raito_Bezarius> it seems like I have collision between `/nix/store/rvyz7k8xcqb4m4nm2jrz59aabvm1z5sk-texlive-combined-full-2020.20210109/bin/afm2pl' and `/nix/store/jfnkfrrjgvmmhsypg38s0w5ll17729da-texlive-combined-2020/bin/afm2pl'
<Raito_Bezarius> well it seems like home-manager-related
<Raito_Bezarius> on a system wide install, it just works
<_virkony_> Raito_Bezarius: I would expect that texlive-combined-full supressed textlive-combined. I.e. in your profile you should build symlinks only from one of them, but not both
<Raito_Bezarius> _virkony_: I only have one instance of texlive.combined.scheme-full
stree has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
jmeredith has joined #nixos
<s1341_> how od i rebase a PR from master to staging cleanly?
<_virkony_> I suspect that either nix-env -q --installed or home-manager packages list texlive-combined. Attempt to install texlive-combined-full on top of that results in conflict either because it is listed alongside with texlive-combined package in home-manager or when you use nix-env -i
<kunrooted[m]> thanks for help before
<kunrooted[m]> seems like this worked
ddellacosta has quit [Ping timeout: 265 seconds]
ece has quit [Ping timeout: 268 seconds]
stree has joined #nixos
griff__ has joined #nixos
<s1341_> nm. owrked it out: git rebase --onto $(git merge-base origin/master origin/staging) master
jimmie_ has joined #nixos
ddellaco_ has joined #nixos
lordcirth__ has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
jimmiehansson has quit [Ping timeout: 240 seconds]
lordcirth_ has quit [Ping timeout: 245 seconds]
_virkony_ has quit [Ping timeout: 246 seconds]
ddellaco_ has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
xourt has joined #nixos
gustavderdrache has joined #nixos
alexherbo28 has joined #nixos
orivej has joined #nixos
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo28 is now known as alexherbo2
futile has joined #nixos
<supersandro2000> dgpratt: the shell should not have sandbox and you can just use the absolute path
ddellaco_ has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
Qwerky has joined #nixos
<dgpratt> thanks supersandro2000 but I'm afraid I'm not sure I follow you; are you suggesting to omit "--pure" from the shell command and then "which" is available from the external environment?
<viric> the asterisk module is meant to hold the user passwords in the store?
_virkony_ has joined #nixos
graf_blutwurst has quit [Remote host closed the connection]
<sterni> viric: uhhh holding user passwords in store is not a good idea since it's world readable
<viric> that's why I wonder maybe I don't understand something of asterisk
<ToxicFrog> Asterisk the PBX server?
<viric> yes
<ToxicFrog> services.asterisk.confFiles has an example with passwords in it, but that's stored in your nixos configuration, not in the store
<ToxicFrog> (i.e. /etc/nixos, which only needs to be readable by root unless you're doing something weird like me)
<viric> Whatever is in nixos configuration ends up in the store, no?
<ToxicFrog> And while I haven't dug into the asterix module, I suspect the config files derived from that configuration are written to ~asterix or similar.
<viric> All strings in configuration.nix will end up in the store or not used at all
<viric> how would a string go from configuration.nix to somewhere else without going through the store?
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
respawn_ has quit [Quit: Leaving]
domogled has joined #nixos
<supersandro2000> dgpratt: --pure is about the shell. It does not enable sandboxing IIRC
jnbrains has joined #nixos
<futile> I have a shell.nix with some buildInputs, and then build multiple C/C++-projects in this nix-shell. One of these projects I want to link statically (which it supports), but when I add `glibc.static` as a buildInput, the other projects also try to link against a static version of, e.g., libc.a, which they should not. Is there a way to make both
<futile> requirements work?
jnbrains has left #nixos [#nixos]
S0rin has quit [Ping timeout: 246 seconds]
waleee-cl has joined #nixos
<supersandro2000> I think you need to split the derivations for static and non static
<exarkun> https://github.com/craigmbooth/nix-visualize seems broken on recent nixos (uses python 2 and broken python 2 libs)
<exarkun> is there some other similar tool that works?
<supersandro2000> don't think so but python2 is not well maintained
saschagrunert has quit [Remote host closed the connection]
ddellaco_ has quit [Remote host closed the connection]
rj has joined #nixos
saschagrunert has joined #nixos
ddellaco_ has joined #nixos
slack1256 has joined #nixos
k0t0n has joined #nixos
Jd007 has joined #nixos
phalrax has quit [Quit: Connection closed]
<futile> @supersandro2000 thanks! Is there a way that allows me to only require one shell.nix/derivation? The build process that runs is a bit more involved, and requiring different environments/shell.nix's for different steps of the build would be quite impractical
S0rin has joined #nixos
saschagrunert has quit [Remote host closed the connection]
saschagrunert has joined #nixos
griff__ has quit [Quit: griff__]
<supersandro2000> futile: maybe you can pass the configure scripts/make/whatever which libraries to use
<dgpratt> supersandro2000: oh, I think I understand what you're saying now, use the absolute path to "which" (e.g. "which which") in the external environment; seems kinda obvious now that you suggest it :)
<supersandro2000> dgpratt: yeah. The sandbox strips that easy escape away.
saschagrunert has quit [Remote host closed the connection]
saschagrunert has joined #nixos
<futile> supersandro2000 mhhm yeah something like that might be an idea, thanks! I'll see if that is feasible, cause I don't really want to change the build process too much, but I'll explore it.
futile has quit [Quit: Connection closed]
ddellaco_ has quit [Remote host closed the connection]
domogled has quit [Quit: domogled]
<slack1256> Hi, I am building a private repo on nixos with `stack install`. In the process it has to checkout some other privated repos, but it does so inside the nix-build environment, which doesn't have access to my ssh-keys. What can I do?
<slack1256> `stack --no-nix` doesn't recognize my default ghc install :-/ .
ddellaco_ has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
jonringer has joined #nixos
Jackneill has quit [Ping timeout: 248 seconds]
ddellaco_ has quit [Remote host closed the connection]
qbit has joined #nixos
<qbit> hio!
<slack1256> The --no-nix-flag helped !
<qbit> does anyone have a systemd service thing that starts something dependent on x11 being running? as a specific user?
<Unode> what nix/nixpkgs function can I used to do something like `pkgs.python.withPackages [ pkgA pkgB (pkgC only if Py39)
<qbit> i want to autostart barrierc
<qbit> and i am not sure what that lookslike with the x11 / login dance systemd wise
<Unode> I tried using "optional (! Py39) pkgC" but I'm not getting the expected behavior
Jackneill has joined #nixos
figgyc has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
figgyc has joined #nixos
Vadrigar_ has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
n-osborne has joined #nixos
andreas31 has quit [Ping timeout: 240 seconds]
sangoma has joined #nixos
n-osborne has quit [Remote host closed the connection]
Vadrigar_ has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/d88cdc7bc1a (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
ddellaco_ has joined #nixos
Qwerky_ has joined #nixos
Qwerky has quit [Ping timeout: 246 seconds]
andreas31 has joined #nixos
turlando has joined #nixos
marin[m] has joined #nixos
<clever> > lib.optional false 42
<{^_^}> [ ]
<clever> Unode: optional returns an empty list when the condition is false, so you need to use ++ to append it to the list
stree has quit [Ping timeout: 246 seconds]
erasmas has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
k0t0n has quit [Ping timeout: 268 seconds]
S0rin has quit [Ping timeout: 240 seconds]
supercoven has joined #nixos
S0rin has joined #nixos
supercoven has quit [Read error: Connection reset by peer]
endformationage has joined #nixos
SrPx has quit [Ping timeout: 276 seconds]
stree has joined #nixos
s1341_ has quit [Ping timeout: 245 seconds]
mudri has quit [Ping timeout: 276 seconds]
SrPx has joined #nixos
mudri has joined #nixos
growpotkin has joined #nixos
s1341_ has joined #nixos
zn13 has joined #nixos
<supersandro2000> Unode: lib.optionals cond [ pkgC ]
<supersandro2000> cond could be isPy39 or (pythonOlder "3.9")
<supersandro2000> [ x ] ++ lib.optionals [ y ]
^x3ro[m] has left #nixos ["User left"]
<zn13> I'm trying either `nix-build` or `nix-env -if .` and `default.nix` uses `import <nixpkgs> {}` to access nixpkgs. I had no channels listed by `nix-channel --list`, and somewhere (I've forgotten) suggested this was 20.09 (which is what my base nixos install used). I've just run `nix-channel --add https://nixos.org/channels/nixpkgs-unstable ;
<zn13> nix-channel --update`. But now when I run any of `nix-build`, `nix-env -if .`, or `nix-env --upgrade` my local derivation doesn't seem to rebuild with any of the new dependencies. How does `import <nixpkgs> {}` resolve and why isn't it using my channel?
D__ is now known as D_
<zn13> The output of `nix-channel --list` is a single line: `nixpkgs https://nixos.org/channels/nixpkgs-unstable`
iwvt[m] has joined #nixos
avaq has quit [Ping timeout: 246 seconds]
Seylerius has quit [Quit: Idle for 30+ days]
questaetang[m] has quit [Quit: Idle for 30+ days]
FranckRasolo[m] has quit [Quit: Idle for 30+ days]
Keash[m] has quit [Quit: Idle for 30+ days]
<Unode> supersandro2000, clever thanks. lib.optionals did the trick. I had one conditional per package which was making things unnecessarily complicated.
codygman__ has joined #nixos
ximun has quit [Quit: WeeChat 2.3]
ahmedelgabri has quit [Ping timeout: 252 seconds]
iwvt[m] has left #nixos ["User left"]
<supersandro2000> zn13: <...> means it is a channel
<supersandro2000> nixos is using the nixos channel, too
<Unode> is the state of python 3.9 better in nixos 21.03 ? I'm on 20.09 and seems like a lot of packages fail to build.
<supersandro2000> on my nixos container I only have the nixos channel so I think you need that
cole-h has joined #nixos
<Unode> (also any interest in fixing 20.09 or things will just move to the next release?)
<supersandro2000> Unode: it will probably be the default for python3
<Unode> in 21.03 ?
<supersandro2000> yeah
<supersandro2000> and 20.09 receives little updates shortly before the 21.05
<Unode> ah so will be 21.05 this year?
<Unode> I missed that news
<zn13> supersandro2000: It seems that `nix-channel` shows `nixpkgs` is bound to the unstable url. Yet `import <nixpkgs> {}` is importing the `nixos` channel? So does this imply `nix-env` and `nix-build` don't use my user `nix-channel` bindings for channel names? (This seems like a confusing possibility to me.)
S0rin has quit [Ping timeout: 260 seconds]
<zn13> Is there a way I can query `nix-build` for what path or url binding it evaluates `<nixpkgs>` to?
hiro98 has joined #nixos
<rmcgibbo[m]> zn13: `nix-instantiate --find-file nixpkgs`?
<zn13> Thanks! Huh... it says `/nix/var/nix/profiles/per-user/root/channels/nixos`.
<zn13> Why does it say `root` instead of my user name?
<rmcgibbo[m]> That's the same as how my channels are configured.
<zn13> Ok, but what's the purpose of `nix-channel` or user-specific channel management if `nix-env` doesn't use that? I'm quite confused.
<rmcgibbo[m]> e.g. `nix-channel --list` (as user), i have home-manager and nixpkgs-unstable, and then for root (sudo nix-channel --list) i have nixos
<rmcgibbo[m]> what's your NIX_PATH?
<zn13> ah, it is `nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels`
codygman__ has quit [Ping timeout: 240 seconds]
<zn13> Ok, that clarifies that mystery. (I am not sourcing the standard bash rc at login.)
<rmcgibbo[m]> I don't entirely understand the reason for that level of indirection between "nixpkgs" and "nixos" in the NIX_PATH and channel names, but yeah. `<xyz>` in nix-the-language just resolves to whatever xyz is "=" to in NIX_PATH, iiuc.
S0rin has joined #nixos
<zn13> Right. Without understanding what lead to this design, it feels like there's one extra layer of indirection that seems confusing.
simba1 has joined #nixos
<supersandro2000> so why does my nixos container contain export NIX_PATH="$HOME/.nix-defexpr/channels${NIX_PATH:+:$NIX_PATH}" and my nix daemon on debian
domogled has joined #nixos
<supersandro2000> NIX_PATH=${NIX_PATH:+$NIX_PATH:}$HOME/.nix-defexpr/channels
<zn13> Ok, I see how `/etc/profile` eventually has `if [ -e "$HOME/.nix-defexpr/channels" ]` then prepend that to `NIX_PATH`.
andreas31 has quit [Ping timeout: 240 seconds]
<zn13> So the bash startup checks if the path exists, then updates `NIX_PATH`. Since I created the channel path _after_ logging in, the env var wasn't updated. (But also my funky bash doesn't source the system config.)
<zn13> This happens in a derivation called `set-environment` btw if you're looking for the innards here.
andreas31 has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
S0rin has quit [Ping timeout: 240 seconds]
dbmikus has joined #nixos
<zn13> Thanks for helping sort this out rmcgibbo[m] and supersandro2000.
saschagrunert has quit [Remote host closed the connection]
bdju has quit [Read error: Connection reset by peer]
bdju has joined #nixos
S0rin has joined #nixos
codygman__ has joined #nixos
haritz has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
ahmedelgabri has joined #nixos
bdju has quit [Read error: Connection reset by peer]
bdju has joined #nixos
ddellaco_ has joined #nixos
zn13 has quit [Ping timeout: 240 seconds]
ddellaco_ has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
ahmedelgabri has quit [Ping timeout: 245 seconds]
__monty__ has joined #nixos
codygman__ has quit [Remote host closed the connection]
codygman__ has joined #nixos
griff__ has joined #nixos
domogled has quit [Ping timeout: 246 seconds]
domogled has joined #nixos
nDuff has joined #nixos
ahmedelgabri has joined #nixos
dongcarl has joined #nixos
ahmedelgabri has quit [Ping timeout: 245 seconds]
est31 has quit [Remote host closed the connection]
est31 has joined #nixos
mallox has joined #nixos
domogled1 has joined #nixos
evanjs has quit [Ping timeout: 260 seconds]
domogled has quit [Ping timeout: 268 seconds]
domogled1 is now known as domogled
codygman__ has quit [Remote host closed the connection]
codygman__ has joined #nixos
maxdevjs has joined #nixos
domogled has quit [Ping timeout: 252 seconds]
griff__ has quit [Quit: griff__]
<slack1256> Were haskell LTS packages inside nixpkgs at some point in time? I seem to remember they were.
<sterni> slack1256: haskellPackages used to be a specific stackage-lts version, but nowadays it always points to a stackage-nightly version
dev_mohe has joined #nixos
dev_mohe has quit [Client Quit]
<slack1256> but where old versions of the LTS on haskell.packages too?
S0rin has quit [Ping timeout: 246 seconds]
<sterni> nope
<sterni> but you used to be able to pin nixpkgs to an older version to get a specific lts version
<sterni> you may be able to use something like haskell.nix for such things? not certain though
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
<veleiro> has anyone built nixUnstable on non-nixos machines
<marin[m]> @veleiro mind elaborating? I've been using unstable on popos and macos
nuncanada has joined #nixos
<veleiro> yeah did you compile it from source?
<veleiro> I'd just like to know what flags to pass ./configure
<veleiro> docs are vague
<marin[m]> could be my noobishness, but what are you exactly trying to compile?
<marin[m]> a nixos distro, a program, something else?
<veleiro> github.com/nixos/nix
ris has joined #nixos
<marin[m]> gotcha, nix itself. sorry I've misunderstood your question - I've used nix with unstable channels, not the nix itself from trunk
ddellaco_ has quit [Remote host closed the connection]
<veleiro> yeah this is for flakes support on non-nixos systems
S0rin has joined #nixos
dave` has joined #nixos
dandart has joined #nixos
dandart has quit [Client Quit]
stree has quit [Ping timeout: 260 seconds]
ddellaco_ has joined #nixos
S0rin has quit [Ping timeout: 246 seconds]
dave` is now known as test123`
test123` is now known as davidh383940
davidh383940 is now known as davidh38
xourt has quit [Quit: Connection closed]
orivej has joined #nixos
vidbina has quit [Ping timeout: 268 seconds]
davidh38 has quit [Remote host closed the connection]
jarkad has quit [Ping timeout: 240 seconds]
meh` has quit [Ping timeout: 240 seconds]
stree has joined #nixos
jarkad has joined #nixos
<ashkitten> is native-only steam worth keeping in nixpkgs?
<ashkitten> seems like more hassle than it's worth
<ToxicFrog> What do you mean by "native-only" here?
<ashkitten> steam with the nativeOnly argument, which does not use the steam runtime
<Yaniel> is that even working on nixos
<ashkitten> it's still *there* at least
<ToxicFrog> Aah
<ToxicFrog> That doesn't even work reliably on SUSE, I'd be amazed if it works at all on nixos
<ashkitten> i really think we should just remove it
rajivr has quit [Quit: Connection closed for inactivity]
<Yaniel> yea I don't really think anything of value would be lost there
<Yaniel> nothign that wasn't lost years ago anyway
<ashkitten> our steam runtime is probably one of the most reliable and best packaged of any distro
<ashkitten> since we actually do basically what pressure-vessel was meant to achieve
<ashkitten> (iirc)
<slack1256> sterni: thanks for the clarification! I was mis-remembering.
<veleiro> can someone explan to me what steam nativeOnly does? I thought it uses local nix libraries instead of a chroot-type normal FHS
<Yaniel> as I understand it, it uses the "system" versions of all the libraries rather than the ones that steam ships
<ashkitten> i think it still uses a fhsenv because that's what steam expects
<veleiro> yeah what's on your system that's what i understand too, but steam in nixpkgs is chroot
<ashkitten> anyway at this point (this did not used to be the case) the steam runtime is well maintained and should support every game, with some games possibly needing extra libs which we can provide, if they're badly packaged
<ashkitten> games built for steamrt 2 (soldier) should not need any extra libs, since they can't load extra libs on any distro regardless
Qwerky_ has quit [Remote host closed the connection]
respawn_ has joined #nixos
stree has quit [Quit: Caught exception]
stree has joined #nixos
bn_work has joined #nixos
ahmedelgabri has joined #nixos
<Miyu-saki> Uhhh, I think steam + nvidia + vulkan broke.
<Miyu-saki> Specifically because of Proton 5.13 mitigation
<Miyu-saki> I had to add this to make my Vulkan games work. VK_ICD_FILENAMES="/run/opengl-driver/share/vulkan/icd.d/nvidia_icd.json" %command%
slack1256 has quit [Remote host closed the connection]
<Yaniel> hmm, I thought that came up in the discussion about proton 5.13 / steamrt2 already=
Elmar has joined #nixos
lemmie[m] has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
astralbijection has joined #nixos
<astralbijection> Hello, I've just installed NixOS, with a /home directory from a previous install. How do I source the packages in ~/.nix-profile? The wiki says to source ~/.nix-profile/etc/nix.sh but the ~/.nix-profile/etc/ folder is missing.
<astralbijection> I've tried removing ~/.nix-profile and executing `nix-env -i <package>` and sourcing from /etc/profile
ddellacosta has joined #nixos
<astralbijection> Manually adding `~/.nix-profile/bin` to my PATH works, but I don't know if that's the "correct" way to do it
fuzzypixelz has joined #nixos
<maralorn> I get the weirdest errormessage when trying to build my system: error: opening file '/nix/store/i15xcm6ahmdyji4gjrl5fidhv1l9gfp7-texlive-cyrillic-bin-2019.drv': No such file or directory
vidbina has joined #nixos
hiro98 has quit [Remote host closed the connection]
kalipso has joined #nixos
astralbijection has quit [Quit: Ping timeout (120 seconds)]
Vadrigar_ has joined #nixos
sorki has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
srk has quit [Ping timeout: 240 seconds]
astralbijection has joined #nixos
ddellacosta has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
Vadrigar_ has quit [Ping timeout: 240 seconds]
ddellaco_ has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
sorki is now known as srk
<ashkitten> Miyu-saki: are you on latest unstable? what game?
Elmar has left #nixos [#nixos]
ManiacOfMadness` has joined #nixos
vidbina has quit [Ping timeout: 246 seconds]
<cransom> astralbijection: the majority of the nix dot files in your directory are symlinks to the nix store. nix-env won't really be able to help you there if the nix store is missing. you'd have to take another approach to managing installed apps.
<astralbijection> Is the nix store the one located in /nix? Because that exists, the symlinks exist, the issue is just that there's no script for adding the symlinks to PATH
<astralbijection> Other than just manually adding it to path myself in the .zshrc
<jumper[m]> ungoogled-chromium from nixpkgs-unstable segfaults for me. Is it possible that this is nix-related?
<cransom> .nix-profile is a link to /nix/var/nix/profiles/per-user/$USER/profile . does that directory exist on your current nix store?
cfricke has quit [Quit: WeeChat 3.1]
<astralbijection> Yes
Dotz0cat has quit [Ping timeout: 246 seconds]
<cransom> but does that path have a bin/ in it?
<astralbijection> Yes, there's a bin/ but no etc/
cornfeedhobo has joined #nixos
<astralbijection> Strangely, it seems to work on bash but not zsh
mallox has quit [Quit: WeeChat 3.1]
<astralbijection> Never mind, ignore that
fuiltilt has joined #nixos
cornfeedhobo has left #nixos ["when i leave, come together like butt cheeks"]
Lord_of_Life_ has joined #nixos
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
respawn_ has quit [Quit: Leaving]
astralbijection has quit [Quit: Connection closed]
hiro98 has joined #nixos
hiro98 has joined #nixos
astralbijection has joined #nixos
dotdotok has quit [Quit: Leaving]
BenjiProd has quit [Remote host closed the connection]
hiro98 has quit [Ping timeout: 260 seconds]
palo has quit [Ping timeout: 268 seconds]
palo1 has joined #nixos
palo1 is now known as palo
superherointj has joined #nixos
lsix1 has joined #nixos
lsix has quit [Ping timeout: 245 seconds]
<ddellaco_> hi folks, I'm using nix on macOS, and with just a basic shell.nix I'm seeing that clang is swapped out for a much older version installed by nix when I get into a nix shell. Is there a way to tell nix to use the system clang in certain contexts? In particular, this is a rails app and I'm having trouble building extensions when the nix clang is used
sangoma has quit [Quit: WeeChat 3.1]
<ambroisie> Hello people
<ambroisie> I'm experimenting with using `naersk` on a Rust project using flakes
<ambroisie> And I've found a problem that I do not know how to solve
<ambroisie> Here's the repo for reference: https://gitea.belanyi.fr/ambroisie/lohr
<ambroisie> I can `nix build` without any issues
simba1 has quit [Ping timeout: 246 seconds]
<ambroisie> But `nix run` gives me an error, it seems that it is building `lohr` and `nix run` was expecting the binary to be named `lohr-0.1.0`
simba1 has joined #nixos
lordcirth__ is now known as lordcirth
<ambroisie> cab404[m]: I used your template as a basis for this, so if you happen to know more about this issue I'd love to know
<sterni> ddellaco_: you need to use a clang from nix, but you can override your current derivation to use a newer clang, I'm not sure if it works as well on macOS, but you *should* be able to use llvmPackages_latest.stdenv instead of the normal stdenv for example which would currently have clang 11
<ddellaco_> sterni: thanks a lot! Will give that a shot.
astralbijection has quit [Ping timeout: 240 seconds]
nuncanada has quit [Read error: Connection reset by peer]
<spacetato> ambroisie: I get around the `nix run` naming by doing `nix shell . -c lohr`
codygman` has joined #nixos
<spacetato> I haven't found a way to tell `nix run` what the name of the binary is
<spacetato> it seems to always expect `pname-version`
<ambroisie> That's somewhat annoying
<spacetato> it's weird that `nix run nixpkgs#vim` works though, for example
<spacetato> looking into it..
hiro98 has joined #nixos
codygman__ has quit [Ping timeout: 260 seconds]
hiro98 has quit [Remote host closed the connection]
meh` has joined #nixos
simba1 has quit [Ping timeout: 276 seconds]
<spacetato> aha
englishm__ has quit []
englishm has joined #nixos
<spacetato> ambroisie: patch that fixes this: https://clbin.com/SSjfv
<ambroisie> Thanks spacetato <3
<spacetato> np
hlz has quit [Ping timeout: 245 seconds]
hlz has joined #nixos
kenran has joined #nixos
tomaw has quit [Read error: Connection reset by peer]
stree has quit [Ping timeout: 240 seconds]
nuncanada has joined #nixos
turlando has quit [Ping timeout: 240 seconds]
tomaw has joined #nixos
S0rin has joined #nixos
superherointj has quit [Quit: Leaving]
<qbit> anyone have an example of using content_by_lua_block in nginx? (via locations."".extraConfig or similar)
stree has joined #nixos
<qbit> [nginx_parser] WARNING Skip unparseable block: "content_by_lua_block"
<qbit> maybe that's my problem :D
ManiacOfMadness` has quit [Ping timeout: 246 seconds]
nDuff has quit [Ping timeout: 240 seconds]
<qbit> maybe i need lua_package_path somewhere?
jarkad has quit [Ping timeout: 268 seconds]
<philipp[m]2> https://github.com/Johni0702/rust-libnice-sys/blob/master/build.rs can somebody tell me how to pass the localtion of the header files needed here via buildRustPackage?
<philipp[m]2> Currently trying this here: https://pastebin.com/EqREw4Js
<philipp[m]2> But I keep getting this build failure: https://pastebin.com/cYj9P2g4
<marin[m]> has anyone successfully built Fractal (matrix client) on nixos? it's marked as broken. I've gone down the rabbit hole of building master, defining my own libadwaita, it built successfully but can't run it on sway. breaks with some implicit library deps. This was with a development shell.nix based aproach and invoking meson && ninja manually. Trying another approach now - defining default.nix and using nix-build. The
<marin[m]> problem I'm facing now: olm-sys rust dep defines cmake as a dependency (that's like 2 layers deep). Repo uses ninja & meson, has no CMakeLists files. If I define cmake as a nativeBuildInput, build fails because it tries to find CmakeLists files. Otherwise, olm-sys fails within cargo build, because it doesn't see cmake. Think I'm stalemated
<rmcgibbo[m]> Maybe add cmake but turn off using the cmake hook, like dontUseCmakeConfigure=True?
<marin[m]> let's try
Havvy has joined #nixos
<marin[m]> rmcgibbo: dang you're a genius
<pinpox> I have a folder with all my modules in subdirectories. I'm trying to write a default.nix that imports all <subdirname>/default.nix
<marin[m]> (having another failure now, but think i'm past olm)
<pinpox> This is what I am trying, but I can't get it right: https://termbin.com/bgsz
<_virkony_> are there any good way to cherry-pick package from unstable into specific nixos release? I tried overlay with import <nixpkgs-unstable> { pkgs = self; }, but I still see unstable input in derivations
jkachmar has joined #nixos
<pinpox> Can someone help me with the syntax?
kenran has quit [Quit: leaving]
<marin[m]> pinpox: ./
<pinpox> marin[m]: what do you mean?
<_virkony_> pinpox: I think you miss "in" in let-in construction
<rmcgibbo[m]> @_vi
lsix1 has quit [Quit: WeeChat 3.1]
<pinpox> _virkony_: oh right
<jkachmar> is it possible to get distributed builds working with non-root users?
<pinpox> _virkony_: can I test it somehow in a repl?
<jkachmar> I keep running into "Host key verification failed." errors for the machine I'm trying to use as a builder
<jkachmar> ah wait damn, this is a nix-daemon thing isn't it...
<rmcgibbo[m]> _virkony_: I think you want an overlay like `import <nixpkgs> {overlays = [(self: super: {mypackage = unstable.mypackage; })]; }`
dbmikus has quit [Ping timeout: 240 seconds]
gustavderdrache has quit [Quit: Leaving.]
<_virkony_> rmcgibbo[m]: I have overlay (self: super: let unstable = import <unstable> { pkgs = self; }; in { mypackage = unstable.mypackage; }) with expectation that I'll be able to cherry-pick package without pulling in all deps
<_virkony_> but I still see mypackage pulling in nativeBuildInputs from <unstable>
<rmcgibbo[m]> oh no, it's definitely going to pull in all the deps.
zhaofeng_ircclou is now known as zhaofeng_alt
<rmcgibbo[m]> that's not going to work nicely as a "cherry-pick", because the graph for unstable.mypackage is the real mypackage from unstable.
<_virkony_> rmcgibbo[m]: that's something I don't understand. If every package parametrized with pkgs, and I guess pkgs.callPackage will pass in that pkgs, then passing in pkgs into <unstable> should propagate it further
<rmcgibbo[m]> was there a major refactor of the package between your version of nixpkgs and unstable, by chance?
dbmikus has joined #nixos
<_virkony_> rmcgibbo[m]: zig 0.6.0 vs 0.7.1 . zls 0.1.0 doesn't like 0.6.0
<rmcgibbo[m]> a different route, which is more cherry-pick-like is to do
<rmcgibbo[m]> (self: super: {mypackage = super.mypackage.overrideAttrs {src = newSrcFromGithub; })
<rmcgibbo[m]> that will override the src but not override anything else about the build graph, so it won't pull in anything from unstable
Lord_of_Life has quit [Ping timeout: 246 seconds]
<_virkony_> rmcgibbo[m]: yeah, I thought about that, but ideally I need to pull other stuff like version and dependencies (if they changed). I thought there is a nice way
<jkachmar> answering my own question: it was a `nix-daemon` issue; in order for remote builders to work they have to be in the root user's `known_hosts` on the client machine initiating the remote build
<_virkony_> pinpox: you should be able to test it in REPL, but you'll have to pass all those arguments to that lambda
<pinpox> _virkony_: I'm wondering if this would not be enough: { imports = map (n: "${./.}/${n}") (builtins.attrNames (builtins.readDir ./.)); }
fendor_ has joined #nixos
<rmcgibbo[m]> i guess i don't understand exactly what you want to do, _virkony_ . either you only override the `src` attribute and you make a small change, or you override and pull the entire derivation from unstable, in which case you're going to get the exact closure that unstable had. if you want something in between presumably you need to tell nix exactly which attrs to override.
<_virkony_> pinpox: you might need to convert those strings to paths
<pinpox> it seems to work, but returns { imports = [ ... ]; }, what I want is an attrset like { module1 = { ..}; module2 = {...}; ... }
fendor has quit [Ping timeout: 240 seconds]
<rmcgibbo[m]> i suppose a third option is to `git checkout nixos-20.09 && git cherry-pick <commit> && nix build -f . zig` :P
<_virkony_> rmcgibbo[m]: from my short exp with nix, I can see that packages represented by something like mypackage = ({pkgs, ...}: mkDerivation { inputs = [ pkgs.mydep ]; }). I.e. it should be movable between channels
stree has quit [Quit: Caught exception]
stree has joined #nixos
zupo has joined #nixos
<_virkony_> if I have mypackage = unstable.mypackage { pkgs = self; }, it should pull self.mydep in my understanding
<philipp[m]2> Setting `C_INCLUDE_PATH` manually seems to be the answer for me
<rmcgibbo[m]> _virkony_: i don't think that's precisely right, but i have to run. when you get pkgs.mypackage, it's the _result_ of that function call, not the function call itself.
<rmcgibbo[m]> i'd play around with callPackage in the nix repl.
<_virkony_> true, but result of that attr set is actually channel function call with pkgs parameter
<_virkony_> good idea
philr has joined #nixos
fendor_ has quit [Remote host closed the connection]
Qwerky has joined #nixos
* _virkony_ apparently misunderstood channels as having open wiring. Apparently import <unstable> doesn't accept any attr to wire it back...
codezero has quit [Quit: Ping timeout (120 seconds)]
codezero has joined #nixos
S0rin has quit [Quit: WeeChat 2.3]
jbox has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
haritz has joined #nixos
haritz has quit [Changing host]
haritz has joined #nixos
nDuff has joined #nixos
nDuff has quit [Client Quit]
ddellaco_ has quit [Ping timeout: 240 seconds]
asbachb has joined #nixos
<asbachb> Anyone running podman on nixos? I started some containers, but the ports seems not to be forwarded.
<qbit> welp, got past the nginx block bit..
<qbit> but now: Mar 29 16:15:44 box nginx[28762]: 2021/03/29 16:15:44 [error] 28762#28762: *12 lua entry thread aborted: runtime error: content_by_lua(ggx4j9lmwyn175c64fv2w3wzikpyxim6-nginx.conf::2: module 'resty.http' not found:
__monty__ has quit [Quit: leaving]
Dotz0cat has joined #nixos
kalipso has quit [Ping timeout: 240 seconds]
chipb_ is now known as chipb
tejing has quit [Ping timeout: 246 seconds]
<_virkony_> woohoo! mypackage = unstable.mypackage.override (origArgs: builtins.intersectAttrs origArgs self)
<_virkony_> now I just need to cherry-pick llvm 11.x ...
fuzzypixelz has quit [Quit: Connection closed]
meh` has quit [Ping timeout: 240 seconds]
<Andoriyu> more of a linux question, can I do a _thing_ when a file created with a specific name, but in unknown folder within a known folder as a systemd service?
S0rin has joined #nixos
<rmcgibbo[m]> andoriyu: `sh -c "while true; find <known_filder> -name <name> -exec <thing> {} \; sleep 1; done`?
<Andoriyu> that's ghetto
<rmcgibbo[m]> but you want that, without the ugly sleep, right?
<rmcgibbo[m]> maybe `inotify` or something?
<Andoriyu> Yeah essentially that.
asbachb has quit [Ping timeout: 240 seconds]
<Andoriyu> Not exactly what I want, but will do
cjb has joined #nixos
cjb is now known as Guest92781
Guest92781 is now known as cjb
<rmcgibbo[m]> wow systemd has everything. that's cool.
nuncanada has quit [Read error: Connection reset by peer]
civodul has quit [Ping timeout: 246 seconds]
endvra has quit [Ping timeout: 265 seconds]
<_virkony_> rmcgibbo[m]: it works https://gist.github.com/ony/51393bdc6566d3bfa764bd9b726bab96 :) thanks for pointing to callPackage, learned some stuff about it
<rmcgibbo[m]> very nice.
aaabbbbbbbbbb has quit [Ping timeout: 246 seconds]
jimmie_ has quit [Ping timeout: 268 seconds]
erasmas has quit [Quit: leaving]
ddellaco_ has joined #nixos
ddellaco_ has quit [Ping timeout: 246 seconds]
mbrgm_ has joined #nixos
endvra has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
<exarkun> is something more required to add an attribute to `pkgs` than to add a binding in pkgs/top-level/all-packages.nix? That's what I tried but my package doesn't show up.
<exarkun> wait no I just can't read very well
managarmr1 has joined #nixos
dingenskirchen has quit [Quit: ZNC 1.8.1 - https://znc.in]
dingenskirchen has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzzโ€ฆ]
ddellaco_ has joined #nixos
Vadrigar_ has joined #nixos
ddellaco_ has quit [Ping timeout: 260 seconds]
Vadrigar_ has quit [Ping timeout: 268 seconds]
codygman` has quit [Ping timeout: 246 seconds]
<hexa-> gchristensen: {^_^} went silent a while ago
ddellacosta has joined #nixos
rj has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Ping timeout: 240 seconds]
<drakonis> can this get merged? #116816
<{^_^}> https://github.com/NixOS/nixpkgs/pull/116816 (by TimothyKlim, 1 week ago, open): nvidia-x11: 460.56 -> 460.67
<drakonis> seems like a really trivial change that's taking a while
evils has quit [Ping timeout: 268 seconds]
qqlq has quit [Ping timeout: 248 seconds]
Qwerky has quit [Remote host closed the connection]
<hexa-> drakonis: have you tested it?
<drakonis> hmm
<drakonis> actually, i should do that right away
<hexa-> testing goes a long way to getting things merged :)
stree has quit [Ping timeout: 246 seconds]
<drakonis> i should test 470.05 instead
<drakonis> that one lets me use kernel versions newer than 5.9
<hexa-> then we should likely bump nvidia-x11 to that, since we are in the process of moving to 5.10 as default kernel
<drakonis> i haven't done much with nix itself in a while due to work
<drakonis> so i'm going to set up a local copy to build my system from
<drakonis> i forgot the flake syntax for doing local flakes
<hexa-> not a flake user, sorry
<drakonis> no problem
<cole-h> what do you mean... "local" flakes?
<drakonis> the docs exist now
<drakonis> i want to use a local directory to source my nixpkgs flake from
<hexa-> looks like 460.67 is the latest version rn? https://www.nvidia.com/en-us/drivers/unix/
grimvar_ has joined #nixos
<hexa-> and apparently that works with 5.11
<hexa-> drakonis: ^
<drakonis> alright done
<drakonis> neat.
<drakonis> i'll try that then
<cole-h> inputs = { ...; nixpkgs = "file+git:///home/......."; };
grimvar has quit [Ping timeout: 268 seconds]
<drakonis> yeah i did that
<drakonis> but i can't get it to read a branch
<cole-h> if it's not the currently checked out branch, add `?branch=....` I believe
<drakonis> ah good, it works now
<drakonis> hmm no
<drakonis> ?ref is the right one
<drakonis> but it doesnt see nixos-unstable
<drakonis> oh, its &ref
<cole-h> if you have another `?...=...`, then yeah
<cole-h> just like a URI
<drakonis> hmm, i see
<cole-h> e.g. to build neovim from master, I have # neovim = { url = "github:neovim/neovim?dir=contrib"; };
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
<cole-h> (which does in deed work)
gustavderdrache has joined #nixos
<cole-h> s/in /in//