gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/c/NixCon/live https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
darthfork has joined #nixos
sigmundv__ has joined #nixos
acarrico has joined #nixos
aanderse has quit []
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyounkins has joined #nixos
freeman42x]NixOS has quit [Remote host closed the connection]
freeman42x]NixOS has joined #nixos
orivej has joined #nixos
lassulus has quit [Quit: WeeChat 2.2]
lassulus has joined #nixos
vidbina has quit [Ping timeout: 252 seconds]
darthfork has left #nixos [#nixos]
acarrico has quit [Ping timeout: 245 seconds]
lassulus has quit [Quit: WeeChat 2.2]
lassulus has joined #nixos
thc202 has quit [Ping timeout: 252 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
dmc has quit [Quit: WeeChat 2.3]
dmc has joined #nixos
hamishmack has joined #nixos
<delroth> with nixops is there a way to tag some machines as "don't deploy unless explicitly specified"? e.g. a plain "nixos deploy" wouldn't deploy these, but "nixos deploy --include=thatmachine" deploys it
<delroth> (my specific use case: I want to define staging-* machines for each of my production machines, which are local virtualbox instances to use for testing)
nD5Xjz has quit [Ping timeout: 240 seconds]
<Mic92> delroth: how about a staging deployment that is seperate from the rest?
apaul1729 has joined #nixos
<delroth> I could... not sure what's the best way to architecture these things :)
<Mic92> nixops create -d staging your-vbox-machines.nix
justanotheruser has joined #nixos
zolk3ri has quit [Quit: leaving]
nD5Xjz has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
Rusty1 has joined #nixos
drakonis_ has joined #nixos
acarrico has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/636b2b2da96 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpRmP
justanotheruser has quit [Ping timeout: 252 seconds]
Chiliparrot has joined #nixos
cyounkin_ has joined #nixos
cyounkins has quit [Ping timeout: 250 seconds]
justanotheruser has joined #nixos
sigmundv__ has quit [Ping timeout: 268 seconds]
apaul1729 has quit [Ping timeout: 250 seconds]
aanderse has joined #nixos
Forkk has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Supersonic has quit [Ping timeout: 264 seconds]
Forkk has joined #nixos
Supersonic has joined #nixos
acarrico has quit [Ping timeout: 244 seconds]
sigmundv has quit [Ping timeout: 240 seconds]
acarrico has joined #nixos
<{^_^}> [nixpkgs] @cyounkins opened pull request #50933 → perlPackages.MailSender: init at 0.903 → https://git.io/fpRYP
ng0_ has joined #nixos
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
random_yanek has quit [Ping timeout: 245 seconds]
jasongrossman has quit [Ping timeout: 268 seconds]
ng0 has quit [Ping timeout: 256 seconds]
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
random_yanek has joined #nixos
alex`` has quit [Ping timeout: 268 seconds]
<colemickens> what's a good primer on child configurations? Google's not giving me much to go on.
<rotaerk> is this really the best place to ask about genetic engineering
jperras has joined #nixos
<v0|d> how do I get pkgs for build=host=amd64 target=arm?
<clever> > (import <nixpkgs> { system = "x86_64-linux"; }).pkgsCross.armv7l-hf-multiplatform.hello
<{^_^}> "<derivation /nix/store/sbarlj47wq2y5a1hd1bmm6fc1zgs5jad-hello-2.10-armv7a-unknown-linux-gnueabihf.drv>"
perique has joined #nixos
xelxebar_ has joined #nixos
<clever> v0|d: like above
drakonis has quit [Quit: WeeChat 2.2]
<samueldr> colemickens: unless I'm mistaken, all code paths for hcild configurations have disappeared
<samueldr> all code paths allowing booting child configurations*
<samueldr> but #45345 revives the one for GRUB
<{^_^}> https://github.com/NixOS/nixpkgs/pull/45345 (by vmandela, 13 weeks ago, open): nixos/install-grub: include child configs in grub menu
<v0|d> clever: lets see if it solvs the problem, compiling now.
cyounkin_ has quit [Remote host closed the connection]
cyounkins has joined #nixos
mayhewluke has quit [Ping timeout: 250 seconds]
<boomshroom> Has anyone here tried to run c2rust or corrode on NixOS?
jb55 has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/636b2b2da96 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
xelxebar_ has quit [Quit: WeeChat 2.3]
endformationage has joined #nixos
<hyper_ch> aanderse: hi there
mayhewluke has joined #nixos
jperras has quit [Quit: WeeChat 2.2]
hamishmack has quit [Ping timeout: 268 seconds]
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
<hyper_ch> aanderse: why did you make this comment https://github.com/NixOS/nixpkgs/pull/50919#issuecomment-441149728 ?
<boomshroom> It looks like stack2nix is broken on the current unstable.
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @cyounkins opened pull request #50934 → systemd TimeoutStartSec=0 is now =infinity → https://git.io/fpR3H
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/51076ed20c5 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<{^_^}> [nixpkgs] @tathougies opened pull request #50935 → lighttpd: enable cross-compilation → https://git.io/fpRsf
<{^_^}> [nixpkgs] @tathougies opened pull request #50936 → dhcpcd: Use runtimeShell in dhcpcd-run-hooks → https://git.io/fpRsU
<{^_^}> [nixpkgs] @tathougies opened pull request #50937 → uriparser: Enable cross-compilation → https://git.io/fpRsT
dramforever has joined #nixos
jasongrossman has joined #nixos
nD5Xjz has quit [Ping timeout: 244 seconds]
vmandela has joined #nixos
nD5Xjz has joined #nixos
<vmandela> Can I have my nixos configuration boot with either the latest master or the last stable release ?
Wharncliffe has quit [Quit: Lost terminal]
<jasongrossman> vmandela: Yes. That's fairly easy using channels. Exactly how it will look depends on which boot manager you're using (probably grub or systemd-boot), but either way you get a menu of nixos generations.
<jasongrossman> vmandela: Although if you're fairly new to NixOS then you probably want stable + unstable, not stable + master.
<jasongrossman> vmandela: The boot menu will show you all the states of NixOS you've ever had, unless you've run garbage collection on some of them.
capisce has joined #nixos
<{^_^}> [nixpkgs] @jbedo closed pull request #44075 → singularity-tools: create required bind points → https://git.io/fNRT7
<vmandela> jasongrossman, thanks. I am using grub. I am facing an issue with ssh between the latest master and the 18.09 release. I am switching between these two configurations when filing the bug.
<{^_^}> [nixpkgs] @jbedo opened pull request #50939 → singularity: 2.6.0 -> 3.0.1 → https://git.io/fpRGt
<vmandela> jasongrossman, Is there a way to retain specific configurations even if I do garbage collection ?
<dramforever> Don't put '-d'
<dramforever> Oh sorry, I misunderstood
<jasongrossman> vmandela: Yes, there is, but I don't know the syntax offhand. Look up the manual.
<dramforever> nix-collect-garbage --delete-older-than 5d # Retain 5 days of history
<jasongrossman> vmandela: You can also use more than one version of a program without rebooting if you like - in fact there are various ways of doing that, e.g. using nix-shell.
<jasongrossman> vmandela: Thank you for chasing the ssh bug.
<vmandela> jasongrossman, ok. I will check the manual.
<dramforever> vmandela: you can delete unwanted symlinks in /nix/var/nix/profiles/
<vmandela> dramforever, thanks. --delete-older-than will work.
<dramforever> And then run nix-collect-garbage
vk3wtf has quit [Ping timeout: 252 seconds]
xelxebar has quit [Ping timeout: 245 seconds]
jaeckel has quit [Read error: Connection reset by peer]
Rusty1 has quit [Quit: Konversation terminated!]
jackdk has quit [Ping timeout: 250 seconds]
vk3wtf has joined #nixos
alex_giusi_tiri has quit [Ping timeout: 244 seconds]
dramforever has quit [Quit: Page closed]
palo1 has joined #nixos
nD5Xjz has quit [Ping timeout: 250 seconds]
palo has quit [Ping timeout: 268 seconds]
nD5Xjz has joined #nixos
cyounkin_ has joined #nixos
cyounkins has quit [Ping timeout: 272 seconds]
acarrico has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Tomahna opened pull request #50940 → mopidy-iris: 3.29.2 -> 3.31.1 → https://git.io/fpRZA
reinhardt has joined #nixos
mayhewluke has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
reinhardt has quit [Client Quit]
cyounkin_ has quit [Remote host closed the connection]
cyounkins has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #50941 → timidity: 2.14.0 -> 2.15.0 → https://git.io/fpRZj
cyounkins has quit [Ping timeout: 240 seconds]
endformationage has quit [Ping timeout: 245 seconds]
<{^_^}> [nixops] @tomberek opened pull request #1054 → Expose resources to deployment.keys → https://git.io/fpRnL
<{^_^}> [nixpkgs] @7c6f434c merged pull request #50929 → sysdig: 0.23.1 -> 0.24.1 → https://git.io/fpRU1
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fpRnY
nD5Xjz has quit [Ping timeout: 272 seconds]
rprije has joined #nixos
nD5Xjz has joined #nixos
fusion809 has joined #nixos
alex`` has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #50463 → nextcloud-client: 2.3.3 -> 2.5.0 → https://git.io/fpZpZ
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Ma27 to master « nextcloud-client: 2.3.3 -> 2.5.0 (#50463) »: https://git.io/fpRny
<colemickens> nixos-option nix.trustedUsers includes my user, but `nix copy --from ...` still complains about a missing signature. am I doing something obvious wrong?
<colemickens> and I'm using ssh-ng :/
civodul has joined #nixos
ng0_ is now known as ng0
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #50906 → insomnia: 6.0.2 -> 6.2.0 → https://git.io/fp4p2
<{^_^}> [nixpkgs] @worldofpeace pushed to master « insomnia: 6.0.2 -> 6.2.0 (#50906) »: https://git.io/fpRcw
nikivi has quit [Ping timeout: 260 seconds]
hyper_ch2 has joined #nixos
nikivi has joined #nixos
freeman42x]NixOS has joined #nixos
<{^_^}> [nixpkgs] @vdemeester opened pull request #50942 → runc: 1.0.0-rc5 -> 1.0.0-rc6 → https://git.io/fpRCv
asymmetric has joined #nixos
hyper_ch has quit [Quit: ZNC 1.7.1 - https://znc.in]
hyper_ch has joined #nixos
Ariakenom has joined #nixos
shpx has quit [Excess Flood]
freeman42x]NixOS has quit [Ping timeout: 268 seconds]
hyper_ch2 has quit [Ping timeout: 256 seconds]
hyper_ch2 has joined #nixos
mkoenig has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #50652 → Fix/bitwig → https://git.io/fpcdS
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fpRWq
alex`` has quit [Ping timeout: 240 seconds]
Tucky has joined #nixos
asymmetric_ has joined #nixos
asymmetric has quit [Ping timeout: 250 seconds]
nD5Xjz has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @yrashk opened pull request #50944 → urweb: 20170720 -> 20180616 → https://git.io/fpRWr
nD5Xjz has joined #nixos
hyper_ch has quit [Quit: ZNC 1.7.1 - https://znc.in]
hyper_ch has joined #nixos
asymmetric_ has quit [Ping timeout: 250 seconds]
goibhniu has quit [Ping timeout: 268 seconds]
ashkitte1 has quit [Ping timeout: 245 seconds]
ashkitte1 has joined #nixos
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-18.09: https://git.io/fpRln
Ariakenom_ has joined #nixos
Ariakenom has quit [Ping timeout: 246 seconds]
alex`` has joined #nixos
reinhardt has joined #nixos
jtojnar has joined #nixos
nD5Xjz has quit [Ping timeout: 250 seconds]
thc202 has joined #nixos
boomshroom has quit [Quit: WeeChat 2.1]
johanot has joined #nixos
alex`` has quit [Ping timeout: 250 seconds]
asymmetric_ has joined #nixos
FRidh has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/172eb14358f (from 50 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
fusion809 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #50926 → openssl: fix cross compile (perl) → https://git.io/fpRv8
<{^_^}> [nixpkgs] @FRidh pushed commit from @goertzenator to staging « openssl: fix cross compile (perl) »: https://git.io/fpR4K
reinhardt has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #50937 → uriparser: Enable cross-compilation → https://git.io/fpRsT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpRBy
carlosdagos has quit [Quit: Connection closed for inactivity]
redj has quit [Read error: Connection reset by peer]
asymmetric has joined #nixos
akaWolf has quit [Read error: Connection reset by peer]
alex`` has joined #nixos
akaWolf has joined #nixos
asymmetric_ has quit [Ping timeout: 264 seconds]
alex`` has quit [Ping timeout: 246 seconds]
<hyper_ch2> so, for the first time I configured a logrotate in nixos
periklis has joined #nixos
<colemickens> I get so stressed out looking for a place to put a new package in all-packages.
<johanot> colemickens: never do that on a Friday :D
lesh has left #nixos ["WeeChat 2.2"]
<infinisil> colemickens: We just had a discussion recently about getting rid of all-packages.nix
mayhewluke has quit [Ping timeout: 268 seconds]
chris| has quit [Quit: ZNC 1.7.1 - https://znc.in]
mayhewluke has joined #nixos
<colemickens> infinisil: in favor of splitting it up into more description files, or using default.nixs or something?
chris| has joined #nixos
chris| has quit [Client Quit]
<infinisil> I proposed using a flat directory of all packages and autocalling every file in it to generate the toplevel attrset
__monty__ has joined #nixos
<hyper_ch2> any python packaging guru could take a look at this https://paste.simplylinux.ch/view/raw/32d716f6 having issues to package setuptools_scm_git_archive
<infinisil> colemickens: Getting rid of the odd categories we have today (what's tools/misc supposed to be? Where do i put something that fits in mutliple categories?) and replacing it with a tag based system (meta.tags = [ "networking" "gui" ])
<NinjaTrappeur> infinisil, +1 for the tagging system.
<johanot> Tags sounds great, yeah
chris| has joined #nixos
<__monty__> Please don't allow for things like case variations or different spellings.
page has quit [Quit: leaving]
chris| has quit [Quit: ZNC 1.7.1 - https://znc.in]
chris| has joined #nixos
jaeckel has joined #nixos
<MichaelRaskin> infinisil: what about version overrides?
<MichaelRaskin> And you can go support oxij's pull request about package-list.nix I guess…
jtojnar has quit [Ping timeout: 252 seconds]
<__monty__> infinisil: Is searching tags gonna require evaluating all of nixpkgs?
<MichaelRaskin> Searching for tags requires grep.
<MichaelRaskin> (or evaluating everything once and caching)
<__monty__> Once every time you update your channel.
<__monty__> Problem is I have a machine that can't evaluate all of nixpkgs even once.
chris| has quit [Quit: ZNC 1.7.1 - https://znc.in]
<__monty__> I guess grep'll be manageable though.
chris| has joined #nixos
jtojnar has joined #nixos
<srhb> colemickens: I like searching all-packages for similar software, and just cargo cult whatever group that was in.
<srhb> It may be the wrong category, but at least it's *consistently* wrong!
<MichaelRaskin> Well, the order in all-packages.nix is just a mess with intentional and unintentional deviations from its theoretical order which is also complicated on its own
vidbina has joined #nixos
chris| has quit [Quit: ZNC 1.7.1 - https://znc.in]
<srhb> Frankly, I wish it were just unordered. It has zero importance to me, as long as I can enter the file and go to the attribute I care about with a quick search. :)
chris| has joined #nixos
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #50924 → maintainer: add jhillyerd → https://git.io/fpBxw
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fpRuM
chris| has quit [Remote host closed the connection]
sigmundv has joined #nixos
init_6 has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #50944 → urweb: 20170720 -> 20180616 → https://git.io/fpRWr
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fpRuN
chris| has joined #nixos
<Thra11> I need to work out an easy way to update my local nixpkgs to a commit that is "fairly recent, but long enough ago that hydra's had a chance to build most of it for me"
<srhb> Thra11: howoldis and the hydra interface itself will be helpful.
<srhb> Thra11: There is no definite way to do it unless you qualify what "most" means for you, though.
<srhb> For instance, unstable-small transitively means "most" for some definitions of "most" -- but may be older than you like because of test failures (recently, ipv6)
<srhb> Thra11: You could automate this using path-info for some custom closure you care about.
<srhb> That's probably the most precise way :)
<{^_^}> [nixpkgs] @srhb merged pull request #50942 → runc: 1.0.0-rc5 -> 1.0.0-rc6 → https://git.io/fpRCv
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fpRz4
booglewoogle has joined #nixos
<srhb> Thra11: In fact, such a tool would be really helpful, if you're interested in building it. Imagine creating a buildEnv of the packages that are "most" to you, traversing all the references of it and summing up the path-info successes against cache.nixos.org
<booglewoogle> hey, is there a way I can have the install phase skip the make install call?
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @basvandijk merged pull request #50880 → Backport #50879 → https://git.io/fp8hq
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to release-18.09: https://git.io/fpRzA
zolk3ri has joined #nixos
<Thra11> srhb: Presumably on nixos you can work out a list of required packages from configuration.nix
<srhb> Thra11: Yep, though you'll usually have to filter out quite a lot of things that are unique to your system.
<sphalerite> booglewoogle: you can define your own installPhase, or define `phases` to completely leave it out
<Thra11> srhb: Ah, that's true. I've not looked at hydra's API. Is it possible to tell the difference between "hydra doesn't build that derivation" and "hydra hasn't finished building that derivation", or is it just in the cache or not?
ThatDocsLady has joined #nixos
<booglewoogle> sphalerite: ah, where could I see the original definition? since I do want it to create the out directory correctly and so on
<srhb> Thra11: There's no good way to tell if Hydra will ever build that derivation that doesn't severely impact Hydra (check if eval contains foo)
<sphalerite> ,find setup.sh
<srhb> Thra11: So path-info really is the best way to do it that doesn't kill our infrastructure.
<srhb> Thra11: You can always verify whether or not a certain attribute exists in the hydra-built jobsets locally though
<sphalerite> booglewoogle: the function is defined in there ^
<srhb> Thra11: Safest first approximation is probably "is it in top level and is it free" -- this will exclude things like haskellPackages and stuff, but is a good start..
<booglewoogle> sphalerite: gotcha, thanks!
kenshinCH has joined #nixos
<kenshinCH> hi all. I'm having problems importing submodules for python packages. For instance, I can import matplotlib, but not mpl_toolkits. I also created an expression for rasterio, which compiles and installs fine, but when it runs the tests it cannot import rasterio.something, now I forget what. Is there something I should know in general?
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/172eb14358f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<srhb> kenshinCH: Need more information. I can import mpl_toolkits just fine using: nix-shell -p 'python3.withPackages(ps: with ps; [ matplotlib ] )'
<kenshinCH> srhb: hmmm. 18.09? ok, I'll take another look with a minimal configuration later and get back. thanks!
<{^_^}> [nixos-org-configurations] @zimbatm opened pull request #66 → Tf fastly prepare → https://git.io/fpR2B
<srhb> kenshinCH: unstable, but I can check with 18.09 as well.
vidbina has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #50908 → golint: 20180208 -> 20181026 → https://git.io/fp4hh
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpR2K
<srhb> kenshinCH: Works fine on 18.09 as well: nix-shell -I nixpkgs=channel:nixos-18.09 -p 'python3.withPackages(ps: with ps; [ matplotlib ] )'
<kenshinCH> srhb: ok thanks! at the very least I learned that syntax for nix-shell which I didn't know :D I'll try again
<{^_^}> [nixpkgs] @Mic92 merged pull request #50641 → nixos/firewall: Always use global firewall.allowed rules → https://git.io/fpcQL
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fpR2N
<{^_^}> [nixpkgs] @Mic92 merged pull request #50940 → mopidy-iris: 3.29.2 -> 3.31.1 → https://git.io/fpRZA
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpRaU
<Thra11> srhb: I suspect the pragmatic solution is to do something like git rebase "origin/master@{$(date -d '-2 day' +'%Y-%m-%d %T'\})" and adjust the '-2 day' until I find a happy value.
<Thra11> srhb: But I'll probably look into working out things like the percentage of a package set which is available in a cache, as a way to teach myself more about Nix
nD5Xjz has quit [Ping timeout: 240 seconds]
iyzsong has joined #nixos
<Thra11> Hmmm. We're basically talking about a Nix version of 'guix weather' aren't we...
<infinisil> What's that?
<srhb> Thra11: Neat! Yes, that's exactly it.
<{^_^}> [nixpkgs] @Mic92 merged pull request #50560 → fetchurl: mirrors: http -> https, https before http, http before ftp → https://git.io/fpcCw
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpRaE
perique has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Mic92 merged pull request #50919 → Flexget: 2.16.2 -> 2.17.4 → https://git.io/fpBDx
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpRaV
fusion809 has joined #nixos
<sphalerite> Guix really does have nice stuff
<sphalerite> a number of which are because it uses an existing language…
nD5Xjz has joined #nixos
<Thra11> Based on last time I tried it, it could use a boost in terms of speed, but yes it does have some very nice stuff
<__monty__> It manages to be slower than nix?
<srhb> sphalerite: That's a weird classification :-P
<sphalerite> srhb: a language that existed before it did :)
<srhb> I think most of the things you'd think of there are more about it being a GP language rather than a DSL, not that it already existed. Though of course, I can't prove that :-P
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
johanot has quit [Quit: WeeChat 2.2]
<Mic92> sphalerite: what does it offer to the table?
NightTrain has joined #nixos
<Thra11> At first I found guix more approachable because it's basically just lisp, but once you invest a bit of time getting used to the nix language, I think the nix language has its benefits
<sphalerite> Mic92: seems to have a lot better UI and neat tools of which quite a few seem to be built on existing language tools. It's just an impression from outside though
<Thra11> Which is probably just a long winded way of describing the difference between GP and DSL
<sphalerite> Thra11: not really. DSLs can be built on pre-existing languages
alex`` has joined #nixos
<sphalerite> I don't think it would be entirely wrong to say that guix is a DSL too
<hyper_ch2> any python packaging guru could take a look at this https://paste.simplylinux.ch/view/raw/32d716f6 having issues to package setuptools_scm_git_archive
<Thra11> sphalerite: My impression was that guix provides a guile API, but doesn't really change the language much.
<Thra11> But I didn't use it a great deal, so I may be wrong
<sphalerite> it depends on how you're defining DSL I guess
<sphalerite> IMO you don't need to change syntax for it to be a DSL, and as we all know s-exprs are the perfect syntax ;p
locallycompact has joined #nixos
asymmetric has quit [Ping timeout: 246 seconds]
<__monty__> sphalerite: I disagree. Guix is not a language, guile is. And guile is a GP language. Just because there's a packaging eDSL doesn't suddenly make it a non-GP language. I can see the advantages re ecosystem though, it's used for more projects, by more people so there's probably more people working on the tools too.
<{^_^}> [nixpkgs] @lheckemann opened pull request #50947 → hound: 20170324 -> 2018-11-02 → https://git.io/fpRw2
kenshinCH has quit [Quit: Page closed]
<__monty__> OTOH there's also good reasons to not have your packages able to do anything whatsoever. But nix has passed that boundary anyway so I guess that's not a distinguishing feature.
<FRidh> hyper_ch2: setuptools_scm is a build-time only requirement and only of that package, so move it to buildInputs
<FRidh> ah, this package is like a plugin to setuptools_scm? Then what you did is OK
__Sander__ has joined #nixos
vidbina has joined #nixos
palo1 is now known as palo
ixxie has joined #nixos
<hyper_ch2> FRidh: escept it doesn't build properly :(
<hyper_ch2> pypi2nix can build it but no idea how to convert that to a norma .nix file
<{^_^}> [nixpkgs] @Ma27 opened pull request #50948 → nixos-build-vms: fix eval → https://git.io/fpRr3
<{^_^}> [nixpkgs] @lheckemann merged pull request #50941 → timidity: 2.14.0 -> 2.15.0 → https://git.io/fpRZj
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/fpRrG
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/e64482df77b (from 2 days ago, history: https://channels.nix.gsc.io/nixos-18.03)
<{^_^}> [nixpkgs] @FRidh merged pull request #50699 → pymssql: init at 2.1.4 → https://git.io/fpCYt
<{^_^}> [nixpkgs] @FRidh pushed commit from Massimo Redaelli to master « pymssql: init at 2.1.4 »: https://git.io/fpRrc
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to gnome-3.30: https://git.io/fpRrC
locallycompact has quit [Remote host closed the connection]
NightTrain has quit [Ping timeout: 245 seconds]
jtojnar has quit [Quit: jtojnar]
booglewoogle has quit [Remote host closed the connection]
periklis has quit [Ping timeout: 244 seconds]
init_6 has quit []
vmandela has quit [Quit: Leaving]
lfish has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #50475 → ibus-table-chinese: init at 1.8.2 → https://git.io/fpnC6
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/fpRoo
<{^_^}> [nixpkgs] @grahamc merged pull request #50947 → hound: 20170324 -> 2018-11-02 → https://git.io/fpRw2
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fpRoA
<{^_^}> [nixpkgs] @jonasnick opened pull request #50950 → nixos/tor: add HiddenServiceVersion option → https://git.io/fpRKt
mkoenig has joined #nixos
ZenQy has joined #nixos
<ZenQy> hello, I use xfce,and installed thunar,thunar-achive-plugin,file-roll,ark, archive options still missing from context menu
asymmetric has joined #nixos
<jonge> why are functions like "writeText" in `pkgs.` and not in `pkgs.lib.`?
<jonge> forgot the name of this function and tried to find it, but i find it unintuitive that it is in the same scope as all packages.
turion has joined #nixos
<gchristensen> lib are all pure Nix -- they don't build anything
<jonge> i see
<gchristensen> they also don't depend on anything in nixpkgs
<jonge> ok that intuition makes sense
<manveru> ZenQy: there's a thread on the forum about just that :)
<turion> I did services.cassandra.enable = true; and installed cqlsh, but I still get Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})
<turion> systemctl claims the service is running
<{^_^}> [nixos-org-configurations] @edolstra merged pull request #66 → Tf fastly prepare → https://git.io/fpR2B
<{^_^}> [nixos-org-configurations] @edolstra pushed 3 commits to master: https://git.io/fpRKw
<turion> Also journalctl -u cassandra doesn't show anything abnormal, and journalctl -f -u cassandra doesn't show new entries when I run cqlsh
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/fpRK7
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-18.09: https://git.io/fpRK5
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-18.03: https://git.io/fpRKd
<Taneb> Hmm
<Taneb> On the NixOS packages search page, the link to the homepage of gnugo is somehow missing the colon (just in the actual link, not in the text)
<Taneb> I've got no idea what would be causing this
ZenQy has quit [Remote host closed the connection]
<gchristensen> and also the displayed homepage has double-http
<Taneb> gchristensen: ah, I somehow didn't spot that. That'd be causing it then
<Taneb> Fixed in master but not in 18.09
<turion> Taneb: The colon is part of nix syntax
<turion> Or am I misunderstanding this? I think http links don't need " " around them
<{^_^}> #46011 (by markuskowa, 11 weeks ago, merged): Cleanup homepage links
<turion> Is anyone else using cassandra who can confirm that it usually works?
<{^_^}> [nixpkgs] @timokau merged pull request #50922 → skaffold: 0.16.0 -> 0.18.0 → https://git.io/fpBFI
<{^_^}> [nixpkgs] @timokau pushed commit from @vdemeester to master « skaffold: 0.16.0 -> 0.18.0 (#50922) »: https://git.io/fpR6Z
turion has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @mredaelli opened pull request #50951 → affine: init at 2.2.1 → https://git.io/fpR6M
<gchristensen> Tucky: the NixOS test for Cassandra works fine: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/cassandra.nix
zolk3ri has quit [Quit: Lost terminal]
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a85aacc8061 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
ottidmes has joined #nixos
Synthetica has joined #nixos
<ottidmes> I am thinking about buying some cheap VPS instances with the great discounts going on, but if I want to run NixOS on them (obviously!) then I am better of with KVM rather than OpenVZ, or does it not really matter?
<{^_^}> [nixpkgs] @fpletz merged pull request #50948 → nixos-build-vms: fix eval → https://git.io/fpRr3
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fpRPZ
<{^_^}> [nixpkgs] @jtojnar opened pull request #50953 → rpm-ostree: 2018.5 → 2018.9 → https://git.io/fpRPl
<Synthetica> Do we have the `perf` binary packaged anywhere? (for perf stat) (I forgot the command to search for binaries)
<ottidmes> ,locate perf
<{^_^}> Found in packages: pig, atom, jzmq, storm, kibana, dart_old, xfstests, sonic-pi, brackets, linux.dev, atom-beta, intel-gpu-tools, create-cycle-app, nodePackages.asar, nodePackages.bower, linuxPackages_4_9.perf, nodePackages.peerflix-server
<{^_^}> [nixpkgs] @fpletz pushed to master « home-assistant: pin to python 3.6 »: https://git.io/fpRPg
acarrico has joined #nixos
<Synthetica> ottidmes: That's it, thanks!
<{^_^}> [nixpkgs] @c0bw3b closed pull request #50794 → inter-ui: refactored to make the fetchzip hash match upstream zip → https://git.io/fpWcn
turion has joined #nixos
<turion> I tried nixos-unstable just now for fun, but it doesn't even bring up sddm
<gchristensen> sounds unstable :)
<gchristensen> turion: I meant to send this to you before, but accidentally sent it to another person: the NixOS test for Cassandra works fine: https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/cassandra.nix
<turion> gchristensen: Ah thanks! The test doesn't use standard settings, but listens to an interface rather than an address
<v0|d> how do I use breakpointHook & cntr?
<gchristensen> might be a good hint
<turion> Yes, and it opens the firewall....
<v0|d> any exampls?
<{^_^}> [nixos-org-configurations] @zimbatm opened pull request #67 → document the infra client setup → https://git.io/fpRXP
<turion> I have no idea how I could even start debugging this... how do I see where exactly cqlsh fails?
booglewoogle has joined #nixos
<gchristensen> you could use strace?
Rusty1 has joined #nixos
<turion> gchristensen: Yeah :) that's quite something to swallow: https://paste.pound-python.org/show/caIloaMHt0Na6VA6asvY/
<srhb> turion: Looks pretty clear! Fails to connect. to that address and port.
<srhb> turion: Check if it's listening at all with ss -tlp ?
<turion> srhb: You amaze me. I can't see the forest because of all the trees ;)
<srhb> turion: It looks like it was emitting that without strace too :)
<gchristensen> pretty much scroll to the end and then search for "connect"
<turion> srhb: Yes it was, I thought you got something else interesting from the strace
<srhb> turion: Not really. :)
<srhb> turion: Except that, from the strace, it looks like the error message is spot on. :-)
<turion> srhb: Ok, makes sense
<srhb> (Nothing else going on between the attempt to connect)
<turion> (Didn't really know ss until now)
<srhb> turion: Needs more sudo
<srhb> turion: it's netstat but New^{tm}
<turion> Ah ok
<turion> No, only things started by users cupsd and java are running
<turion> s/running/listening/
<srhb> Does the java process match that port?
<{^_^}> [nixpkgs] @costrouc opened pull request #50955 → pythonPackages.sqlite-web: init at 0.3.5 → https://git.io/fpR1M
<turion> Well it has port *, so... yes?
<turion> Ah maybe not... I'm confused about the output
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50782 → inter-ui: 2.5 -> 3.0 → https://git.io/fpWqL
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « inter-ui: 2.5 -> 3.0 »: https://git.io/fpR1Q
<turion> The standard cassandra port is 9042
<turion> Trying any of the other two numeric ports 43771 or 7199 doesn't help
<turion> No idea why ss believes "afs3-fileserver" to be a port
<srhb> Ah, there's some "helpful thing" that names port numbers instead of giving it outright. Maybe that was one of the flags I gave you.
<srhb> turion: Try adding -n
<turion> Does it matter if I have added a line to extraHosts
<turion> ?
<turion> Ah! Well, but ss | grep 9042 doesn't give anything specific listening to that port
<srhb> Then it sounds like cassandra is not listening. Did you check its logs?
alex`` has quit [Quit: WeeChat 2.3]
<turion> neither ss | grep cassandra
<turion> srhb: It seems like it has only logs in journalctl, it doesn't write logs to where they usually are on other distros
<srhb> That's fine.
<turion> journalctl -u cassandra doesn't tell me anything I understand, but I'll gladly post it ;)
<srhb> turion: Sure.
<ottidmes> this is what I always use to list ports: `sudo netstat -tulpn`
<{^_^}> [nixpkgs] @fpletz merged pull request #50931 → pythonPackages.nanoleaf: init at 0.4.1 → https://git.io/fpRIr
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/fpRMz
lfish has quit [Ping timeout: 256 seconds]
<srhb> turion: Looks like it's only listening on the thrift interface (9160)
<turion> ottidmes: Ah, that says a few more things, but still I can't connect
<turion> srhb: I tried CQLSH_PORT=9160 cqlsh
<srhb> turion: That doesn't make the server change its behaviour, presumably.
<ottidmes> turion: in your logs I see native_transport_port=9042; rpc_port=9160; ssl_storage_port=7001; storage_port=7000;
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging-18.09: https://git.io/fpRMH
<{^_^}> [nixpkgs] @vcunat merged pull request #50479 → [18.09] curl: 7.61.0 -> 7.62.0 → https://git.io/fpnEd
iyzsong has quit [Ping timeout: 276 seconds]
<booglewoogle> how can I escape a string within double quotes, e.g. in `postPatch = ''sed -i 's|${GIT_EXECUTABLE}|echo 4a36b..|g' CMakeLists.txt'';` -- I want it to replace the literal string "${GIT_EXECUTABLE}..."
<booglewoogle> \${} and $\{} don't work
<v0|d> booglewoogle: try ""
page has joined #nixos
<v0|d> booglewoogle: "${GIT_EXECUTABLE}"
<booglewoogle> nope, won't take it :(
<ottidmes> booglewoogle: ''${GIT_EXECUTABLE}
<v0|d> ah yes.
<ottidmes> ,quotes
<booglewoogle> ottidmes: aaah! yep! nice, thanks :)
<v0|d> ottidmes++
<{^_^}> ottidmes's karma got increased to 2
<ottidmes> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<turion> srhb, ottidmes: Yes, the config knows the right ports, but somehow cassandra doesn't start up properly
gmarmstrong has joined #nixos
gmarmstrong has left #nixos [#nixos]
<turion> Cassandra server running in degraded mode. Is swap disabled? : false,  Address space adequate? : true,  nofile limit adequate? : false, nproc limit adequate? : true
gmarmstrong has joined #nixos
<turion> [main] WARN  o.a.cassandra.service.StartupChecks - JMX is not enabled to receive remote connections. Please see cassandra-env.sh for more info.
hyper_ch2 has quit [Quit: Page closed]
gmarmstrong has quit [Ping timeout: 250 seconds]
rihardsk has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #50887 → python.pkgs.prettytable: 0.7.1 -> 0.7.2 → https://git.io/fp4zY
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpR9r
<{^_^}> [nixpkgs] @eadwu opened pull request #50956 → iwd: disable parallel building → https://git.io/fpR9b
<turion> Wow. I enlarged my disk, now I can connect to cassandra..?
<gchristensen> nice
<turion> So it seems like if your disk is too small it won't even start
kp__ has quit [Quit: WeeChat 2.2]
<viric> Enlarge your disk
kp__ has joined #nixos
<viric> for Cassandra
<viric> What are you talking about, exactly?
dsx has joined #nixos
<turion> viric: in the logs it said "nixos cassandra[955]: 15:07:30.492 [main] WARN  o.a.c.config.DatabaseDescriptor - Only 21,234GiB free across all data volumes. Consider adding more capacity to your cluster or removing obsolete snapshots"
<viric> ha.
<viric> I probably misunderstood.
<{^_^}> [nixpkgs] @Mic92 merged pull request #50956 → iwd: disable parallel building → https://git.io/fpR9b
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpRHg
redj has joined #nixos
<turion> Hmmm no that wasn't it...
<viric> no troubles with your disk being too small?
<viric> much better then
<turion> I tested several things and it seems they're all related
koensw has joined #nixos
koensw has quit [Quit: Leaving]
<turion> It seems like I need to set extraConfig = { start_native_transport = true; };
<turion> (Copied that from the passing test
waleee has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 131 commits to staging-18.09: https://git.io/fpRQj
fpob_ has quit [Ping timeout: 264 seconds]
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
fpob has joined #nixos
drakonis has joined #nixos
gmarmstrong has joined #nixos
infinisil has joined #nixos
<gmarmstrong> I want to add a missing dependency to a package in nixpkgs. I will add it to its buildInputs in a pull request. In the mean time, how can I supply the dependency to it in my own configuration.nix? Is this what overrides/overlays are for?
<gchristensen> (mypkg.overrideAttrs (oldAttrs: { buildInputs = oldAttrs.buildInputs ++ [ mynewdep ]; }))
<turion> Next strange thing. When I nixos-rebuild switch, I always get "Failed to start local-fs.target: Unit -.mount is masked."
ashkitte1 is now known as ashkitten
Ariakenom_ has quit [Ping timeout: 268 seconds]
<gmarmstrong> gchristensen: Oh, cool, it worked! Thanks so much!
<gchristensen> great!
hyper_ch2 has joined #nixos
fusion809 has quit [Remote host closed the connection]
gmarmstrong has quit [Quit: Quit]
turion has left #nixos [#nixos]
florianjacob has quit [Ping timeout: 264 seconds]
florianjacob has joined #nixos
drk_lrd_877_ has joined #nixos
endformationage has joined #nixos
<{^_^}> [nixpkgs] @asymmetric opened pull request #50957 → slither: init at 0.3.0 → https://git.io/fpRd3
<{^_^}> [nixpkgs] @nyanloutre opened pull request #50958 → wpscan: init at 3.4.0 → https://git.io/fpRd8
Purple-mx has quit [Ping timeout: 264 seconds]
betaboon has quit [Quit: WeeChat 2.2]
<Taneb> One of my coworkers is confused by the nixops documentation for deploying to a machine which already has NixOS
<Taneb> It seems to suggest that you don't need to do much at all by way of configuration to get something, but they had to essentially copy over the generated hardware-configuration.nix to where nixops is being run from
<srk> ,locate image_filter
<{^_^}> Found in packages: kino, wings, mapnik, lazarus
Purple-mx has joined #nixos
<Taneb> Anyone with more experience with this know what's up with that?
<srk> Taneb: yes, that's missing from docs
<srk> Taneb: that you have to add hardware-configuration (at least partitioning and grub entries)
<ottidmes> Taneb: why is that suprising? You got to have the complete configuration in order to build
<srk> it's surprising because manual doesn't say anything about that :)
<Taneb> ottidmes: my coworker doesn't have much experience of Nix and the manual doesn't mention it
* srk wanted to fix that a while ago :|
<ottidmes> ah, I did not really follow the manual to the letter :P
rihardsk has quit [Quit: rihardsk]
asymmetric has quit [Ping timeout: 264 seconds]
<Taneb> Also, what happens if you nixops delete/destroy a physical computer?
Ariakenom has joined #nixos
doyougnu has joined #nixos
fusion809 has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
samrose has quit [Quit: Konversation terminated!]
<ldlework> Does anyone here have a NodeJS shell.nix handy?
magnetophon has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @fpletz pushed to master « minetest: 0.4.17 -> 0.4.17.1 »: https://git.io/fpRbS
hyper_ch2 has quit [Ping timeout: 256 seconds]
ThatDocsLady has quit [Ping timeout: 250 seconds]
<ottidmes> ldlework: not sure what you want, but cant you just use node2nix or yarn2nix and nix shell into that? or did you mean: nix-shell -p nodejs
<ldlework> i dunno i just have an old nodejs game i made a few years ago and now i'm on nixos and have never done node stuff on it yet
Tucky has quit [Quit: WeeChat 2.2]
<ottidmes> ldlework: https://nixos.org/nixpkgs/manual/#node.js-packages
<ldlework> ottidmes: your last command seems good
hke has quit [Ping timeout: 244 seconds]
<ldlework> thank you
<ottidmes> ldlework: yeah if everything is already there, just having access to node should be enough
<ldlework> hah, it's working
<ldlework> phew brings me back
<Rusty1> :q
hke has joined #nixos
<dmj`> Why is python expect not in nix packages?
<{^_^}> [nixpkgs] @fpletz pushed 9 commits to release-18.09: https://git.io/fpRNT
<Taneb> dmj`: I can't find anything by that name on two seconds with Google. Closest is "pexpect" which does exist (as pythonPackages.pexpect)
<{^_^}> [nixpkgs] @globin merged pull request #50038 → wpa_supplicant: copy sample config into output → https://git.io/fpLTT
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fpRNq
<Taneb> dmj`: well then, my best answer is "no-one's added it yet"
<dmj`> Taneb: I wrote an expression for it, and tried to enter a nix-shell and it hangs on pandas fetching from a cache
<Taneb> dmj`: I wouldn't know about that sort of thing, I'm afraid
<{^_^}> [nixpkgs] @symphorien opened pull request #50960 → Rustfmt: 0.9.0 -> 0.99.5 → https://git.io/fpRNn
<dmj`> Taneb: I Ctrl-C then I'm in the shell
drakonis has quit [Quit: WeeChat 2.2]
<dmj`> Taneb: I'll figure it out, appreciate it though
<{^_^}> [nixpkgs] @woehr opened pull request #50961 → stdenv/generic/setup.sh: More robust unpacking → https://git.io/fpRNR
hyper_ch2 has joined #nixos
waleee has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @flokli opened pull request #50962 → gitlab: 11.4.4 -> 11.5.0 → https://git.io/fpRN2
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 240 seconds]
hyper_ch2 has quit [Ping timeout: 256 seconds]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
<ldlework> I am trying to run an SDL app built with Nim-lang, and when I run the compiled executable I get: could not load: libSDL.so(|.1|.0)
<ldlework> My LD_LIBRARY_PATH=/run/opengl-driver/lib in and out of nix-shell, which I started like nix-shell -p nim SDL
drakonis_ has quit [Ping timeout: 260 seconds]
drakonis1 has joined #nixos
<clever> ldlework: SDL isnt part of the opengl-drivers, so it must be in the rpath
<clever> i suspect nim is not correctly populating the rpath when building things
drakonis has quit [Ping timeout: 252 seconds]
<dmj`> Starting a few days ago, nix builds on haskell packages segfault for me
<dmj`> I try to repro in a nix-shell but can't
shabius_ has quit [Quit: Leaving]
<dmj`> I enter into a shell with ghc and a loaded package list, I call: ghc -no-keep-o-files -no-keep-hi-files Setup.hs -o Setup, and then ./Setup build and don't get a segfault.
<dmj`> otherwise, calling nix-build produces line 1298: 19457 Segmentation fault ./Setup build
<dmj`> and I have no idea how to debug
<ottidmes> ldlework: something like: patchelf --rpath "${makeLibraryPath [ SDL ]}" $out/bin/your-app
drakonis has joined #nixos
<dmj`> surprising, cabal build also segfaults
<ldlework> someone in #nim is helping me doing that via the compiler itself, but i'm tempted to use this change to learn about patchelf
shabius has joined #nixos
<ldlework> ottidmes: which i guess is a general technique?
<ottidmes> ldlework: yep, very general in NixOS
drakonis1 has quit [Read error: Connection reset by peer]
<ottidmes> ldlework: or rather, nixpkgs
<ottidmes> ldlework: basically any existing binary (or wrongly build) needs to be patched to find the libs in the non-standard paths that Nix uses
<ldlework> right
mayhewluke has quit [Ping timeout: 268 seconds]
<ottidmes> ldlework: and there is also makeWrapper, which is necessary when just patching the rpath is not enough
mayhewluke has joined #nixos
goibhniu has quit [Ping timeout: 250 seconds]
Kim has quit [Ping timeout: 252 seconds]
flokli has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @bhipple closed pull request #49255 → dockerTools.examples.nix: fix documentation example → https://git.io/fxHJg
Kim has joined #nixos
bandali has quit [Ping timeout: 252 seconds]
genesis has quit [Ping timeout: 252 seconds]
genesis has joined #nixos
flokli has joined #nixos
bandali has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
Mr_Keyser_Soze99 has joined #nixos
Mr_Keyser_Soze99 has quit [Client Quit]
<ldlework> Hmm is there no Python27 pipenv?
<ldlework> nm
alex_giusi_tiri has joined #nixos
<ldlework> FRidh: hey you around by chance?
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/72c48fef2ff (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
doyougnu has quit [Ping timeout: 264 seconds]
sigmundv has quit [Ping timeout: 260 seconds]
<dmj`> ok wtf is going on
<dmj`> error: /nix/store/<hash>-stdenv-linux/setup: line 1298: 7442 Segmentation fault ./Setup build
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/932e0f30c41 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
orivej has quit [Ping timeout: 252 seconds]
alex_giusi_tiri has quit [Ping timeout: 240 seconds]
<clever> dmj`: linux or darwin?
<dmj`> clever: linux
<clever> dmj`: systemd.coredump = { enable = true; };, nixos-rebuild, and then reproduce the fault
kp__ has quit [Ping timeout: 268 seconds]
vidbina has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/1fd295ff0d1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixos-org-configurations] @zimbatm merged pull request #67 → document the infra client setup → https://git.io/fpRXP
<{^_^}> [nixos-org-configurations] @zimbatm pushed to master « document the infra client setup (#67) »: https://git.io/fpRh2
<dmj`> clever: thought I found something, there was a module re-exporting itself, which might have caused the linker to freak out
<dmj`> clever: but the segfault still occurs
<clever> dmj`: now run coredumpctl as root, you should see a coredump has been saved
<{^_^}> [nixos-org-configurations] @zimbatm pushed 14 commits to master: https://git.io/fpRhF
<{^_^}> [nixpkgs] @andir opened pull request #50963 → [staging-18.09] backport nss, libpng & sqlite updates → https://git.io/fpRhx
page has quit [Quit: leaving]
page has joined #nixos
orivej has joined #nixos
<ldlework> i wonder if this will be resolved at some point https://github.com/NixOS/nixpkgs/pull/33972
<{^_^}> #33972 (by aneeshusa, 44 weeks ago, open): python2.7: Return full path from find_library
fusion809 has quit [Remote host closed the connection]
jhillyerd has joined #nixos
fusion809 has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #49756 → nixos/prometheus: check alertmanager configuration → https://git.io/fxhpC
<{^_^}> [nixpkgs] @andir pushed 4 commits to master: https://git.io/fpRjs
drakonis has quit [Ping timeout: 268 seconds]
doyougnu has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
civodul has joined #nixos
Baughn has quit [Remote host closed the connection]
<yorick> recent nix upgrade broke my yubikey gpg support, I think?
<yorick> nixos*
freeman42x]NixOS has joined #nixos
metastance has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
drakonis_ has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
ashkitten has quit [Quit: WeeChat 2.3]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
drakonis1 has quit [Ping timeout: 250 seconds]
dramforever has joined #nixos
<andi-> yorick: whats wrong? Just not working at all anymore?
<andi-> what kind of Yubikey/what application are you using on it
drakonis has joined #nixos
drakonis1 has joined #nixos
drakonis_ has quit [Ping timeout: 240 seconds]
fusion809 has quit [Ping timeout: 264 seconds]
FRidh has quit [Quit: Konversation terminated!]
drakonis has quit [Ping timeout: 252 seconds]
nocoolna- has joined #nixos
<ldlework> Am I even close with this shell.nix? https://gist.github.com/dustinlacewell/2a5ae5898c96ff14b701ac2d8fceb191
<ldlework> I want to add to the postPatch of a single python library
<ldlework> And then get a shell with that python and that python library installed, with my patch applied
<dramforever> ldlework: I think you meant 'overlays' not 'packageOverrides'
<dramforever> Duh, not nixpkgs
<dramforever> Ignore me
metastance has quit [Ping timeout: 252 seconds]
<ldlework> the environment builds
<ldlework> but python2 isn't the interpreter and the pyglet lib isn't importable
nocoolnametom has quit [Quit: ZNC 1.6.5 - http://znc.in]
betaboon has joined #nixos
<ldlework> hmm
<dramforever> ldlework: I think you want mkShell
<dramforever> Otherwise your thing starts a shell environment for *building* python
<mpickering> domenkozar: What does the doOptimise setting do in hnix?
<betaboon> hello. when logging into my system without a networking connection i only end up on my desktop after dhcpcd has timed out (after 30s) any hinds how to prevent that ?
<ldlework> huh?
metastance has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed to master « matrix-synapse: 0.33.8 -> 0.33.9 »: https://git.io/fp0fW
drakonis1 has quit [Ping timeout: 268 seconds]
<dramforever> pkgs.mkShell { builtInputs = [ python.withWhatever ] }
<domenkozar> mpickering: -O2
<domenkozar> see cabal file
<domenkozar> flag optimize
<{^_^}> [nixpkgs] @leo60228 closed pull request #50842 → msbuild: init at 15.8 → https://git.io/fplli
drakonis1 has joined #nixos
<infinisil> Quick NixOS question:
<infinisil> Did *anybody* ever find any of these services.*.{user,group} options useful?
<infinisil> I mean actually use them
<andi-> I think I use both of them. The group option at some place to share certificates between two services.
<gchristensen> same
<infinisil> andi-: Alright, but you could also use groups for that: Make the service that needs to be able to access the others data a member of its group
<infinisil> Right?
<gchristensen> I needed to make mysql run as a different group
<gchristensen> ...and user, actually
<infinisil> gchristensen: Hmm what for?
<andi-> I think it is good design to keep them around.. I mean we will have to define them somewhere anyway. With them being standard options you can easily change/influence that if needed.
<andi-> Unless you plan for full DyanmicUser=true
<gchristensen> so the uid/gid matched the other servers datadirs were synced from
<infinisil> andi-: The thing is, these options are almost redundant, as you can just use `users.users.*.name`, *if* services would support that correctly (none of them do currently)
<infinisil> Most of them don't at least
<gchristensen> oh?
<andi-> mhmm
<andi-> I think it being defaulted to the attributes name shadows that "feature" a bit
<infinisil> E.g. service foo sets `users.users.foo = { group = config.users.users.groups.foo.name; }; users.groups.foo = {};`
<dramforever> gchristensen: Oh, quick... idea update: Remember the mirroring cache of missed channel updates thing? I figured out that if we direct users to use https://mirror.example.com/channels instead of https://nixos.org/channels, they would never fall into missed channel versions
<infinisil> ANd to use the username and group, it uses `config.users.users.foo.name`
<dramforever> s/Oh/Uh/
<infinisil> ANd to use the username and group, it uses `config.users.{users,groups}.foo.name`
<gchristensen> dramforever: true :)
<dramforever> How could I have missed that
<infinisil> gchristensen: andi-: This approach seems much nicer than what we currently do
<andi-> infinisil: I see that..
<andi-> I fear it might just be too late and introduce breakage if we try to change that now? We can always write a changelog entry tho…
<infinisil> andi-: No need to break anything I think
<dramforever> Oh wait... but there are Nix expressions with hardcoded nixpkgs versions aren't there
<infinisil> The user/group options can be aliased to the new way
<andi-> infinisil: mind hacking up a PR for that? :)
<infinisil> Not right now, just thought about this for a bit, would be cool to have eventually
<dramforever> Let's just hope that the dependencies are similar enough that most binaries would be mirrored. It isn't like Nix doesn't support two substituters or anything
tathougies has joined #nixos
<tathougies> So if I want to inter a nix expression as JSON, I use builtins.toJSON, but what if i want to use pkgs.writeText to produce a nix expression? Is there a builtins.toNix, or something?
<dramforever> It's called import
<infinisil> dramforever: That's *from* nix, not to
<dramforever> Oh, yeah you're right
<infinisil> tathougies: I think lib.generators.toPretty does that mostly
<infinisil> > lib.generators.toPretty {} { x.y = 10; foo = [ "bar" {} ]; }
<{^_^}> "{ \"foo\" = [ \"bar\" { } ]; \"x\" = { \"y\" = 10; }; }"
<dramforever> Maybe I need more sleep. I keep making mistakes here on IRC
rpg has joined #nixos
<mpickering> domenkozar: Did you turn that on when you profiled?
<mpickering> I ran some profiling and most memory is taken up by objects which are never used
<ldlework> hmm confusing fontconfig has no lib/ folder
<ldlework> just bin/
<domenkozar> mpickering: ^^
<mpickering> Yes
<domenkozar> afaik -hd shows only newly allocated data
<mpickering> ah that one's not in colour
<mpickering> one sec
<mpickering> VOID means that the heap object is never used
<mpickering> I'm compiling with 8.6.2 now so I can use the retainer profiler
<domenkozar> seems like you have missing {}
<domenkozar> import <nixpkgs> {}
<ldlework> ls -la /nix/store/0wgnr5df4ya4w55p4cd1018kq7pfhznf-fontconfig-2.12.6-bin/ ~
<ldlework> dr-xr-xr-x - root 31 Dec 1969 bin
<ldlework> how do i install the full package with the lib/libfontconfig.so.1 ?
<dramforever> fontconfig.lib
<dramforever> Or fontconfig.dev
<dsx> Could NixOS be installed to ZFS root?
<domenkozar> g2g
<dramforever> ldlework: Are you trying to build something that depends on fontconfig?
<ldlework> yeah, the .lib worked
<dramforever> I would be surprised if installing fontconfig worked
<dramforever> What exactly are you doing?
<ldlework> dramforever: i just got my 10+ old python pyglet game running for the first time :)
<ldlework> which uses ctypes to load fontconfig library at runtime
<ldlework> so i've managed a derivation that patches pyglet to use the nix store paths for the libs it loads at runtime
<dramforever> Oh, that sounds about right
<infinisil> dsx: Lots of people are doing that already
<infinisil> Including me
<dsx> infinisil: are you using LUKS encryption for physical disks?
<infinisil> Nope
<dsx> Any encryption?
<infinisil> Nope
<infinisil> I did use luks before though, it's not a problem
<ldlework> nm
<ldlework> link wont work
lord| has quit [Ping timeout: 272 seconds]
<infinisil> ldlework: Why the subdomain "logos" for pastes btw?
<__monty__> infinisil: Logos as in knowledge ~> information, maybe?
doyougnu has quit [Ping timeout: 272 seconds]
<infinisil> Ohh, that seems like something ldlework would do indeed haha
<ldlework> yeah
snajpa has quit [Quit: ZNC 1.7.1 - https://znc.in]
aither has quit [Quit: ZNC 1.7.1 - https://znc.in]
mayhewluke has quit [Ping timeout: 268 seconds]
Baughn has joined #nixos
kgz has quit [Quit: WeeChat 2.0.1]
Mr_Keyser_Soze has joined #nixos
snajpa has joined #nixos
mayhewluke has joined #nixos
kragniz has joined #nixos
zduch4c has joined #nixos
<zduch4c> Hello, I started MPD with "services.mpd.enable = true;", and added my user to the "mpd" group—yet when I ran the command `mkdir /var/lib/mpd/music' it gives me a permission denied error. What gives?
<infinisil> zduch4c: Did you relog between this? new groups can't be applied immediately
<zduch4c> yes
<zduch4c> I have even rebooted
<infinisil> zduch4c: What are the permissions of /var/lib/mpd?
<zduch4c> all are owned by mpd
<zduch4c> mpd group and mpd user
<infinisil> Oh, I think the group might be denied write rights by default
<zduch4c> drwxr-xr-x 3 mpd mpd 4096 2018-11-23 22:01 mpd
<infinisil> Yeah
<infinisil> zduch4c: `sudo chmod g+w /var/lib/mpd`
<infinisil> Then try again
<zduch4c> works now
<zduch4c> thanks
<infinisil> Np
<infinisil> Should probably be fixed in the module
<dramforever> Fonts question: Is everything compatible with ttc (the collection thing) now, or do some stuff still require ttf?
<zduch4c> also, I noticed the musicDirectory option in services.mpd, can I change it to like, my home directory or something?
<infinisil> zduch4c: Should work yeah
<dramforever> nixpkgs.sarasa-gothic is ~2.2GB installed, whereas a hypothetical ttc install would be just 200MB
<zduch4c> it takes it directly from the ttf archive of the github page of Sarasa Gothic dramforever
<dramforever> Yes
<dramforever> But it takes a whole lot of space
kragniz is now known as kgz
<dramforever> And I'm wondering if reducing the /nix/store space requirements would have other negative effects
<zduch4c> i think it uses ttf not ttc, but probably not the reason
<dramforever> Hmm I think wqy-zenhei uses ttc
ma27_ has quit [Quit: WeeChat 2.2]
zduch4c has left #nixos ["Killed buffer"]
<dramforever> zduch4c: I just did du -h /nix/store | sort -rh and it absolutely surprised me that a font was so high up on the list of hard drive space takers
lassulus has quit [Ping timeout: 250 seconds]
ma27 has joined #nixos
lassulus has joined #nixos
booglewoogle has quit [Remote host closed the connection]
<clever> dramforever: du -hc --max=0 $(nix-store -qR /run/current-system) | sort -h
<clever> in my case, mono is #1 at 577mb, and linux firmware is #2 at 532mb
<clever> noto-fonts is around 20th place at 117mb
<dramforever> 2.2G /nix/store/...-sarasa-gothic-0.6.0
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/636b2b2da96 (from 26 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<clever> the above command is limited to a single generation
<clever> ah, i dont have that one
<dramforever> I admit that I just installed it this week
<ldlework> so at some point I had youtube in chrome working by using programs.chromium.enablePepperFlash, but now apparently that option doesn't exist? I'm still on 18.03...
<dramforever> I mean installed NixOS
<dramforever> But this...
<dramforever> 5.8G total
<clever> ldlework: youtube uses html5 now
<dramforever> > 2.2 / 5.8
<{^_^}> 0.37931
<ldlework> why doesn't chrome work for it
<dramforever> This is insane
booglewoogle has joined #nixos
<clever> ldlework: what do you see when you view www.youtube.com/html5 ?
<infinisil> dramforever: I'd like to have a single derivation for every font, so we can pick exactly the ones we want
<ldlework> uhhh
<ldlework> for some reason its working now
<ldlework> odd
<dramforever> infinisil: But a ttc is only the size of two ttf's
<dramforever> Pretty sure single derivation for every font isn't worth the trouble
betaboon has quit [Quit: WeeChat 2.2]
<clever> dramforever: maybe groupings, or a special derivation that filters it to a subset, so it only needs the 2.2gig at compile time, and then you can GC it
<clever> or if that whole 2.2gig is just from a zip, modify the unzip'ing derivation to filter
<booglewoogle> hey, any way I can force remove a prefix from my store?
<dramforever> The latter one seems good
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1fd295ff0d1 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<clever> booglewoogle: it would be better to find out why force is needed, ive broken a machine with --force before
<dramforever> clever: Why though?
<clever> booglewoogle: first, try just `nix-store --delete /nix/store/foo` and see what it says
<clever> dramforever: then you can get a subset of the sarasa-gothic fonts, and not pay the whole 2.2gig
<booglewoogle> tells me it's still alive
<clever> booglewoogle: now `nix-store --query --roots /nix/store/foo`
<booglewoogle> /run/booted-system
<booglewoogle> {memory:18}
<booglewoogle> {memory:196}
<booglewoogle> {memory:35}
<booglewoogle> shouldn't this not matter though?
<clever> booglewoogle: its in-use by 3 programs that are currently running, and the boot generation, you will need to reboot to remove those roots
<infinisil> dramforever: Once it's done, a single derivation for every font would be really cool imo
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> Or maybe just some way to combine many specific fonts into a single derivation
<booglewoogle> clever: hmm, interesting considering I just rebooted and pretty much don't have anything running.. gonna reboot then and check again. thanks for your help.
booglewoogle has quit [Remote host closed the connection]
<dramforever> The current sarasa-gothic explicit said never to build on hydra so it always builds locally
<clever> dramforever: even if you just split it in half, and buildEnv the 2 halves back together, it would have no functional difference, but hydra would be tricked into accepting its size
booglewoogle has joined #nixos
<dramforever> clever: I don't think any font in nixpkgs does this
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49892 → ssh-agents: init at 1.0.1 → https://git.io/fpU5P
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp0Tj
ashkitten has joined #nixos
<clever> dramforever: one font, is just an unzip'ing derivation, but its been flagged as fixed-output
<clever> dramforever: that has the benefit, that darwin and linux can share the output from the binary cache
<clever> one can build, but can use
worldofpeace has joined #nixos
<booglewoogle> clever: rebooting did the job. mildly confusing to me considering the circumstances, but OK! thanks again.
<booglewoogle> back to debugging the expression
<dramforever> clever: I'm getting confused by now
<dramforever> Oh you were talking about the benefits of marking a font fixed-output
<booglewoogle> oh yeah, could it be that the phase overrides don't quite work as intended? https://hastebin.com/erixilecad.bash this is where I'm at with my expression, and running installPhase in the corresponding nix-shell gives me (among others) the error `make: *** No rule to make target 'install'. Stop.`, which it shouldn't since my override doesn't include any make install call?
aither has joined #nixos
<clever> dramforever: that would at least stop it from rebuilding every time nixpkgs updates, and let arches share the product
<clever> dramforever: if its not fixed, nixos will rebuild it for every update, and potentially leave you with 5 copies, each 2.2gig in size
ashkitten has quit [Quit: WeeChat 2.2]
<dramforever> Yeah
<clever> but if you define the outputHash, nix understands that the output is mostly unrelated to the input, and can reuse the product
<dramforever> I know that
<dramforever> I just found this 2.2gig font really makes me cringe
<domenkozar> mpickering: did {} help?
ashkitten has joined #nixos
metastance has quit [Ping timeout: 252 seconds]
<infinisil> I'm still rather confused on how all the font stuff is supposed to work
<infinisil> fontconfig can apparently combine fonts somehow
<infinisil> xft is somehow there to also do that
<mpickering> domenkozar: I'm not sure what you mean, the profile looks good to me and the output was an evaluated package set
<mpickering> I fixed the build on 8.6 so I will try the retained profile now
<tilpner> Is there any way to properly setup terminfo that's compatible with users.users.me.packages?
<tilpner> It seems only systemPackages is respected?
<domenkozar> mpickering: what command are you using to run hnix?
<mpickering> literally the one you put in the issue
<dramforever> clever: Maybe there was some confusion?
<dramforever> My proposed fix of the 2.2G store path problem is to use the ttc version, which reduces it to about 200MB
<clever> dramforever: ah, that does sound like a much better fix
<dramforever> Yeah I was confused about what this split font stuff is about...
<clever> its mostly in response to infinisil
<dramforever> Yeah I was thinking of arguments in favor of ttc...
<dramforever> It's a much simpler fix, literally just s/ttf/ttc/
<dramforever> Oh and the hash
<dramforever> But now that you've mentioned the outputHash thing, maybe I can do that too
<{^_^}> [nixpkgs] @mredaelli opened pull request #50964 → rstudio: fix qt plugins not found → https://git.io/fp0Im
polman has joined #nixos
polman has quit [Ping timeout: 246 seconds]
tjg1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #50965 → echoip: Init at 4bfaf67 → https://git.io/fp0Io
<{^_^}> [nixpkgs] @7c6f434c merged pull request #49228 → rss2email module: init → https://git.io/fx9Aw
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fp0Ii
<worldofpeace> Any seasoned nixpkgs commiters want to suggest some tips for a newcomer?
<sphalerite> tilpner: looks to me like it should work with that too
<sphalerite> tilpner: at least /etc/profiles/per-user/linus/share/terminfo is in my $TERMINFO_DIRS
<{^_^}> [nixpkgs] @worldofpeace opened pull request #50966 → powershell: 6.1.0 -> 6.1.1 → https://git.io/fp0IX
<tilpner> sphalerite - It is here too, but it doesn't end up in /etc/terminfo
<sphalerite> tilpner: /etc/terminfo shouldn't have anything to do with ti
<sphalerite> it*
<tilpner> It does though :/
<tilpner> Now you might say "go fix whatever applications is hardcoded to use /etc/terminfo", and you might have a point, but... :(
rprije has quit [Ping timeout: 250 seconds]
<sphalerite> tilpner: so this is only not working with a specific application?
<tilpner> (nmtui only works after I put alacritty into systemPackages)
ixxie has quit [Ping timeout: 268 seconds]
<sphalerite> Yeah then that application is to blame and there's nothing to be done about it other than that
Mr_Keyser_Soze has quit [Ping timeout: 272 seconds]
<tilpner> There may be others, there have been a number of issues
<sphalerite> um. AFAICT nmtui uses ncurses which should behave just right
<sphalerite> I don't have nm running to be able to try it myself though
<sphalerite> how about `strace -fe file -o >(grep terminfo >/tmp/log) nmtui` and have a look at /tmp/log ?
<tilpner> Did that already. It doesn't getenv, only looks at predefined locations
<tilpner> Result at https://tx0.co/2x
<sphalerite> hm newt seems to be to blame
<sphalerite> iiiiiit's patching time!
shabius has quit [Quit: Leaving]
<sphalerite> ok correction, slang, which newt uses, seems to be to blame
ng0 has quit [Quit: Alexa, when is the end of world?]
<tilpner> Do you want to do it? If not, I'll put it on my ever-growing todo list :c
* tilpner was about to go to bed
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<sphalerite> tilpner: I'm on it :p
<tilpner> sphalerite++
<{^_^}> sphalerite's karma got increased to 38
<sphalerite> stupid libraries assuming the world lives in FHS
<tilpner> > slang.meta.description
<{^_^}> "A multi-platform programmer's library designed to allow a developer to create robust software"
<clever> sphalerite: i would have done the same with all software, prior to discovering nix :P
<sphalerite> tilpner: hahahahahaha
<v0|d> &:.p
<sphalerite> ugh
<sphalerite> slang's code is uuuuugly
shabius has joined #nixos
doyougnu has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #50967 → webkitgtk: 2.22.3 -> 2.22.4 → https://git.io/fp0LF
<dramforever> clever: Is it a good idea to put hydraPlatforms = [] on a mostly-just-download derivation like that?
<dramforever> (It's about 211MB and fixed-output)
<sphalerite> dramforever: I'd say no, since it's fixed-output it won't change even when its dependencies do, meaning that it'll have a relatively small cost long-term
<dramforever> > "I just did a ${builtins.toString (100 * (1 - 212067152.0 / 2288735488.0))}% decrease in closure size for sarasa-gothic"
<{^_^}> "I just did a 90.734309% decrease in closure size for sarasa-gothic"
<{^_^}> [nixpkgs] @dtzWill opened pull request #50968 → nnn: 2.0 -> 2.1 → https://git.io/fp0tf
<dramforever> sphalerite: This commit[1] disabled hydra building for it when it was 2.2G closure. So you think that it now being 200MB would make it suitable again?
<dramforever> suitable for hydra, I mean
<sphalerite> dramforever: at that point it wasn't fixed-output so yeah
<dramforever> It could have been fixed-output
<sphalerite> but it wasn't ;)
<dramforever> So you think it not being fixed-output was the reason for disabling the build?
<{^_^}> [nixpkgs] @dtzWill opened pull request #50969 → noto-fonts-emoji: 2018-04-24-pistol-update -> 2018-08-10-unicode11 → https://git.io/fp0tq
<sphalerite> it using up a lot of space in the cache would have been the reason for disabling it I guess.
<sphalerite> But if it's fixed-output, it will only use that space once, as opposed to every time one of its deps updates.
<sphalerite> Meaning it uses 212MB one-off, not 212MB for every version of stdenv we have (or whatever)
<dramforever> Okay
<sphalerite> at least that's my interpretation
<dramforever> 200MB for every version of the downloaded thing itself
<sphalerite> probably makes sense to cc Mic92 in the PR and maybe link to this discussion :)
<sphalerite> (unless he's around right now and can comment on it here directly?)
<dramforever> Yeah I suppose I should make a PR first
<{^_^}> [nixpkgs] @dtzWill opened pull request #50970 → hyperfine: 1.3.0 -> 1.4.0 → https://git.io/fp0t8
<{^_^}> [nixpkgs] @dtzWill opened pull request #50971 → pixman: 0.34.0 -> 0.36.0 → https://git.io/fp0tu
<{^_^}> [nixpkgs] @dtzWill opened pull request #50972 → bison: 3.2.1 -> 3.2.2 → https://git.io/fp0tz
perique has joined #nixos
dramforever has quit [Quit: Page closed]
Mr_Keyser_Soze has joined #nixos
__monty__ has quit [Quit: leaving]
IRCsum has quit [Remote host closed the connection]
IRCsum has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #50973 → nsjail: 2.7 -> 2.8 → https://git.io/fp0qs
<{^_^}> [nixpkgs] @worldofpeace merged pull request #50868 → imwheel: init at 1.0.0pre12 → https://git.io/fp8zV
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fp0qZ
<tathougies> So I set up a hydra server, but it looks like it's actually running the build when evaluating the job. Is that what's supposed to happen?
<tathougies> I thought the build would be added to the queue and run later?
<tathougies> What am I doing wrong?
vidbina has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #50686 → mopidy-iris: 3.29.2 -> 3.30.0 → https://git.io/fpCTD
<{^_^}> [nixpkgs] @c0bw3b closed pull request #50644 → powershell: 6.1.0 -> 6.1.1 → https://git.io/fpcQz
<sphalerite> tathougies: I don't know much about hydra, but I assume it *is* being added to the queue
<sphalerite> just that there's nothing else on the queue so it gets built immediately
perique has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dramforever opened pull request #50974 → sarasa-gothic: rewrite: TTC and fixed-output → https://git.io/fp0qX
zolk3ri has joined #nixos
<tathougies> sphalerite: normally it says 1/1 in the queue if it's being built
<tathougies> but it looks like it's being built (based on ps output) and the jobset evalutaion says 'evaluating for 20 minutes' or something like that
<tathougies> If it's going to build this thing, it's going to take a few hours, so there's no way it's finished early
<{^_^}> [nixpkgs] @worldofpeace opened pull request #50975 → minizinc: 2.2.1 -> 2.2.3 → https://git.io/fp0mJ
<sphalerite> oh, is there some IFD going on in your expressions?
rprije has joined #nixos