<dashkal>
Honestly, I think I hit the end of my tolerance on HIE at this point. I used to just use vim in one terminal and ghci in another.
<dashkal>
I've hit multiple "Huh, that shouldn't happen" cases in one day.
malSet has joined #nixos
edomfjp[m]11 has quit [Client Quit]
edomfjp[m]11 has joined #nixos
edomfjp[m]11 has quit [Client Quit]
edomfjp[m]11 has joined #nixos
<bdju>
Okay, I have some time now. My updates are failing on luajit. It looks like this is issue #81206 which is closed, but I'm still having problems. Any ideas?
<worldofpeace>
lovesegfault: TLS support is not available sounds like GIO_EXTRA_MODULES not being set with glib-networking's module
<worldofpeace>
lovesegfault: the first error is maybe because you're missing an icon theme
<lovesegfault>
Yeah, nixos.hicolor-icon-theme
<lovesegfault>
I feel like the pkg should bring that in?
<worldofpeace>
hicolor icon theme actually has no icons
<benley>
hey is there a way to get the equivalent of the https://nixos.org/nixos/options.html page for releases other than the current stable? I'd love to have that available for nixos-20.03 now, and nixos-unstable at any time
jonten has quit [Ping timeout: 268 seconds]
<benley>
and yes I'm aware of the nixos-option command; it's great but the browser interface is so convenient
<lovesegfault>
benley: man configuration.nix
<lovesegfault>
oh
<worldofpeace>
lovesegfault: Could you paste the output of the maybe new wrapper again?
<lovesegfault>
Yeah, this is the new wrapper, I applied your patch on top of the latest hydra-successful commit
<worldofpeace>
lovesegfault: It's not in buildInputs (glib-networking). That's probably because the services.gnome3.glib-networking adds the gio module, because not everything is wrapped
<worldofpeace>
(my todo list is to remove this bandaid for 20.09
<benley>
lovesegfault: ok I was initially annoyed at your suggestion but I'm glad I actually looked at the configuration.nix manpage. I had no idea it was fully generated like that!
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
<lovesegfault>
benley: :)
<benley>
which is to say, thanks :-)
<worldofpeace>
lovesegfault: anyways, You should install gnome3.adwaita-icon-theme, or any other gtk icon theme really
<worldofpeace>
I'll probably finish that PR right now, and push updates for lollypop.
edomfjp[m]1 has quit [Quit: authenticating]
edomfjp[m]1 has joined #nixos
mexisme has quit [Ping timeout: 255 seconds]
<lovesegfault>
worldofpeace: sweet!
<{^_^}>
[hydra] @grahamc opened pull request #721 → hydra-evaluator: add a 'ONE_AT_A_TIME' evaluator style → https://git.io/Jvaug
wildtrees has quit [Quit: Leaving]
<bdju>
Are there any on-going efforts to support other init systems in NixOS? I just thought of it after seeing mention of linux-libre in a github issue and thinking of similarities to Guix System.
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/Jvauw
lovesegfault has quit [Quit: WeeChat 2.7.1]
mauli has quit [Ping timeout: 260 seconds]
<{^_^}>
[nixpkgs] @worldofpeace pushed 51 commits to staging-20.03: https://git.io/JvauK
<{^_^}>
[nixpkgs] @jtojnar opened pull request #81664 → vips: general clean-ups → https://git.io/Jvauy
lovesegfault has joined #nixos
cinimod_ has quit [Quit: Connection closed for inactivity]
<energizer`>
how do i diagnose a collision? `/nix/store/m9hz17ax200lisfbfmd9ix4pxl8wjw45-python3.7-numpy-1.18.1/lib/python3.7/site-packages/numpy/testing/tests/__pycache__/test_utils.cpython-37.pyc' and `/nix/store/razxim...
<colemickens>
Can I use the VS Code extension stuff with VS Codium?
<lovesegfault>
worldofpeace: your patch may have borked zoom-us
<lovesegfault>
(process:8607): GLib-GIO-ERROR **: 16:42:31.628: No GSettings schemas are installed on the system
<worldofpeace>
hmmm
<worldofpeace>
isn't zoom-us a qt app?
<worldofpeace>
or maybe there's something about qt apps in gtk environments I don't know
<lovesegfault>
I have the qtgnome stuff
pareidolia has joined #nixos
<worldofpeace>
lovesegfault: did you trigger a filechooser?
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu>
Hey I updated gpg and now it won't connect. I have a ~/.gnupg/gpg-agent.conf, but it is not respected by gpgconf. gpgconf reports a pinentry binary that does not exist. How can I fix or diagnose further?
<selfsymmetric-mu>
If I try to `--decrypt` it just hangs. I suspect this is because it cannot find the pinentry program.
<selfsymmetric-mu>
Versions match for gpg and gpg-agent.
lovesegfault has quit [Ping timeout: 265 seconds]
doublex__ has quit [Ping timeout: 256 seconds]
werner291 has quit [Quit: werner291]
lovesegfault has joined #nixos
Rusty1 has quit [Remote host closed the connection]
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu>
How can I find out why gpg isn't respecting my configuration?
<selfsymmetric-mu>
Setting `programs.gnupg.agent.pinentryFlavor = "gtk2";` stops the hanging, but now I get `gpg: problem with the agent: No pinentry`.
<selfsymmetric-mu>
Any ideas?
<selfsymmetric-mu>
Invoking `gpgconf` still shows a pinentry that does not exist.
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jvagf
kyren has joined #nixos
<rogryza>
hey, does anyone have experience setting up nvidia optimus with the proprietary nvidia driver? I don't mind keeping the discrete gpu on all the time if needed
selfsymmetric-mu has quit [Remote host closed the connection]
<rogryza>
I've tried the Nvidia PRIME setup recommended in the wiki, only the driver to nvidiaLegacy390 due to having an older gpu, and `xrandr --listproviders` only lists Intel
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}>
[nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvagI
<CMCDragonkai>
In NixOS it has this perl script that works in NixOS tests, is there a way to extract this mechanism to be used outside NixOS?
doublex has joined #nixos
<GrimSleepless>
Hey guys, is there any place where we could add this solution https://github.com/commercialhaskell/stack/issues/2975 to the haskell documenation of NixOS. I would have had taken way less time for me to setup my environment knowing that! :D
<{^_^}>
commercialhaskell/stack#2975 (by AshtonKem, 3 years ago, closed): zlib issues on NixOs
<CMCDragonkai>
i dont know exactly the mechanism where the python code is ran in the virtual machine... is this is just a matter of building the image so that it has a script embedded so when QEMU boots it already runs that script? so it's not an actual interactive injection of commands to QEMU
<wiml>
IDK, but from nixos/lib/test-driver/Machine.pm it looks like it runs qemu in a way that connects the machine's console to a pipe, and then talks to the guest that way
<{^_^}>
[nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvaaC
<cole-h>
worldofpeace: lol
<cole-h>
Thanks for the "cool"
<cole-h>
:D
<colemickens>
I've been building up nixbuild.sh that has all my build options, but build users is a proper system level config, kind of annoying, but this is actually a persistent machine so I don't mind keeping a config for it I guess.
<worldofpeace>
cole-h: 🤣 I forgot the sparkle wait!
<{^_^}>
[hydra] @grahamc pushed 3 commits to fix-declarative-jobsets: https://git.io/Jvaa9
<GrimSleepless>
cole-h: I sure could. I mean, since someone took the time to upgrade this package, I believe it is worth taking the time to merge it! So I will take open a discourse for this! Thank you!
<cole-h>
Happy to help. Sometimes they just fall on the backburner, what with the massive amount of contributions daily.
<cole-h>
I got my package merged after posting it (probably because it pinged the guy who originally r+'d it, who then merged it), so it's been fairly helpful
<GrimSleepless>
Yeah! I totaly get it! there is only 24 hours in a day!
<{^_^}>
[hydra] @grahamc pushed 0 commits to fix-declarative-jobsets: https://git.io/JvaaH
<NemesisD>
can anyone help me figure out what's going on here? i'm trying to read a file into my nix config and it's saying that it isn't null or path when it in fact is a path: https://0bin.net/paste/3+IxCW6H9LCmlrTE#+tU4x8MGLta6pkeHAFDVtcqGNuQ0SoKa3AoeW0GHqtO
<mdash>
NemesisD: readFile returns a string, not a path.
<NemesisD>
oh shoot the option can actually take a path to a file
abathur has quit [Read error: Connection reset by peer]
alp has quit [Ping timeout: 268 seconds]
lc has quit [Quit: No Ping reply in 180 seconds.]
abathur has joined #nixos
alp has joined #nixos
Blessjah has quit [Ping timeout: 256 seconds]
jojojojojo has quit [Ping timeout: 240 seconds]
xensky_ has quit [Read error: Connection reset by peer]
lovesegfault has quit [Ping timeout: 256 seconds]
tilpner_ has quit [Ping timeout: 256 seconds]
chreekat has quit [Ping timeout: 256 seconds]
xensky_ has joined #nixos
Blessjah has joined #nixos
abathur has quit [Read error: Connection reset by peer]
chreekat has joined #nixos
locallycompact has joined #nixos
lovesegfault has joined #nixos
captn3m0 has joined #nixos
<corvid>
Odd question, but is the `mv` inside the nix package tool somehow different from the standard linux mv command?
<gchristensen>
nope
<lovesegfault>
nixpkgs' pace is absolutely insane
<corvid>
I'm trying to write a derivation for installing a header only library for c++, in the derivation I have `mv include $out` but this is moving the contents of include into `$out` and not the folder its self
pareidolia has quit [Ping timeout: 265 seconds]
<corvid>
the folder structure is `include/igl/{lots of stuff}` the result folder after building is `result/igl/{lots of stuff}`
<corvid>
I'm able to work around it by creating the include directory and just moving the igl directory into it, just feels like an odd thing to do
<corvid>
Ah gotcha. So if the output of your derivation is a single executable file, is the norm to just make that executable your $out? I've been just throwing that in $out/bin/
<gchristensen>
best to do $out/bin/yourthing, but maybe you're just writing a trivial text file
<clever>
corvid: depends on if your running it yourself from somewhere, or if you want standard tooling to add it to $PATH
<corvid>
Right now I'm just experimenting nixifying our labs research projects. So not trying to get them in any paths
<gchristensen>
nice :D
hyper_ch has quit [Remote host closed the connection]
<atemu12[m]>
<clever "thats one reason i'm paranoid an"> `cp -alvi` is even better, as it allows you to keep the source in-tact. When you have confirmed the output is right you can `rm -r` the source manually afterwards.
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<clever>
atemu12[m]: i tend to use either `cp -vi` or `mv -vi`
<corvid>
clever: Do you keep the interactive flag in your final version, or is it just there while you're writing it to check your self?
<clever>
corvid: i tend to just put it there out of habbit, even when nix cant be interactive
<atemu12[m]>
<clever "atemu12: i tend to use either `c"> The `-a` flag is important here because `mv` preserves permissions, mtime, xattrs and the like. `-l` makes it so that the files aren't actually copied but hardlinked instead which makes the operation almost instant (just like `mv`) and doesn't use any additional space during while doing it.
chagra_ has joined #nixos
iceypoi has joined #nixos
iceypoi has quit [Client Quit]
justanotheruser has quit [Read error: Connection reset by peer]
iceypoi has joined #nixos
chagra has quit [Ping timeout: 258 seconds]
iceypoi has quit [Client Quit]
iceypoi has joined #nixos
iceypoi has quit [Client Quit]
iceypoi has joined #nixos
iceypoi has quit [Client Quit]
iceypoi has joined #nixos
lovesegfault has quit [Ping timeout: 240 seconds]
lovesegfault has joined #nixos
iceypoi has quit [Quit: WeeChat 2.3]
iceypoi has joined #nixos
iceypoi has quit [Client Quit]
iceypoi has joined #nixos
iceypoi has quit [Client Quit]
iceypoi has joined #nixos
iceypoi has quit [Client Quit]
iceypoi has joined #nixos
<xa0[m]>
not that anyone noticed, but i think i'm gonna use patchelf to solve my problem
<clever>
atemu12[m]: nix nukes all permissions and mtimes when the build finishes
<clever>
atemu12[m]: /tmp and /nix/store also tend to be different FS's, so hardlinking often fails
iceypoi has quit [Quit: WeeChat 2.3]
iceypoi has joined #nixos
<atemu12[m]>
Oh, I thought you werre talking about using those tools in general. Inside a derivation there's not much point to what I said.
<peelz>
yeah dumb question, should've looked through nixos-option
<peelz>
wedens[m], my zsh doesn't autocomplete systemd commands since I turned off `programs.zsh.enable`. Any idea why? I looked at zsh.nix but I can't see what enables that
<wedens[m]>
zsh module adds some paths from NIX_PROFILES to zsh
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ixxie has joined #nixos
orivej has joined #nixos
karantan has quit [Ping timeout: 260 seconds]
kenran has joined #nixos
maddo has joined #nixos
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<cole-h>
,tell lovesegfault re: best way to substitue paths -- what about plain ole sed? Or you could just use `substitueInPlace <file> --replace <ref> <desired>`, where <file> can (probably) be a wildcard if you need to modify multiple files (grep for --replace in nixpkgs for more examples)
knupfer has quit [Read error: Connection reset by peer]
m0rphism has joined #nixos
zupo has joined #nixos
<kenran>
In my `configuration.nix`'s function body, are the following equivalent? `services.kibana.enable = true;` and `services.kibana = { enable = true; };`
<eon`>
kenran: yes
<kenran>
That is, is only the `enable` part of the set updated with the second syntax?
<kenran>
eon`: thanks!
knupfer has joined #nixos
<dominikh>
from experience, how large an EFI partition would you recommend for a NixOS install, if one wanted to keep a fair amount of old generations around? (where "fair amount" loosely equals weeks of using/updating the system)
gagbo has joined #nixos
<eon`>
dominikh: you can count between 15M-20M for a kernel+initrd, since december I had 6 different kernels
<eon`>
and: /dev/sdb3 510M 104M 407M 21% /boot
<eon`>
(using stable channel)
<dominikh>
thanks!
<dominikh>
seems like the typical 500M is plenty, then
cole-h has quit [Ping timeout: 260 seconds]
Tucky has joined #nixos
corvid_ has quit [Remote host closed the connection]
<maddo>
hello, I've got a question. So I'm thinking about switching to nix and learning more about nix (currently reading the manual, installation and general mantainance seem simple, but proper learning will probably only come after seeing a few .nix scripts)
<maddo>
I was thinking about if I can use NixOS on the NAS I'm intending to buy (it's a RK3399K SoC with 16GB eMMC), however from my (poor) understanding, nix does require quite a lot of space
<maddo>
is it true or am I assuming something wrong?
chloekek has joined #nixos
<evils>
bit of both i believe, there's people running it as a read-only image on routers with only a few MB i think
<adisbladis>
maddo: Nix does require a bit more space than other distros, that's true. There are mitigations to that though.
flodeskum has joined #nixos
<adisbladis>
evils: That's using only Nix though, not NixOS.
<adisbladis>
maddo: I think you'd be fine on 16G if you keep the number of generations down.
<evils>
definitely
<evils>
there's also #nixos-aarch64, they've got some more domain specific know-how
<makefu>
maddo: there is an irc channel dedicated to aarch64: #nixos-aarch64 . the biggest issue will be the hardware support, not disk space
<adisbladis>
For reference my _entire_ system closure on my desktop/laptop is 4.6G
<adisbladis>
That's including a whole lot of pretty big stuff.
<adisbladis>
On a headless system you'll be even better off.
<maddo>
I saw on the wiki the situation about RK3399 in general and it seems pretty good, only few patches required, rest of the stuff is basically in mainline
<evils>
huh, since it's a NAS, you could probably offload some of the storage to the drives if you really need more :P
<maddo>
I'll definitely hang around that channel when the nas does arrive tho
<makefu>
maddo: samueldr did a lot of great work to get everything working
<adisbladis>
That's something you'll very likely want.
<maddo>
evils: tbh, I don't really need to have a bunch of service running on my nas, aside from omv, I'll probably only need a cgit instance and a nextcloud instance (and a transmission one too)
<maddo>
that's also one of the reason I'm not entirely sold onto the containers stuff
<adisbladis>
maddo: You're totally fine then. No worries.
flodeskum has quit [Ping timeout: 258 seconds]
<maddo>
adisbladis: noted down, thank you
<adisbladis>
maddo: If you have some aarch64 hardware right now you could even build your config & see how big it'll end up
<maddo>
unfortunately I don't, and I won't till my NAS ships which will be a while
<maddo>
for reference, I'm talking about the Kobol Helios64
<maddo>
shipments are delayed due to the covid-19 so it won't come until summer I believe
<adisbladis>
Ohhh
<adisbladis>
That looks like a super nice machine
* evils
drools
<maddo>
although I'm a long time linux user, ashamedly, I've never really gotten into communities and ARM products
<maddo>
heck, NixOS still seems like some kind of sci-fi distro from my perspective
<maddo>
(long time fedora user)
<maddo>
adisbladis a friend of mine has the helios4 and it's a super nice machine with great support in mainline, took the opportunity to preorder this one in hope it's also great (should be, on paper)
<adisbladis>
maddo: I'd love a bit more RAM but otherwise that looks like the perfect NAS
<maddo>
2gigs were definitely on the low side for me, but 4gigs are more than enough even if I eventually go the transcoding route (I doubt it, but you never know)
<etu>
maddo: Oh wow, looks like a super neat machine
<adisbladis>
I really, really want one now :D
<etu>
I would want more ram for zfs though
kenran has quit [Ping timeout: 258 seconds]
<adisbladis>
etu: Same reason why I was pointing out the RAM :)
<cinimod_>
I am trying to jailbreak a haskell package but I see "Run jailbreak-cabal to lift version restrictions on build inputs." but remain in jail :(
<maddo>
I doubt I'd go with ZFS tho, I'm probably thinking of going with good ol' mdadm+xfs+dm-integrity (well dm-integrity is fairly new)
zupo has joined #nixos
<adisbladis>
etu: I've done ZFS on machines with <1G RAM before though.
<adisbladis>
It's perfectly fine, you'll just have less cache.
gila has joined #nixos
<maddo>
btrfs RAID5 with RAID1 metadata seems a fine choice too. ZFS always seemed overkill for a consumer NAS with straightforward storage configuration
logzet has joined #nixos
<adisbladis>
maddo: I find xfs scary :/
<adisbladis>
Been using it on my laptop & gotten so much data loss
<adisbladis>
maddo: Out of the two options you listed I'd definitely go with btrfs.
<etu>
adisbladis: Sure, it works. But more is better. That's why I wrote "want more" rather than "need more" :D
<maddo>
data loss was a common occurrence years back (like 4.4 era or so), because there were bugs etc.
<maddo>
XFS right now is in great shape, it's the default on basically every server distro out there these times
<adisbladis>
maddo: It's still occuring when the power goes out :/
<maddo>
it's not the default on desktop due to resizing limits
<petersjt014[m]>
maddo : if it's still relevant, I can personally tell you that 16GB on an aarch64 device is plenty for headless/light gui work
<petersjt014[m]>
I've been using it in an rpi3b for like 2 years or so, I can prob answer some questions if you have any others
<maddo>
it's going to be a headless system, with just 4-5 webservices running (a git repo viewer, nextcloud, omv, transmission, MAYBE jellyfin)
<petersjt014[m]>
Yeah, 16 should be fine for that. Would you be stopping any media etc on the card?
<maddo>
petersjt014[m] thanks, a bit of an unrelated question to nix (not really). Do you use containers on it and if yes, is it worth it to use them with nix. I mean, since you can basically have the system "generated" (I don't know if it's the proper term), I fail to see why I should use them on an ARM board
<mjrosenb>
sanity check: is there a way to get nix-shell to configure a service, like nginx?
<maddo>
petersjt014[m]: not really
<maddo>
I'll have the raid for that
alexherbo2 has joined #nixos
<petersjt014[m]>
Packages and services are fairly isolated--everything has exactly the dependencies and environment needed to work. I've never needed containers personally.
<maddo>
So I guess my assumption wasn't wrong
<petersjt014[m]>
Once or twice I've needed pyenv for some dev stuff if that counts
<petersjt014[m]>
But yeah
__monty__ has joined #nixos
<sphalerite>
mjrosenb: in principle yes, in practice there's not much machinery for it so it's very much a fiddle-it-together-by-hand thing
mexisme has joined #nixos
flodeskum has joined #nixos
<petersjt014[m]>
Also, fun fact: should you ever need it, there is at least one model of a 64GB card that works work the pi
<petersjt014[m]>
Possibly higher, bit I haven't tested
kleisli has quit [Ping timeout: 265 seconds]
<petersjt014[m]>
The one I do know works with it is the 64gb model of samsung's evo line
<mjrosenb>
sphalerite: I'm ok with that, but am kind of lost on where to start.
kleisli has joined #nixos
Makaveli7 has joined #nixos
kleisli has quit [Ping timeout: 268 seconds]
flodeskum has quit [Remote host closed the connection]
flodeskum has joined #nixos
flodeskum has quit [Remote host closed the connection]
<cab404[m]>
<mjrosenb "sanity check: is there a way to "> you kinda can do that by invoking nginx module and creating config from shell, but there is no easy way
<{^_^}>
"Run docker-compose with help from Nix/NixOS"
christiaanb has joined #nixos
<christiaanb>
Hi, anyone here who can help me with `cabal2nix` ?
<christiaanb>
I want to pass `--ghc-option=-fno-prof-auto --ghc-option=-fprof-auto-calls` to the generated invocations of cabal
<christiaanb>
do I use `--extra-arguments="--ghc-option=-fno-prof-auto --ghc-option=-fprof-auto-calls"` ?
[Leary] has quit [Remote host closed the connection]
<christiaanb>
basically I want to know how to pass any additional arguments to the tools that cabal calls, whether it's haddock, ghc, or some other tool known to cabal
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @yegortimoshenko opened pull request #81708 → nixos/acme: force symlink from fullchain.pem to cert.pem → https://git.io/JvaQa
Kritnich has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
veske has quit [Quit: This computer has gone to sleep]
fendor has quit [Read error: Connection reset by peer]
zupo has joined #nixos
zupo has quit [Client Quit]
<{^_^}>
[nixpkgs] @yegortimoshenko opened pull request #81709 → [20.03] nixos/acme: force symlink from fullchain.pem to cert.pem → https://git.io/JvaQi
<exfalso>
Hi, I'm trying to create a "safe nixops deploy" that doesn't add a default boot entry for the deployed configuration, following https://github.com/NixOS/nixops/issues/539. After doing nixops deploy --copy-only I'm having trouble retrieving the "latest configuration". Is there a way to retrieve the latest built configuration? Perhaps a way to retrieve a build timestamp from a store path?
<{^_^}>
nixops#539 (by danbst, 3 years ago, open): nixos-rebuild test equivalent?
<exfalso>
One very hacky solution is to list all toplevel configuration paths on each machine before deploy, then do it again after and get the diff... but this has obvious issues
<{^_^}>
[nixpkgs] @ehmry pushed to master « navilu-font: init at 1.2 »: https://git.io/JvaQd
<kapitanomax>
With a simple config like: services.kubernetes.roles = [ "master" ]; services.kubernetes.masterAddress = "..."; I get an error starting etcd: open /var/lib/kubernetes/secrets/etcd.pem: no such file or directory
<kapitanomax>
Is that a certificate I have to create manually? Is it a bug?
<kapitanomax>
I’m on 19.09.2158.d8652430c55 (Loris) fwiw
energizer` has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<LinuxHackerman>
kapitanomax: "The NixOS kubernetes module provides an option for automatic certificate bootstrapping and configuration, services.kubernetes.easyCerts." maybe that's relevant?
<LinuxHackerman>
(I haven't set up kubernetes myself so no idea though)
<kapitanomax>
I think my issue is that I specified an address in kubernetes.masterAddress instead of a hostname
<{^_^}>
[nixpkgs] @vcunat pushed to master « gnome-tour: fix at typo breaking metrics job »: https://git.io/Jva7t
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<flodeskum>
Hey, is it possible to use buildFHSUserEnv to create a FHS like environment with all the packages that I have already installled on my system?
<flodeskum>
I'm using home-manager to manage my dotfiles and tools and I'd like to create a FHS environment with all the tools/dotfiles I've got installed with home-manager
smatting has joined #nixos
<{^_^}>
[nixpkgs] @fkstef opened pull request #81717 → adminer: init at 4.7.6 → https://git.io/Jvad9
fendor__ is now known as fendor
<iceypoi>
@flodeskum can you be a bit more specific what's wrong right now? I was under the impression that home-manager will create the symlinks for you, etc. so what are you missing
<flodeskum>
I'm trying to run binaries that have not been patched. More specifically Bazel. Bazel downloads binaries and executes them.
cfricke has joined #nixos
<iceypoi>
have you considered using nix-shell with buildFHSUserEnv? I believe nix-shell has access to your system packages by default
remirol is now known as lorimer
<__monty__>
Don't think that'll work. The FHSUserEnv wouldn't see the environment, just like packages don't suddenly share dynamic libraries because you're in a nix-shell.
<selfsymmetric-mu>
Hey, after updating NixOS, gpg does not respect pinentry in gpg-agent.conf. `gpgconf` returns a pinentry that doesn't exist in the filesystem. How do I fix?
<selfsymmetric-mu>
How can I tell where gpg is getting its configuration from? It's certainly not getting it from `~/.gnupg/gpg-agent.conf` like it's supposed to.
flodeskum has quit [Remote host closed the connection]
<selfsymmetric-mu>
How can I fix this? Can I fix it on the command line? All documentation says to edit ~/.gnupg/gpg-agent.conf, but that does not work on NixOS.
alexherbo2 has joined #nixos
flodeskum has quit [Remote host closed the connection]
<{^_^}>
[hydra] @edolstra pushed to flake « Run 'make check' »: https://git.io/Jvaxd
flodeskum has joined #nixos
<sphalerite>
selfsymmetric-mu: pinentry is overridden on the commandline by the nixos module
<sphalerite>
selfsymmetric-mu: check its command-line using `pgrep -a gpg-agent`
CRTified has quit [Quit: Gateway shutdown]
<selfsymmetric-mu>
sphalerite: So THAT's what's happening. Thank you!!
<selfsymmetric-mu>
Looks like I have two gpg-agent processes. One for root and one for user.
zupo has joined #nixos
<selfsymmetric-mu>
Both are running with `--use-standard-socket --daemon`.
<sphalerite>
no --pinentry-program?
sigmundv__ has joined #nixos
<sphalerite>
oh, I think this also depends on which nixpkgs version you're on
<sphalerite>
that is, 19.09 didn't have the agent stuff yet, but 20.03 beta and unstable do
<selfsymmetric-mu>
I'm on 20.03 beta. Serves me right, I suppose.
<sphalerite>
s/agent/pinentry/
<sphalerite>
oh yeah in that case
CRTified has joined #nixos
<sphalerite>
did you upgrade from 19.09?
<selfsymmetric-mu>
I did, yeah.
<sphalerite>
Did you reboot afterwards?
<selfsymmetric-mu>
I did, yeah.
<selfsymmetric-mu>
I set `programs.gnupg.agent.pinentryFlavor = "gtk2";`. I'm on XFCE 4.14. Is that right?
<selfsymmetric-mu>
But that didn't work for me.
<selfsymmetric-mu>
I'd expect to see a pop-up box or something.
myskran has joined #nixos
<sphalerite>
you may need to log out and in again, or do `systemctl --user restart gpg-agent`, for changes to the config to take effect
<sphalerite>
systemd user units aren't supported that well yet, unfortunatley
abathur has quit [Ping timeout: 258 seconds]
<alexherbo2>
hi
<alexherbo2>
I removed my /nix/var/nix/profiles/per-user/alex, how to regenerate it?
<selfsymmetric-mu>
sphalerite: Thanks for the assistance, I'll give that a shot!
<sphalerite>
alexherbo2: sudo mkdir /nix/var/nix/profiles/per-user/alex && sudo chown alex /nix/var/nix/profiles/per-user/alex
<alexherbo2>
will channels back in there after?
<sphalerite>
no, but you can use `nix-channel --add https://nixos.org/channels/nixos-19.09 nixos && nix-channel --update` to make a new channel profile with nixos-19.09 named nixos in it for example
flodeskum has quit [Remote host closed the connection]
<selfsymmetric-mu>
Hm. `Failed to restart gpg-agent.service: Unit gpg-agent.service not found.`
<selfsymmetric-mu>
Weird.
werner291 has joined #nixos
<selfsymmetric-mu>
Should I try setting up gpg through home-manager here? Is that any more likely to work?
<sphalerite>
selfsymmetric-mu: ah, then you're not actually starting it via systemd and probably have programs.gnupg.agent.enable = false;
<sphalerite>
OH
<sphalerite>
there's home-manager in the equation?
<selfsymmetric-mu>
No.
<selfsymmetric-mu>
I'm just wondering if there was a better way.
<sphalerite>
right, you may be missing programs.gnupg.agent.enable = true;
<sphalerite>
:)
brano543 has joined #nixos
<selfsymmetric-mu>
I don't see `programs.gnupg.agent.enable = false` in my config
<selfsymmetric-mu>
Is that the default? Ah, hahah, that'd do it.
work_ has quit [Quit: Connection closed for inactivity]
<brano543>
Hello. Does anyone else have problem with systemd from nixpkgs? Everytime when I try to use executable prefixes, eg. "ExecStartPre=!/bin/echo 'test'", the line gets ignored.
<alexherbo2>
sphalerite it worked thanks
<sphalerite>
brano543: how are you setting the option?
<sphalerite>
alexherbo2: great, glad to hear it!
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}>
[nixpkgs] @jtojnar merged pull request #81572 → appimage: refactoring extractType2 to avoid use of appimage packer → https://git.io/Jv2b6
<brano543>
sphalarite: I have modified the service inside /usr/lib/systemd/system/sshd.service and tried to use the systemd supplied by Nix as the one with my distribution uses older version which does not support the prefixes.
<evanjs[m]>
brano543: using some of the options nixos provides for editing systemd units/services, presumably?
<sphalerite>
brano543: oooh, you're not using NixOS, sorry, didn't realise that.
<sphalerite>
brano543: I think the systemd from nixpkgs is patched to ignore /lib/systemd and /usr/lib/systemd, so it won't pick up changes in there.
<sphalerite>
brano543: additionally, you shouldn't be modifying stuff in /usr/lib/systemd on another distro either, instead overriding it via a file in /etc/systemd
<Taneb>
What's the easiest way to convert a string to title case in Nix?
<gchristensen>
:o
<gchristensen>
writing it out in title case :)
<Taneb>
I want it in two places in all lower case and one place in title case :(
fendor has quit [Ping timeout: 260 seconds]
<brano543>
sphalarite: When I put it inside /etc/systemd/system it complains that it can;t find sysinit.target.
<sphalerite>
brano543: yeah, the nixpkgs systemd will most likely just not work on another distro
<brano543>
sphalarite: The error I get when I tried to use systemd-analyze verify sshd, when I try to run it using systemctl start it works,but it skips the echo line.
<brano543>
sphalarite: Could you try to replicate this on NixOS? https://github.com/NixOS/nixpkgs/issues/81727 Just create the file and try to run it if it executes the ExecStartPre for you
<brano543>
sphalerite: Could you try to replicate this on NixOS? https://github.com/NixOS/nixpkgs/issues/81727 Just create the file and try to run it if it executes the ExecStartPre for you
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jrddunbr7>
I'm not at my machine, but if anyone has an idea what I may be missing from my system config, let me know
brano543 has quit [Remote host closed the connection]
<evanjs>
Unsure if it's related to GC (I have gc.automatic on) but (seemingly) every other time I open Android Studio, I need to switch gradle versions and sync before I can rebuild again
zupo has joined #nixos
karantan has joined #nixos
<evanjs>
Is anybody else experiencing similar behavior?
<evanjs>
Not sure if the SDK stuffs downloaded into the FHSUserEnv or wherever are marked as gc roots or whatever
veske2 has quit [Quit: This computer has gone to sleep]
veske has quit [Quit: This computer has gone to sleep]
symphorien has quit [Quit: WeeChat 2.6]
symphorien has joined #nixos
karantan has quit [Ping timeout: 256 seconds]
<jrddunbr7>
ix.io/2dnG <-- my system config if that helps
<Baughn>
evanjs: Lots of IDEs behave that way. They bake absolute paths into project configuration files, assuming they'll never change.
<Baughn>
Turning GC off would work, certainly, but another 'fix' would be to create a buildEnv just for your IDE. If you build that somewhere other than configuration.nix, and sit on the resulting symlink, then the files linked to won't get GC'd.
<{^_^}>
[nixpkgs] @costrouc opened pull request #81733 → libkml: init at 1.3.0 → https://git.io/Jvaj9
<Baughn>
Alternately it might be possible to emulate a Linux system using buildFHSUserEnv.
<Baughn>
(But I've never tried that approach myself, other than for Factorio.)
<Baughn>
Don't have the computer right now to get an exact version.
<mehlon>
and no, enabling git submodules doesn't work either.
<simpson>
mehlon: I think that you may need to explicitly enable the cmake hook. I'm not sure; the manual isn't explicit enough to me on this.
evanjs has joined #nixos
<mehlon>
cmake works fine. the real problem is that this project is a mess of submodules
<simpson>
mehlon: Add `fetchSubmodules = true;` to your fetchFromGitHub incantation, I think.
<mdash>
does nix-index work for anyone else lately? i'm getting a lot of 'Name or service not known'
karantan has quit [Ping timeout: 265 seconds]
<mehlon>
I know. but the submodules depend on each other and are not all up-to-date...
<Baughn>
mehlon: IIRC, if you use nix-shell on the default.nix you'll get an environment with buildPhase/etc. defined, letting you debug it more easily.
<Baughn>
Though the exact incantation of how to invoke callPackage is beyond me.
<blackriversoftwa>
Baughn mehlon: That is true but you should make a tmpDir and unpack with unpackPhase so you are seeing what Nix sees
<simpson>
mehlon: Well, how does upstream build it? Do they build from an unclean messy tree?
<iceypoi>
and funtoo outright has stopped with useflags and rolling release for the most part
<adisbladis>
immae: Oh, you were talking about gentoo
<Baughn>
Ah. In that case, you should take the chance to try ZFS.
<Baughn>
It's really nice. ^_^
<immae>
adisbladis: did I? I think it’s about nixos there :)
ardumont has joined #nixos
<iceypoi>
ya
<iceypoi>
i wanted to give it a good go
<adisbladis>
immae: Anyhow, NixOS doesn't have anything like use flags
<selfsymmetric-mu>
immae: No dice.
<iceypoi>
since installinga a new ssd was as good a reason as any
<iceypoi>
well, it kinda does, though
<iceypoi>
you can override some features out of the box if you want tot
<immae>
adisbladis: I think you meant to target someone else, right? (maybe iceypoi ?)
fendor has joined #nixos
<iceypoi>
not global settings for the most part, but some are there
<iceypoi>
e.g. flash or no flash for firefox
<adisbladis>
immae: Indeed I was :)
<iceypoi>
or widevine or not for chrome
<Baughn>
A lot of packages let you build smaller versions with .override, but...
<iceypoi>
not global sweeping changes
gila has joined #nixos
<Baughn>
By doing so you lose the benefit of the binary cache, so it's less useful than on Gentoo.
<mehlon>
instead of use flags there's just multiple versions of a package
<mehlon>
but the packages themselves can often be customized in freaky ways... so I guess there's that
<iceypoi>
@baughn not really
<iceypoi>
you lose binary cache for some things
<Baughn>
You lose it for that package, and anything built from it.
<iceypoi>
but 95% of your system still can be cached
<Baughn>
Sure.
<mehlon>
it's exactly as good as gentoo really
<iceypoi>
unless you change gcc flags :P
<Baughn>
It still ends up being the exception, not the rule.
<Baughn>
iceypoi: I tried that recently, and found I can't compile my entire system on my system.
<selfsymmetric-mu>
So yeah, I wouldn't use 20.03 if you are using GnuPG.
<iceypoi>
yes
<iceypoi>
but apparently that's exactly the model funtoo is going
<immae>
selfsymmetric-mu: then look around, it’s not in your nix configuration here. Hints: ~/.config/autostart ~/.config/xfce4 /etc/X11/*init scripts, etc.
selfsymmetric-mu has quit [Remote host closed the connection]
<iceypoi>
what package doesn't compile?
nwops has joined #nixos
<Baughn>
git was one of them. Turns out it needs atime enabled.
<iceypoi>
oh wow
<Baughn>
Though when I got that working, I got a test failure in some random Perl time library instead.
<iceypoi>
i guess you could make a dataset with atime for compiling
<Baughn>
It's not clear how.
linarcx has quit [Ping timeout: 256 seconds]
<Baughn>
After I disabled tests entirely, some other random library failed because it runs a fuzz-tester in buildPhase. Which fails.
<iceypoi>
interesting
<Baughn>
It's a new-build PC, so I suspected flaky hardware, but after several GCs and rebuilds I got the exact same errors.
<iceypoi>
well, I'll be building a similar one ina few month's time ;-)
<iceypoi>
so maybe worth giving it a go then
<xa0[m]>
mehlon: it was never going to reach critical mass when the initial market was so clearly child porn, it was never going to even be stable enough for child porn when it's so slow and resource hungry (i blame the choice of java and the years of legacy code), and it was never going to have any hope whatsoever as soon as it was clear that neither of those two goals could be achieved
selfsymmetric-mu has joined #nixos
<mehlon>
oh, like that
<selfsymmetric-mu>
immae++
<{^_^}>
immae's karma got increased to 9
<immae>
selfsymmetric-mu: it worked? was it a xfce4 configuration?
<selfsymmetric-mu>
When you're right you're right.
<iceypoi>
at any rate, 2 weeks of compiling gentoo and messing with the kernel just to get zfs got me linux-fu
basvandijk has joined #nixos
<Baughn>
iceypoi: I suspect it's because the build cluster is Intel, and my machine is Zen 2.
omnipotententit4 has joined #nixos
<immae>
Cool thanks :)
<iceypoi>
but then a 30 minutes nixos-rebuild got me a working system
<omnipotententit4>
Anyone here good with CUDA? I'm having some issues getting a program to work. It's not packaged for Nix yet, but I'd like to package it. I have it working with OpenCL, but not CUDA. It's called KataGo (https://github.com/lightvector/KataGo), here's my shell.nix file that I'm using to test compilation: (https://clbin.com/bOyW5) any ideas? (My system configuration should be configured for CUDA, it has the following
<{^_^}>
[nixpkgs] @teto pushed commit from @r-ryantm to master « wesnoth: 1.14.10 -> 1.14.11 »: https://git.io/JvVJy
basvandi` has joined #nixos
basvandijk has quit [Ping timeout: 258 seconds]
lsix has quit [Quit: WeeChat 2.7.1]
lsix has joined #nixos
<lovesegfault>
Morning all
<{^_^}>
lovesegfault: 10 hours, 38 minutes ago <cole-h> re: best way to substitue paths -- what about plain ole sed? Or you could just use `substitueInPlace <file> --replace <ref> <desired>`, where <file> can (probably) be a wildcard if you need to modify multiple files (grep for --replace in nixpkgs for more examples)
<emptyflask>
question regarding https://github.com/qmk/qmk_firmware/blob/master/shell.nix -- is there a recommended way of handling these multiple sets of compiler flags besides specifying which ones to use with `nix-shell --arg`?
<mog>
my server stopped being able to read my keyfile. Error: Unable to load server key file "/etc/mosquitto/key.pem". Check keyfile.
<mog>
this is for my mosquitto service. the key file exists and i can read it
<mog>
permissions look correct as well
<mog>
any ideas or things to try
<cole-h>
emptyflask: Are you talking about the `{ avr ? true, ...}` stuff?
<manveru>
mog: did you upgrade?
boxscape has joined #nixos
<mog>
the box has auto upgrades on, unfortunately, and it did some time ago, i dont have older derivation to roll back to because of a lack of disk space
<emptyflask>
cole-h: yeah -- I'm wondering if we can avoid using that
vidbina has quit [Ping timeout: 268 seconds]
<cole-h>
If you want it to be true, you can avoid it (`? true` means default to true if unspecified, if you didn't know). If you want any to be false, I don't think you can avoid it just via the command line.
<emptyflask>
IDK if there's some better way of switching between compiler options depending on which thing is being built
<mog>
service does run find if i turn off ssl
<manveru>
hmm, doesn't look like the service changed much recently
<emptyflask>
`--arg avr false` does work, it would just be cool if passing args wasn't necessary at all
<manveru>
so i guess it should work, as long as /etc/mosquitto belongs to mosquitto user?
<mog>
my letsencrypt did update the certs, but they seem to be in same format and premissioned same way
fendor_ has quit [Ping timeout: 240 seconds]
<mog>
i wish i could be sure it cant load file vs cant read file correctly
<cole-h>
emptyflask: I mean you could modify the args to default to false :P
<ar>
i tried to follow https://nixos.org/nixos/manual/index.html#sec-customising-packages to override samba to enable printing (by adding "(pkgs.samba.override { enablePrinting = true; });" to systemPackages), but the systemd units ended up still using the non-overridden version of the package. is this normal?
<hyperfekt>
gchristensen: i see, so there's no special logic to keep derivations often used to build
<ar>
i got things to work by adding "samba = super.samba.override { enablePrinting = true; };" to the nixpkgs.overlays, but it would be nice if documentation mentioned it
<gchristensen>
hyperfekt: I don't think so, unfortunately
<Orbstheorem>
Hello, I'm trying to package schroot. It uses cmake and boost (among others). I have added cmake and pkgconfig to my native inputs and boost to my buildInputs, but when I try to build it cmake fails the check of a working boost installation. If I manually remove the check from the CMakeLists.txt, I get a compile error "cannot file stdlib.h" :/
Neo-- has quit [Ping timeout: 240 seconds]
<Orbstheorem>
Any ideas ?
cidkid has joined #nixos
buckley310 has joined #nixos
lsyoyom has quit [Ping timeout: 256 seconds]
<exarkun>
Can I limit the memory available to a particular build?
<selfsymmetric-mu>
This allows me to specify `enableSSHSupport` and `pinentryFlavor`, but since `gpg-agent.conf` is overridden by NixOS I do not know how to set `default-cache-ttl`.
<lovesegfault>
oxalica_: Hi! did you update to the latest commits?
Baughn has joined #nixos
<mzabani>
Hi everyone. I'm getting a ` Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "exec: ...: no such file or directory": unknown.` error when trying `docker run` the image created by this Nix expression: https://github.com/mzabani/diarios-oficiais/blob/master/nix/docker.nix . Wondering if
<mzabani>
anyone could lend me a hand..
<oxalica_>
<lovesegfault>: Yeah, it use the latest unstable release now (2020-03-02)
<lovesegfault>
oxalica_: Alright, let me see if I can find someone with commit bit to review/merge
<{^_^}>
[nixpkgs] @jtojnar pushed 576 commits to staging-next: https://git.io/JvVLM
<peelz>
Is there a way to interactively navigate nix-store --tree ?
mzabani has quit [Remote host closed the connection]
<infinisil>
cole-h: nixpkgs' overlays argument takes a list of overlays, so should should be able to just pass them both
<cole-h>
I'm using the overlays folder in conjunction with hm. Just wanted to know if it was possible to combine them into one single file
<infinisil>
It is possible yeah, with `lib.composeExtensions <overlay1> <overlay2>`
<pikajude>
if `stdenv.cc` appears in depsBuildBuild, shouldn't it be the build platform gcc, not the host one?
<pikajude>
ah no, i guess not
<pikajude>
stdenv.cc would still be the gcc that produces objects for the host platform
<pikajude>
is there a way to get the gcc that produces build platform objects?
nuncanada has joined #nixos
<pikajude>
no, that's backwards, the wiki page says "compiler producing native binaries go to depsBuildBuild"
<cole-h>
What would that look like? Trying `let sources = import ...; wayland = import sources.nixpkgs-wayland; emacs = import sources.emacs-overlay; in super.lib.composeExtensions wayland emacs` tells me `value is a function while a set as expected`
<cole-h>
Ah, composeExtensions takes more than just the overlays
<cole-h>
I needed to add `self super` to the end of the invocation
<cole-h>
`... in lib.composeExtensions wayland emacs self super` is the final result (and appears to work!)
<cole-h>
<3 infinisil
<{^_^}>
infinisil's karma got increased to 222
abathur has quit [Ping timeout: 255 seconds]
<{^_^}>
[nixpkgs] @Ma27 opened pull request #81762 → build-support/rust: specify proper path to Cargo.lock → https://git.io/JvVtR
<infinisil>
cole-h: Hm it shouldn't? Where do you get the self/super from?
abathur has quit [Read error: Connection reset by peer]
myskran has joined #nixos
<raingloom>
heyo folks, anyone knows if i can start a VM from non-NixOS Nix? ie.: without nixos-rebuild? (specifically: i have it installed in Guix System)
<lassulus>
you have nix installed without nixos?
myskran has quit [Read error: Connection reset by peer]
<cole-h>
In `nix repl`, is it possible to expand `lambda @ ...` to the actual definition? Or no, because it only holds a reference to where it is located in the file
<pikajude>
ok, wait a minute
<pikajude>
depsBuildBuild doesn't do any magic to lookup the native version of a package, does it
orivej has quit [Ping timeout: 265 seconds]
<pikajude>
now i'm confused about how cross compilation works
orivej has joined #nixos
<pikajude>
the nixpkgs manual says it's common to put buildPackages.stdenv.cc in depsBuildBuild
<pikajude>
isn't it an antipattern to need to refer to buildPackages in a derivation?
<infinisil>
cole-h: Not sure what you mean
<infinisil>
But the answer is probably No
<cole-h>
Like `:p lib.composeExtensions` to the actual definition
<cole-h>
Yeah, figured
linarcx has quit [Quit: WeeChat 2.7.1]
<infinisil>
Still not sure what you mean
<cole-h>
At least it tells me where it's defined
<cole-h>
I want `:p lib.composeExtensions` to show me that `composeExtensions = f: g: self: super let fApplied.....`
<cole-h>
s/super/super:/
<ottidmes>
Anybody experience with running a X server in Win10 and forwarding NixOS to that, I tried succesfully with Hyper-V and X410, most applications work and smoothly enough I don't notice any difference between normal, even tried some games and the FPS were decent, but the browser was laggy. I am curious if other tried and what their experiences were
<peelz>
Is there a nix expression for `$out`?
flodeskum has quit [Remote host closed the connection]
<peelz>
ottidmes, but how can I get the outPath from within a `stdenv.mkDerivation { }` ?
<cole-h>
infinisil: My real question is (as a newbie to function programming in general): how would I make `composeExtensions` accept potentially a 3rd overlay?
Jonathan86 has quit [Remote host closed the connection]
<cole-h>
I tried `composeExtensions3 = f: g: h: composeExtensions (composeExtensions f g) h` but that doesn't appear to work. Probably my naive thinking.
<infinisil>
cole-h: Ah, regarding the original question, no that's not possible, because nix-repl only stores a memory representation of values, not the expression strings
<infinisil>
cole-h: That should work
<cole-h>
Thinking back, I remember someone having a similar repl question
jonten has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<bdju>
oh, I was able to upgrade now with no luajit error. nice.
<cole-h>
Yeah, we reverted the problematic commit for now ;)
o1lo01ol1o has joined #nixos
<ottidmes>
peelz: Hmm, pretty sure this question has been asked plenty of times before, but I honestly don't know the answer, so you maybe check the logs, also, I am pretty sure that whenever I you want access to it, you probably are going at it the wrong way, so maybe show what you are trying to accomplish instead?
<infinisil>
peelz: let result = mkDerivation { ... }; in result
<infinisil>
Then you can use ${result} within mkDerivation to get the path to itself :)
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil>
cole-h: Also: I suggest defining `composeExtensions3 = f: g: h: lib.composeExtensions f (lib.composeExtensions g h)` (using the lib function and not swapping arguments around
<peelz>
infinisil: any idea why it's not finding the make target? If I run `make -C src/ clean` manually, it executes the target as expected.
<cole-h>
infinisil: That works! Although I was hoping to go without `self super`, but what can ya do
<cole-h>
<3 infinisil. But why do you recommend using the lib function directly?
<cole-h>
<3 infinisil shoot I forgot
<{^_^}>
infinisil's karma got increased to 223
fuzzy_id has joined #nixos
<infinisil>
cole-h: Well composeExtensions2 is just the same as composeExtensions
<infinisil>
No other reason
myskran has quit [Read error: Connection reset by peer]
philr has joined #nixos
<infinisil>
And you can't get rid of self/super here because you need them to access lib itself
<fuzzy_id>
how can i uncurry in nix? something like this: `map (x: y: { foo = x; borg = y; }) [ ("bar", "baz") ]'
<cole-h>
Ah yeah, OK. Thanks for the help!
myskran has joined #nixos
<infinisil>
:)
o1lo01ol1o has quit [Remote host closed the connection]
<cole-h>
infinisil++ again, for walking me through it
<{^_^}>
infinisil's karma got increased to 224
o1lo01ol1o has joined #nixos
<infinisil>
peelz: Tell us first all the info for what you're trying, I have no idea what you're running
<infinisil>
fuzzy_id: (I suggest asking in #nix-lang)
<Orbstheorem>
Hello, I'm trying to package schroot. It uses cmake and boost (among others). I have added cmake and pkgconfig to my native inputs and boost to my buildInputs, but when I try to build it cmake fails the check of a working boost installation. If I manually remove the check from the CMakeLists.txt, I get a compile error "cannot file stdlib.h" :/
<{^_^}>
[nixpkgs] @worldofpeace pushed commit from @jtojnar to staging-20.03 « glib.setupHook: run glibPreFixupPhase before gappsWrapperArgsHook »: https://git.io/JvVYg
<worldofpeace>
cjpbirkbeck: 20.03 is a date. at latest the end of march or early april
<cjpbirkbeck>
worldofpeace: yeah i know, i've just been busy with other things and so i am out of the loop, so i didn't know where progress was currently. iirc, 19.03 was also released in april, so i guess should have realized that.