<tilpner>
infinisil - I thought of that too, but that's not what dhess wants
<sphalerite>
dhess: if you don't need to handle a list of strings coming from elsewhere, { inherit emacs nmap; }
simukis has quit [Ping timeout: 248 seconds]
<tilpner>
infinisil - You need to look "a" up in current scope for that, and I don't know how
nithor has joined #nixos
<dhess>
ok maybe I should explain what I'm actually trying to do. Maybe my current thinking isn't the best approach
<sphalerite>
Err wait it's not strings it's derivations
<dhess>
I have an overlay I use for my environments. It's a few custom things but mostly it defines buildEnvs that are collections of packages for working on various things
<dhess>
most of the buildEnvs are always in my Nix environment, but a few I keep around for when I need them
<sphalerite>
So genAttrs (d: {name = (builtins.parseDrvName d).name; value = d;}) [ emacs nmap ]
<dhess>
anyway I want to do CI on them with Hydra. Always build when there's a new nixos-unstable-small channel bump for example
<dhess>
sphalerite: yeah I have something almost like that already, that should do the trick I think
<dhess>
anyway, you can't just put a buildEnv in a release.nix-style attrset, because it's just a runCommand
<sphalerite>
dhess: seems like the inherit one is what you want then?
llgtr has joined #nixos
digitus has quit [Quit: digitus]
<sphalerite>
Why not?
<dhess>
sphalerite: I dunno, it just comes up empty
<dhess>
nothing in it
<dhess>
it's not a derivation for one thing, I don't think
<infinisil>
runCommand is a derivation too
<dhess>
huh
<dhess>
well I can't get it to evaluate to anything interesting
<dhess>
here let me demonstrate
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
<tilpner>
dhess - Did sphalerites solution work for you?
<tilpner>
sphalerite - Your approach doesn't work because genAttrs uses nameValuePair and listToAttrs, which requires the name to be a string, and takes the names directly from the input list
el_putin has joined #nixos
<sphalerite>
Never mind me then
<dhess>
so: this is why I want to take the list of 'paths' that you pass to the buildEnv, and turn that into an attrset. Then I can use all of the regular release-lib.nix stuff on it
<dhess>
and to make the buildEnv visible to nix-env, I can just pass it the list
<dhess>
LnL: I don't think so. I just want the low-level stuff, not all of the jobs that release.nix defines
garbas has quit [Ping timeout: 268 seconds]
<dhess>
LnL: to clarify, I'm just trying to build the subset of stuff I need for my environment, not all of nixpkgs
<dhess>
LnL: you are doing something similar with your nixpkgs-python, where you use the .toplevel attribute to whittle it down to just what you want to build
<dhess>
LnL: but the .toplevel thing doesn't play well with the way I'm importing into the overlay
<dhess>
Dezgeg: you mean the buildEnv? I was thinking that as well
jrolfs__ has quit [Ping timeout: 240 seconds]
<dhess>
it has a meta attribute, but it only uses it for a few things
<dhess>
I guess the meta.platforms will pass through?
Itkovian_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrolfs has quit [Ping timeout: 260 seconds]
<dhess>
I can try it, let me see
<dhess>
Dezgeg: ho ho! Yes!
<dhess>
that appears to be working
<dhess>
yeahhhhhhh!
<dhess>
Dezgeg: nice catch! I had thought of that before and then forgot to try it.
<dhess>
that is so awesome
jrolfs has joined #nixos
jrolfs__ has joined #nixos
<dhess>
it might also fix the remaining objections to removing myEnvFun?
<LnL>
oh, yeah hydra uses meta.platfors or ["x86_64-linux"]
<dhess>
LnL: yeah I suppose that is why it evaluates to {} in my case, because I currently only have "x86_64-darwin" in supportedSystems
<pie__>
"In 2010, progress on FatELF had stopped, and developer Ryan Gordon declared FatELF to be dead.[7] Later Gordon said he would take up the project again if a distribution shows interest.[8]" :C
<LnL>
exactly, didn't notice that
<dhess>
damn Dezgeg you just saved me a ton of work
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #33499: release-small: remove dead attribute aterm25, removed early 2016 (master...fix/aterm25-doesnt-exist) https://git.io/vNTTr
NixOS_GitHub has left #nixos [#nixos]
FareTower has quit [Ping timeout: 248 seconds]
macslayer has joined #nixos
<dhess>
wow with this I can even use one set of overlays for both NixOS and Mac.
orivej has quit [Quit: No Ping reply in 180 seconds.]
jb55 has quit [Ping timeout: 248 seconds]
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #33500: gcc-wrapper-old: grab name of dynamicLinker for bintools (master...fix/gcc-wrapper-old-dynamiclinker) https://git.io/vNTk7
<lejonet>
Hmm, is there any builtin way similar to builtin.concatLists for attribute sets? // might work or?
asuryawanshi has joined #nixos
<lejonet>
Seems like I answered my own question in nix-repl, // seems to be the way
<dhess>
yeah // is join
pie_ has joined #nixos
<lejonet>
is it posible to do { if someVar == true then // otherAttr; } then?
<dhess>
I don't know what you mean
srk has joined #nixos
<lejonet>
basically, conditionally join an attribute set to another attribute set
asuryawanshi has quit [Ping timeout: 240 seconds]
<dhess>
oh
<LnL>
{} // lib.optionalAttrs true { foo = 42; }
<lejonet>
aaah, big thanks
<lejonet>
I'm trying to create a attr set that will be turned into a INI style conf, and ofc many of the sections are optional
<lejonet>
so don't want to create empty sections if config options for that sections haven't been set
justanotheruser has joined #nixos
danl1240 has joined #nixos
ebzzry has joined #nixos
<lejonet>
Can I chain that further? e.g. {} // lib.optionalAttrs expr attrSet // lib.optionalAttrs otherExpr otherAttrSet etc etc?
<lejonet>
I guess lib.optionalAttrs evaluates to {} if expr is false so logically it should be possible
<LnL>
yeah, it's just if cond then attrs else {}
<lejonet>
Sweet, that will simplify a lot
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #33501: tcpdump: fix eval if no kernelMajor specified, assume compat (master...fix/tcpdump-kernelMajor) https://git.io/vNTLA
NixOS_GitHub has left #nixos [#nixos]
dan_b has quit [Ping timeout: 252 seconds]
<Lisanna>
is there a reason why there isn't a types.url or types.uri in nixpkgs lib? Seems like there's lots of NixOS config options which take the form of URLs. Is it just that no one has made it yet?
<dhess>
Lisanna: that would be very useful indeed
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] acowley opened pull request #33502: opencv3: fix enableFfmpeg on darwin (master...opencv-darwin-ffmpeg) https://git.io/vNTtT
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vNTtc
<erlandsona>
How do I change the video driver on NixOS from nouveau to nvidia? I've got an Acer Predator g9-792 with an nvidia GeForce 970m and I should be able to output 4k@60hz but I'm only able to get 4k@30hz with nouveau drivers.
phreedom has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc closed pull request #33499: release-small: remove dead attribute aterm25, removed early 2016 (master...fix/aterm25-doesnt-exist) https://git.io/vNTTr
<NixOS_GitHub>
nixpkgs/master bcf7218 José Romildo Malaquias: adapta-backgrounds: 0.5.1.1 -> 0.5.2.3
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vNTm1
MK_FG is now known as mk-fg
dvim_ is now known as dvim
<joepie91>
then rebuild, reboot (possibly only relogin)
Gohla has joined #nixos
jrolfs__ has quit [Ping timeout: 260 seconds]
clever has joined #nixos
clever has quit [Changing host]
clever has joined #nixos
jrolfs has quit [Ping timeout: 248 seconds]
<erlandsona>
joepie91: Awesome! Thanks a ton. Now time to rebuild the kernel again. ugh... it's only cause I'm using Musnix but I need that for Music Production stuff so what am I gonna do :shrug:
<joepie91>
erlandsona: seems you can set ["nvidia" "nouveau]
<joepie91>
oops
<joepie91>
erlandsona: seems you can set ["nvidia" "nouveau"] to make sure that it will boot even if the proprietary drivers fail for some reason *
<erlandsona>
joepie91: lol I'm dumb. RTFM eh? Yeh musnix works pretty well save for you have to rebuild the kernel anytime you want to make a system change because musnix forces the kernel to rebuild so it can apply the correct patches. It's super annoying.
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
jrolfs__ has joined #nixos
jrolfs has joined #nixos
<joepie91>
erlandsona: well hey, I didn't RTFM either, so :P
<yegortimoshenko>
erlandsona: real-time patch is important for music production
jrolfs__ has quit [Ping timeout: 248 seconds]
<yegortimoshenko>
perhaps we could have rt-patched kernel in nixpkgs
jrolfs has quit [Ping timeout: 255 seconds]
<yegortimoshenko>
erlandsona: here is a talk from real-time patchset creator, it explains rather well what is it about and why it's a good idea for music: https://www.youtube.com/watch?v=wAX3jOHHhn0
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<yegortimoshenko>
(given that output is also "real-time" and non-buffering like jack, it would not make much sense to use rt patch w/ pulseaudio)
rogue_koder has quit [Read error: Connection reset by peer]
rogue_koder has joined #nixos
danl1240 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ryantrinkle has quit [Ping timeout: 264 seconds]
pkill9 has quit [Ping timeout: 248 seconds]
<erlandsona>
yegortimoshenko: That's awesome thanks! And yeh the rt kernel should definitely built with nxpkgs. It literally takes 2-hours on my machine.
marusich has quit [Quit: Leaving]
b has joined #nixos
notdaniel has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
mrkgnao has quit [Ping timeout: 240 seconds]
<erlandsona>
anyone here know why the 4.14.6-rt7 kernel is failing to compile? It's erroring with: error: unused option: CIFS_SMB2...
<yegortimoshenko>
erlandsona: could you try updated kernel (4.14.8-rt9)? if you import musnix via `imports = [ <musnix> ];`, you can just run `sudo nixos-rebuild -I musnix=https://github.com/magnetophon/musnix/archive/7c08543bfee807ad3e9a1c62cfb1660b3143cf80.tar.gz switch`
<yegortimoshenko>
by the way, musnix README doesn't have that advice, but it would be easier to update musnix if one would have it as a nix-channel, i.e. `sudo nix-channel --add https://github.com/musnix/musnix/archive/master.tar.gz musnix`, `sudo nix-channel --update musnix`, and just use `<musnix>` instead of literal path in `imports`
<yegortimoshenko>
s/if one would have/if one had/
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vNTOj
<NixOS_GitHub>
nixpkgs/master b95cdd4 Ben Gamari: gitlab: Rename jws_private_key to openid_connect_signing_key...
<erlandsona>
yegortimoshenko: good call trying now... and please make an issue about the import. I agree and it was super confusing at first and they're pretty on top of responding quickly (1day or two) to issues.
MP2E has quit [Remote host closed the connection]
<yegortimoshenko>
i'll make a pull request with updated README, and will try to merge rt kernel into nixpkgs. i'm also interested in that and 2h build time is not ok.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master b2598d5 Izorkin: mariadb: disabling mysql-test and sql-bench directories
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to master: https://git.io/vNT3J
<Aleksejs>
can anyone help me with installing material-icons fonts? I have "fonts.fonts = with pkgs; [material-icons]" in my .nix file but when I try to rebuild, I see an error undefined variable material-icons
<erlandsona>
yegortimoshenko: You'd literally be my hero feel free to email me or add me to the watch list of the issue when that get's merged in. That would be amazing!
{^_^} has quit [Excess Flood]
{^_^} has joined #nixos
<erlandsona>
yegortimoshenko: in other news here's about ~180 lines of output from the latest kernel rebuild I tried and failed with the same error as before. http://nixpaste.lbr.uno/BR2wN2SA
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 0ee70af David McFarland: transgui: fix crash at startup with file argument
<tilpner>
Aleksejs - While you should upgrade your system, you can also mix channel and pull them in from 17.09 while keeping your base system on 17.03
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
<yegortimoshenko>
erlandsona: i've made a rudimentary patch, could you test: sudo nixos-rebuild -I musnix=https://github.com/yegortimoshenko/musnix/archive/CIFS_SMB2.tar.gz switch
asuryawanshi has quit [Ping timeout: 260 seconds]
<erlandsona>
running now
<erlandsona>
yegortimoshenko: Nope same issue :shrug:
<erlandsona>
Well I guess that makes sense given I'm building on Linux erlandsona 4.9.33-rt23 #1-NixOS SMP PREEMPT RT Sat Jun 17 04:43:47 UTC 2017 x86_64 GNU/Linux
<yegortimoshenko>
erlandsona: i think i've updated the wrong config in my patch, i've pushed a fix
<erlandsona>
same command?
<yegortimoshenko>
could you try that again?
<yegortimoshenko>
yes
<erlandsona>
Yeh running now
<erlandsona>
Same
<erlandsona>
yegortimoshenko: for reference here's the latest output just the last 20 or so lines though. http://nixpaste.lbr.uno/JKLlwMYu
<erlandsona>
yegortimoshenko: maybe if I could just bump the minor version of the kernel by a couple would that help?
<yegortimoshenko>
erlandsona: it won't. i am setting up system profile that includes musnix (mine clashes quite a bit) and hopefully i'll be able to pinpoint why that happens and resolve it, in an hour or so.
<yegortimoshenko>
musnix unfortunately doesn't expose kernels as packages
<yegortimoshenko>
so can't just build without changing system profile
<erlandsona>
yegortimoshenko: man who are you, where did you come from, and where have you been all my life!
<erlandsona>
me: humble web developer, yegortimoshenko: power user. lol
cyraxjoe has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<yegortimoshenko>
erlandsona: oh, i think you should have a really old system in that case! could you then try: nix-instantiate --eval -E "with import <nixpkgs> {}; lib.nixpkgsVersion"
marusich has quit [Ping timeout: 264 seconds]
<erlandsona>
I'm on 17.03
<erlandsona>
"17.03.1504.94941cb045"
<erlandsona>
to be precise
marusich has joined #nixos
asuryawanshi has quit [Ping timeout: 248 seconds]
<erlandsona>
yegortimoshenko: do I just need to nix-env -i nix-info?
pie_ has quit [Ping timeout: 248 seconds]
infinisil has quit [Quit: ZNC 1.6.5 - http://znc.in]
<erlandsona>
Or should I update my channel to 17.09?
infinisil has joined #nixos
<yegortimoshenko>
It explains everything
<tilpner>
You could try nix-shell -I nixpkgs=https://nixos.org/channels/nixos-17.09/nixexprs.tar.xz -p nix-info --run nix-info
<yegortimoshenko>
tilpner: i don't need nix-info anymore :-)
<yegortimoshenko>
I can backport fix to 17.03, no problem, but it will cause some rebuilds and I'd be more comfortable asking permission from other members first
<yegortimoshenko>
but 17.03 is significantly pre-4.14 and is not actively supported anymore (no updates since november) so it makes sense that it doesn't build 4.14.
<tilpner>
Hmm, should nix-info use stdenvNoCC?
<tilpner>
It feels wrong to pull in gcc for that
<yegortimoshenko>
it doesn't matter unless all other small packages also use stdenvNoCC
marusich has quit [Ping timeout: 265 seconds]
<tilpner>
True. I only noticed because I didn't have nixos-17.09 gcc
<yegortimoshenko>
erlandsona: specifically, the cause of the issue here:
<erlandsona>
lol, y'all are both way over my head at this point. That said, I'm happy to upgrade my channel to 17.09. I just hda trouble upgrading to unstable last I tried. And between then and now 17.09 came out. :shrug:
<yegortimoshenko>
then, that would fix everything!
<erlandsona>
Ah yup that makes sense to me!
<erlandsona>
Sorry I'm lame and haven't upgraded yet.
<yegortimoshenko>
i.e. Linux kernels starting from 4.13 don't have CIFS_SMB2 option, and Linux build system is aggressive to unknown options, which caused build to fail
<erlandsona>
yegortimoshenko: that makes perfect sense. Okay so here's a different but slightly related question...
<yegortimoshenko>
erlandsona: it's ok! i should learn to ask for nixos version first :-) it's not the first time i've tried to fix something that has already been fixed in a newer NixOS version.
<yegortimoshenko>
sure!
<erlandsona>
yegortimoshenko: what's the difference between the channels 17.09 & 17.09-small I get that there's significant package differences between eg: 17.03 and 17.09 but what are they between the regular and small versions?
<erlandsona>
Or is there a changelog somewhere I could check out?
qqqqqqqqq has quit [Quit: WeeChat 1.7.1]
<yegortimoshenko>
erlandsona: you shouldn't get 17.09-small unless you're on a server, it sometimes makes sense for servers to use -small channel in order to get vulnerability updates quicker, but it skips a lot of desktop tests
jb55 has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] alunduil opened pull request #33508: add alunduil as maintainer of network-arbitrary (master...add-network-arbitrary-maintainer) https://git.io/vNTZJ
NixOS_GitHub has left #nixos [#nixos]
<erlandsona>
So is it more of a stability thing than a size thing?
<yegortimoshenko>
small is updated slightly more often but skips graphical tests, and doesn't wait for graphical packages (say, chromium) to build before it advances
<yegortimoshenko>
i.e. small meaning only builds a few packages, and skips a lot of tests
schoppenhauer has quit [Ping timeout: 256 seconds]
schoppenhauer has joined #nixos
jb55 has joined #nixos
notdaniel has quit [Quit: Leaving]
<erlandsona>
hmmm... interesting. Awesome thanks!
MP2E has quit [Remote host closed the connection]
jrolfs__ has joined #nixos
jrolfs has joined #nixos
asuryawanshi has joined #nixos
mekeor has quit [Ping timeout: 255 seconds]
<samueldr>
gchristensen: looks like the stickermule marketplace is... gone? do you have any information about that?
x1n4u has quit [Ping timeout: 276 seconds]
x1n4u has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
jrolfs__ has quit [Ping timeout: 264 seconds]
johnw_ is now known as johnw
johnw has quit [Changing host]
johnw has joined #nixos
<jtojnar>
orivej_: do you have any idea why the cross-env changes broke the gettext setup hook?
asuryawanshi has quit [Remote host closed the connection]
orivej_ has quit [Ping timeout: 240 seconds]
ertes has joined #nixos
<yegortimoshenko>
samueldr: same here, i wanted to buy a few stickers incl. NixOS logo :-(
<yegortimoshenko>
perhaps url has changed
<samueldr>
nah :(
<samueldr>
I e-mailed their support, it's closed
<yegortimoshenko>
samueldr: i still have stickers in my cart!
<samueldr>
I *do* have the stickers in my cart
<yegortimoshenko>
...
<samueldr>
I'm not special :(
<samueldr>
:)
<yegortimoshenko>
i'll order and hope it gets through
<samueldr>
it probably will
<samueldr>
their response was this: "Thanks for your continued support! We decided to close the marketplace to focus on improving our core experience of ordering custom products.
<hyper_ch>
makefu, let me know when you're awake
<samueldr>
from an outsider's perspective, it looked like their marketplace sticker orders weren't treated differently than the bigger orders, though I may just as well be wrong
<yegortimoshenko>
i've placed an order... but i'm worried about it
<yegortimoshenko>
there are a few stickers (NixOS, Org mode) not sold anywhere else
<samueldr>
yeah, that's what it felt like
<yegortimoshenko>
thank you a lot, i feel very lucky that i noticed your message
asuryawanshi has joined #nixos
Myrl-saki has joined #nixos
* hyper_ch
still fails to comprehend why people are so obsessed with stickers
<Li[m]>
is there a way to cleanly garbage collect a specific closure?
<samueldr>
nix-store --delete ?
<Li[m]>
ahah! thanks
<samueldr>
check the manpage, though
b has quit [Quit: Lost terminal]
asuryawanshi has quit [Ping timeout: 265 seconds]
<Li[m]>
I was almost there in the nix manual
<Li[m]>
:P
<Li[m]>
is anyone using 'heads' with nixos?
<samueldr>
what's "heads"?
orivej has joined #nixos
<samueldr>
(I've done a quick google search of "heads linux software" and am seeing different projects)
<NixOS_GitHub>
[nixpkgs] veprbl opened pull request #33511: fontconfig: fix postPatch phase for building on GPFS (staging...fontconfig_fix2) https://git.io/vNTlE
NixOS_GitHub has left #nixos [#nixos]
orivej has quit [Ping timeout: 248 seconds]
rogue_koder has quit [Read error: Connection reset by peer]
pie_ has quit [Ping timeout: 260 seconds]
mizu_no_oto has joined #nixos
cinimod has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 443687c Victor Calvert: wordgrinder: 0.6 -> 0.7.1
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master acb363f adisbladis: Merge pull request #33507 from calvertvl/upd_wordgrinder-0.7.1...
<NixOS_GitHub>
[nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNTlD
jrolfs has joined #nixos
jrolfs__ has joined #nixos
orivej has joined #nixos
drp has quit [Quit: Leaving]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] adisbladis opened pull request #33512: wordgrinder: Fix darwin build (master...wordgrinder-darwin) https://git.io/vNT8J
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] veprbl closed pull request #33511: fontconfig: fix postPatch phase for building on GPFS (staging...fontconfig_fix2) https://git.io/vNTlE
NixOS_GitHub has left #nixos [#nixos]
hellrazo2 has quit [Ping timeout: 265 seconds]
jrolfs__ has quit [Ping timeout: 248 seconds]
jrolfs has quit [Ping timeout: 256 seconds]
hellrazo2 has joined #nixos
<orivej>
techtangents[m]: maybe patchelf produces incorrect elf. try to solve this with --set-rpath instead of --replace-needed
<techtangents[m]>
orivej: thanks. Yeah, I'm getting better results with --set-rpath.
pkill9 has joined #nixos
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
ambro718 has quit [Remote host closed the connection]
dywedir has quit [Ping timeout: 248 seconds]
ambro718 has joined #nixos
<joko>
Hello, could anyone enlighten me on how to use objcopy on a package I am writing? The binutils pkg points to binutils-wrapped which no longer has objcopy
orivej has quit [Read error: Connection reset by peer]
guix2nix` has quit [Remote host closed the connection]
brodul has joined #nixos
ma27 has quit [Quit: WeeChat 2.0]
bigvalen has joined #nixos
ma27 has joined #nixos
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dywedir opened pull request #33514: carnix: 0.5.0 -> 0.5.2 (master...carnix) https://git.io/vNTRa
<etu>
I also use it to apply temporary patches that aren't in the channel yet :p
<Fare>
OK, the build works with facetimehd disabled... rebooting with a 30% slower post-meltdown computer...
<srhb>
It's not that bad, usually. :-P
<srhb>
My worst so far have been IO heavy database machines.
justanotheruser has quit [Quit: WeeChat 1.9.1]
<Fare>
srhb: if you run other people code there you deserve to lose anyway
<Fare>
but yeah, lack of isolation means no defense in depth
Fare has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 240 seconds]
ericsagnes has joined #nixos
Fannar has joined #nixos
Myrl-saki has joined #nixos
bpa has joined #nixos
<hoverbear>
I'm having some trouble starting `qt5ct` after setting `programs.qt5ct.enable = true;`. It suggests that the application failed to start because it could not find or load the Qt plugin "".
Fare has joined #nixos
<mgttlinger>
I'm trying to write a derivation for a deb packaged binaryaccording to this guide https://nixos.wiki/wiki/Packaging_Binaries however if I set the unpackCmd to the given ar pipeline nix complains that this creates multiple directories. If I set unpackPhase to just run that command it seems to work as intended. Is that an error in the guide or does setting the complete unpackPhase have horrible implications?
<Fare>
what if some issue caused some nix package to be built improperly? How do I force nix to delete that directory and rebuild it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 opened pull request #33517: mariadb: fix darwin build (master...darwin-mariadb) https://git.io/vNTEE
NixOS_GitHub has left #nixos [#nixos]
<Fare>
the indexes in my kernel-modules are full of 0
<Fare>
I suspect a mmc driver issue caused that
<Fare>
but now... how do I revert that thing?
<srhb>
Fare: If you really want to just try a rebuild you can use --check with nix-build
<srhb>
Oh, or is it with.. Erm..
<srhb>
It's with nix-store
<Fare>
yup, something is corrupted in nix-store
jluttine has quit [Quit: WeeChat 1.9.1]
<srhb>
So, find the nix store path you're interested in rebuilding
<Fare>
I workaround: nix-collect-garbage then rebuild
<srhb>
Find its derivation with nix-store -qd
<srhb>
Rebuild that with nix-store --realise --check
<srhb>
Or that :-)
Fare has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 5ab4aeb Peter Simons: Merge pull request #33508 from alunduil/add-network-arbitrary-maintainer...
<NixOS_GitHub>
nixpkgs/master b7d216e Alex Brandt: add alunduil as maintainer of network-arbitrary
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vNTEb
NixOS_GitHub has left #nixos [#nixos]
coot has quit [Quit: coot]
<bpa>
hello, I have an optimus enabled laptop with bumblebee enabled. I use Steam client to play games. The problem is that in Steam if i set launch options: primusrun %command% the game will not start anymore. I can't figure why...
<srhb>
bpa: Probably because primusrun is not in scope in your Steam
<srhb>
This is not terribly well documented
<srhb>
You will want to create/override a steam derivation to enable primus
<srhb>
bpa: Have you used overlays?
jrolfs__ has joined #nixos
Fare has joined #nixos
<bpa>
i have never used overlays, but i seriosly want to solve this
<srhb>
Okay, you'll want something like this
<Fare>
Apparently, it's a failure upstream.
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vNTuT
<NixOS_GitHub>
nixpkgs/master 5d56434 Michael Alan Dorman: hindent: needs new haskell-src-exts
<NixOS_GitHub>
nixpkgs/master 3bf1c3f Peter Simons: hackage-packages.nix: automatic Haskell package set update...
NixOS_GitHub has left #nixos [#nixos]
<Fare>
nix-store --repair-path /nix/store/rdqlp9faf8bh8lqa1ih78nshwnn5h16h-kernel-modules fetching path ‘/nix/store/rdqlp9faf8bh8lqa1ih78nshwnn5h16h-kernel-modules’... *** Downloading ‘https://cache.nixos.org/nar/1nv4vvf4r2gfmwdzj4jc0lsvxlhsyg2swr41cypr8ns9w8xh4a04.nar.xz’ (signed by ‘cache.nixos.org-1’) to ‘/nix/store/rdqlp9faf8bh8lqa1ih78nshwnn5h16h-kernel-modules’...
<Fare>
how do I triple check that indeed the .nar is having the lib/modules/4.9.75/ index files all full of 0 ?
<Fare>
this worries me, this upstream corruption
<Fare>
what else is broken or tampered with upstream?
<srhb>
Fare: Do you mean how do you unpack it?
<Fare>
or is the software recipe bitrotten?
<Fare>
are these 0s meant to be there?
<Fare>
srhb, yes, how do I unpack the nar in a directory for inspection?
<bpa>
do I insert this line in configuration.nix ?
<srhb>
bpa: Yeah
<bpa>
will try this
<srhb>
bpa: Actually you might want to call it mySteam or something
<srhb>
bpa: Then that's the mySteam you want to install in systemPackages.
Fare has quit [Ping timeout: 264 seconds]
astrofog has quit [Quit: Quite]
ssmike has quit [Ping timeout: 240 seconds]
Fannar has quit [Quit: leaving]
pie_ has joined #nixos
<srhb>
Fare: I think it should be sufficient to just nix-store --realize the store path of the nar file
orivej has joined #nixos
<srhb>
Fare: What are the index files you're mentioning?
<srhb>
Fare: For the record, realizing /nix/store/rdqlp9faf8bh8lqa1ih78nshwnn5h16h-kernel-modules does not produce any files that look suspect to me.
<srhb>
(Which may mean your issue is worse)
brachiel has joined #nixos
bpa has quit [Quit: Leaving]
bpa has joined #nixos
dbe_ has joined #nixos
pjan_ has joined #nixos
blym has joined #nixos
asuryawanshi has joined #nixos
jrolfs__ has quit [Ping timeout: 265 seconds]
vidbina has joined #nixos
jrolfs has quit [Ping timeout: 256 seconds]
pie_ has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] schneefux opened pull request #33518: wallabag: fix config file not being loaded from WALLABAG_DATA (master...pkg.wallabag) https://git.io/vNTzG
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has quit [Ping timeout: 264 seconds]
ebzzry has quit [Ping timeout: 248 seconds]
ebzzry has joined #nixos
nico202 has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<nico202>
anybody has problem getting org/org-plus-contrib from the unstable channel?
<srhb>
nico202: I think the link was taken down the other day. Once unstable updates it should be fine.
<srhb>
nico202: I can't find that org-plus-contrib thing. Where are you getting it from?
<nico202>
srhb: epkgs.org-plus-contrib in home manager
onito[m] has quit [Quit: idle on matrix for more than 30 days]
<srhb>
I see
<dbe_>
In a package derivation, how can I refer to a file within another package in configureFlags? i.e. configureFlags = '' --with-foo=$bar/bin/executable ''
<srhb>
${bar}/bin/executable
trevorriles[m] has quit [Quit: idle on matrix for more than 30 days]
<dbe_>
oh. well, that was easy...
<srhb>
:)
sirius[m] has quit [Quit: idle on matrix for more than 30 days]
<dbe_>
somehow, that's a recurring theme with me and nix
dshin has quit [Ping timeout: 240 seconds]
<srhb>
Yeah, it's... I think the jump from configuration language to programming language is sort of jarring.
<srhb>
But then it gets really powerful ^^
dshin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] yegortimoshenko pushed 1 new commit to release-17.03: https://git.io/vNTgt
<NixOS_GitHub>
nixpkgs/release-17.03 78e9665 Yegor Timoshenko: kernel/common-config: backport 4.13+ support
NixOS_GitHub has left #nixos [#nixos]
aminech[m] has quit [Quit: idle on matrix for more than 30 days]
tommyangelo[m] has quit [Quit: idle on matrix for more than 30 days]
johnwhitlow[m] has quit [Quit: idle on matrix for more than 30 days]
Sovereign_Bleak has quit [Quit: idle on matrix for more than 30 days]
MawKKe[m] has quit [Quit: idle on matrix for more than 30 days]
viaken[m] has quit [Quit: idle on matrix for more than 30 days]
truh has joined #nixos
unlmtd has quit [Quit: idle on matrix for more than 30 days]
JameySharp[m] has quit [Quit: idle on matrix for more than 30 days]
hamishmack has joined #nixos
Phyra[m] has quit [Quit: idle on matrix for more than 30 days]
zzamboni has joined #nixos
a123123123[m] has quit [Quit: idle on matrix for more than 30 days]
swayf has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
Neo-- has joined #nixos
thematter[m] has quit [Quit: idle on matrix for more than 30 days]
lecorpsnoir[m] has quit [Quit: idle on matrix for more than 30 days]
Johnny44[m] has quit [Quit: idle on matrix for more than 30 days]
zigschots20[m] has quit [Quit: idle on matrix for more than 30 days]
iyzsong has joined #nixos
Geeky[m] has quit [Quit: idle on matrix for more than 30 days]
FRidh[m] has quit [Quit: idle on matrix for more than 30 days]
brachiel is now known as wchresta_
Neo-- has quit [Ping timeout: 246 seconds]
<wchresta_>
yegortimoshenko: Hey, wanted to say thanks for the very pleasant experience writing my first pull request (the steam wrapper). Thank you for your patience and the general welcoming attitute of everyone involved.
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
krawiec[m] has quit [Quit: idle on matrix for more than 30 days]
apocolocyntos[m] has quit [Quit: idle on matrix for more than 30 days]
<yegortimoshenko>
wchresta_: thank you for your work! ^_^ and sorry for not escaping backticks!
srdqty has quit [Quit: WeeChat 1.9.1]
<wchresta_>
yegortimoshenko: I should have noticed :). I was super puzzled by the assert error. After waking up the next morning, figured it out in 2 minutes ^
Ivanych has joined #nixos
jyp[m] has quit [Quit: idle on matrix for more than 30 days]
StuK[m] has quit [Quit: idle on matrix for more than 30 days]
zzamboni has quit [Ping timeout: 265 seconds]
jlle[m] has quit [Quit: idle on matrix for more than 30 days]
johanherman[m] has quit [Quit: idle on matrix for more than 30 days]
AndersonTorres[m has quit [Quit: idle on matrix for more than 30 days]
dylanjust[m] has quit [Quit: idle on matrix for more than 30 days]
nico202 has quit [Ping timeout: 240 seconds]
guest521[m] has quit [Quit: idle on matrix for more than 30 days]
berot3[m] has quit [Quit: idle on matrix for more than 30 days]
sk23[m] has quit [Quit: idle on matrix for more than 30 days]
stasku has quit [Quit: Connection closed for inactivity]
Myrl-saki has quit [Ping timeout: 240 seconds]
Myrl-saki has joined #nixos
mtncoder[m] has quit [Quit: idle on matrix for more than 30 days]
b has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
thomad[m] has quit [Quit: idle on matrix for more than 30 days]
<srhb>
Li[m]: Of course, NixOS also throws FHS out the window
<Li[m]>
which is fine by me
<srhb>
But /run is mentioned there at least.
<Li[m]>
I like the suckless FHS ... they have a `/sucks`
<Li[m]>
for basically almost everything
<srhb>
:P
<AntonLatukha[m]>
Li: "In FHS 3.0, /var/run is replaced by /run; a system should either continue to provide a /var/run directory, or provide a symbolic link from /var/run to /run, for backwards compatibility.[11]"
<Li[m]>
ahh there we go
Myrl-saki has quit [Ping timeout: 276 seconds]
<AntonLatukha[m]>
Li: '/run' This is one of the recent changes to filesystem structure. That is why it is impossible to exist in Unix, and Linux is awesome.
<Li[m]>
I think the word is used in different wys
<Li[m]>
I see where youre coming from
<Li[m]>
maybe I start a new root dir, called `/sec`
jrolfs has joined #nixos
jrolfs__ has joined #nixos
Ivanych has joined #nixos
sigmundv__ has joined #nixos
Myrl-saki has joined #nixos
<Li[m]>
'tscd' TPM daemon uses /var
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl closed pull request #33443: ocaml-modules/dtoa: disable hardening (strictoverflow) on darwin (master...dtoa-disable-hardening) https://git.io/vNJep
NixOS_GitHub has left #nixos [#nixos]
<yegortimoshenko>
Li[m]: all NixOS systems have /run/keys dir, but it's ephemeral
<Li[m]>
for those 'easy deploy once' use cases. I get it. makes sense
ison111 has quit [Ping timeout: 256 seconds]
<yegortimoshenko>
the idea is that only users that have access to keys can reboot the server, and that the server would never have to be rebooted by itself.
bpa has quit [Quit: Leaving]
<yegortimoshenko>
in nixops, you can specify to store /run/keys, it probably copies them over to /var before reboot
<yegortimoshenko>
srhb: they are evaluated early on, i think before configure, and supposed to fill in environment variables for build
ma27 has quit [Ping timeout: 252 seconds]
vidbina has quit [Ping timeout: 265 seconds]
abcrawf has quit [Remote host closed the connection]
<srhb>
It seems to me addEnvHook is used to "make available" a hook for other builds, but I'm not sure to get at them.
abcrawf has joined #nixos
blym has quit [Read error: Connection reset by peer]
<Orbstheorem>
Hi, I was wondering if there's any way to run nixos-rebuild build-vm-with-bootloader using a loop device with real partitions, uuids and luks
<Orbstheorem>
Mainly because I would like to test my server initramfs config for unlocking the root partition via ssh
<jtojnar>
and when Sonarpulse merged the PR, he did not check for new hooks
peacememories has joined #nixos
<srhb>
Are you poking it or should I?
<jtojnar>
it would be great if you could do it
<srhb>
OK, it's a completely naive fix, but we'll see.
<Orbstheorem>
I'm haing a problem when I run nixos-rebuild build-vm-with-bootloader, build works just fine when I nixos-rebuild build-vm :( . Logs: https://paste.gnugen.ch/raw/dkfJ
<Orbstheorem>
How can I debug the issue?
<Orbstheorem>
nor --show-trace -v seem very helpful
<jtojnar>
srhb: yeah I think `addEnvHooks "$hostOffset" gettextDataDirsHook` should be enough
<srhb>
Right :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] srhb opened pull request #33524: gettext: Don't use envHooks anymore (master...gettext-addEnvHooks) https://git.io/vNTri
NixOS_GitHub has left #nixos [#nixos]
wchresta_ has quit [Remote host closed the connection]
jrolfs has joined #nixos
jrolfs__ has joined #nixos
<srhb>
gchristensen: Out of curiosity, which steps go before gcofborg starting to look into a PR? I notice that sometimes it's instant, sometimes not. Is there a queue on this step?
<kim0>
I mean that kind of error, does not seem nix induced .. to me it just means there is a mistake in the actual source code, which doesn't make a lot of sense
magnetophon has quit [Remote host closed the connection]
<clever>
kim0: the error is caused by nix not providing a git executable, and the .git directory being missing
<kim0>
aha .. I saw some warning about git
<clever>
and the cmake files expect extra stuff to be added to the tarball when making a release
<clever>
stuff that is never included in the github
fendor has joined #nixos
<kim0>
clever: so just adding "git" to buildInputs .. should hopefully make it work ?
<clever>
nix removes the .git directory, so that wont help
alex`` has joined #nixos
alex`` has quit [Quit: WeeChat 1.9]
<kim0>
clever: so any ideas how to convince it to build from github ?
jrolfs__ has quit [Ping timeout: 246 seconds]
<clever>
compare a normal release tarball with the github source, to see what they added
jrolfs has quit [Ping timeout: 260 seconds]
Myrl-saki has quit [Ping timeout: 248 seconds]
alex`` has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vNTKZ
<NixOS_GitHub>
nixpkgs/master 7e8e582 Peter Hoeg: virtmanager-qt: 0.45.75 -> 0.48.79
NixOS_GitHub has left #nixos [#nixos]
chreekat has joined #nixos
jtojnar has quit [Ping timeout: 256 seconds]
simendsjo has quit [Ping timeout: 265 seconds]
<kim0>
clever: do you expect that those changes are injected in the tar.bz2 files manually .. ie. not checked into git ?
<clever>
kim0: yes
<kim0>
interesting
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to release-17.09: https://git.io/vNTKz
<jluttine[m]>
I have nixos already installed. I booted to some live usb os and modified my hard drives and changed hardware-configuration.nix accordingly. How can I now apply the changes to my nixos which i have mounted to /mnt ?
<lassulus>
nixos-install
<jluttine[m]>
I guess this wasn't a good approach..
nliadm has quit [Read error: Connection reset by peer]
<srhb>
jluttine[m]: Apparently nixos-install --chroot works again
<lassulus>
or maybe: nixos-install --chroot and then nixos-rebuild switch
<srhb>
jluttine[m]: So you can chroot into it and run nixos-rebuild switch
<srhb>
heh, too slow
jtojnar has joined #nixos
<srhb>
nixos-rebuild boot is probably more right
<kim0>
clever: it seems just adding git to deps, made it work :D Thanks
<jluttine[m]>
nixos-install doesn't seem to work because my live os isn't proper nixos installer
<kim0>
Hey does nix accept the concept of "-nightly" builds ? like unstable builds from git ?
<clever>
jluttine[m]: nixos-install also works from any nixos install
<srhb>
kim0: We have nixos-unstable which promotes master whenever a test set goes through
<kim0>
I only meant nixpkgs .. coz for now, I'm running that over Ubuntu .. till I'm more enlightened :)
<srhb>
kim0: There are also different channels that work on differing test sets. (nixos-unstable-small for instance)
<srhb>
kim0: Well, nixos-unstable *is* a nixpkgs channel, with a certain test set.
<jluttine[m]>
dunno, but nixos-install gives error: file nixpkgs was not found in the nix search path
<jtojnar>
there is nixpkgs-unstable too (with much less tests)
<kim0>
yeah .. I think I'm on that channel
<srhb>
kim0: That'll update very frequently.
<Li[m]>
go unstable or go home
<kim0>
so if I want to see a nightly monero build .. should I just send a pull-request for that ?
<srhb>
kim0: Once it's merged into master it will appear in the channels when their tests complete succesfully, yes.
<srhb>
kim0: The concept of "nightly" is meaningless, it's as soon as the tests pass. :)
<kim0>
so in the monero folder .. there is a "default.nix" .. I should add a "nightly.nix" or something like that ?
<srhb>
Nope
<srhb>
Every package is built (when needed)
<srhb>
Oh
<srhb>
I'm misunderstanding you
<srhb>
You want to expose some _different_ version of monero?
<clever>
nixos is 17.09, which is older, unstable is newer
<fendor>
well, now it works, thanks!
<fendor>
should i remove the nixos channel?
<clever>
depends on if you want to keep using the stable channel or not
<fendor>
clever, what would be the advantage?
<clever>
you can use the stable channel for most things, and then get just discord from unstable
bpa has joined #nixos
<macslayer>
The Discord developers really need to get their shit together and use `fontconfig`'s `sans-serif` and `monospace` fonts instead of hardcoding their own
<clever>
so other things wont become unstable
<jluttine[m]>
Argh, nothing works.. nixos-install starts downloading everything although it shouldn't as I have everything in /mnt/nix/store/... already. I tried giving -I and setting NIX_PATH to point to my used channel under /mnt/... but didn't help. Nix-install --chroot opens new shell nicely but I can't do any install or rebuild because I don't have anything under /run/user/...
<clever>
jluttine[m]: manually create the missing directory
<fendor>
clever, when i enter nix-channel --list without sudo, only the unstable channel is shown, only when sudo is included i see the nixos channel
<clever>
fendor: is nixos listed on both users, or only one?
XgpcX has joined #nixos
pie__ has joined #nixos
jrolfs has quit [Ping timeout: 248 seconds]
jrolfs__ has quit [Ping timeout: 248 seconds]
<fendor>
clever, nixos is only listed on root
<clever>
fendor: ah, then nixos will only update if root runs nix-channel --update
erlandsona has quit [Ping timeout: 260 seconds]
<fendor>
clever, should i add nixos to my users channels as well?
<clever>
no
<clever>
the user will automaticaly use the root channels
<srhb>
jluttine[m]: Hm, I didn't for zfs unlocking at least
<lassulus>
jluttine[m]: if its an usb keyboard, maybe adding usb to boot.initrd.availableKernelModules
<fendor>
ok, so, if i want to update my unstable channel, then nix-channel --update, when updating the stable channel, sudo nix-channel --update and then i can execute nix-env -u to update all programs installed by my user?
<clever>
fendor: and im not sure which channel `nix-env -u` will use
<jluttine[m]>
Keyboard works before luks prompt when choosing the nixos version to boot
<fendor>
clever, sounds like my setup is not the smartest one? what would be a smarter approach?
ssmike has joined #nixos
<clever>
fendor: using a set in config.nix to define all of your programs
<fendor>
clever, how would that be updated?
a6a3uh has joined #nixos
<clever>
fendor: nix-env -iA nixos.setname
<fendor>
still required nix-channel --update, wouldn't itß
<fendor>
?
<clever>
yeah
<fendor>
so no real difference to nix-env -u ?
<clever>
nix-channel is required to update the expressions
<clever>
nix-env is then required to install the new versions
<clever>
but `nix-env -u` wont always pick the right channel to read them from
<fendor>
it doesnt? it is not aware of which channel it has been initially installed by?
<clever>
all it knows is the names of the packages
<fendor>
huh
<fendor>
so, to install a package, update both channels, such as unstable and nixos as root and local user respectively, add package to file and then evaluate the nix-expr via nix-env -iA?
<clever>
yeah
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] ajgrf opened pull request #33525: mblaze: init at 0.2 (master...mblaze-init) https://git.io/vNTPP
NixOS_GitHub has left #nixos [#nixos]
<fendor>
that sounds like a ridiculous amount of work for installing a new package
<clever>
for just installing it, all you need is nix-env -iA unstable.discord
<clever>
all the other stuf, is just to make it simpler to manage things
<clever>
so 6 months down the road, when you want to update, you dont need ot do as much work
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vNTXM
<NixOS_GitHub>
nixpkgs/master b2d2b37 Peter Hoeg: lastpass-cli: 1.2.1 -> 1.2.2
NixOS_GitHub has left #nixos [#nixos]
klntsky has quit [Ping timeout: 272 seconds]
XgpcX_ has joined #nixos
<adisbladis>
This is not really related to nix at all.. But I just got myself an older macbook to test darwin builds on. Where can I download a recent OSX and make a bootable usb without using the app store?
klntsky has joined #nixos
<adisbladis>
LnL: Maybe you know?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vNT1f
<NixOS_GitHub>
nixpkgs/staging d756dee Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/master' into staging
NixOS_GitHub has left #nixos [#nixos]
<lejonet>
adisbladis: my condoleances ;)
<LnL>
you can't except for some shady websites
<LnL>
AFAIK
TonyTheLion has quit [Ping timeout: 260 seconds]
<Biappi>
adisbladis: you must use the appstore first to get an app with the base image, from there you can use a script to produce the usb media from the official source
XgpcX has quit [Ping timeout: 260 seconds]
<lejonet>
Mhm, Apple is religious with purging older than recent + 2 versions older, I think, OSXs from existence
<LnL>
yeah you can make a usb installer from the app store thing
<lejonet>
and now that they've gone over to app store there, you can't do anything without it :(
<adisbladis>
Ugh... It doesnt even have OSX on it
<adisbladis>
Its my sisters old laptop and she was using ubuntu
<lejonet>
Is it too old to have the "Recover from internet" option?
<lassulus>
jluttine[m]: what was the solution?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vNT1w
<NixOS_GitHub>
[nixpkgs] FRidh opened pull request #33528: wrapPythonPrograms: do not propagate disabling user site-packages to child-processes (staging...imp/pythonnousersite) https://git.io/vNTyV
<ertes>
what's the proper way to set a default GHC version? 8.2 breaks haskell-mode for me
<ertes>
i want to go back to 8.0
<LnL>
you can use haskell.packages.ghc** instead of haskellPackages
<ertes>
but then i have to use that explicitly for everything
<ertes>
there has to be a way to just make one of them default
user__ has joined #nixos
<clever>
make a packageOverride that just overwrites haskellPackages with the 8.0 set
<ertes>
do i just override haskellPackages to be haskell.packages.ghc802?
<clever>
yeah, that should work
phreedom has joined #nixos
phreedom has quit [Remote host closed the connection]
<ertes>
looks like it's working, but it seems to compile a lot from source now
<ertes>
just to make sure, do i use super.* or self.* here?
<LnL>
only packages for the default ghc are built
<ertes>
ah, makes sense
user__ has quit [Ping timeout: 276 seconds]
<ertes>
still… would i use 'super' or 'self' here? currently trying 'self', and it seems to work… at least i'm not getting any infinite loops, but i pretty much just flipped a coin
<clever>
ertes: in general, i use super, self is to fix the loops
<jluttine>
lassulus: for building on the live os, i did `nixos-install --chroot`, then found out where my nixpkgs was located and modified NIX_PATH, then ran `nixos-install --root /`. however, then boot failed because one kernel module was missing. i added that and then i was able to enter my luks passphrase.
<lassulus>
But what was the missing kernel module?
aarvar has quit [Ping timeout: 248 seconds]
jrolfs__ has quit [Ping timeout: 240 seconds]
kim0 has quit [Quit: Connection closed for inactivity]
jrolfs has quit [Ping timeout: 252 seconds]
klntsky has quit [Quit: WeeChat 2.0.1]
mekeor has quit [Quit: digital revolution = cryptoanarchism + cybercommunism]
<NixOS_GitHub>
[nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vNT9a
<NixOS_GitHub>
nixpkgs/master 5391489 Vincent Laporte: ocamlPackages.git: 1.11.2 -> 1.11.4 (#33472)
NixOS_GitHub has left #nixos [#nixos]
nico202 has joined #nixos
<nico202>
How do I escape a ${array[@]} in a bash script in a nix file?
<samueldr>
gchristensen: if you ever get asked this again, I found out that the price is the same if you do it yourself, except you're forced to order by 10s
<samueldr>
nico202: in multiline strings, prefix the dollar sign with two single quotes to escape
<samueldr>
''${array[@]}
Turion has quit [Ping timeout: 240 seconds]
<gchristensen>
samueldr: whats thath?
<samueldr>
sorry, for the stickers
<gchristensen>
ah
<nico202>
samueldr: wow, strange. But it works, thanks :)
<gchristensen>
fwiw I usually order a few hundred at a time and leave them places :)
<globin>
rnhmjoj[m]: ack, fpletz and me are on holiday till monday and have both been partly over the last 8 weeks, this is going to be in the top priorities for the next 2 weeks
jb55 has joined #nixos
<rnhmjoj[m]>
thank you!
<jluttine>
infinisil: ah, ok! thanks
ThatDocsLady has quit [Remote host closed the connection]
<NixOS_GitHub>
[nixpkgs] globin closed pull request #33481: apache-httpd: enable brotli support by default (master...topic-apache-brotli) https://git.io/vNUw5
NixOS_GitHub has left #nixos [#nixos]
ThatDocsLady has quit [Ping timeout: 255 seconds]
mekeor has joined #nixos
<macslayer>
I would like to personally thank all of the NixOS developers for this great OS.
<macslayer>
So, thanks!
<gchristensen>
macslayer: awesome to hear! we're glad you likee it!
<macslayer>
:D
mekeor has quit [Client Quit]
<macslayer>
Are there any studies done that show that NixOS has a lower hard disk usage than other traditional distributions? I have a full KDE environment, Firefox, an IRC client, and a bunch of libraries, and `/nix` is still only 3.8GB.
<macslayer>
That is, does `nix-store --optimise` make the disk usage equal to that of a traditional distribution, or does it make it less?
<gchristensen>
macslayer: in general, nixos will use more disk
<samueldr>
anecdotally, I've always used more, since I generally have at least one other generation to boot from
<infinisil>
oh right, generations, those can take up a lot of space (but it's worth it, you don't get that on other distros)
<macslayer>
hyper_ch: plasma_desktop and plasma_nm and okular
a6a3uh has joined #nixos
<macslayer>
samueldr: That doesn't count, because that's a feature that other distros won't have
<macslayer>
But theoretically, if one just keeps one generation, would it use more or less?
<samueldr>
my smaller SSD tends to disagree :)
<gchristensen>
macslayer: well for the resource disk space, NixOS generally uses more. is it worth it? yes, but is "low disk usage" a feature? no
<macslayer>
I'm not sure why it seems like less to me, maybe it's just because I'm more careful with which packages I install because I put them in a configuration file.
<hyper_ch>
your small SSD would enjoy a big brother :)
<infinisil>
gchristensen: hmm, are you sure it uses more if we only consider 1 generation? NixOS doesn't have many things installed by default, so it might be hard to say
<Ankhers>
gchristensen: pm?
<gchristensen>
Ankhers: yes
mekeor has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
<macslayer>
Hmmm, I guess my opinion is that it might use slightly more than a traditional distro with the same packages installed, but NixOS encourages the user to be smarter about what he/she installs.
<macslayer>
Not that it matters, I have plenty of disk space, just wondering for curiosity.
<gchristensen>
maybe it does :) who knows! I think we're indeed probably just a bit more minimalist out of the box
pxc has joined #nixos
<jekor>
Is there a known issue with remote builds (build-remote.pl) on High Sierra?
ison111 has joined #nixos
<macslayer>
Yeah, I think there might be too many variables; for example, some other distro could have some other development library installed by default, so it depends on if you use that or not.
<macslayer>
So it'd be really hard to test.
<clever>
jekor: what happens if you run "ssh user@host nix-store --help" with the user/host of the darwin machine
<jekor>
Outputs a manpage.
a6a3uh has quit [Quit: Bye]
<clever>
jekor: with that exact command?
<nikivi>
I recently watched a few talks about nix and nixOS
<nikivi>
And one thing that I was curious about is that homebrew which is a package manager for macOS was called `impure`
<nikivi>
What does that mean exactly?
<jekor>
Yes, both for myuser@localhost and remotebuilduser@remotehost.
<clever>
jekor: and are the remote machines setup in /etc/nix/machines ?
<gchristensen>
nikivi: have you ever used homebrew, upgraded macos, and found homebrew's packages broken?
<nikivi>
gchristensen Maybe once
<jekor>
They are in export NIX_REMOTE_SYSTEMS="$HOME/.nix/remote-systems.conf"
<clever>
jekor: nix-daemon doesnt get that variable
<gchristensen>
nikivi: or upgraded some piece of software which unexpectedly broke another program?
<clever>
jekor: try putting the config into /etc/nix/machines
<jekor>
Interestingly it also broke on the single-user Nix install I had after upgrade.
<nikivi>
So nix ties a program to specific versions of programs?
<nikivi>
And that makes it `pure`?
<macslayer>
nikivi: I find that for most cases, "impure" in reference to some computer system can usually be replaced with "poorly designed."
<macslayer>
Or, "not cleanly designed."
<nikivi>
I meant dependencies of the program
<infinisil>
Oh lol, I always thought my /nix was about 17GB, but it turns out the ZFS compress ration is factored in, which is 2.2x in my case, so /nix contains really 37G of data
<infinisil>
(while only using 17)
<gchristensen>
nikivi: Nix never uses host dependencies, it always builds with exactly precise dependencies every time, and will always refer to them from then on
<nikivi>
Wouldn't that carry a lot of weight?
<nikivi>
So many programs
<infinisil>
for zfs people: the logicalused property is what tells you the amount of data in a dataset
<nikivi>
Or I misunderstand things
<clever>
nikivi: if 2 programs use the exact same build, they will share that storepath, so there isnt a duplicate copy
<nikivi>
Makes you wonder then why homebrew doesn't do it already
<nikivi>
Seems like a smart thing for a package manager to do
<gchristensen>
nikivi: it is hard to do and this idea of how to manage package managers isn't very common
<gchristensen>
but yes,we do think it is smart
<gchristensen>
and worth the weight :)
<nikivi>
I assume nix has to be built in a functional language for this to work
<gchristensen>
no, nix is written in C++, though Nix the language is functional
<jmc_fr>
in emacs, `M-x org version' returns `8.2.10' -- I need org 9 -- I downloaded and copied org-9.1.6 in /home/jmc/.emacs.d/elpa/, but it does not help : how to override yhe default 8.2.10 ?
macslayer has quit [Ping timeout: 260 seconds]
<nikivi>
Anyone here uses nix on macOS?
<gchristensen>
many :) though a higher concentration in #nix-darwin
<jekor>
clever: I put "nix@dev x86_64-linux /Users/jekor/.ssh/nix-dev 2" into /etc/nix/machines. Is that the format that it's using still? Will it have a problem with the ssh key being in my home dir/permissions?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vNT7x
<NixOS_GitHub>
nixpkgs/master 4c6b5f6 Michael Weiss: android-studio-preview: 3.1.0.5 -> 3.1.0.6
NixOS_GitHub has left #nixos [#nixos]
<clever>
jekor: i think that format will work, and the daemon runs as root, so it can read the key
<jekor>
Is there a way to view the nix-daemon logs/see more verbose output? I'm running from nixops and --debug doesn't give detail on that.
<jekor>
(on OS X)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vdm opened pull request #33531: Update macos USB instructions (master...patch-1) https://git.io/vNT5q
NixOS_GitHub has left #nixos [#nixos]
<clever>
jekor: run "lsof -p <PID>" on the pid of nix-daemon, and check where stdout/stderr are directed
bpa has quit [Remote host closed the connection]
<jekor>
OK, I see /private/var/log/nix-daemon.log is full of "accepted connection from pid <unknown>, user jekor" but nothing else.
erlandsona has joined #nixos
<erlandsona>
yegortimoshenko: http://nixpaste.lbr.uno/u3Qh1ndI :( Oh well gonna try and build the latest kernel with 17.09 and see how that goes?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vNT5D
<NixOS_GitHub>
nixpkgs/master 19659e4 Joachim F: Merge pull request #33530 from dtzWill/update/opera-50.0.2762.45...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub>
nixpkgs/master 52f6a8e Will Dietz: opera: 48.0.2685.52 -> 50.0.2762.45
mekeor has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
ee1943 has left #nixos [#nixos]
a6a3uh has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
randomstrangerb has quit [Ping timeout: 265 seconds]
randomstrangerb has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
nixpkgs/master 729f97e Orivej Desh: apache-httpd: respect review in #33481
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vNTFK
NixOS_GitHub has left #nixos [#nixos]
mrkgnao has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vNTFh
<NixOS_GitHub>
nixpkgs/master 45f6d97 Orivej Desh: mariadb: clean up during the rebuild from merging #33513
NixOS_GitHub has left #nixos [#nixos]
jmc_fr has quit [Remote host closed the connection]
<NixOS_GitHub>
nixpkgs/staging 63ba455 Andreas Rammhold: bluez: 5.47 -> 5.48
<NixOS_GitHub>
[nixpkgs] orivej pushed 3 new commits to staging: https://git.io/vNTbm
<NixOS_GitHub>
nixpkgs/staging 6e2cb1d Andreas Rammhold: bluez: use `dbus-python` for the python bindings. `dbus` does not provide any
NixOS_GitHub has left #nixos [#nixos]
stepcut has joined #nixos
`_ has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
jrolfs has joined #nixos
jrolfs__ has joined #nixos
a6a3uh has quit [Quit: Bye]
<`_>
I've hit a bit of a roadblock. I've installed the nvidia drivers, and now slim doesn't want to start. It appears DISPLAY is unset
<`_>
I haven't played much with GUI stuff in Linux, I'm mainly in the terminal
<`_>
But right now I need my Rocket League fix.
oida has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
i-am-the-slime has joined #nixos
chreekat_ is now known as chreekat
sigmundv__ has quit [Ping timeout: 240 seconds]
Mic92 has joined #nixos
goibhniu has joined #nixos
<chreekat>
With a straightforward install of bup, `bup web` says to install the python module "tornado". The only way I've been able to actually 'install' tornado such that bup web can find it is with nix-shell -p pythonPackages.tornado. I'm not sure what, if anything, I can install into my environment to make it work. Any pointers?
<tilpner>
Try putting python3.withPackages (p: [ p.tornado]) into your environment instead of normal python
<tilpner>
(Or python.withPackages...)
<chreekat>
tilpner: ah. I understand that, thanks
<chreekat>
Next question, how would i express the dependency? Doing the above just installs tornado independently, but if I only have it around for bup, how do express that relationship?
<jekor>
For anyone reading these logs, I was able to get remote builds working on High Sierra by removing all previous Nix environment variables from my bash profile, installing nix-darwin (https://github.com/lnl7/nix-darwin), and setting nix.buildMachines in darwin-configuation.nix.
nix-gsc-io`bot has quit [Client Quit]
<chreekat>
By modifying the expression for bup, I suspect, but it's sort of hairy
jrolfs has quit [Ping timeout: 248 seconds]
<LnL>
jekor: \o/
work_ has quit [Quit: Connection closed for inactivity]
<LnL>
jekor: take a look at /Library/LaunchDaemons/org.nixos.nix-daemon.plist you need to configure the environment variables like that
asuryawanshi has joined #nixos
<tilpner>
chreekat - None of this should be necessary, bup is wrapped to provide tornado O.o
nckx has quit [Quit: Updating my GuixSD server — gnu.org/s/guix]
m0rphism has quit [Quit: WeeChat 1.9.1]
asuryawanshi has quit [Ping timeout: 256 seconds]
nckx has joined #nixos
nithor has quit [Ping timeout: 255 seconds]
jrolfs has joined #nixos
<tilpner>
chreekat - I have no idea how bup or python packaging works, but I think I fixed this particular error
<chreekat>
tilpner: yeah, the wrapping made me think that was probably true, but even installing from nixpkgs HEAD didn't make it work for me. Possibly user error, but *shrug*
<chreekat>
oh, but there was in fact something that needed fixing?
<tilpner>
I think so, yes
<chreekat>
cool
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #33533: micro: init at 1.3.4 (master...feature/micro) https://git.io/vNThq
NixOS_GitHub has left #nixos [#nixos]
<chreekat>
It probably doesn't help that bup lives outside the usual python workflow, I assume because it has its own custom Makefile etc
jrolfs has quit [Ping timeout: 240 seconds]
<tilpner>
Do you want to test with my changes? (Do you know how that works if I just give you a .nix file?)
<bkchr>
Hi, can I cross compile nixpkgs for mac os from NixOs? :D
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
cinimod has quit [Quit: Connection closed for inactivity]
<dhess>
nix-build --keep-failed doesn't work for remote builds. Is this a known thing and is there any way to work around it?
<dhess>
"doesn't work" as in doesn't keep the build directory around on the remote builder
joshuaks has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<tilpner>
bkchr - It seems possible, I just built hello for x86_64-darwin, and $out/bin contained a Mach-O executable
<gchristensen>
pie__: eelco doesn't like to delete branches
oida has quit [Ping timeout: 252 seconds]
nithor has quit [Ping timeout: 265 seconds]
<pie__>
gchristensen, i dont see how that applies?
<gchristensen>
oh, oops, I thought it was a branch named perl, missed master.
<tilpner>
bkchr - You could try nix-build '<nixpkgs>' -A hello --argstr system x86_64-linux. I've heard this works, but it never did for me
<tilpner>
s/linux/darwin/
<bkchr>
tilpner: if that works, wow! It is doing something, let's see what happens :D
<tilpner>
If you have nixUnstable, it will ignore the system argument and build for your host system. Or at least that's what I think is happening...
<LnL>
that works as long as you have some way to build that system, eg. build-remote
<tilpner>
LnL - Do I need a remote to build hello for Darwin? It seems to work fine, just not with --arg
<tilpner>
(Obviously I can't test the output binary)
<LnL>
you can also use that to check evaluation failures for a platform you don't have access to
<LnL>
oh, if it's in the cache then it will just work
<bkchr>
Ahh error: a ‘x86_64-darwin’ is required to build ‘/nix/store/40j70anjycw2p8qizwzsy2piscq0j4a9-qtbase-5.10.0.drv’, but I am a ‘x86_64-linux’
<dhess>
if that works it's probably because it grabbed it out of the binary cache
<tilpner>
Ah, that explains it :c
<dhess>
yeah what LnL said
<bkchr>
:(
orivej has quit [Ping timeout: 260 seconds]
* tilpner
shouldn't attempt to answer questions for systems he's never used
<LnL>
dhess: --keep-failed works fine AFAIK
<bkchr>
tilpner: no problem :D
i-am-the-slime has quit [Remote host closed the connection]
<dhess>
LnL: huh it did not for me
<bkchr>
But it would be nice, so that I could fix build problems for mac os^^
i-am-the-slime has joined #nixos
<dhess>
LnL: I mean on a remote builder, you saw that bit?
nixy_ has joined #nixos
<LnL>
yes
marusich has quit [Ping timeout: 240 seconds]
joshuaks has joined #nixos
<LnL>
I've done that before when debugging output cycles
<dhess>
I just did that from an x86_64-linux host building on an armv7l-linux remote and the /tmp/... build directory was removed on the remote
marusich has joined #nixos
<dhess>
Did this from nixpkgs master repo TLD: nix-build pkgs/top-level/release.nix --arg supportedSystems "[\"armv7l-linux\"]" -A gcc --keep-failed
<erlandsona>
Anyone here savvy with getting the nvidia drivers to compile into the kernel with the real-time patches eg: from Musnix?
nithor has joined #nixos
orivej has joined #nixos
phreedom has quit [Ping timeout: 240 seconds]
<nixy_>
Whenever I try to run nix-env -qas, I get hundreds of lines of output saying that "download-from-binary-cache.pl: still waiting for 'https://cache.nixos.org/xxxxxx.narinfo' after 5 seconds ...". After ~20 sec, it output stops and I have to press CTRL+C to get back to the interactive prompt. If it helps, I'm trying out NixOS 17.09 in a VM with a decent Internet connection.
<nixy_>
I've seen several issues open on GitHub which are related to this issue but all of them have been closed without any solution or fix that works.
zzamboni has joined #nixos
coot has quit [Remote host closed the connection]
erlandsona has quit [Ping timeout: 260 seconds]
zzamboni has quit [Client Quit]
joshuaks has quit [Ping timeout: 255 seconds]
<bkchr>
Maybe someone has a better idea to debug building mac os on linux?
phreedom has joined #nixos
orivej has quit [Read error: Connection reset by peer]
<macslayer>
Why am I hearing so much stuff about Mac OS X on this channel? I thought NixOS was a Linux distribution.
orivej has joined #nixos
<gchristensen>
macslayer: #nixos is also the channel to discuss Nix, which is usable on MacOS and other Linuxes
<samueldr>
this channel is also the channel for `nix`, which also supports macOS... you will also hear about nix usage on other distros
<gchristensen>
samueldr: :D
<samueldr>
ninja'd
ssmike has quit [Remote host closed the connection]
zzamboni has joined #nixos
<macslayer>
haha
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<macslayer>
Oh, okay, didn't know it could bel separated from the distro.
jrolfs__ has joined #nixos
jrolfs has joined #nixos
erlandsona has joined #nixos
ssmike has joined #nixos
coot has joined #nixos
ssmike has quit [Client Quit]
<gchristensen>
indeed :) Nix is very helpful separate from NixOS
hiratara has quit [Ping timeout: 252 seconds]
orivej has quit [Read error: Connection reset by peer]
<macslayer>
What do people use it for? Just a package manager that's an alternative to something like `pacman`, `yum`, or HomeBrew?
<tilpner>
While it's sort-of on-topic: Is there any support to compile for non-Nix systems? E.g. a dynamic library I can load on a Debian without patchelf-ing it?
jrolfs has joined #nixos
<tilpner>
I guess compiling inside a UserFHS might be enough?
marusich has quit [Ping timeout: 240 seconds]
<infinisil>
macslayer: There is home-manager (https://github.com/rycee/home-manager), which uses the nixos module system to manage your home directory, really nice, and it works on osx too
klntsky has quit [Remote host closed the connection]
marusich has joined #nixos
<adisbladis>
macslayer: We are quite a few people using it for reproducible development environments
<macslayer>
Oh, that's really cool. So some people use NixOS to manage `/`, and another instance of `nix` to manage `/home`?
<infinisil>
there are no 'instances' of nix, what nixos and home-manager have in common is that they use the nixos module system (the thing that let's you specify a configuration.nix), but they differ in that they provide different modules, nixos for system stuff, home-manager for files/packages/services in the users home directory
<infinisil>
nix itself is pretty much always just used to build an output ($out) of a set of inputs (the nix files)
jrolfs has quit [Ping timeout: 240 seconds]
jrolfs__ has quit [Ping timeout: 265 seconds]
klntsky has joined #nixos
jrolfs__ has joined #nixos
jrolfs has joined #nixos
<macslayer>
Ahh okay
jrolfs__ has quit [Ping timeout: 265 seconds]
jrolfs has quit [Ping timeout: 265 seconds]
alexfmpe has joined #nixos
alexfmpe has quit [Client Quit]
<samueldr>
macslayer: I personnally have had success with my dev team, using `nix` and `nix-shell` as a kind of "{bundler,composer,yarn}, but for all the apps", no-one in my dev team needs to install the software needed for development, except for nix, and even then, they all forgot :)
alexfmpe has joined #nixos
alexfmpe has quit [Client Quit]
SOO7 has quit [Quit: Quit]
<samueldr>
it's been used on NixOS, archlinux, fedora, ubuntu and macOS, without issues
<infinisil>
i very often when I see somebody online having problems with a certain package on their PM, feel like suggesting Nix to them instead, since Nix and its package set works flawlessly on any linux, which not a lot of PM's can say
coot has quit [Quit: coot]
jrolfs has quit [Ping timeout: 248 seconds]
jrolfs__ has quit [Ping timeout: 265 seconds]
mk-fg has quit [Ping timeout: 255 seconds]
<macslayer>
samueldr: That's really awesome, so everyone can use their comfy development environment, regardless of OS, and still have the same libraries and such
phreedom has quit [Ping timeout: 268 seconds]
phreedom has joined #nixos
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
yegortimoshenko has quit [Remote host closed the connection]
<samueldr>
about the same, and windows is *unsupported* where I work (though, to be honest, it's only because none of the devs yet really wanted to work on windows)
orivej has joined #nixos
<samueldr>
(there are differences between macOS and Linux, from the fact that the platforms are different)
<samueldr>
(and the host operating system can cause side-effects since we aren't using pure environments)
<samueldr>
anyone using grafana to graph stuff on their desktop/laptops? I'm currently using munin, and I'm confused by the whole grafana ecosystem, I'm looking for both opinions and facts
ciil has joined #nixos
<samueldr>
I'm looking to look at the same kind of metrics, like load average, disk usage, memory/cpu use, etc
<jekor>
Or rather, how do I get the effect of nix.envVars from the nix-daemon NixOS module without using NixOS?
<LnL>
jekor: you'll also need to unload/load the service to apply that
swayf has joined #nixos
<makefu>
samueldr: server, laptop and router
arianvp has joined #nixos
<samueldr>
grafana looks awesome, but I'm getting dizzy from all the names :)
erlandsona has joined #nixos
raynold has joined #nixos
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<makefu>
you will get used to it quite quickly after just a bit of hands-on
<jekor>
LnL: Ha, I had thought that stop/start was enough. It's working now. Thank you.
jrolfs__ has quit [Ping timeout: 265 seconds]
<jekor>
...and it turns out that nix-darwin was not at fault for the error.
<LnL>
jekor: if you have any idea why your issues might be related to nix-darwin please let me know
jrolfs has quit [Ping timeout: 260 seconds]
<LnL>
oh :)
<jekor>
I'm getting "dyld: Library not loaded: /usr/lib/system/libsystem_coretls.dylib". I thought this was fixed on High Sierra with the latest Nix/nixpkgs?
<jekor>
LnL: Thanks for nix-darwin. I had been sorely missing a system configuration file.
alexteves has joined #nixos
<samueldr>
makefu: so, uh, it goes {telegraf/collectd} → influxdb → grafana?
<samueldr>
how well does your setup handles not being able to talk to the server?
<samueldr>
is the data dropped?
yegortimoshenko has quit [Remote host closed the connection]
<samueldr>
(that's the main thing I have trouble finding information about)
<makefu>
samueldr: yes exactly. collectd is udp, so stuff will just be dropped
yegortimoshenko has joined #nixos
<makefu>
wabout telegraf, i am not sure, i've always used the special logging stuff directly on the same server
* srid
tried and gave up on installing nixos on the dedicated server at ovh.com
<samueldr>
I don't know, I'm still trying to grok how it should all work
<samueldr>
srid: ovh, soyoustart or kimsufi?
<LnL>
jekor: it's possible something changed with a recent update, but that specific error does indeed sound familiar
aarvar has joined #nixos
jrolfs has joined #nixos
aminechikhaoui has quit [Read error: Connection reset by peer]
jrolfs__ has joined #nixos
nithor has quit [Ping timeout: 265 seconds]
ma27 has quit [Ping timeout: 246 seconds]
jekor has quit [Read error: Connection reset by peer]
ma27 has joined #nixos
orivej has quit [Remote host closed the connection]
randomstrangerb has quit [Ping timeout: 248 seconds]
randomstrangerb has joined #nixos
orivej has joined #nixos
macslayer has quit [Ping timeout: 256 seconds]
work_ has quit [Quit: Connection closed for inactivity]
knupfer has quit [Ping timeout: 248 seconds]
`_ has quit [Ping timeout: 240 seconds]
swayf has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nithor has joined #nixos
mkoenig has quit [Ping timeout: 240 seconds]
work_ has joined #nixos
i-am-the-slime has quit [Ping timeout: 265 seconds]
mkoenig has joined #nixos
nithor has quit [Ping timeout: 252 seconds]
bkchr has quit [Quit: Konversation terminated!]
<seanparsons>
Is there a way to make cabal2nix honour the versions of dependencies in the cabal file? Like if I specify `units` as a dependency with ==2.4.1, it creates the appropriate content to use that version rather than 2.4 from nixpkgs.
i-am-the-slime has joined #nixos
ma27 has quit [Ping timeout: 255 seconds]
aminechikhaoui has joined #nixos
ma27 has joined #nixos
dywedir has quit [Remote host closed the connection]
nithor has joined #nixos
orivej_ has joined #nixos
jrolfs__ has quit [Ping timeout: 240 seconds]
goibhniu has quit [Ping timeout: 240 seconds]
jrolfs has quit [Ping timeout: 248 seconds]
jrolfs__ has joined #nixos
jrolfs has joined #nixos
orivej has quit [Read error: Connection reset by peer]
nithor has quit [Ping timeout: 255 seconds]
joshuaks has joined #nixos
<raynold>
Ahh it's a wonderful day
klntsky has quit [Remote host closed the connection]