<{^_^}>
→ 5050d056 by @fpletz: clamav: 0.99.3 -> 0.99.4 for multiple CVEs
<{^_^}>
→ 14978155 by @fpletz: prometheus-blackbox-exporter: 0.11.0 -> 0.12.0
<{^_^}>
→ 9152ef91 by @fpletz: prometheus-node-exporter: 0.15.0 -> 0.15.2
siel has quit [Ping timeout: 256 seconds]
siel has joined #nixos
Adluc has joined #nixos
<justanotheruser>
what is the 18.03 channel? How is it different from unstable?
<acowley>
pbogdan: What's hte FULLPERL thing?
<elvishjerricco>
justanotheruser: 18.03 only gets bug fixes and security releases (sometimes new nix-level functions). Unstable is the latest build of master that is cached and successfully builds a certain large set of packages.
<rotaerk>
though, hmm... I guess I don't need to touch the vulkan package, I need to override the vulkan-api haskell package, so I can do it right inside that haskellPackages.override
maximiliantagher has quit [Ping timeout: 246 seconds]
<dhess>
acowley: have you tried the 3rd party Vulkan wrapper for macOS?
<acowley>
dhess: The MoltenVK thing? I briefly looked into it, but it looked worryingly complicated.
<acowley>
Also, have you ever looked at a vulkan tutorial?
<acowley>
That is the worst thing I've seen in software since old school windows gdi stuff.
<boomshroom>
dhess: I think I saw that on /r/rustjerk today. Someone was upset about it?
<acowley>
I've spent the past little while setting up a NixOS box for some compute work, and haven't had time to keep pushing on mac vulkan.
<dhess>
acowley: wow that's bad
<rotaerk>
acowley, thanks; was moving in that direction, but was trying to figure out which kind of override to use
<dhess>
I haven't looked closely at Vulkan yet. Honestly I've never been a huge fan of anything OpenGL related post-SGI, so it doesn't really surprise me.
<rotaerk>
my initial attempt was to add a "vulkan = pkgs.vulkan-loader" in the packageOverrides
<dhess>
boomshroom: Dunno, I avoid that subreddit like the plague
<acowley>
rotaerk: It's very hard to get up to speed on it, tbh, and it's always changing... so you never actually get up to speed :P
Fare has quit [Ping timeout: 246 seconds]
<rotaerk>
I think hackage-packages.nix only resolves non-haskell dependencies explicitly, and it sets the vulkan attribute to null, not to something from pkgs
<boomshroom>
dhess: Nowadays, it's mostly harmless jokes and memes. My laptop's battery was low and I was bored so I checked it out.
<acowley>
dhess: OpenGL is a gentle meadow in comparison. Vulkan is really forcing the issue of adopting a library that provides a higher-level API.
<dhess>
acowley: It's sad what has happened to OpenGL over the years, but that's par for the course with designed-by-committee APIs so I'm not at all surprised or anything.
<dhess>
I *was* surprised by people's enthusiasm for the Vulkan wrapper. That cannot possibly end well.
<acowley>
dhess: The move away from immediate mode was understandable. To present such an API while still being efficient requires a smart software layer to do the batching, so for the committee to punt on providing that was probably wise.
<rotaerk>
though, haskell-packages.nix is auto-generated ... so I'm wondering how the generator of it knows where to pull non-haskell dependencies from
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<boomshroom>
I honestly can't find any reference to Rust other than the first reply to the initiative.
xcmw has joined #nixos
xcmw has quit [Client Quit]
<rotaerk>
acowley, what's the worst thing in software since windows gdi? vulkan itself?
<rotaerk>
(and howso? worse in the sense of tedious or something?)
<acowley>
rotaerk: Yes, but I'm not ruling out that there are other terrible APIs out there :D
<rotaerk>
they do aim for it to be very... explicit; the whole point is that opengl isn't fine-tuned enough, so a lot of issues have to be fixed at the driver level
<rotaerk>
and then you get game-specific tweaks in the drivers
<rotaerk>
(or something; I'm setting this up to START learning it)
<rotaerk>
anyway
<acowley>
I looked into a couple libraries providing higher-level Vulkan APIs to see if packaging one on NixOS was low-hanging fruit. I did not obtain any fruit D:
<rotaerk>
lol
<acowley>
I did package vkmark, actually, if anyone is just wanting to test that they have working vulkan drivers
<{^_^}>
[nixpkgs] @matthewbauer pushed commit from @rardiol to master « Renpy and pygame_sdl2 update - 6.99.14 (#33943) »: https://git.io/vxWld
<Shados>
I'm trying to run tests for something I'm packaging, and some of the tests involve starting an openssh sshd and connecting to it. This is a problem, as inside the build environment the build user (nixbld) has their shell configured as "/noshell", which of course does not exist, so openssh disallows the user from authenticating. openssh doesn't provide a way to ignore the shadow-provided per-user shell and use something else, and I can't just change nixbld's
<Shados>
shell using `chsh` in preCheck. Suggestions?
jrolfs has quit [Ping timeout: 256 seconds]
Fare has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
markus1199 has joined #nixos
<{^_^}>
[nixpkgs] @dtzWill opened pull request #37606 → [WIP] selected misc fixes on path to building darwin packages from linux → https://git.io/vxW4Z
maximiliantagher has joined #nixos
Supersonic112 is now known as Supersonic
markus1189 has quit [Ping timeout: 256 seconds]
n0qqe has joined #nixos
tertle||eltret has quit [Quit: Connection closed for inactivity]
noqqe has quit [Ping timeout: 240 seconds]
n0qqe is now known as noqqe
jtojnar has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 260 seconds]
nuncanada has quit [Read error: Connection reset by peer]
chessai has quit [Remote host closed the connection]
<mtjmullen>
Yeah, I saw that it worked with the Pi 3, the wiki made it seem like I needed to do some sort of UART connection
<mtjmullen>
And I didn't see anything about the 3+ when I looked, and I'm not familiar enough with the line to know if there's a ton of difference in terms of support
<mtjmullen>
Though upon a re-read, that may not be specific to the Pi 3?
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 256 seconds]
robstr has joined #nixos
<dhess>
mtjmullen: ohhh sorry, I missed the "+". Given that it just started shipping it's possible that nobody has even tried yet.
<dhess>
Is the RPi 3+ supported in the mainline Linux kernel? That and u-boot will probably be the main things to worry about.
<mtjmullen>
I'm honestly not sure
<dhess>
well, only one way to find out :)
<mtjmullen>
XD
<dhess>
at least it's pretty cheap!
<mtjmullen>
yeah, that's why I was looking at it
<mtjmullen>
that + PoE
<dhess>
I should pick a few up and play around with them. Pretty good specs for $35 USD
deepfire has quit [Ping timeout: 240 seconds]
<mtjmullen>
but it's probably easier just going with some sort of x86/x64 machine
<dhess>
PoE yeah that is interesting to me too
<dhess>
mtjmullen: never mind "easier," Nix builds on RPis are pretty painful (slow)
<mtjmullen>
oh, hrm
<mtjmullen>
I'm honestly just looking for some headless box to run NixOS on
<coconnor>
in theory, offloading the Arm builds to another host automatically is easy
<coconnor>
haven't tried it tho
<mtjmullen>
I was also planning on running some Haskell builds on it, and that will probably also be slow
<dhess>
I do that, but even on a decent ARMv8 board it's slow compared to a cheap Intel box
<mtjmullen>
though I guess they're working on cross-compiling for that too
<dhess>
mtjmullen: yes I can attest that it is *very* slow for Haskell dev
<dhess>
cross-compiling has issues, not just in Nix but in GHC, especially once you start using Template Haskell
<mtjmullen>
🤔
<dhess>
also Nix does not yet support GHC on ARMv8
<dhess>
I hope to have some time to work on that soon but it hasn't made it to the top of my stack yet
<mtjmullen>
I'll probably just end up getting a cheap Intel box then
<justan0theruser>
how can I rebuild-switch without using too much memory during build?
deepfire has joined #nixos
<dhess>
justan0theruser: you could try setting nix.maxJobs = 1
<justan0theruser>
trying, thanks
<mtjmullen>
dhess: vaibhavsagar: thanks for the help!
<dhess>
sure, sorry it wasn't more encouraging
<mtjmullen>
Better than me buying the hardware it and not working!
<mtjmullen>
Still interested in playing around with a 3+, just not for this project :P
krey has quit [Ping timeout: 265 seconds]
pie__ has quit [Ping timeout: 240 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
<dhess>
just to be clear, it may very well work out-of-the-box with NixOS, just don't expect it to be a great Haskell dev machine
MercurialAlchemi has joined #nixos
<mtjmullen>
Oh, umm, I was mostly intending to run stuff on it, but I'd rather compile on this machine and copy over
<mtjmullen>
I forgot about the whole change in architecture thing :P
<dhess>
hehe
<dhess>
well cross-compiling support is getting better all the time so it might be possible to do that soon-ish
<vaibhavsagar>
mtjmullen: you're welcome!
<mtjmullen>
yeah, I've been following angerman's blogs
<mtjmullen>
looks promising
<vaibhavsagar>
I was just about to suggest angerman
<vaibhavsagar>
he lives here in Singapore and organises our Haskell meetup
<vaibhavsagar>
he's put a ton of work into cross-compilation and it's very impressive
<dhess>
yeah he's doing amazing work
<dhess>
vaibhavsagar: is there a big Haskell community in Singapore? I think Standard Chartered is doing Haskell work there anyway
Guanin has quit [Ping timeout: 264 seconds]
jtojnar has joined #nixos
<vaibhavsagar>
dhess: there's definitely a commmunity, largely made up of SC devs :)
<vaibhavsagar>
the company I work at used to have a Haskell team many moons ago, but it has sadly disbanded and scattered to the winds
<adisbladis[m]>
vaibhavsagar: You .sg ppl seem to have such a nice tech scene :)
<vaibhavsagar>
the tech community here is quite vibrant
<vaibhavsagar>
I still can't get over the lack of pizza and beer at meetups though
<vaibhavsagar>
I'm surprised they're so successful given the absence of sustenance
<dhess>
huh that's interesting
<angerman>
vaibhavsagar: I'd gladly accept any donations if $yourCompany wants to sponsor.
<angerman>
vaibhavsagar: Theres a No Food Policy at the current Venue though. So we won't be able to have food there, even if we had funds.
<vaibhavsagar>
hahahahaha
Guanin has joined #nixos
<vaibhavsagar>
this is Singapore in a nutshell
<dhess>
ohhhhh
mounty_ has quit [Ping timeout: 264 seconds]
ma27 has joined #nixos
<angerman>
The Clojure meetup at Neos Office (Now Pivotel I think) used to have pizza, and soda.
<angerman>
Beer, or alcohol in general is... well quite expensive here :-)
<vaibhavsagar>
angerman: I tried to get pizza for a meetup at my office once and I'm still not sure if I've been reimbursed
<vaibhavsagar>
ThoughtWorks provides pizza though
simukis has joined #nixos
<vaibhavsagar>
they're the best venue to have a meetup at IMHO
<vaibhavsagar>
also beer if you know where to look in the fridge ;)
<dhess>
is "no food allowed" a cleanliness thing?
<vaibhavsagar>
it's definitely a venue-specific thing
<angerman>
dhess: mostly a pest control thing.
<dhess>
yeah, basically related
<angerman>
I guess if you have regular thorough cleaning, food is "okish" (spilled soda is going to suck a lot though).
<angerman>
with a no-food policy, you can be a little less agressiv on cleaning I assume.
{^_^} has quit [Remote host closed the connection]
rauno has quit [Remote host closed the connection]
{^_^} has joined #nixos
<vaibhavsagar>
another solution is to limit food to the "kitchen" area
<vaibhavsagar>
that presumably doesn't have carpeted floors
<angerman>
yea. But do you trust you unsupervised-meetup-organizer to ensure that food stays in the kitchen area? :-)
<vaibhavsagar>
always asking the important questions :)
<{^_^}>
[nixpkgs] @jtojnar pushed 105 commits to gnome-3.28: https://git.io/vxWaA
<{^_^}>
→ d32c14ac by @jtojnar: gnome3: automated update
<{^_^}>
→ 2621d14b by @jtojnar: gnome3.gnome-backgrounds: fix build
<{^_^}>
→ ad09395e by @jtojnar: gnome3.geocode-glib: fix build
noam has joined #nixos
noam_ has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
<unlmtd>
working on my understanding of nix, and now I want to find what `with pkgs.lib` does. How do I find what `pkgs.lib` actually is? does it refer to the `lib` folder in nixpkgs? pardon if my question is ambiguous and/or 'simple'. I searched for it in the tree, but I cant find an actual definition
<{^_^}>
[nixpkgs] @jtojnar pushed to master « gobjectIntrospection: fix incorrect GIR shared library paths »: https://git.io/vxWVC
<srhb>
unlmtd: If you want to explore this, you should first visit /default.nix in the nixpkgs repo
<{^_^}>
[nixpkgs] @jtojnar pushed 104 commits to gnome-3.28: https://git.io/vxWV8
<{^_^}>
→ 0973618e by @jtojnar: gnome3: automated update
<{^_^}>
→ a0d9284a by @jtojnar: gnome3.gnome-backgrounds: fix build
<dhess>
unlmtd: no, think of pkgs.lib as a module containing some functions
<{^_^}>
→ 8db273f3 by @jtojnar: gnome3.geocode-glib: fix build
<dhess>
it doesn't have anything to do with the filesystem
<unlmtd>
it feels like today's editors arent really smart
<srhb>
And most of the rest of the tree is from top-level/all-packages.nix
<adisbladis[m]>
unlmtd: `with pkgs.lib` scopes the `pkgs.lib` attribute set to your current expression. So `pkgs.lib.hasAttr "foo" {"foo="bar";}` can be changed to `with pkgs.lib; hasAttr "foo" {"foo"="bar";}`
<srhb>
And that gives you a nice root to resolve from as well
<dhess>
I don't think that's as nice what Go is doing there.
<srhb>
OK :)
<srhb>
I like being able to see the revision at a glance, but sure, a one liner would be nice.
<unlmtd>
well, the other doesnt require some specific server to be reachable
<srhb>
That's less of an issue in practice though.
<srhb>
Since it doesn't matter from whence you get the source, as long as it's the same revision.
<srhb>
dhallify all the things. :3
<srhb>
What, there's a dhall-to-bash now? :o
justanotheruser has joined #nixos
<unlmtd>
once content-addressing matures, nix is in for a big overhaul
<justanotheruser>
yeah, setting nix.maxJobs = 1; didn't make my build require less memory
<unlmtd>
for the best
<dhess>
srhb: I suppose my preference for the Go version is tinted by the fact that I'm doing more work on the Nix side to support overrides, and then there's the whole bootstrapping thing that you mentioned
<dhess>
so it's not really a fair comparison
<unlmtd>
combine nix with vcs that resolves conflicts more intelligently and ipfs, then overrides wont be so necessary, just have a unique tree for every tweak
<srhb>
I'm just worries it will be difficult to find the actual revision again. I'm OK with ipfs hashes (what are they called?) as "channel versions" I guess, but I don't think there's a nice way to have the proper code revision embedded short of "please make sure to embed the revision when releasing an ipfs release"
<unlmtd>
in theory*
<srhb>
Which is bound to fail.
Ariakenom has quit [Quit: Leaving]
<srhb>
Worried*. I can't type today (either)
<dhess>
unlmtd: I mean the ability to override on the command line, when I build. i.e., that rev+hash you've got there for symbol xyz, ignore it and use this one instead.
<unlmtd>
ahh yes
<srhb>
Anymoo, I don't feel strongly about it either way. ipfs is hyped, but does open some nice doors.
<unlmtd>
its not the last content-addressed file system
<dhess>
srhb: that could be solved with additional metadata. Store the git rev along with the short name of the IPFS ID
<srhb>
dhess: As I said, that relies on publishing habits.
<dhess>
on the other hand it's probably just better to store the rev+hash+URI and then generate the IPFS ID or the WWW URI etc, as needed
* srhb
shrugs
<{^_^}>
[nixpkgs] @volth opened pull request #37612 → libguestfs: doInstallCheck only with appliance → https://git.io/vxWwy
Ivanych has quit [Ping timeout: 255 seconds]
<dhess>
ugh, Nix 2.0 broke so many of my Hydra builds
<mbrgm>
hey! I just wondered if qemu guest agent should be part of the qemu-guest profile by default... opinions on that?
{^_^} has quit [*.net *.split]
schoppenhauer has quit [*.net *.split]
spear2 has quit [*.net *.split]
paraseba has quit [*.net *.split]
erictapen has quit [*.net *.split]
bkchr[m] has quit [*.net *.split]
raynold has quit [*.net *.split]
alphor has quit [*.net *.split]
MinceR has quit [*.net *.split]
magnetophon has quit [*.net *.split]
cornu[m] has quit [*.net *.split]
lukec has quit [*.net *.split]
mkoenig_ has quit [*.net *.split]
rummik has quit [*.net *.split]
Xal has quit [*.net *.split]
mtjmullen has quit [*.net *.split]
Khetzal has quit [*.net *.split]
sirkha has quit [*.net *.split]
hiroshi has quit [*.net *.split]
mmlb has quit [*.net *.split]
AllanDaemon has quit [*.net *.split]
Obscurity[m] has quit [*.net *.split]
amiloradovsky[m] has quit [*.net *.split]
infinisil has quit [*.net *.split]
mk-fg has quit [*.net *.split]
shout-user93 has quit [*.net *.split]
joepie91 has quit [*.net *.split]
y0no has quit [*.net *.split]
Fuuzetsu has quit [*.net *.split]
mpickering has quit [*.net *.split]
jml has quit [*.net *.split]
typetetris has quit [*.net *.split]
marsam has quit [*.net *.split]
Georgyo has quit [*.net *.split]
electrocat has quit [*.net *.split]
Guest42799 has quit [*.net *.split]
FRidh[m] has quit [*.net *.split]
thra11[m] has quit [*.net *.split]
rnhmjoj[m] has quit [*.net *.split]
revoltmedia[m] has quit [*.net *.split]
anton_ has quit [*.net *.split]
phI||Ip has quit [*.net *.split]
telent[m] has quit [*.net *.split]
jophish has quit [*.net *.split]
puffnfresh has quit [*.net *.split]
WilliamHamilton has quit [*.net *.split]
efx[m] has quit [*.net *.split]
marcinkuzminski_ has quit [*.net *.split]
magnap has quit [*.net *.split]
barrucadu has quit [*.net *.split]
necronian1 has quit [*.net *.split]
lohfu has quit [*.net *.split]
ThoughtMatrix has joined #nixos
electrocat has joined #nixos
Khetzal has joined #nixos
barrucadu has joined #nixos
barrucadu has quit [Changing host]
barrucadu has joined #nixos
MinceR has joined #nixos
mkoenig has joined #nixos
joepie91 has joined #nixos
joepie91 has quit [Changing host]
joepie91 has joined #nixos
jophish has joined #nixos
spear2 has joined #nixos
ThoughtMatrix is now known as phI||Ip
alphor has joined #nixos
typetetris has joined #nixos
paraseba has joined #nixos
thra11[m] has joined #nixos
Georgyo has joined #nixos
mpickering has joined #nixos
marcinkuzminski has joined #nixos
jml has joined #nixos
y0no has joined #nixos
amiloradovsky[m] has joined #nixos
lukec has joined #nixos
efx[m] has joined #nixos
revoltmedia[m] has joined #nixos
AllanDaemon has joined #nixos
FRidh[m] has joined #nixos
Obscurity[m] has joined #nixos
telent[m] has joined #nixos
bkchr[m] has joined #nixos
marsam has joined #nixos
rnhmjoj[m] has joined #nixos
necronian1 has joined #nixos
anton_ has joined #nixos
WilliamHamilton has joined #nixos
magnap has joined #nixos
cornu[m] has joined #nixos
puffnfresh has joined #nixos
lohfu has joined #nixos
raynold has joined #nixos
hiroshi has joined #nixos
henrytill_ has quit [Ping timeout: 240 seconds]
sirkha has joined #nixos
pbogdan has quit [Ping timeout: 260 seconds]
mmlb has joined #nixos
magnetophon has joined #nixos
rummik has joined #nixos
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
MercurialAlchemi has quit [Ping timeout: 256 seconds]
<sphalerite>
Armael: that looks like a mostly successful installation to me. Is /etc in the target filesystem set up correctly, with a bunch of symlinks to /etc/static and a couple of regular files (like shadow)?
<Armael>
yea
<Armael>
but if I reboot the server it doesnt seem to boot up properly
<Armael>
I got a serial console, I can got to the grub prompt, but after booting an entry it stops responding
<clefru>
Armael: console=ttyS0 on the kernel commandline?
<Armael>
ah
<sphalerite>
robstr: yeah. That one for instance would have issues with running multiple shells for instance
<sphalerite>
Armael: just put it in on the grub prompt
<robstr>
sphalerite: Hm right, i didnt tought about this...
<sphalerite>
robstr: see? Fiddly ;)
<robstr>
sphalerite: haha yes -.-
<vaibhavsagar>
does anyone know what's holding keeping nixos-18.03 from being updated? the current channel is 4 days old
rardiol1 has quit [Remote host closed the connection]
<sphalerite>
robstr: what you could do is remove the automatic stopping, and just stop it manually if it's consuming too many resources and you're not working on that project
<sphalerite>
but it isn't as neat obviously
<Armael>
bleh, I'm struggling using the grub cmdline editor through the console. How can I specify console=ttyS0 in the configuration.nix?
<sphalerite>
you could probably do some sort of fiddling with flock
<sphalerite>
Armael: what's going wrong with it? but boot.kernelParams
<Armael>
dunno, it gets stuck at some point
<robstr>
sphalerite: I see, Could you provide a sample ? I would need to set env vars for my applications
<sphalerite>
robstr: not really, I haven't done this myself. But to set the env vars just put them straight in the derivation attrset.
<sphalerite>
robstr: as for removing the auto-stop, just take the thing fromthe mailing list and remove the trap line
<sphalerite>
then stop it manually using the pg_ctl command there
<{^_^}>
[nixpkgs] @dotlambda merged pull request #35508 → fix service.kresd fails due to kresd-cachedir hiatus → https://git.io/vAw0K
<{^_^}>
[nixpkgs] @dotlambda pushed 2 commits to release-17.09: https://git.io/vxW67
<{^_^}>
→ 1b61db6a by @tokudan: fix service.kresd fails due to kresd-cachedir hiatus
<{^_^}>
→ eda80476 by @dotlambda: Merge pull request #35508 from tokudan/kresd-cachedir
Tucky has joined #nixos
<robstr>
sphalerite: looks good right now, can you help me how I add a databse / creds ?
<sphalerite>
not really. I don't know your application :)
<{^_^}>
[nixpkgs] @jtojnar opened pull request #37613 → various clean ups of meson projects → https://git.io/vxWin
orbekk has quit [Quit: WeeChat 1.9.1]
goibhniu has joined #nixos
<robstr>
sphalerite: right , but thank you anyway
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
civodul has joined #nixos
<Armael>
phew, got the serial console to work (it was ttyS1!)
<Armael>
ah, it seems it's failing to setup the networking
peterzky has joined #nixos
<Armael>
most likely the interface isn't named "eth0" as I put in the config...
<sphalerite>
yeah, it's probably enpXsY or ensX
<sphalerite>
(where X and Y are numbers)
<Armael>
is there a way to guess X & Y from the recovery system (which is an ubuntu 16.04 and uses eth0)?
<sphalerite>
I don't think so, but you could boot into the installed system and log in via the console?
<sphalerite>
well actually I'm pretty sure there is a way to guess X and Y, but I don't know it :p
<sphalerite>
you could also set networking.usePredictableInterfaceNames to false, then it should use eth0
<sphalerite>
as long as the server doesn't have more than one interface
<Armael>
yea, I found some perl script online that is supposed to do the guessing, will try
zzamboni has quit [Quit: Leaving.]
fl3 has joined #nixos
zzamboni has joined #nixos
jtojnar_ has joined #nixos
ennui has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
<ennui>
why does (nix-store -qd $(nix-build --no-out-link '<nixpkgs>' -A hello)) not equal (nix-instantiate '<nixpkgs>' -A hello) ?
<LnL>
not sure what that's supposed to do
periklis has quit [Ping timeout: 264 seconds]
<ennui>
-qd == --query --deriver
<ennui>
it's supposed to show the drv that created a store path
<LnL>
but nix-build '<nixpkgs>' -A hello equivalent to nix-store -r $(nix-instantiate '<nixpkgs>' -A hello)
jtojnar has joined #nixos
<ennui>
yes
<LnL>
ah deriver
<Armael>
whew, got it to boot properly! thanks all :-)
jtojnar_ has quit [Ping timeout: 265 seconds]
<ennui>
(i'm on nix 1.11.16)
<unlmtd>
im using `nixops modify -d uuid file1.nix` but its giving me an error from `file2.nix` which I had used in previous invocations, so now nixops fails to do anything.. whats my way out ?
<LnL>
ah, think I know
<LnL>
ennui: you fetched hello from the cache so -q --deriver gives the drv that hydra generated and instantiate whatever your nix version generates locally
<LnL>
if the nix version for those both cases are exactly the same it would be the same path, but that's not the case
<clefru>
unlmtd: I am not sure, but you could reach into the sqlite database of nixops and make modifications by hand. ~/.nixops/deployments.nixops
NightTrain has joined #nixos
<mudri[m]>
What's the deal with these semi-automatic updates? As a package maintainer, how closely should I look before saying “LGTM”?
<clefru>
gosh, our channel out-of-date stats are horrible.
tos9 has left #nixos [#nixos]
<LnL>
unlmtd: I think it saves what file you used so it's trying to use both file2 and file2 now
<unlmtd>
LnL: thats my problem
<unlmtd>
this doesnt feel like sane behavior
<unlmtd>
would that be considered a bug?
periklis has joined #nixos
<unlmtd>
maybe Im misunderstanding something obvious
<LnL>
I think you want to use modify to change the files used by the deployment and just a play deploy afterwards
<adisbladis[m]>
@mudri:matrix.org: No good generic answer to that question.. It really depends.
<adisbladis[m]>
Mostly semver should be ok and shouldn't take much effort
<adisbladis[m]>
I mean patch semver
sanscoeur has quit [Remote host closed the connection]
<mudri[m]>
What do you mean by “patch semver”?
orivej has quit [Ping timeout: 246 seconds]
<adisbladis[m]>
@mudri:matrix.org: If patch changes in ${major}.${minor}.${patch} usually checking if things still build is enough
<ennui>
LnL: that's a good point thanks. so the nix version, even if its store path is not included in the .drv content, has influence on the .drv name hash?
<LnL>
not _every_ version of nix will a generate different drv but a bunch of things changed with 1.11 -> 2.0 for example so in those cases it won't match
<ennui>
that makes sense. thanks a lot!
<reinzelmann>
Hi folks, does anyone have a recommendation for a laptop that works well with nixos (or linux in general)?
<reinzelmann>
I'll use it mainly for (web) software development
<adisbladis[m]>
reinzelmann: Can't go wrong with thinkpads :)
<unlmtd>
its a sad world when the best machine we can recommand is an x86 cpu
<lejonet>
adisbladis[m]: *cough*X230*cough* ;)
<clefru>
adisbladis[m]: fixed the cherry-pick info for the pycurl. would you mind merging this?
<makefu>
lejonet: there are only 2 laptops i can recommend: x220 and x230
<adisbladis[m]>
clefru: Just waiting for ofborg checks to pass :)
<clefru>
oh of course :)
clefru has left #nixos ["Leaving"]
clefru has joined #nixos
<adisbladis[m]>
makefu: I'm pretty happy with my TP25 :)
<adisbladis[m]>
Can highly recommend if you can get hold of one
<lejonet>
makefu: the X230 destroyed a lot of the good things that was in the X220, I really did not like the changes to they keyboard that they did for the X230
<makefu>
lejonet: x230 is the last thinkpad you can actually core-boot. keyboard is okay imho. the rest is pretty much the same
<sphalerite>
if you don't mind a bit of bleeding-edge but would appreciate excellent battery life and small size, weight and price I'd actually recommend a chromebook, probably an aarch64 one (the lack of hydra builds for my 32-bit one has been a bit of an annoyance!)
<unlmtd>
ill do everything I can to avoid another laptop. I mean, its 2018 already, and the cpu is under the keyboard!? lol
<unlmtd>
ohh and a fan that kills half your battery life
<clefru>
someone needs to more aggressively fund the coreboot initiative. UEFI is horrible and insecure.
<sphalerite>
clefru: another reason to get a chromebook!
<clefru>
sphalerite: underpowered machines, bad keyboards mostly. I went through 3 models of the last years.
<sphalerite>
of course they don't pack that much of a punch performance-wise, but that's what ssh is for :D
<unlmtd>
theres the x1 tablet now .. btut its a bit pricey
<sphalerite>
clefru: I'm pretty happy with my C201.
<unlmtd>
at least the f*** fan is gone
<reinzelmann>
interesting, I might check out chromebooks alright
<unlmtd>
sphalerite: do you have 3d accel?
<sphalerite>
unlmtd: no. Not found myself needing it
<unlmtd>
im dying to move to arm workstation, but the gpus lack drivers
bennofs has joined #nixos
<sphalerite>
FWIW the panfrost project (free mali driver) seems to be making decent progress
<unlmtd>
sphalerite: im more worried about paying for something I dont get
<unlmtd>
making my way to a pure wayland env
<sphalerite>
oh yeah, wayland isn't as speedy as X on here yet
<sphalerite>
since it just runs on llvmpipe
<unlmtd>
the nexus 9 is on my radar. funny how nvidia is now showing everybody how its done
<unlmtd>
maybe it was torvalds finger that moved them
<adisbladis[m]>
Ahh wayland.. I have to patch libinput before I can migrate
<sphalerite>
suuuuure it was
* clefru
wants wmonad
<sphalerite>
and not just the prospect of bazillions of moneys
<unlmtd>
clerfu: way-cooler
<unlmtd>
well, its not haskell, but its pretty good start
<clefru>
unlmtd: interesting :)
<unlmtd>
I recently ditched xmonad after 3 years, just too much downloading from my third-world country connections
<{^_^}>
→ 76521145 by @vaibhavsagar: pythonPackages.notebook: 5.4.0 -> 5.4.1
<{^_^}>
→ ce2bf3bd by @dotlambda: Merge pull request #37607 from vaibhavsagar/bump-pythonpackages-notebook
mariel__ has joined #nixos
<unlmtd>
clerfu: wlroots is shaping up to be *the* wayland compositor library. itll allow us to do stuff xorg simply cannot do
<sphalerite>
but way-cooler is cool because rust
<unlmtd>
and xmonad still uses xlib
<unlmtd>
probably a proof of how powerful haskell is really
<sphalerite>
unlmtd: what sort of stuff that xorg can't do?
<clefru>
sphalerite: a proper security model for the start...
<{^_^}>
[nixpkgs] @dotlambda merged pull request #37613 → various cleanups of meson projects → https://git.io/vxWin
<unlmtd>
sphalerite: spinning client surfaces around however you want
<lejonet>
makefu: well that I don't really care too much about, for the usability aspect atleast, I personally think it was a big downgrade from the X220
<lejonet>
But now I'm waiting for the raven ridge A-series laptops from lenovo, seems like they're releasing the E-series versions with raven ridge this month
<lejonet>
erh, next month*
hariel has joined #nixos
<clefru>
adisbladis[m]: thanks for the merge!
<unlmtd>
doing the same things X does with less effort is what im really into
<unlmtd>
I want a 3 day battery life device
<sphalerite>
oh yeah, what about multiple pointers and focuses? Would be really useful so multiple users could use a single machine. I think that's something wayland allows?
alhariel has quit [Ping timeout: 264 seconds]
<unlmtd>
with a tablet, you arent forced into a particular keyboard :D
* lejonet
imagines the mess akin to what happened to one of his teachers when he showed the write/mesg cmds and had forgotten to do mesg n in his shell... :P
dbe has joined #nixos
<unlmtd>
the 3rd gen just came out so theyll get cheaper
hiroshi has quit [Ping timeout: 260 seconds]
<unlmtd>
I swear this is my last laptop
coot has joined #nixos
<lejonet>
If all I'm using is a browser, virt-manager and terminals (because honestly, that is more or less all I use... xD) would there be a wayland-enabled wm that is tiling that works for that?
<unlmtd>
by the end of the year it should be there
<lejonet>
neato
<sphalerit>
I think sway should already do. Not 100% sure though.
<unlmtd>
like I said, follow wlroot
<makefu>
unlmtd: i also checked out the x1 but they are so damn expensive right now. i also want to charge with usb-c
<{^_^}>
→ 01f29bb0 by @vaibhavsagar: pythonPackages.notebook: cleanup
<{^_^}>
→ c8f201df by @dotlambda: Merge pull request #37615 from vaibhavsagar/cleanup-pythonPackages-notebook
<unlmtd>
if you dont mind the laptop factor you can get the xiaomi air
<unlmtd>
makefu: ^
<unlmtd>
theyre really cheap, but hard to get outside china/hk
<unlmtd>
I love how xiaomi just plain out clones apple HW
<makefu>
i really love my trackpoint :( so many things. i think for now i will simply continue using my almost 6 year old laptop
<unlmtd>
it even has removable SSD
<unlmtd>
makefu: yep, why bother getting something only marginally better
<makefu>
exactly
<joepie91>
makefu: I bought an x270 recently
<joepie91>
makefu: right before they went EOL
<joepie91>
quite happy with it
<unlmtd>
lol
<unlmtd>
and you still need 20v to charge
<joepie91>
USB-C charging, proper RJ45 port, proper USB 3 ports, etc.
<joepie91>
only downside is the keyboard but that seems a universal problem nowadays
<unlmtd>
ahh I didnt know it used 5v
<unlmtd>
does it have a fan?
<joepie91>
yeah
<joepie91>
but it's quiet
<joepie91>
like, unless you're putting serious load on it, you're not going to notice there's a fan :P
<unlmtd>
doesnt matter, it kills your battery life in half
* etu[m]
got a x240 recently second hand, the one with the broken touchpad. But I've put into a x250 touchpad and a 1080p IPS screen :)
<joepie91>
unlmtd: with the battery upgrade, I get 15 hours of battery life under normal usage out of it
<unlmtd>
etu: I have one of those, didnt know they fitted the x250 keyboard
<joepie91>
about 7 hours under max CPU+GPU load
<joepie91>
frankly I've never found myself without a charge since I got it
<unlmtd>
we did some models on elecricity prices, and we came up with a 50 to 100x price increase over the next 10-20 years
<etu[m]>
unlmtd: Didn't change keyboard. Just the touchpad. It was a hassle to replace because it was glued in place. So I needed to use quite some force to get the old one out. And after lots of work to get the new one in, it didn't work because I needed to upgrade the bios :)
<unlmtd>
depending on the region
<unlmtd>
etu: ohh, thanks for discouraging me right away :P, but nicely done thou
<unlmtd>
right now Im having really annoying charging issues with it
<etu[m]>
I'm very happy with the result, so it was worth it.
<unlmtd>
I bet
<adisbladis[m]>
The T440s one was not glued
<unlmtd>
I think (if) when I get my librem 5, ill ditch the laptop
<goibhniu>
I guess this is more suitable for #nixos-chat ... but unlmtd ... you calculated that electricity prices will be over 50 times the current price? (or 50% more?)
<unlmtd>
50 times
<unlmtd>
to a 100
<unlmtd>
fridges become mostly out of reach for most people to run
<goibhniu>
that's mind blowing ... have you got some source I can use to verify?
<unlmtd>
ill go to nixoschat
<goibhniu>
cool, thanks
justanotheruser has quit [Ping timeout: 245 seconds]
bennofs1 has joined #nixos
justanotheruser has joined #nixos
bennofs has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @volth opened pull request #37616 → treewide: replace deprecated alias s/mssys/ms-sys/g → https://git.io/vxW9B
sanscoeur has joined #nixos
rauno has quit [Remote host closed the connection]
maximiliantagher has quit [Ping timeout: 276 seconds]
matt___ has joined #nixos
matt___ has quit [Client Quit]
ttamttam has joined #nixos
asuryawanshi has quit [Ping timeout: 268 seconds]
pie__ has joined #nixos
jmaki has joined #nixos
jtojnar_ has joined #nixos
<ttamttam>
Hello! I have a basic question about NixOS structure. It is about a program which needs to make some calls to some programs (like uname, by instance). It currently fails, because it is using a self made PATH, containing only "/bin" and "/usr/bin". On my system, it works when I add "/run/current-system/sw/bin" to the PATH. My question is: is this path the best choice (I mean will it always work), or is there a better option?
jtojnar has quit [Quit: jtojnar]
<joepie91>
ttamttam: the path will always work and point at your current 'revision' of your system environment; however, you should instead specify all the needed tools (like uname) as dependencies to whatever is the thing that's calling them (when packaging that thing)
<joepie91>
because while the path will always work, there's no guarantee that the system environment will always include the necessary tools
<ttamttam>
@joepie91 Thanks. That makes sense.
jtojnar has joined #nixos
jtojnar_ has quit [Ping timeout: 260 seconds]
sigmundv_ has joined #nixos
<jtojnar>
ttamttam: Usually, you will want to either patch the program to use absolute path, or wrap it with custom path
<ttamttam>
jtojnar: I'm currently not packaging the program for NixOS. The first goal is to have it work correctly on a NixOS system after compiling it under NixOS (it was failing because of the way it is calling uname).
<jtojnar>
ttamttam: why is it using custom path?
<jtojnar>
using the system PATH would be more portable
<{^_^}>
[nixpkgs] @dtzWill closed pull request #37606 → [WIP] selected misc fixes on path to building darwin packages from linux → https://git.io/vxW4Z
zzamboni has joined #nixos
jtojnar_ has joined #nixos
coot has quit [Quit: coot]
<jtojnar_>
ttamttam: the problem with /var/run/current-system is that it only works on NixOS
<jtojnar_>
not on other systems using ni
jtojnar has quit [Ping timeout: 276 seconds]
jtojnar_ is now known as jtojnar
<jtojnar>
s/ni/Nix/
zzamboni has quit [Ping timeout: 248 seconds]
pie__ has joined #nixos
<ttamttam>
jtojnar: good point! Noted.
zzamboni has joined #nixos
<lvmond_>
how can i set up a python environment with nix-shell and also set some environment variables?
jtojnar has quit [Remote host closed the connection]
tejing has joined #nixos
<{^_^}>
[nixpkgs] @expipiplus1 opened pull request #37622 → weechat: Add plugin to config only if it is used → https://git.io/vxlvK
<tejing>
I've installed the mpd service and set it up in configuration.nix, but when I try to play something I get a permission denied error on the default alsa device, which is particularly odd since it worked before I rebooted.
Arcaelyx has joined #nixos
nh2 has joined #nixos
<goibhniu>
tejing: are you using it with pulseaudio?
<tejing>
goibhniu: no, just regular alsa
chrios has joined #nixos
<tejing>
the mpd user is a member of the audio group... oddly enough my main user is not, but can play audio
<goibhniu>
is the alsa device in use?
chrios_ has quit [Ping timeout: 276 seconds]
hiroshi has joined #nixos
<tejing>
I tried quitting out of a program that might have been using the audio device, and that fixed it, but afaik these programs are supposed to share the audio. I can play a movie with mplayer while mpd is running for example
<romildo>
Can someone merge pull request #36320 (gsettings-qt: init at 0.1.20170824)?
<ottidmes>
goibhniu: "Some NixOS packages can be built with explicit PulseAudio support which is disabled by default. This support can be enabled in all applicable packages by setting: nixpkgs.config.pulseaudio = true;"
<{^_^}>
→ ebe7b86b by @dtzWill: lua-{5.2,5.3}: cross fixups, drop crossAttrs
<{^_^}>
→ c4057686 by @dtzWill: Merge pull request #37599 from dtzWill/fix/lua-5.2-5.3-cross
<{^_^}>
[nixpkgs] @svanderburg pushed to master « xcodeenv: publish xcarchive directory in the output store path if requested »: https://git.io/vxlLC
<{^_^}>
[nixpkgs] @svanderburg pushed to release-18.03 « xcodeenv: publish xcarchive directory in the output store path if requested »: https://git.io/vxlLB
<{^_^}>
[nixpkgs] @svanderburg pushed to release-17.09 « xcodeenv: publish xcarchive directory in the output store path if requested »: https://git.io/vxlLu
foo___ has joined #nixos
jrolfs has quit [Quit: WeeChat 2.0]
erasmas has joined #nixos
MercurialAlchemi has quit [Ping timeout: 260 seconds]
<foo___>
Where/how should I create a custom route table? (The equivalent of Ubuntu's: echo "200 out" >>/etc/iproute2/rt_tables)
xcmw has joined #nixos
Sonarpulse has quit [Remote host closed the connection]
mmlb has quit [Ping timeout: 260 seconds]
mmlb has joined #nixos
TweyII has joined #nixos
<TweyII>
Is there an equivalent of `platforms` for buildPythonPackage, e.g. ‘only try to build on Python 2’?
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 264 seconds]
<fearlessKim[m]>
TweyII: yes disabled= isPy3k for instance
raynold has quit [Quit: Connection closed for inactivity]
<TweyII>
fearlessKim[m]: Ahh, ‘disabled’, thank you
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
<foo___>
ottidmes: It doesn't seem very useful: "Note that if you are using DHCP to obtain the network configuration, interfaces may not be fully configured yet." or does it actually work on AWS?
kreisys has joined #nixos
asuryawanshi has joined #nixos
fendor has quit [Ping timeout: 276 seconds]
<foo___>
Also, the file /etc/iproute2/rt_tables doesn't exist on NixOS.
<ottidmes>
foo___: I have never used AWS, so I have no idea, but another suggestion would be to use a systemd service
vaninwagen has quit [Quit: Connection closed for inactivity]
<ottidmes>
foo___: Seems relevant: https://github.com/NixOS/nixpkgs/issues/23625 I would fix that issue by just defining environment.etc."iproute2/rt_tables".source = "${pkg.iproute}/etc/iproute2/rt_tables", or in your case, assign it ''\n${fileContents "${pkg.iproute}/etc/iproute2/rt_tables"}\n... your stuff...\n'';
Fare has quit [Ping timeout: 264 seconds]
katona has quit [Quit: Connection closed for inactivity]
<wilornel>
I have some trouble understanding how to use it
sanscoeur has joined #nixos
<wilornel>
After installing ib-controller, I have the ib-tws-c command
<wilornel>
but when I run that command, nothing happens
<wilornel>
Where could the logs for it be?
Sonarpulse has joined #nixos
<symphorien>
if you are deperate, you can strace it
<wilornel>
I'm desperate
<wilornel>
I'm trying that
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thefloweringash has quit [Quit: WeeChat 1.9.1]
sanscoeur has quit [Ping timeout: 264 seconds]
hiroshi- has joined #nixos
<wilornel>
I get a bunch of "ENOENT (No such file or directory)", but can't tell what file it want sto access
<wilornel>
open("/nix/store/d54amiggq6bw23jw6mdsgamvs6v1g3bh-glibc-2.25-123/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
<wilornel>
I guess it should not try to access these files?
<symphorien>
not necessarily
<wilornel>
or I should install glibc?
<symphorien>
this is a cache
jophish_ has quit [Ping timeout: 268 seconds]
<symphorien>
the chache not being there should be fine
nuncanada has joined #nixos
hiroshi has quit [Ping timeout: 260 seconds]
hiroshi- is now known as hiroshi
<wilornel>
it tries to get user input? : open("/dev/tty", O_RDWR|O_NONBLOCK) = 3
<wilornel>
well, the very last Open is the command I'm actually issuing:
<symphorien>
I already had a problem with executables opening themselves:
leat has joined #nixos
<symphorien>
an ocaml executable which was in fact ocaml bytecode appended to an elf stub to call the interpreter
spear2 has quit [Ping timeout: 256 seconds]
<wilornel>
the installation bash script for IB Trader Workstation that you get from the website was doing something weird. It would check its own contents and not execute if it was modified. I wanted to change unzip2000's location in that script. It tried to use /usr/bin/unzip2000 exactly
<symphorien>
nix stripped the elf executable
<symphorien>
and this failed badly
<wilornel>
So I stopped going down that route and instead started looking into this nixos packaged
<wilornel>
whew
<symphorien>
setting DontStrip = true solved the problem
<symphorien>
well if this is an integrity check from the executable you are faced with a difficult problem
<wilornel>
well it's only reading itself
<wilornel>
ah wait, the integrity check was an issue with bash script that would install tws
<wilornel>
but right now I'm working with the ib-controller package in nixpkg
<wilornel>
nixpkgs
<wilornel>
I also have this: stat("/home/bob/IB/xpra/run", 0x7ffc3dc4e320) = -1 ENOENT (No such file or directory)
<wilornel>
And I think that's the issue
<wilornel>
it's the 5th to last line outputted by strace
<wilornel>
I don't understand why it wants there to be xpra. xpra is a command I can issue from anywhere
<wilornel>
how can I find the location of xpra/run in nixos?
<pie_>
does anyone have a few minutes to help me try to get something running? im trying to get a driver-ish usb server thing working for a piece of hardware and i think i just need to get it to find some .so -s , at the moment i have the following shell.nix file https://bpaste.net/show/51c51650ca03 , but running ldd on one of the dependency .so files it shows: : libusb-1.0.so.0 => not found
<pie_>
is it that i need to set the interpreter path with patchelf?
<pie_>
is there a way to do what while inside the nix-shell imperatively while im still trying to figure out what exactly i need to get this working?
<TweyII>
But building it tells me: Could not find a version that satisfies the requirement PyQt5>=5.5 (from plover==4.0.0.dev6) (from versions: )
<TweyII>
Even though pyqt5 is in the propagatedBuildInputs, and if I run ‘python’ from within that nix-shell I can ‘import PyQt5’ which gives me PyQt5 v5.10
<TweyII>
Do I need to do something special so that setuptools sees the distribution?
<{^_^}>
→ 66b1712a by @matthewbauer: Merge pull request #31798 from catern/fixcamlmod
<TweyII>
I have links to Qt 5.10.0 libraries in my ~/.nix-profile (~/.nix-profile/lib/qt-5.10). I'd like to replace them with links to Qt 5.10.1 libraries. How can I figure out what's causing them to be there?
<foo___>
wilornel: for some packages that don't work on NixOS yet I run docker images. That way you can use a supported configuration. (Only applicable if really everything else has failed.)
jrolfs has quit [Quit: WeeChat 2.0]
ma27 has quit [Ping timeout: 246 seconds]
<{^_^}>
[nixpkgs] @Mic92 pushed 311 commits to cpan-update: https://git.io/vxlzs
<{^_^}>
→ 68dda232 by @corngood: amdgpu-pro: 17.10 -> 17.40
<{^_^}>
→ 21159d8f by @yegortimoshenko: xfce4-13: init
<{^_^}>
→ ebf1dade by @corngood: xorg: allow and check abiCompat on current version
rauno has quit [Remote host closed the connection]
asuryawa_ has quit [Remote host closed the connection]
asuryawanshi has quit [Read error: Connection reset by peer]
asuryaw__ has quit [Ping timeout: 256 seconds]
asuryawanshi has joined #nixos
erictapen has quit [Remote host closed the connection]
foo___ has quit [Ping timeout: 260 seconds]
erictapen has joined #nixos
erictapen has quit [Remote host closed the connection]
erictapen has joined #nixos
erictapen has joined #nixos
erictapen has quit [Remote host closed the connection]
erictapen has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
maximiliantagher has joined #nixos
<robstr>
Hey, I'm running a `nix-shell` and set a env. when running `stack exec env` looks different then running `env` (looks like stack uses my curreny system env's) is this intendet ? :P
blankhart has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @matthewbauer pushed 0 commits to revert-31798-fixcamlmod: https://git.io/vxl62
<{^_^}>
[nixpkgs] @matthewbauer pushed 0 commits to revert-36967-auto-update/cfitsio: https://git.io/vxl6V
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Sander__ has quit [Quit: Konversation terminated!]
mariel__ has quit [Ping timeout: 246 seconds]
<abbradar>
ugh, systemd disables core dumps until their own coredump daemon is enabled
<abbradar>
so I cannot find out what exactly failed in 238 until I patch systemd
<abbradar>
oh well...
ixxie has joined #nixos
<{^_^}>
[nixpkgs] @alexvorobiev opened pull request #37637 → xpdf: Don't try to wrap xpdf binary on Darwin if it wasn't requested (enableGUI = false) → https://git.io/vxlid
szicari has joined #nixos
acarrico has quit [Ping timeout: 256 seconds]
<silver_hook>
Did anyone get KDE Connect to connect to an Android device on NixOS?
<dhess>
On nixos-unstable-small I'm seeing quite a few Haskell packages fail with this Cabal error: "unrecognized 'configure' option `--profiling-detail=all-functions'"
<dhess>
anyone else getting that?
blankhart has joined #nixos
xcmw has joined #nixos
roconnor has quit [Read error: Connection reset by peer]
<silver_hook>
I mean, KDE Connect install fine and seems to run fine as well. It just doesnt connect. While my work Kubuntu laptop does connect to the same phone.
<silver_hook>
(both use version 1.0.3)
<{^_^}>
[nixpkgs] @Mic92 pushed 875 commits to cpan-update: https://git.io/vxlMY
<{^_^}>
→ 6c9dee82 by @volth: perlPackages: MIMEtools and MIMETools
<{^_^}>
→ 934532d1 by @volth: perlPackages: simplifications for the update bot
<{^_^}>
→ a553f4de by @volth: [cpan2nix] perlPackages.XMLSAX: cleanup
<{^_^}>
[nixpkgs] @knedlsepp opened pull request #37644 → streamripper: Enable darwin build → https://git.io/vxlyP
roconnor has joined #nixos
tmaekawa has joined #nixos
leat has quit [Ping timeout: 256 seconds]
<YegorTimoshenko[>
gchristensen: neat!
tmaekawa has quit [Client Quit]
<abbradar>
shlevy, fpletz: after some patching and fiddling to get a core dump from systemd with debug info it seems that it's a genuine systemd bug ~_~
rardiol1 has quit [Remote host closed the connection]
<abbradar>
it's triggered by our filesystem hierarchy somehow, we mount or don't mount something that it expects
<abbradar>
most likely something related to cgroups
<abbradar>
also maybe we don't have something cgroups-related enabled in kernel
<gchristensen>
lexfine: OH! yes! I _hate_ that about Terminator!
<lexfine>
(I didn't really got , what exactly you _hate_ ? :) )
<joepie91>
lexfine: 'layout reflow' is used frequently for that I think
<joepie91>
though that may be the web developer in me talking
<gchristensen>
lexfine: that terminator doesn't reflow the text
leat has quit [Ping timeout: 276 seconds]
<lexfine>
oh... reflow of text is a must have feature for me. very useful imho on my tiling i3wm
<gchristensen>
agreed, same
<gchristensen>
I wish someone would port iterm2 to linux
<abbradar>
I think I found the problem, let's see if recompiling the kernel with a particular option helps
<abbradar>
if yes, my faith in systemd's code quality will sink
<abbradar>
(and God bless gdb with coredumps)
<lexfine>
Terminology have Sublime-like history preview with Ctrl+Alt+h
<Dezgeg>
which option?
<abbradar>
Dezgeg: CGROUP_NET_PRIO
ixxie has quit [Ping timeout: 240 seconds]
<Dezgeg>
ok
<abbradar>
Dezgeg: systemd fails to free some pointer when trying to mount this cgroup subsys
<abbradar>
and we don't have it enabled
<NickHu_>
So recently after a nixos rebuild my laptop stopped responding to lid switch events (and acpi in general it seems) - has anyone else experienced this or has any advice on how to debug this?
<globin>
gchristensen: ack firacode for example
<lexfine>
I wish some one could briefly remind me of the fastest and easiest way to run \ install ubuntu package in nixOs? afaik available options 1) patchelf 2)FHS env 3) docker 4) VM
MichaelRaskin has joined #nixos
<NickHu_>
Did something change with acpid recently?
kthnnlg has joined #nixos
<gchristensen>
lexfine: terminology looks almost TOO fancy.
<lexfine>
*proprietary GUI binary package
logzet has quit [Remote host closed the connection]
genesis has quit [Ping timeout: 256 seconds]
<kthnnlg>
Hi All, suppose I want to modify an environment variable, for example, to *extend* `$PATH` to include `.`, in the nix shell I get when I call, say, `nix-shell -p <my .nix script>`. Can someone tell me how I might go about doing this? Thanks!
<avn>
lexfine: $glibc/lib/ld-linux.so $yourexecutable is also an option (with some LD_LIBRARY_PATH magic)
<lexfine>
gchristensen as for Terminology, you may try it, it's already (thank contributors) in nixpkgs, you don't have to use all fancy features, and could get away with default sharp graphic theme and configure it for your minimalisic needs, hotkeys https://github.com/billiob/terminology
ixxie has joined #nixos
logzet has joined #nixos
<lexfine>
avn, plz show concrete full example , how I may execute this one-liner? (what values should have $glibc LD_LIBRARY_PATH?) Still, this may run binary, but won't auto install dependencies of ubuntu package.
<lexfine>
Today computer service guy told me to run TeamViewer, and I had to gulp, errr, because TeamViewer is not in nixpkgs. And official TeamViewer site offers ubuntu package or tarball, but I still don't know the QUICK AND EASY way to run apps like that in NixOS
<abbradar>
lexfine: teeamviewer is in nixpkgs though
<MichaelRaskin>
I think some version on teamviewer is in nixpkgs, but I have heard some weird combination of root processes is needed to run it
<MichaelRaskin>
Fortunately, I have never needed it…
<abbradar>
yeah, teamviewer requires a system-wide service I think
<lexfine>
gchristensen why?! we should display it, to attract new users and not to confuse them. When new user comparing distros , she looks for specific packages, Arch AUR displays commercial packages, so shoul we as well. Maybe on 3rd party URL domain, but this info about available commercial packages should be easily available.
<lexfine>
I spent weeks with though that there is no VSCode package in NixOs, cuz web interface didn't displayed. And only now, after this discussion, I saw available package with nix-env -qa
<shlevy>
I'll try pushing the release-238 commit from upstream to the nixos-v238 branch
<shlevy>
no perms, sorry
<abbradar>
oh well, let's wait then. theoretically we can still push this to advance Hydra because there would be no change in the repository but I'm not sure if that's a good idea
<abbradar>
no change in the checksum*
<coconnor>
robstr: the only related change I could find was one that removed the "ami" config from the physical network.
<coconnor>
robstr: but sounds like you are not using the "ami" config yet?
<robstr>
coconnor: no, i havent specified the ami
<shlevy>
abbradar: I requested access. Let's wait for now, hydra still has quite a bit of workit can do ;)
<lexfine>
avn thank you for your stdenv.lib.makeLibraryPath , really interesting one, I'll add it to my collection of available options to run binaries.
<fpletz>
abbradar: thanks! will do it now
<robstr>
coconnor: di you know a solution? :P
<{^_^}>
[systemd] @fpletz pushed 547 commits to nixos-v238: https://git.io/vxlbw
<{^_^}>
→ 84dcca75 by @vcaputo: basic: track dirty state in HashmapBase
<{^_^}>
→ 45ea84d8 by @vcaputo: basic: implement the IteratedCache
<{^_^}>
→ 5d4ba7f2 by @vcaputo: journal: use IteratedCache in sd-journal
<fpletz>
abbradar: pushed :) more of the core nixos people having access that repo wouldn't hurt though
<abbradar>
fpletz: updated the PR
<abbradar>
let's see if ofborg builds systemd
<abbradar>
(hydra should provide staging binaries)
<shlevy>
fpletz: Can you approve my request to join the github team?
Yaniel has quit [Remote host closed the connection]
<fpletz>
shlevy: probably don't have admin access but let me see
<abbradar>
gchristensen: is there any in-progress status for ofborg? I'd like to check it hasn't accidentially started to build more than I expect it to :)
<symphorien>
cx405: nix-locate and nix-index are tools designed to answer this type of questions
<cx405>
symphorien: thanks for the hint!
asuryawanshi has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
mudri has joined #nixos
<cx405>
symphorien: are they building channel index? if yes, why are they not part of nix? I am asking, because I have implemented something like this via "nix -qasP"-ing everything then packing into gzip and finally grepping, using bash script.
WhittlesJr has joined #nixos
<fpletz>
abbradar: is there are a specific reason you removed the sysv compat symlinks? might confuse some users and they're cheap :)
<abbradar>
fpletz: systemd installs them by itself now
<fpletz>
oh, cool
<abbradar>
sec, let me recheck
<abbradar>
yeah, here they are
d0nkey has quit [Ping timeout: 260 seconds]
<lexfine>
cx405 , nix-locate --top-level ksystemlog shows multiple packages that provide this file, maia-icon-theme.out kde4.l10n.en_GB.out
<abbradar>
fpletz: don't forget to cherry-pick a kernel config change too
<abbradar>
(btrfs-progs update is probably unnecessary)
<cx405>
lexfine: thanks! I am nixos-rebuilding with it in the configuration.nix. I am seriously wondering why these tools are still not part of the nix? they seem to be equivalent of what "eix" is on gentoo.
<cx405>
lexfine: you are on 17.09, correct? Because on 18.03, the kde4.l10n.* are depricated as it seems. I noticed nixosrebuild compaining about them when switching to 18.03.
<abbradar>
gchristensen: seems too non-random for a cat issue
genesis has joined #nixos
<Dezgeg>
not on dvorak!
<abbradar>
ah!
<cx405>
lexfine: GREAT tool!
<gchristensen>
!m Dezgeg
<[0__0]>
You're doing good work, Dezgeg!
<lexfine>
thank you. I devoted lotsa time to write it correctly :)
ma27 has quit [Ping timeout: 276 seconds]
<ottidmes>
I am trying to create a little prefetcher helper on top of nix-prefetch-url, but I run into a problem, why is `nix-prefetch-url '<nixpkgs>' -A hello.src` working, but those I have overwritten or defined in my overlays fail with: error: getting status of '/nix/store/lemonbar': No such file or directory (using lemonbar instead of hello)
<{^_^}>
→ 2119041d by @mdorman: guile-1.8: Fix and clean up `libtool` propagation fixes
<{^_^}>
→ bc48bbdd by @7c6f434c: Merge pull request #37589 from mdorman/guile-libtool-fix
<cx405>
lexfine: Is there any chance that you submit it to nixpkgs tree? Nixos has big difficulties with regular for-linux binaries due to its unique design. This is really helpful tool!
<robstr>
Does someone encounter problems with nixops deployment to aws, I receive `no AMI defined for EC2 machine` but with the machine type and region it should be already defined, right ?
<cx405>
lexfine: Or to rephrase, - is there anything I can do to help you submit it?
ixxie has quit [Ping timeout: 260 seconds]
<tnks>
I don't have access to my NixOS machine, and am feeling a touch lazy about downloading a VM to run it. I'm curious, does the shells in /etc/passwd point directly to shells in /nix/store?
<BlessJah>
Is anyone using nixops with nixos-18.03?
<tnks>
I was especially curious about this with respect to garbage collection.
<fpletz>
BlessJah: you need to use the current nixops master, we're still waiting for a new release
<{^_^}>
→ 435e3887 by @peti: hackage2nix: update list of failing Hydra builds
<{^_^}>
→ 3cdb5aa2 by @peti: hackage-packages.nix: automatic Haskell package set update
<{^_^}>
→ d1ba7ed4 by @peti: haskell-pure-zlib: enable test suite again
<lexfine>
cx405 , the tool does it job to nice extent, and could be easily installed via git clone. I don't feel the need to write full package around it and send pull request to nixpkgs now, cause the tool should be invoked only from pkgs.buildFHSUserEnv (see template.nix in repo). However I seriously might integrate it better in nix ecosystem if it nix-de-generate will gain enough starts, popularity, community.
<lexfine>
*stars
<{^_^}>
[nixpkgs] @Ericson2314 opened pull request #37651 → guile-2.*: Clean up `libtool` propagation fixes → https://git.io/vxlpN
ertes-w has joined #nixos
goibhniu has joined #nixos
<BlessJah>
fpletz: that makes me tad reluctant towards nixops
<lexfine>
I will also look on the ways to ease and automate launch of 3rd party binaries and packages, and might release an update or some thing new , in hope it could be useful and used by others.
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
aw has joined #nixos
pjdurai has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
<fpletz>
BlessJah: yeah, we need more nixops maintainers
spacefrogg has joined #nixos
<gchristensen>
and fewer responsibilities for nixops :)
<iv___>
Hi all! I'm trying to build cluster of lxc-containers with nixos inside. Already found the way to create nixos lxc-image and to run container with it. This is the recipe https://github.com/NixOS/nixpkgs/issues/9735#issuecomment-370744499. Unfortunately there is nothing inside this container except systemd process and almost emtpy /etc/nixos/configuration.nix. Whoul you advise me how to prepare somewhat operational container so
<BlessJah>
gchristensen: care to elaborate?
<lejonet>
Seeing as its written in python, I've thought about maybe diving into the code and see if I can get my head around it and maybe help
<catern>
aaaargh
<catern>
my fix to the ocaml emacs mode is finally merged
<catern>
only to be immediately reverted because it's bitrotted
<lejonet>
lol
jluttine has joined #nixos
<phry>
heyo, I've got a question on the nix-language :)
<phry>
I want to combine multiple files into one like the /nixos/configuration.nix allows.
<phry>
I am thinking that I have to do something like `{pkgs, ...}: { stuff in this file } // import ./a.nix // import ./b.nix` - is there a better syntax for that?
<BlessJah>
fpletz: I think I'll stick to ansible and cloudformation for now, I have job and need it done
<gchristensen>
BlessJah: IMO, we don't have the resources to maintain NixOps' support for all those providers, so I personally choose to use Terraform to create the resources, then hand off to nixops for deployment
<lejonet>
gchristensen: yeah, I was quite impressed with how many providers it supports, but then I didn't really care for that because I wasn't intending to using any of those providers anyway :P
<ottidmes>
phry: There is: imports = [ ./a.nix ./b.nix ]; for this purpose, or do you mean something else?
<cx405>
lexfine: well, I never knew that such tool existed - and only your message helped me discover it. And I gave it an insta-star. :) I mean, this is live example of the popularity gain for your awesome project. I wish if I could contribute to make a package for it, so it gains popularity through text search in database, but I am still a learning user.
<lejonet>
I have my own hunk of metal :P
<phry>
ottidmes: yes, but I assumed that was just a property in the /nixos/configuration.conf - I cannot use this in other files, can I?
<fpletz>
BlessJah: well, 18.03 is still beta, not sure what you were expecting :) it's indeed very unfortunate but we will have a solution before the release
<phry>
thanks, not my home.nix will get less cluttered :)
<BlessJah>
gchristensen: I've withdrawn from terraform because it made me violate DRY because it lacks some sort of foreach
<lejonet>
gchristensen: I think that maybe redoing the architecture for nixops, so that providers are provided through a module approach (it is very likely such already, I don't know the code) and leave the module support to the community, might be a good way to go, and let the nixops team focus on the actual part that nixops should focus on, the provisioning and deploys
<ottidmes>
lejonet: I would say it is a propery of the NixOS module system, not of Nix the language, import (singular) is though
<BlessJah>
fpletz: it has systemd with that one particular feature I wanted
<BlessJah>
:>
<fpletz>
I know that feel %)
<lejonet>
ottidmes: well in this case, I wouldn't differentiate those 2, because iirc import accepts a list by design, with the explicit purpose of doing what phry wanted to do (a singular import function honestly don't make much sense, yes, I'm looking at you java!)
<lexfine>
cx405 , sure, if can code in NIX, you may send me a pull request with a packaged_app.nix , i will test it and accept if it works. then we could send pull request to nixpkgs. if you can code in python, you may contribute improvements. I'm open. also there is fan based https://nixos.wiki/ good resource for newcomers
<Z0L1DK3K>
has anyone here successfully compiled the examples from lunarg's vulkan sdk?
<lexfine>
https://nixos.wiki/ also could be edited for good by anyone and open for contributions
<{^_^}>
[nix] @dtzWill opened pull request #2004 → download.cc: improve error for hash mismatch, fixup cache hits w/diverted store → https://git.io/vxljO
<cx405>
lexfine: yes, I am aware of it! I had some serious issues with nixos on desktop, but they are reducing - and currently for example,to get the linux games running, your tool looks awesome. I will take note and try to write the working package as soon as I can. :)
robstr has quit [Quit: WeeChat 1.9.1]
<ottidmes>
lejonet: Huh? So `map import [ ./a.nix ./b.nix ]` == `import [ ./a.nix ./b.nix ]`? But still, import just evaluates a file containing Nix, it does not do anything with regards to the module system that I am aware of, things like mkDefault and mkIf only work within the module system's imports, right?
<lexfine>
hehe ^___^ ;3 sweet , yup, I tested it on some games in FHS to resolve dependecies, and it worked in 99% and 1% of manual intervention
orivej has joined #nixos
<Wizek>
hello
<lejonet>
ottidmes: erh, I must've missed something, where did mkIf and friends enter the discussion? I was just commenting on import and its function in the language :)
<lejonet>
mkIf and friends is a part of the nixpkgs library
<Wizek>
Anyone knows why this may fail? `nix-shell -p 'python.withPackages (p: [p.homeassistant])'`
<BlessJah>
fpletz: besides, it's testing box I'm not afraid to nuke
asuryawanshi has quit [Remote host closed the connection]
<Wizek>
`error: attribute ‘homeassistant’ missing, at (string):1:119`
<Wizek>
Is it called something else perhaps? IIRC it is called that with pip
<lejonet>
Wizek: wrong name of the package, use nox to search for what its called in nixpkgs
<{^_^}>
→ 33aa3f34 by @LnL7: chuck: fix darwin build
<{^_^}>
→ adf11dcc by @LnL7: darwin-frameworks: add hook for private frameworks to CoreMIDI
<{^_^}>
→ 6075df7a by @LnL7: Merge pull request #37246 from LnL7/darwin-chuck
<BlessJah>
nixos-unstable.home-assistant?
<lejonet>
thats what I can find too
<Wizek>
lejonet: nox helped, thanks!
<Wizek>
but that only worked because this was in the nixpkgs top namespace, didn't it? How would I find general python package names?
<Wizek>
nvm, `nox numpy` seems to find these too
<Wizek>
handy little tool
<lejonet>
Wizek: its very handy :)
<ottidmes>
lejonet: I was talking about imports in the context of NixOS modules, you said it was part of the language, I just wanted to make clear that you should not confuse `imports` (NixOS module system) with import (Nix the language feature). That's all. I thought you disagreed, but I must have misunderstood you, so I will shut up about it now :P
<{^_^}>
[nixpkgs] @xeji opened pull request #37653 → kmsxx: build with gcc6 → https://git.io/vx8eC
mounty_ has joined #nixos
<lejonet>
ottidmes: Ah, yeah, we're on the same side then :P
<lejonet>
ottidmes: I was specifically talking about the import function and nothing else :)
<lejonet>
ottidmes: I haven't looked at the definition of import, but I would not be surprised if it internally is some type of map honestly
<lejonet>
ottidmes: so if my deduction is correct I would say you were entirely correct :)
cx405 has left #nixos ["Konversation terminated!"]
chessai has quit [Ping timeout: 256 seconds]
<ottidmes>
To answer my own question I asked earlier about nix-prefetch-url, I link my overlay files to /etc/nixpkgs/overlays so that other nix tools can pick them up as well, but I needed to add toString to them otherwise they would be first copied over to the nix store, causing the relative paths to become relative to the nix store
<ottidmes>
lejonet: It actually does not seem to be the case, you cannot pass it lists, just a path: nix-repl> import [ ./a.nix ./b.nix ], error: cannot coerce a list to a string, at (string):1:1
<lejonet>
ottidmes: that is interesting, then you could be completely right that the import function and the way its used for configuration.nix and such is unique to nixOS
maximiliantagher has quit [Remote host closed the connection]
jwynn6 has quit [Ping timeout: 240 seconds]
maximiliantagher has joined #nixos
<lejonet>
:q
<lejonet>
lol, wrong terminal
<lejonet>
ottidmes: then imports is most likely "just" an map import listOfPaths
<{^_^}>
[nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/vx8kB
<{^_^}>
→ 72984210 by @mdorman: guile: Fix and clean up `libtool` propagation fixes
<{^_^}>
→ e5ab8585 by @Ericson2314: Merge pull request #37651 from obsidiansystems/guile-libtool-fix-staging
zemm has quit [Ping timeout: 240 seconds]
<ottidmes>
NickHu_: I use nix.nixPath = [ "nixpkgs=/path/to/local/nixpkgs/checkout" ]; so that nixpkgs is in my NIX_PATH, that way you do not have to resort to using -I all the time (-I just adds a path to the search path, taking precedence over what is defined in NIX_PATH).
szicari has quit [Quit: szicari]
<NickHu_>
ottidmes: But the thing is, I don't want to build from my local checkout *all* the time; just when I'm developing some package or something is broken etc.
szicari has joined #nixos
<ottidmes>
NickHu_: Other than that I also define NIXPKGS_CONFIG to point to my general nixpkgs config, which is also included in my NixOS configuration via: nixpkgs.config = import /path/to/my/nixpkgs/config.nix;
szicari has quit [Client Quit]
<ottidmes>
NickHu_: Ah, but then why mention nixos-rebuild? If you are developing some package, nixos-rebuild is not the right tool for the job, I would use nix-shell/nix-build
<NickHu_>
ottidmes: In the case where my system is broken ;)
<NickHu_>
(very rare)
radvendii has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
<radvendii>
I'm getting the warning "unknown setting: 'signed-binary-caches'" when I try to "sudo nixos-rebuild switch --upgrade". I wasn't able to find anything online. Anyone know what might be causing that?
<radvendii>
oh, and then it's unable to find packages
alex`` has quit [Quit: WeeChat 2.0.1]
<ottidmes>
NickHu_: You probably want to use different checkouts of nixpkgs then, and not develop on your system nixpkgs checkout. I have a nixpkgs (checkout of nixos-17.09), nixpkgs-unstable (checkout of nixos-unstable), and nixpkgs-dev (checkout of master, when I am creating something new for which I want to make a PR)
<NickHu_>
Yeah, I mean, my current approach is just to checkout at whatever howoldis tells me nixos-unstable-small/nixpkgs-unstable is at, and then point my rebuild at that
<ottidmes>
radvendii: If you upgrade to Nix 2.0, what you seem to have done, that setting is no longer use, require-sigs (on top of my head), is what is used instead now, which is true by default
<NickHu_>
I'd just never seen the setting $NIXPKGS thing before
fendor has quit [Ping timeout: 268 seconds]
ryanartecona has joined #nixos
boomshroom has joined #nixos
<boomshroom>
Hello!
<radvendii>
ottidmes: Oh. I don't seem to have signed-binary-caches anywhere in my config though
<boomshroom>
Mind if I ask what the current state of Wayland is?
<ottidmes>
radvendii: If you are still on 17.09, it will generate that setting based on `nix.requireSignedBinaryCaches` which is true by default
<ottidmes>
radvendii: You should be able to safely ignore it, or you could set nix.requireSignedBinaryCaches = false; but be careful, you are very unlikely to want to have that in the long run, since in 18.03 this setting will result in the new setting, require-sigs, to be said to false!
<radvendii>
except that still raises the question why is it failing. Hang on, let me pull up the actual error message
<ottidmes>
radvendii: So your, it is unable to find packages question, seems unrelated to that warning
<radvendii>
"error: cannot download flash_player_npapi_linux.x86_64.tar.gz from any mirror"
<dhess>
Does anyone here use LaTeX with Nixpkgs macOS?
<radvendii>
ah. i figured it was relate dbecause they were both going wrong and "caches" seemed related to finding things. But I guess not. I guess I'll just remove flash from my packages for now, I don't really use it
<boomshroom>
I see there's an option GDM on wayland, but I don't see any other NixOS options for wayland. I do see several compositor packages, but I can't see how to use one as the primary desktop.
abbradar has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
<radvendii>
I don't know if it's relevant, but the output seems to be totally screwed up with respect to formatting
<radvendii>
there are lots of random newlines
<ottidmes>
radvendii: The only cause I can think of, is that it is simply no longer available at that URL, maybe you need to update nixpkgs, or maybe the version on 17.09 (which I assume you are on) simply is too outdated (no longer available as download by Adobe)
drakonis has quit [Quit: Leaving]
<radvendii>
I'm `--upgrade`ing. So yeah, I guess maybe the nixpkg needs updating
<ottidmes>
radvendii: I believe that issue is caused by nix-daemon 1.x being used while you use nix 2.x
<thoughtpolice>
Is there an easy way to view the `meta.doc` field of a NixOS module as a man page?
<radvendii>
ah okay so there are like 3 issues going on at once XD
<radvendii>
I always dread updating
<ottidmes>
radvendii: In NixOS updating can still be a pain, but at least you can rollback :)
<radvendii>
yeah. But sometimes certain packages just stop working, and I just have to wait til the next update fixes them
<ottidmes>
NickHu_: Not sure where you found there reference to $NIXPKGS, as far as I know it does not exist, at least there is no nix/nixos tool using it explicitly. I have only seen it mentioned on the wiki for each access to the nixpkgs defined on the search path, so just as a convenience
<ottidmes>
NickHu_: The only env variables related to Nix/NixOS that I explicitly define myself are NIX_PATH and NIXPKGS_CONFIG, there are quite a few more as you can see at the bottom of the manpages and in the manuals, but I have never needed any other than those two, and sometimes I use NIXOS_CONFIG to overwrite the config to be used
boomshroom has quit [Ping timeout: 268 seconds]
<ottidmes>
boomshroom1: I did see a reference to way-cooler, did you try that?
<boomshroom1>
ottidmes: I tried launching it in a tty. Attempting to switch terminals seemed to break my machine.
boomshroom1 is now known as boomshroom
<boomshroom>
In terms of wayland compositors, I'm torn between way-cooler (I'm a Rust fanboy) and sway (I'm already an i3 user).
<ottidmes>
boomshroom: I like the idea of wayland, but I would have to drop my window manager, and probably introduce all kinds of new problems, that why I do not dare try it. My Arch laptop is running it though
jluttine has joined #nixos
xeji has quit [Quit: WeeChat 2.0]
<ottidmes>
boomshroom: I would go with sway, but once you feel the itch to start hacking on it, change to way-cooler. That way you also limit the amount of stuff you get to get used to before being on-par with what you had on X
<{^_^}>
[nixpkgs] @willtim opened pull request #37663 → update of displaycal and argyllcms → https://git.io/vx8mq
<NickHu_>
Can anyone help me debug acpi/udev? My lid switch along with low battery udev rules have been unresponsive for the last few rebuilds
<monotux>
so...I've added the allowUnfree line to my system wide configuration, yet I can't install unfree packages when trying to use nixos-rebuild dry-run
<fpletz>
abbradar: my 18.03 tests look fine, I'd rather have that soon than later in 18.03 for testing… merge now? :)
<monotux>
it is unrar that is the unfree package
<abbradar>
fpletz: yep
<monotux>
any ideas?
<NickHu_>
Actually I don't think it's acpid because I don't seem to have it enabled..
<abbradar>
let's also push to staging
ashgillman has quit [Ping timeout: 276 seconds]
<abbradar>
that should unbreak at least x86
<ottidmes>
monotux: You have nixpkgs.config.allowUnfree = true; ?
<fpletz>
yeah, and I can cherry-pick -x the final commit hashes :)
<abbradar>
(aarch64 on 18.03 should be unaffected)
<ottidmes>
monotux: I would expect that to work as well. My setup is a little different, I doubt it helps, but worth a shot. Define NIXPKGS_CONFIG=/etc/nixpkgs/config.nix and in your configuration.nix add: nixpkgs.config = import /etc/nixpkgs/config.nix; and in let the contents of this config.nix file be { allowUnfree = true; }
<shlevy>
Thanks!
<monotux>
sounds that it's worth a try, thanks ottidmes :)
<{^_^}>
[nixpkgs] @LnL7 pushed to master « ntbtls: fix darwin build »: https://git.io/vx8m5
rauno has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @LnL7 pushed to release-18.03 « ntbtls: fix darwin build »: https://git.io/vx8mF
<ottidmes>
monotux: That setup will also allow you to use unfree packages in nix-env and such
<monotux>
I must be missing something obvious here as the suggestion above doesn't work either. I have no issues with the very same setting on my laptop
sellout- has quit [Read error: Connection reset by peer]
<NickHu_>
ottidmes: How would that help? I'm expecting logind to suspend the system on a lid switch, but it doesn't ever seem to get lid switch events now for some reason
<{^_^}>
[nixpkgs] @abbradar opened pull request #37665 → libgpg-error: fix on ARM → https://git.io/vx8Yd
<gchristensen>
abbradar: does adding the build instruction to the PR body actually work?
<ottidmes>
NickHu_: I don't know, just trying to help, I've never configured any lid stuff on Linux, but stumbled upon logind when setting up my keyboard shortcuts, and thought they might interfere with your udev rules
<abbradar>
gchristensen: that's what I wanted to check :3
asuryawanshi has quit [Ping timeout: 240 seconds]
rardiol1 has joined #nixos
rauno has joined #nixos
coot has quit [Quit: coot]
<abbradar>
gchristensen: nah, seems it's not
<gchristensen>
abbradar: Pro Tip: it would have automatically built it if your commit message was: "libgpgerror: fix on ARM"
<gchristensen>
abbradar: it is /!\ prone to break /!\ not officially supported /!\ not an intentional feature /!\ but you can go to https://logs.nix.ci/?key=*.* and see logs
<abbradar>
so I guessed correctly that's intentional?
<gchristensen>
yeah
<gchristensen>
not enough hours in the day to setup a proper status page, so I just exposed the single status page of a system I'd rather not fully expose
<abbradar>
yeah, I hit the guessing spot then
<abbradar>
that's no big problem though ^^
<NickHu_>
ottidmes: Yeah, it was worth a shot. I tried changing the options but doesn't seem to have any effect
<NickHu_>
Makes sense, because if that were the problem I would be seeing stuff like "lid switch triggered" in the journal, but that never occurs
<NickHu_>
Which makes me think the issue is actually elsewhere
<NickHu_>
Guess I'll try rebuilding onto stable and seeing if that works
<abbradar>
manveru: should be working now on staging
justanotheruser has joined #nixos
<manveru>
will try :)
xcmw has joined #nixos
sanscoeur has quit [Ping timeout: 260 seconds]
<justanotheruser>
hey, my build is failing. I'm trying to move to 18.03. Any advice? Here is the end of my build, I can post the full build if it's necessary. https://hastebin.com/raw/bemasodisu
<manveru>
looks like perlPackages.InlineC now fails on staging again
<lassulus>
justanotheruser: on the current 18.03 release qt is sadly broken, and it seems like hplib does use qt5 in its default settings. but you could try to override it to not use qt5, or wait until qt is fixed (hopefully soon)
<elvishjerricco>
monotux: containers as in nixos-containers? I usually do `{ ... }@hostArgs: { containers.foo = { ... }: { nixpkgs = hostArgs.nixpkgs; }; }` for containers
jluttine has joined #nixos
Xal has joined #nixos
<monotux>
elvishjerricco: yes, my config skills aren't that good yet, but got some help rewriting my configuration to avoid duplicate lines at least :)
ambro718 has quit [Quit: Konversation terminated!]
<abbradar>
no problem ^^
<ottidmes>
kerrhau: Just keep the structure as it was, no with <nixpkgs> ... stuff, only update the src attribute and name/version, and then run `nix-build -E 'with import <nixpkgs> { }; callPackage ./. { }'` in the directory containing your updated default.nix of dwm
<kerrhau>
ottidmes: would the package name be dwm-local?
<ottidmes>
kerrhau: If you want to overwrite dwm instead of just putting (pkgs.dwm.overrideAttrs (oldAttrs: { name = "dwm-local"; src = /home/blob/dwm.tar.gz; })) in your systemPackages you would put it in an overlay instead (generally better)
<ottidmes>
kerrhau: not really, the path name with be dwm-local
<ottidmes>
kerrhau: As in <sha256>-<name>
<kerrhau>
yeah
<kerrhau>
how would one create an overlay?
<ottidmes>
kerrhau: in the nix store, but if you want to have a dwm-local package, you would define it in e.g. your overlay
<abbradar>
LnL: perhaps you'd be interested ^ ? tl;dr: Darwin failures on staging, https://logs.nix.ci/?key=nixos/nixpkgs.37665&attempt_id=80c967e5-3efd-463e-8f99-17f5f8d38fd9
<ottidmes>
kerrhau: That would overwrite the existing dwm package (you overlay'ed the one in nixpkgs, the one in super), or you could name it differently, e.g. dwm-local = super.dwm.overrideAttrs ..., that would make pkgs.dwm-local available to you
blankhart has joined #nixos
Z0L1DK3K has quit [Max SendQ exceeded]
jluttine has joined #nixos
<LnL>
abbradar: building of '...' timed out after 1800 seconds