batdog has quit [(Remote host closed the connection)]
zraexy has joined #nixos
<ndowens08>
well the new firefox 52-esr crashes
<ndowens08>
that is in unstable-small
<ndowens08>
so how do i go back to previous version? i cant remember the switch to revert
<ndowens08>
nvm
<ndowens08>
did rollback and 52 is working now, weird
derjohn_mob has quit [(Ping timeout: 258 seconds)]
<ndowens08>
well night guys
spinus has quit [(Ping timeout: 258 seconds)]
<contrapumpkin>
LnL: you still awake?
<contrapumpkin>
night ndowens08
ChongLi has joined #nixos
ndowens08 has quit [(Ping timeout: 258 seconds)]
lezed1 has quit [(Ping timeout: 246 seconds)]
elninja44 has quit [(Remote host closed the connection)]
derjohn_mob has joined #nixos
mbrgm has quit [(Ping timeout: 246 seconds)]
mbrgm has joined #nixos
deepfire` has quit [(Ping timeout: 260 seconds)]
systemfault has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vy6vE
<NixOS_GitHub>
nixpkgs/master 23e4e32 Dan Peebles: kops: enable on Darwin
deepfire` has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
batdog has joined #nixos
hexagoxel has joined #nixos
mizu_no_oto has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vy6fO
<NixOS_GitHub>
nixpkgs/master cf7d4bf Dan Peebles: kubernetes: 1.5.2 -> 1.5.4
phreedom has joined #nixos
<savanni>
Hey, y'all. I had a question that I posted on stack exchange earlier today. Basically, trying to make a package for a binary-only application, and running into a mysterious error message. I'd appreciate some help figuring it out. And I'll add the package to nixpkgs. http://unix.stackexchange.com/q/350997/220507
hexagoxel has quit [(Ping timeout: 258 seconds)]
hexagoxel has joined #nixos
fnljk has quit [(Disconnected by services)]
fnljk_ has joined #nixos
Guest45613 has joined #nixos
batdog has quit [(Remote host closed the connection)]
takle has joined #nixos
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
takle has quit [(Ping timeout: 246 seconds)]
nh2 has quit [(Quit: Leaving.)]
nslqqq has joined #nixos
Guest45613 has quit [(Ping timeout: 268 seconds)]
dbmikus has quit [(Ping timeout: 268 seconds)]
<Ralith>
savanni: you say that if you remove <a bunch of stuff> the error goes away, but what if you remove just nativeBuildInputs?
<savanni>
I'll verify right quick, but I recall that I see the same bug.
<savanni>
Yep, same error, same stack trace.
<Ralith>
just to confirm--you get an error complaining about nativeBuildInputs when your expression contains no mentions of it?
<NixOS_GitHub>
[nixpkgs] Rotsor opened pull request #23830: fetchSvn: Add support for --ignore-keywords flag (master...svn-ignore-keywords) https://git.io/vy6J9
<savanni>
In case it is helpful to know, I'm on 16.09.
<savanni>
And... *yeah*. I was modelling after the zoom-us package, which I did some work for a while back, but maybe what I have locally is really old and things changed. Maybe there's some weird way that buildInputs interacts with nativeBuildInputs in the scripts. I don't know.
<Ralith>
I'd find an existing known-working binary package and try incrementally modifying it into yours
<savanni>
Makes sense.
<savanni>
However, I'll leave it alone for tonight.
hexagoxel has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 3 new commits to master: https://git.io/vy6JA
<NixOS_GitHub>
nixpkgs/master d4beeef Peter Hoeg: vlc: compile against qt 5.6
<NixOS_GitHub>
nixpkgs/master eb7690a Peter Hoeg: qsyncthingtray: broken on qt 5.7
<NixOS_GitHub>
nixpkgs/master f7fd8a6 Peter Hoeg: xca: broken on qt 5.7
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
batdog has joined #nixos
tinkyholloway has quit [(Quit: Lost terminal)]
shanemikel has joined #nixos
dbmikus has joined #nixos
<shanemikel>
Okay, I'm trying to keep my system clean during an upgrade (through which I expect a few things to break).. So instead of "forking" my environment and losing track of where new generations are coming from, I'd like to "clone" a particular generation of my default profile to a new nix profile. I've seen some stuff online about nix-copy-closure, but I'm trying to do it locally
<shanemikel>
basically I want to treat it like a branch
<globin>
niksnut, ikwildrpepper: queue-runner is still dead right?
<globin>
niksnut: any eta or progress?
mudri has joined #nixos
derjohn_mob has joined #nixos
magnetophon has quit [(Remote host closed the connection)]
xeviox has quit [(Quit: Leaving)]
<Criena[m]>
symphorien: I can't believe it! It's working! :-) Thank you so much. In hinsight I should have thought of this myself, it looks so easy now. ;-)
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/vy6Ca
<NixOS_GitHub>
nixpkgs/release-16.09 89ea86c Vladimír Čunát: gnutls33: bugfix+security 3.3.26 -> 3.3.27...
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vy6C6
<NixOS_GitHub>
nixpkgs/staging b264486 Vladimír Čunát: gnutls: bugfix+security 3.5.9 -> 3.5.10...
<NixOS_GitHub>
[nixpkgs] vcunat pushed 2 new commits to staging-17.03: https://git.io/vy6CF
<NixOS_GitHub>
nixpkgs/staging-17.03 63ae3f0 Vladimír Čunát: gnutls: bugfix+security 3.5.9 -> 3.5.10...
<NixOS_GitHub>
nixpkgs/staging-17.03 ed509de Vladimír Čunát: Merge branch 'release-17.03' into staging-17.03
FrozenCow has joined #nixos
ixxie has quit [(Ping timeout: 246 seconds)]
martin__ has joined #nixos
<martin__>
Hey, anybody here?
<martin__>
I just started using NixOS and ran into a problem, which I cannot figure out.
<Yaniel>
just ask
<goibhniu>
hi martin__
<sziszi>
Hey, I'm in a middle of something nasty. I'd like to use two channels in my configuration.nix; I found some tips about fiddling with nixpath, so you can import more channel "variable" (pkgs.* is the default). anyone did something like this before? I'm curious.
<martin__>
Ok, so I have a configuration which works in VirtualBox. Now I tried it on my real machine. Everything installs and builds fine but the display-manager.service is not available even though I have everything configured
dbmikus has joined #nixos
<martin__>
The same configuration gives me a SLiM login screen in virtual box
<goibhniu>
can you post your configuration.nix to a pastebin?
<martin__>
sure, wait a second
<goibhniu>
have you changed the video drivers?
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 3 new commits to master: https://git.io/vy6lq
<NixOS_GitHub>
nixpkgs/master 64fcdf7 Peter Hoeg: requests-cache: 0.4.10 -> 0.4.13...
<NixOS_GitHub>
nixpkgs/master c1b1da2 Peter Hoeg: tvdb_api: add support for python3
<NixOS_GitHub>
nixpkgs/master 5fa3b11 Peter Hoeg: tvnamer: 2.3 -> 2.4...
<martin__>
Failed to start display-manager.service: Unit display-manager.service not found.
<sziszi>
<3 LnL <3 thank you!
magnetophon has joined #nixos
<LnL>
sziszi: you can just use unstable.* inside that let to use the other channel
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
tomsmeets has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vy64J
<NixOS_GitHub>
nixpkgs/master c836651 Robin Gloster: purePackages.octave: 0.7 -> 0.9
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vy64t
<NixOS_GitHub>
nixpkgs/release-17.03 64f3d0c Robin Gloster: purePackages.octave: 0.7 -> 0.9...
<martin__>
any idea goibhniu?
ok2 has joined #nixos
<goibhniu>
martin__: what setting have you tried for videoDrivers, and what GPU have you got? ... also what channel are you using, perhaps try enabling a different displaymanager
<martin__>
I got a nvidia card... built fine with [ "nvida" ] but nothing changed. I tried kde4 and kdm but still the same. Have no idea
<goibhniu>
ok, well, you'll definitely want it configured for nvidia, but that doesn't explain (to me) why the display manager isn't available ... FWIW, I'm using sddm
<MP2E>
make sure this line is in your /etc/nixos/configuration.nix! "nixpkgs.config.allowUnfree = true;"
<martin__>
MP2E: yes. sure otherwise the build fails
<martin__>
let me try that
<goibhniu>
IIRC someone also had a problem with a switchable GPU that they needed to enable bumblebee
<MP2E>
oh i see, i think you're right about that
<MP2E>
hm
<Rizy>
hi, i have some problem about using nix and haskell, is there any irc channel focus on that?
<sziszi>
martin__: videocard/gpu driver is correct?
* goibhniu
is out of ideas
dbmikus has quit [(Ping timeout: 260 seconds)]
<sziszi>
martin__: Xorg log?
* goibhniu
presumes /etc/systemd/system/display-manager.service doesn't even exist
<NixOS_GitHub>
[nixpkgs] vcunat pushed 4 new commits to release-16.09: https://git.io/vy6RW
<NixOS_GitHub>
nixpkgs/release-16.09 c688e4f Vladimír Čunát: gnutls: bugfix+security 3.5.9 -> 3.5.10...
<NixOS_GitHub>
nixpkgs/release-16.09 96a9cb2 Vladimír Čunát: gnutls35: enableParallelBuilding = true...
<NixOS_GitHub>
nixpkgs/release-16.09 c2b360f Vladimír Čunát: gnutls: don't propagate -lunistring...
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] magnetophon opened pull request #23834: unclutter.service: prevent empty display value (master...unclutter) https://git.io/vy6RR
martin__ has quit [(Ping timeout: 260 seconds)]
[0x4A6F] has joined #nixos
<manveru>
zimbatm: did you have any package in yarn2nix which requires node-pre-gyp?
<manveru>
or node-gyp for that matter
anderslundstedt has joined #nixos
proteusguy has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vy60h
<NixOS_GitHub>
nixpkgs/master 80bd50a Robin Gloster: ponyc: 0.10.0 -> 0.11.0
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/vy60j
<NixOS_GitHub>
nixpkgs/release-17.03 82b389f Robin Gloster: ponyc: 0.10.0 -> 0.11.0...
<LnL>
man, why do I have to debug ubuntu upgrade conflicts... that's a solved problem
<zimbatm[m]>
manveru: not yet, yarn2nix is more a proof-of-concept for now I'm afraid
<zimbatm[m]>
we would need some funding to make it work, another week or two
hexagoxel has joined #nixos
<manveru>
well, i'm working on it now
shanemik_ has joined #nixos
<zimbatm[m]>
it needs another fixpoint to inject common buildInputs like we do with the bundler defaultGemConfig
<manveru>
at least supporting private npm registry
<zimbatm[m]>
cool
<zimbatm[m]>
MoreTea: ^^
<manveru>
yeah, that's needed too
<manveru>
though i don't think this'll work on a per-package basis like in bundlerEnv
MP2E has quit [(Quit: leaving)]
<manveru>
i just can't justify the build times for node2nix anymore
shanemikel has quit [(Ping timeout: 260 seconds)]
tomsmeets has joined #nixos
<manveru>
waiting 6 minutes every time i change packages.json is just atrocious
<srhb>
Do I need to do something specific to enable overlays such that nix-env -iA nixpkgs.foo picks up foo defined in ~/.nixpkgs/overlays/foo.nix as "self: super: { foo = ... }" ?
<ronny>
anyone aware of a tool to pin sysem generations as "backup" and/or to delete specific ones for more effecive gc?
<NixOS_GitHub>
[nixpkgs] periklis opened pull request #23835: qt57.{qtdeclarative,qtscript,qttranslations}: fix darwin compat (master...topic_qt57_submodules_darwin) https://git.io/vy6uU
magnetophon has quit [(Ping timeout: 260 seconds)]
<gchristensen>
garbas: I'm overloaded too, but instructions are one step closer to getting it done
mizu_no_oto has joined #nixos
maninalift has joined #nixos
<sphalerite>
I wanted to try out XFCE to see if I could reproduce a windowing-related issue I was having with an application in i3, but it doesn't seem to be working — selecting XFCE (in lightdm) results in it just going back to the login prompt after I've typed the password. Sometimes it says "Failed to start session". I also tried creating a new user to make sure it wasn't because of some files I have sitting aro
shanemik_ has quit [(Read error: Connection reset by peer)]
<sphalerite>
und in my $HOME, to no avail. Any ideas?
shanemikel has joined #nixos
<sphalerite>
same with enlightenment...
ThatDocsLady is now known as ThatDocsLady_brb
tomsmeets has quit [(Ping timeout: 240 seconds)]
<johbo>
garbas: I'll check the "manual" on the PR :D Need to figure out what's actually missing to get it done
<garbas>
johbo: i added a show todo at the top
<garbas>
johbo: the things i usualy check before releasing it
<teh[m]>
johbo: thanks! let me know if you need any additional help
<Markus__>
Hi. I am new to nix and would like to contribute.
<Markus__>
I try to update pantheon-terminal to version 0.4, but experience and issue in the installPhase, namely the *.desktop files normally under "./build/data/" are not in "/tmp/.../build/data/". Do I have to copy them somehow?
<johbo>
teh[m]: I'll start by cloning and running nix-shell -- let's see what happens :D
mudri has joined #nixos
<yorick>
fpletz: it's the kbl_guc_ver9_14.bin but maybe it works for other people? workaround is "i915.enable_guc_loading=0" "i915.enable_guc_submission=0" in the kernel flags
<johbo>
teh[m]: if you want to take one of the items in the PR description, just pick one ;)
<sphalerite>
Disabling services.xserver.windowManager.i3.enable fixed it
bennofs has joined #nixos
<teh[m]>
johbo: cool, I'll include the comments
<gchristensen>
johbo: can you be in charge of getting #4 out?
<johbo>
gchristensen: ack, I'll take it
<johbo>
got permissions on the repo, so that should work
<gchristensen>
johbo: <3 thank you! it is really helpful for there to be a single person being "in charge" (delegate as much as you need, of coursee)
dbmikus has joined #nixos
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
<srhb>
Are overlays supposed to be picked up from ~/.nixpkgs/overlays automatically, or do I need to change my config.nix somehow?
iyzsong has joined #nixos
<johbo>
btw, gchristensen have you been the source of the extra large nixos stickers? got hold of one last weekend :D
<gchristensen>
I sure am! :D
dbmikus has quit [(Ping timeout: 240 seconds)]
<johbo>
hehe
aguardar has joined #nixos
<gchristensen>
I wanted a massively bold stickeer haha
<johbo>
it's making people happy here in my family office
shanemikel has joined #nixos
<sziszi>
I'm the only one here who isn't a fan of the NixOS logo?
ThatDocsLady_brb has quit [(Quit: Arma-geddin-outta-here!)]
mudri has quit [(Ping timeout: 268 seconds)]
ThatDocsLady_brb has joined #nixos
ThatDocsLady_brb is now known as ThatDocsLady
<srhb>
sziszi: Yes, what's wrong with you? >:-(
ThatDocsLady has quit [(Remote host closed the connection)]
ThatDocsLady has joined #nixos
shanemikel has quit [(Client Quit)]
<teh[m]>
johbo: give me 10 mins then I'll have a PR ready
<johbo>
wohoo
<sziszi>
srhb: dunno
<srhb>
sziszi: (I'm kidding, of course)
ThatDocsLady has quit [(Ping timeout: 264 seconds)]
desktop has joined #nixos
<manveru>
zimbatm[m]: got pretty far by simply skipping the install hooks in yarn, this'll still need dedicated packages for compiled extensions but i think it's a good start
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<johbo>
globin: thanks for the hint, I'll update it
maninalift has quit [(Ping timeout: 268 seconds)]
<LnL>
sphalerite: :o that's a little much if you ask me :)
filterfish has joined #nixos
<sphalerite>
LnL: the more the better :p
<sziszi>
sphalerite: too much lambda for me :) Also I'm not really fan of the blue colors
<sphalerite>
but the lambda is the way :D
<LnL>
!m johbo
<[0__0]>
You're doing good work, johbo!
maninalift has joined #nixos
pdobrogost has quit [(Quit: Connection closed for inactivity)]
iyzsong has quit [(Ping timeout: 240 seconds)]
ThatDocsLady has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub>
[nixpkgs] globin opened pull request #23838: fetch-*: remove md5 support (master...remove-md5) https://git.io/vy6i4
iyzsong has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin closed pull request #23776: minikube: switch to build from source & mostly fix on Darwin (master...minikube-source) https://git.io/vyKIG
dbmikus has joined #nixos
nh2 has quit [(Ping timeout: 260 seconds)]
dbmikus has quit [(Ping timeout: 260 seconds)]
Markus__ has joined #nixos
filterfish has quit [(Ping timeout: 256 seconds)]
nh2 has joined #nixos
civodul has joined #nixos
<nh2>
what could be done against cache.nixos.org being so slow from Switzerland?
<ckauhaus>
it's slow from Germany too ;-)
<nh2>
isn't cloudfront supposed to be fast?
<ckauhaus>
access it via IPv6 sucks
<nh2>
ckauhaus: I disabled ipv6 to test that recently and it was still slow
<ikwildrpepper>
nh2: can you quantify 'slow'?
ThatDocsLady has joined #nixos
<ckauhaus>
it takes ~ 200 ms round trip via IPv6 from Jena/Germany
maninalift has quit [(Ping timeout: 264 seconds)]
<nh2>
ikwildrpepper: 2MB/s
<ikwildrpepper>
nh2: do you have an example URL ?
maninalift has joined #nixos
cpennington has quit [(Ping timeout: 260 seconds)]
Markus__ has quit [(Quit: Page closed)]
<sphalerite>
I get 8MB/s here in Glasgow
g0d355__ has quit [(Remote host closed the connection)]
<nh2>
note that the _second_ download is very fast, e.g. 1 second to Switzerland, so it seems as if CloudFront cached it only once I downloaded it
<nh2>
maybe for the first download it fetches it from a slow upstream server or something?
maninalift has quit [(Ping timeout: 260 seconds)]
dbmikus has joined #nixos
nschoe_ has quit [(Quit: Program. Terminated.)]
nschoe has joined #nixos
<NixOS_GitHub>
[nixpkgs] WilliButz opened pull request #23840: spotify: get source via https instead of plain http (master...master) https://git.io/vy6MY
<NixOS_GitHub>
[nixpkgs] volhovM opened pull request #23842: sage: fix build at 6.8 (master...fix/sage_68_sed) https://git.io/vy6DF
<viric>
clever: does your hydra provide a channel? Under what signature?
<srk>
viric: did you manage to update? looks like clevers workaround helped and I don't hit infinite recursion anymore
<srk>
seems to be updating now
<viric>
srk: still building
<srk>
yes, same here
<srk>
seems to pull some weird stuff
<srk>
gonna be better with nixos-rebuild supporting -j8 :D
<viric>
I had tweaked pkgs to build less... but now that I use Dezgeg[m] farm, maybe I should reuse them
<srk>
that's unstable or 16.09?
devoid has joined #nixos
<viric>
17.03
<srk>
wondering about the same thing you've asked, if hashes match between farms
<srk>
is that the same as unstable?
<viric>
not exactly; 17.03 was branched some dadys ago
<viric>
days
<srk>
cool
<srk>
how often does branching occurs?
<srk>
s/s//g
<gchristensen>
every 6 months
mudri has quit [(Ping timeout: 264 seconds)]
<devoid>
so amazingly, what solved my multi-display MST issues was running "xset dpms force off" at login… after the displays reawaken everything works perfectly!
<srk>
:D
<srk>
and how long are older release supported?
<srhb>
srk: Define "supported"
<srk>
well receive security patches
<gchristensen>
srk: older releases are unsupported once the new release is considered stable
<srk>
ok
<gchristensen>
srk: in a break from tradition, 16.09 will receive security patches for 1 month after 17.03 is released
<gchristensen>
(I've stated may 3rd will be the last date of security patches)
jluttine_ has quit [(Read error: No route to host)]
jluttine has joined #nixos
<gchristensen>
hrm. can you not see it?
<srk>
I can
<srk>
but I have a feeling nixos needs more selfhosted architecture
<srk>
infrastructure I mean
<gchristensen>
IMO, we can manage our infrastructure
<gchristensen>
or we can work on NixOS
<srk>
even github /o\
<srk>
like you can work with git when github is offline but you still loose a lot
<srk>
I can sure help on that effort if there are people willing to work on it
<ikwildrpepper>
srk: how is that different in selfhosted setting?
<ikwildrpepper>
define self-hosted
<srk>
that is you have your servers that you deploy your infra to
<srk>
managed by .. you.
<srk>
or community
<ikwildrpepper>
ok, so how would that be better than e.g. github?
<ikwildrpepper>
it has the same issues, imho
<srk>
it's under your control. when github decides to to put ads on their page..
jensens has quit [(Ping timeout: 260 seconds)]
<gchristensen>
we have the comfort of knowing that instead of hundreds of people are working to fix it, a small contingent of unpaid community members are working on it as fast as possible, as soon as they get around to it, ikwildrpepper!
<srk>
they are also a pretty good target for DDoSes
<srk>
+1
<srk>
:)
<ikwildrpepper>
if ads would become an issue, we could easily switch to another provider or self-hosted if that would really be needed
<ikwildrpepper>
so it is all hypothetical really
<srk>
yes it is, it was just an example
<gchristensen>
we don't need to preemptively add work for ourselves until something like ads becomes a problem
<gchristensen>
until is there a _real_ reason, it is just more work we don't need to do
<srk>
I'm sure there are people who would rather use selfhosted solutions rather then github/google groups and so on
<gchristensen>
I know there are
<srk>
but yeah, no problem while it works for you :)
<globin>
srk: we accept patches via ML which is hosted by the utrecht university
<srk>
just discussing and offering help if there's interest
<globin>
you don't have to use github
<srk>
good
<srk>
I do use github myself but I'm also pushing for selhosted solutions
<globin>
but it makes submitting small changes easier for most peaople
devoid has quit [(Quit: Leaving.)]
<srk>
yup
<gchristensen>
globin: and makes submitting large changes easier for all the reviewers :P
<globin>
gchristensen: well github is not the perfect tool for reviewing stuff, but it isn't too bad
devoid has joined #nixos
<gchristensen>
no but I'm not sure what we'd do if, say, Hardening, was submitted via ML
devoid has quit [(Client Quit)]
devoid has joined #nixos
<viric>
what a long build time, guile
martinb1 has quit [(Ping timeout: 240 seconds)]
<globin>
well there was little discussion on code there tbh, that was mostly normal discussion that could've actually be quite easily handled on the ML but other code discussion definitely is easier on github that on ML
<sziszi>
heh, firefox is weird: nixos 16.09 - appears as nightly, unstable-small -> nightly, unstable -> firefox
<gchristensen>
sziszi: nightly is just called nightly because of copyright rules from mozilla
<gchristensen>
it is the latest stable
MoreTea has joined #nixos
marsam has joined #nixos
<jophish>
github are adding ads to their pages?
<tilpner>
To what extent are the locations of /run/current-system/sw/bin and /nix/var/nix/profiles stabilized? Is there a way to not link coreutils into /run/current-system/sw/bin? Is /run/current-system/sw/bin assembled from environment.systemPackages?
<gchristensen>
jophish: no
<tilpner>
(And what part would I read to learn the answers to those questions?)
<LnL>
jophish: no, that was a hypothetical discussion
<sziszi>
gchristensen: thanks! it was weird for me. (i think it's the same thing with debian+iceweasel
<gchristensen>
sziszi: yes, but debian has been authorized to call theirs firefox
<jophish>
phew!
<gchristensen>
I'm working on getting permission from Mozilla to call ours FF too
erasmas has joined #nixos
<sziszi>
gchristensen: <3 thank you for being awesome :)
<sziszi>
LnL: btw your gist link and your tip worked perfectly well, thanks!
<exarkun>
why doesn't this work: nix-env -f '<nixpkgs>' -i pythonPackages.docker (error: selector ‘pythonPackages.docker’ matches no derivations)
<LnL>
sziszi: I wouldn't expect it to cause any issues, unless you add a dependency that's used by a lot of packages to the packageOverridess
<LnL>
sziszi: you can also do something similar for a module that doesn't exist in the stable release yet
danharaj has quit [(Ping timeout: 240 seconds)]
<sziszi>
LnL: NixOs is very new to me. I'm a Linux user myself for 8+ years, but this concept is fundamentally different. So it's big accomplishment for me.
<MoreTea>
anyone got experience with implementing resources for nixops?
<MoreTea>
I'm interested in adding Google's DNS record sets (and maybe zones if it's not too hard)
<dtzWill>
exarkun: -iA
<dtzWill>
exarkun: you're specifying by attribute, so gotta tell nix-env that's what you want--otherwise '-i' will search for derivations with name 'pythonPackages.docker' :(
griff_ has quit [(Quit: griff_)]
afics has quit [(Ping timeout: 260 seconds)]
ryanartecona has joined #nixos
<LnL>
sziszi: yeah, I only recently came up with that this way you can cherry-pick some packages from master without having to switch over the entire system
<steveeJ>
is there a generic way to build a cross-compiler and install it with a name according to the compiler naming convention?
takle has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vy6AN
<NixOS_GitHub>
nixpkgs/staging 8bfa9f5 Vladimír Čunát: syslinux: fixup build via a Debian patch...
<yorick>
it does say DEPMOD 4.11.0-rc1 in the build output
<NixOS_GitHub>
[nixpkgs] FRidh pushed 4 new commits to release-17.03: https://git.io/vyiYh
<NixOS_GitHub>
nixpkgs/release-17.03 b095c99 Frederik Rietdijk: pythonPackages.hypothesis: fix for python 3.3...
<NixOS_GitHub>
nixpkgs/release-17.03 019350a Frederik Rietdijk: ipython_genutils: fix for python 3.3 and 3.4...
<NixOS_GitHub>
nixpkgs/release-17.03 eca54d9 Frederik Rietdijk: pythonPackages.traitlets: 4.3.1 -> 4.3.2...
<Dezgeg>
probably removing the -drm suffix helps
johann__ has joined #nixos
marsam has quit [(Remote host closed the connection)]
<qknight>
how to put kdeApplications kdeFrameworks into systemPackages?
<exarkun>
dtzWill: ah ok, thanks (re -iA).
johann__ has quit [(Client Quit)]
<qknight>
i can install them using: nix-env -iA nixos.kdeApplications but the same won't work in systemPackages, but why?
<qknight>
error: cannot coerce a set to a string, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/strings.nix:442:44
fre has joined #nixos
danharaj has joined #nixos
fre has quit [(Client Quit)]
johann__ has joined #nixos
revtintin has joined #nixos
zraexy has joined #nixos
johann__ has quit [(Client Quit)]
johann__ has joined #nixos
johann__ has quit [(Client Quit)]
johann__ has joined #nixos
devoid1 has joined #nixos
johann__ has quit [(Client Quit)]
devoid has quit [(Ping timeout: 258 seconds)]
<andrewrk>
whose idea was it to have rpath be a bunch of directories and then the dynamic linker has to search all of them to find files?
<andrewrk>
why not have dynamic libraries be absolute paths
johann__ has joined #nixos
<exarkun>
hrm so having installed pythonPackages.docker ... I don't understand how to actually use it. The Python interpreter in my environment doesn't know about it ... How do I get one to see the other?
<andrewrk>
I guess maybe to be able to upgrade dynamic libraries
<simpson>
exarkun: Probably something like $(nix-shell -p pythonPackages.docker) will run the shell hook to set up the Python environment.
<simpson>
But it *does* work well for local development and composing scripts.
<exarkun>
yep, very awkward looking. but appealing as a smallest-possible-step-to-make-progress.
<exarkun>
tyvm
spinus has joined #nixos
<exarkun>
oh, I see, `-i` does something totally different in nix-shell and nix-env. I think maybe I was using -i with nix-shell earlier, thinking it would do something like what it does with nix-env.
<simpson>
No worries, happy to help.
<simpson>
Ah! Yeah, super-confusing, isn't it? I can't wait for the `nix` tool, even though I'm sure I'll hate it all over again eventually.
peterhoeg has quit [(Read error: Connection reset by peer)]
nschoe has quit [(Quit: Program. Terminated.)]
peterhoeg has joined #nixos
<gchristensen>
ooohh! I think we'll be able to enable official branding on FF soon
<MoreTea>
anyone here who knows why there are no tests for virtualbox in tests/functional/single_machine_test.py ?
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<domenkozar>
MoreTea: you'll have to rewrite most of nixops
octe has quit [(Ping timeout: 256 seconds)]
<MoreTea>
AFAIK, it uses a model of transactions and some sql in deployment.py and `resources/__init__.py`, right?
octe has joined #nixos
null_ has joined #nixos
<null_>
sup peeps
<exarkun>
error: adding derivation output for ‘/nix/store/9a07qfy74aap61kvn2gwyw2i6gq82hdn-bootstrap-tools.tar.xz.drv’ in database: database disk image is malformed
<Dr3>
i did vim.luaSupport = true; in my nixos configuration.nix but it didnt work
<DutchWolfie>
MoreTea: are you the person that did the meetup in Amsterdam?
<ronny>
Dr3: i beleive its usign ovveride, not the other way around
<MoreTea>
jep
<DutchWolfie>
great! can we expect a short recap of the day?
<DutchWolfie>
on the meetup site?
<MoreTea>
@DutchWolfie, did you attend as well?
peterhoeg has quit [(Remote host closed the connection)]
<MoreTea>
I still plan to record some screencasts of the rest of the material/presentations that I used/did.
<Dr3>
ronny, how can i understand what i should do from those nix expressions on github i gave. i always end up doing nothing of these and cant do anything
<null_>
so I have a custom dwm that I use, and would like to use it in nixos, how would I go about creating/using a custom package?
<NixOS_GitHub>
[nixpkgs] Ekleog opened pull request #23851: libs: make splitString also split last separator (staging...issue-23681) https://git.io/vyiaC
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vyiaK
<NixOS_GitHub>
nixpkgs/master b2c9606 Tuomas Tynkkynen: kernel: Add a validity check for modDirVersion...
desktop is now known as _deepfire
<Baughn>
So I've created a Hydra server.. ...I'm scared.
<gchristensen>
Baughn: set the hydra down and step away slowly
MercurialAlchemi has quit [(Ping timeout: 264 seconds)]
<gchristensen>
it won't kill you if you're gentle enough
<Baughn>
I need it!
<Baughn>
This is my hydra. It won't hurt me.
jensens has joined #nixos
<maurer>
Baughn: Set up a warning for low disk space. The postgres state becomes inconsistent ime if you run out and it tries to build.
unkn has joined #nixos
<Baughn>
Already got one. I also set it to stop if there's 20GB free or less.
<gchristensen>
also run gc automatically
<Baughn>
Right now I'm staring at the "Create jobset" page, and wondering how to point it at github.
<Baughn>
If that's even possible.
<maurer>
That only helps some, and you also might not want the autogc unless you're building nixpkgs
<maurer>
Since you may want to be able to link to past builds
<Baughn>
Right, I don't think GC is an issue. The jobs I've got are relatively tiny.
jensens has quit [(Read error: Connection reset by peer)]
jensens has joined #nixos
goibhniu has quit [(Ping timeout: 260 seconds)]
<gchristensen>
w00t we have authorization from mozilla to change enableOfficialBranding ? false to enableOfficialBranding ? true
ma9e has joined #nixos
<LnL>
!m gchristensen
<[0__0]>
You're doing good work, gchristensen!
<andrewrk>
nice
<shlevy>
niksnut: ping
<shlevy>
gchristensen: Nice!
<shlevy>
gchristensen: Please document it well :) And ideally share the authorization
<gchristensen>
yep
<gchristensen>
I've got it :)
<gchristensen>
I wonder where to put it, though
<gchristensen>
maybe in nixpkgs next to default.nix
<shlevy>
Yeah
<shlevy>
And then we can add all sorts of fun patches and blame it on Mozilla!
<gchristensen>
>.. :)
<Baughn>
Hydra is hurting me ;_;
<Baughn>
I'm trying to add an input, but the 'add' button, it does nothing.
unkn has quit [(Quit: moo)]
<Baughn>
..apparently a bug that's since been fixed.
MichaelRaskin has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vyiXI
<NixOS_GitHub>
nixpkgs/master b2b8a41 Vincent Laporte: ocaml-llvm: 3.7.1 -> 3.9.1
justbeingglad has joined #nixos
<Baughn>
zsh: no such file or directory: /run/current-system/sw/bin/nix-env
<Baughn>
...
<Baughn>
What have I done
<Baughn>
vein@madoka> ls /run/current-system/sw/bin ~
<Baughn>
command_not_found_handler:4: /run/current-system/sw/bin/command-not-found: bad interpreter: /nix/store/3qag0gwlar4rsh786ff25f4zdw6vqb7d-perl-5.22.2/bin/p: no such file or directory
<clever>
viric: i'm not currently updating a channel, but i am following nixos-unstable-small, so if you just use that channel, you have a decent chance of hitting my cache
<Baughn>
/run/current-system and /run/booted-system are both empty.
<Baughn>
I'm doomed.
<Baughn>
Heeeeelp!
<clever>
Baughn: what did you do?
<Baughn>
Thankfully, I have a root ssh session hanging around.
<sziszi>
clever: +1
<Baughn>
clever: Ran nix-env -e nix, as a normal user, to get rid of nixUnstable.
<Baughn>
This was a bad move.
<clever>
Baughn: that shouldnt have touched /run stuff
<clever>
Baughn: /nix/var/nix/profiles/system/sw/bin/ is where you will find all of the systemPackages
<clever>
Baughn: oh, and also, what does "ls -l /run/current-system" sat?
<gchristensen>
Baughn: my /run/current-system/bin doesn't have anything but switch-to-configuration either
<gchristensen>
Baughn: look at /run/current-system/sw/bin
<Baughn>
clever: command_not_found_handler:4: /run/current-system/sw/bin/command-not-found: bad interpreter: /nix/store/3qag0gwlar4rsh786ff25f4zdw6vqb7d-perl-5.22.2/bin/p: no such file or directory
<clever>
Baughn: $PATH is bork, so you must use the absolute path to the ls binary
<Baughn>
gchristensen: D'oh. That does still have everything.
<Baughn>
zsh: no such file or directory: /nix/var/nix/profiles/system/sw/bin/ls
<clever>
Baughn: did you run any garbage collection?
<Baughn>
Nope.
henri_ has quit [(Quit: Ex-Chat)]
<clever>
or nix-store --delete?
<Baughn>
Nope.
<Baughn>
I found an ls elsewhere.
<clever>
can you pastebin the last dozen or so lines of the history command?
<Baughn>
Let's see..
<Baughn>
So what broke my system was, probably, nixUnstable (as a normal user) upgrading the DB.
<Baughn>
And me attempting to downgrade it back.
<Baughn>
Although that step seemed to work. It was after using current-system/nix-env -e nix to get rid of the damn thing that all hell broke loose.
nevermind has joined #nixos
<clever>
simplest thing i can think of is to just try rebooting and picking an older generation from grub
<clever>
that would usualy fix it
<Baughn>
Hehehe... headless server. :/
<clever>
oh
<clever>
i have plans on how to fix that, but havent gotten anything usable yet
<clever>
next thing then, /nix/var/nix/profiles/system/bin/switch-to-configuration
shanemikel has joined #nixos
<clever>
and also, the system-1234-link symlinks in profiles
<Baughn>
Which gets me... I don't really know what's going on here, but the usual thing.
<Baughn>
zsh: /nix/var/nix/profiles/system/bin/switch-to-configuration: bad interpreter: /nix/store/3qag0gwlar4rsh786ff25f4zdw6vqb7d-perl-5.22.2/bin/p: no such file or directory
<clever>
if you run "switch-to-configuration boot" in one of those, it will flag that profile as the default for bootup
<clever>
Baughn: try an older generation, look at the contents of /nix/var/nix/profiles and work your way down from the highest numbered system
<clever>
until boot works on one of them
bennofs has quit [(Ping timeout: 240 seconds)]
<benley>
anyone know if there's a sane way of converting a system that has luks-encrypted root but unencrypted /boot to having properly encrypted /boot?
<benley>
I didn't know when I set this machine up that grub could deal with /boot being encrypted
<clever>
benley: i'm guessing you can just format /boot again with luks over it, mount it to /boot, and then nixos-rebuild boot
<clever>
benley: and if things do go wrong, you can just correct that from the install iso
<benley>
yeah, that does sound like it should theoretically work
<benley>
I'll just want to make sure I have some alternate boot medium in case it goes badly
tokudan has joined #nixos
<clever>
benley: just make sure the new uuid for the new /boot is updated in the configuration.nix/hardware-configuration.nix
<Baughn>
This looks a great deal like the dynamic linker is missing, except there isn't supposed to *be* a global one, right?
takle has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixops] moretea opened pull request #623: Add functional tests for VirtualBox (master...vbox-tests) https://git.io/vyiDs
<clever>
Baughn: it sounds like you didnt properly restore the nix database, so it considered half of your store invalid
<clever>
Baughn: so it deleted half the store
<benley>
this system is slightly twitchy to work with because it's a chromebook (but maybe not _that_ bad, I guess I figured out the pain points already)
<Baughn>
clever: I would have liked it to not delete anything without being asked to.
<clever>
Baughn: the database claimed those things didnt belong there and where invalid, so it got rid of them
ryanartecona has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
<clever>
thats fairly different from valid outputs that just arent rooted
<Baughn>
So I'm basically going to need a reinstall. *sigh*
<Baughn>
Ok.
<clever>
yeah, similiar to what i saod to benley
magnetophon has joined #nixos
<clever>
Baughn: if you just re-mount the fs, set the right channel, and nixos-install, it will repair every missing thing in the store, and rebuild the os from the existing config
<benley>
yeah, reinstalling nixos atop an existing system really isn't that big a deal, thankfully
<clever>
nixos-install is basicaly just a bash script that runs nixos-rebuild under a chroot
ryanartecona has quit [(Client Quit)]
shanemikel has quit [(Read error: Connection reset by peer)]
<Baughn>
I always have to do this horribly complex multi-stage thing to get NixOS running under Hetzner, sadly.
<Baughn>
It's going to take a while.
<Baughn>
And all I wanted was a hydra.
<benley>
aw
shanemikel has joined #nixos
<clever>
Baughn: i do have an example i made recently, on how to get hydra in 16.09
<MichaelRaskin>
OK, Firefox 52.0 crashes also happen on NixOS, so I can report them…
<Baughn>
Hmm, I do have a functional curl. Wonder if I could fix this without rebooting...
<MichaelRaskin>
Do you have a functional nix?
<clever>
Baughn: you would need to find a functional nix, and then run things like "nix-store -r /nix/store/3qag0gwlar4rsh786ff25f4zdw6vqb7d-perl-5.22.2"
<clever>
Baughn: you can download directly from the binary cache, if you paste in full storepaths
<Baughn>
error: while processing ‘build-sandbox-paths’: path ‘/nix/store/cg0gxn11n6sadfrw3p7l8rh053gn3f0z-bash-4.4-p5’ is not valid
<clever>
Baughn: this shows how to download any storepath to the current directory, directly from the binary cache
<Baughn>
Well, that's a new one.
<Baughn>
clever: nix-store -r worked, actually..
<clever>
Baughn: and only the --restore has to be done on the target
Rizy has quit [(Quit: Rizy)]
takle has quit [(Ping timeout: 240 seconds)]
<DutchWolfie>
@MoreTea, diner got in the way sorry. No sadly I wasn't able to attend but would loved to. I am new to the Nix way of doing things,
<DutchWolfie>
read about your thoughts about Nix on the company website and found the Amsterdam meetup group. Would like to read more about the experience.
<MoreTea>
sure, are you in the neighbourhood? You could come over and chat some time.
* jack[m]
has an epiphany: users.users = (import ./users.nix) # replaces NIS/LDAP
<MoreTea>
I've hacked a few hours on making workshop machines with nixops, will probably write a blog post about that soonish
<clever>
eacameron: this links to the tests for every channel, and says how old they are
<eacameron>
Haha..oh. I have that page up all the time, but I never clicked the tests link
agjacome has joined #nixos
ma9e has quit [(Remote host closed the connection)]
nevermind has joined #nixos
fresheyeball has joined #nixos
mudri has joined #nixos
katyucha has quit [(Killed (kornbluth.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
katyucha_ has joined #nixos
<pierron_>
niksnut: I am trying to use a nix-shell with buildFHSUserEnv, but I fail to compile because one of the dependency *.pc (PKG_CONFIG_PATH) is not found.
<eacameron>
Does haskellPackages continue to move forward inside of a NixOS version (16.09, 17.03, etc)?
<pierron_>
niksnut: How do we populate the PKG_CONFIG_PATH variable in Nix builds?
<silver_hook>
Yeah, that’s what I do nowaday …but let’s face it, that’s a crap solution
kosmikus_ is now known as kosmikus
<silver_hook>
Not by itself – the packages page is awesome! – but as a replacement for a proper CLI tool.
ryanartecona has joined #nixos
<domenkozar>
silver_hook: agreed
<domenkozar>
I'm working on something similar
magnetophon has quit [(Remote host closed the connection)]
<domenkozar>
but it's a weekend project
<domenkozar>
so it will take a while :)
<silver_hook>
domenkozar: Cool :)
<silver_hook>
BTW, I may need to choose between a Windows and macOS work laptop soon …I suspect Nix runs better on macOS, correct?
<domenkozar>
depends how soon you need that laptop
<gchristensen>
yes
<silver_hook>
How so?
<domenkozar>
silver_hook: windows 10 supports Nix
<gchristensen>
it runs better on macOS in that it doesn't really run on Windows right now.
<domenkozar>
via linux subsystem
<domenkozar>
I'm not sure if the last fixed bug already hit public release
<silver_hook>
domenkozar: That’s why I’m asking …haven’t seen anyone actually use it yet though
<Dezgeg>
it's working at least in the windows insider builds
<silver_hook>
I probably have a few more weeks to decide, but start using the work laptop in May.
<gchristensen>
silver_hook: in a practical sense, nix-on-linux has great support, nix-on-darwin has pretty good support, and I've only heard about nix-on-windows once in every few months.
ixxie has quit [(Ping timeout: 260 seconds)]
<domenkozar>
silver_hook: so it depends how stable is linux on windows
<LnL>
hydra down again?
<gchristensen>
so if you want to be our sputnik user, braving the deep dark scary stuff that might crop up ... )
<gchristensen>
:)
<domenkozar>
I did hear people reporting they do development and it works
<MichaelRaskin>
Well, but nix-on-windows is the true mingw thing
<silver_hook>
gchristensen: That was my assessment as well, just wanted to get it confirmed.
<NixOS_GitHub>
[nixops] moretea opened pull request #624: Key/value (master...kv-state) https://git.io/vyixi
* silver_hook
sighs …Apple’s keyboards are the pits
<domenkozar>
Dezgeg: I think preview build includes that fix now
<MichaelRaskin>
I think people are relatively successing in running larger and larger parts of Ubuntu using WSL, so checking out their progress may be a good idea
ryanartecona has quit [(Quit: ryanartecona)]
<MoreTea>
I opened a PR where I started with describing how I'd like to move nixops from sqlite3 to e.g. etcd (or other k/v stores) https://github.com/NixOS/nixops/pull/624
jmeredith has joined #nixos
<MoreTea>
I'd love to get some feedback on that
<silver_hook>
Is there stuff that makes sense to not install via nix on macOS (and instead use homebrew or fink or …)?
<domenkozar>
MoreTea: looks good
<gchristensen>
silver_hook: .app's, largely
<domenkozar>
silver_hook: really depends what you use
<domenkozar>
but in general, to be honest, I see more future in windows+linux
<domenkozar>
since you still control your source
<MoreTea>
once that works, a separation between generating plans, and executing them (like how terraform operates) might be in order.
<MoreTea>
But that's quite another beast to tackle
<domenkozar>
MoreTea: there's an issue for that
<MoreTea>
domenkozar, yep, I read that half an hour ago
<silver_hook>
domenkozar: Maybe …but in practical terms, I a sane environment in a month or so. I can always switch laptops later ;)
<domenkozar>
it means a complete rewrite of nixops :)
<silver_hook>
Thanks for all your help again guys :)
<domenkozar>
silver_hook: sounds good :)
<silver_hook>
domenkozar: BTW, you in town?
<domenkozar>
nope sorry, will be after Sunday
<silver_hook>
OK, but in general you’re around these days?
<domenkozar>
yes
<silver_hook>
cool
<domenkozar>
I'm working from Delo building :)
<qknight>
when will 17.03 come out?
<domenkozar>
qknight: end of the month
<silver_hook>
Hahaha, so pretty much across the street XD
<qknight>
when is the last time i can submit something still
<qknight>
domenkozar: cool!
<domenkozar>
silver_hook: yes :P
<domenkozar>
silver_hook: we go to lunch everyday at 12 so that's a thing
<silver_hook>
domenkozar: So what’s that nox-replacement called you’re working on? (preferably link to repo)
<benley>
yeah, that's what I want to use. I'm just surprised that there doesn't seem to be a package that puts that in /share/icons/*/something already
<NixOS_GitHub>
[nixpkgs] benley opened pull request #23861: nixos: Add a menu launcher for the NixOS manual (master...nixos-manual-launcher) https://git.io/vyPIi
<dtzWill>
oh haha didn't see you'd just joined, ndowens08. But hooray for that as well! Was just happy about llvm4 release and submitting PR for it :).
<ndowens08>
oh lol
simendsjo has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vyPm0
<NixOS_GitHub>
nixpkgs/master b806e25 Graham Christensen: nixos: build for aarch64-linux
<gchristensen>
ヾ(⌐■_■)ノ♪
<LnL>
didn't we have that allready?
<gchristensen>
nope
<gchristensen>
nixpkgs only
<LnL>
ooh it's nixos :D
<gchristensen>
:)
<c0bw3b>
aristid : sry was AFK // yes that one
<LnL>
I wonder how long it will take before I buy a raspberry now
<gchristensen>
I
<gchristensen>
I have a branch also which enables official branding on firefox, just waiting on confirmation I can publish my email exchange as well (I want to publish it with the exchange for reference)
<c0bw3b>
LnL days rather than months ? :p
<c0bw3b>
fuzzy_id : or you can pass "--option build-use-sandbox true" to nix-build
marsam has joined #nixos
phorse` has quit [(Remote host closed the connection)]
<MichaelRaskin>
aristid: with extensions it is too easy to crash it
<MoreTea>
hmm. A critical refactor of nixops might be in order.
<gchristensen>
MoreTea: I see you've reached the "bargaining" phase of nixops
desktop has joined #nixos
desktop is now known as _deepfire
<MoreTea>
I'm just going to mechanically extract all SQL queries into one place
<MoreTea>
step-by-step.
<simpson>
MoreTea: You're a brave soul. I looked into putting attrs on nixops and did not get far.
<aristid>
MichaelRaskin: well, i could try to see if it is more stable if i disable all extensions
<MichaelRaskin>
Not really
<aristid>
MichaelRaskin: but i don't think an extension should lead to a segfault? i don't think XUL scripts have access to memory?
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<MoreTea>
simpson, AFAICS, It's just two files that contain random SQL.
<MichaelRaskin>
I can crash 52 with a clean profile on a clean NixOS VM in about a dozen keystrokes
<MoreTea>
And what it tries to do is not very exciting actually.
<MichaelRaskin>
Where Ctrl-k is two keystrokes!
<MoreTea>
I think that it should be quite doable to port it to etcd directly.
<aristid>
MichaelRaskin: can you get a backtrace?
<MichaelRaskin>
Ctrl-k Alt-↓ ↑ ↵
<MichaelRaskin>
Not yet
<MoreTea>
I'd only need to have an internal "dirty" model of what it should apply, and do some locking scheme in etcd.
<MichaelRaskin>
I still hope someone else will do it
AllanEspinosa has quit [(Ping timeout: 268 seconds)]
dbmikus has quit [(Ping timeout: 258 seconds)]
<benley>
why etcd?
<benley>
oh er, do you mean replacing the sql store with etcd entirely? Or adding etcd just for locking?
reinzelmann has joined #nixos
<simpson>
benley: I think the goal is etcd and no SQL store.
ndowens08 has joined #nixos
<benley>
OK cool
hiratara has quit [(Ping timeout: 246 seconds)]
<benley>
I was going to suggest that if you were going to depend on an external SQL database, you could probably use that for locking without also adding etcd. But that's even better.
<simpson>
_deepfire: I bet we can find the manual from Hydra.
<simpson>
Ah, benley beat me to it.
* benley
ninjalinks
<_deepfire>
benley, cool! I have tried to find it on hydra myself, but failed..
<simpson>
MoreTea: Nope. Tahoe-LAFS writes are non-atomic and can fail. But normally they're pretty atomic, in that you can usually either read the previous or current version of a directory.
<simpson>
clever: I'm guessing that the Hydra path is even nastier?
<clever>
simpson: the idea is to add a flag to nix-build, that works the same as "ssh -A" and allows the builder to use an agent near the nix-build process
<clever>
simpson: hydra is easyer, heh
<LnL>
with hydra you can fetch the inputs outside of nix-build
<_deepfire>
it's a shame the documentation is so inaccessible
<clever>
simpson: hydra fetches the build inputs by just running nix-prefetch-git as the "hydra" user, so you can just sudo -u hydra -i ; ssh-keygen
<manveru>
MoreTea: just wanted to say thanks, my build times with yarn2nix are about 7 times better than node2nix, tarring/untarring 1000 packages is a lot of wasted I/O
xwvvvvwx has quit [(Ping timeout: 256 seconds)]
<simpson>
clever: Aha.
<clever>
simpson: but every private repo has to be a seperate input in hydra, and that could get messy for a large project
<simpson>
clever: I don't care about mess too much; I'm in the PoC stage.
<clever>
simpson: and because of the build slaves, hydra cant use the hack from the gist, /tmp/hax would have to be setup on every box, each with its own key&agent
ryanartecona has quit [(Quit: ryanartecona)]
<MoreTea>
manveru, haha, is someone already using that :P?
<simpson>
clever: Okay, I see what's going on. I think I understand at least some of the pieces of the puzzle now.
<MoreTea>
Zimbatim had some idea's about making it faster
<manveru>
MoreTea: i just started today, can't justify the node2nix build times anymore, so i'll push it forward the next few days
<manveru>
but in theory i think it could be used in our production already
<clever>
simpson: you could also put the private keys in /tmp and make them readable by the nixbld group, then ssh_config needs to be set to read an unsafe key file
<clever>
simpson: and also, every build you run will be able to read the key
<simpson>
clever: I won't go that route.
<manveru>
i mean, it would be nice if i could combine two buildYarnPackage easily, to avoid rebuilding node-sass on every other package change
<simpson>
Now to convince bundix to run.
<clever>
simpson: at least with the socat trick, you can kill socat and then builds can no longer access the agent
nevermind has joined #nixos
<simpson>
clever: Yeah. And on this non-NixOS machine, I don't even need it.
<clever>
ah
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vyPnb
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vyPcC
<NixOS_GitHub>
nixpkgs/master d23effd Fatih Altinok: flow: 0.39.0 -> 0.41.0
<NixOS_GitHub>
nixpkgs/master 2c1876e Tim Steinbach: Merge pull request #23844 from frontsideair/flow-41...
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vyPcH
<NixOS_GitHub>
nixpkgs/master e50dba9 Ben Zhang: nodejs: 7.7.1 -> 7.7.2
<NixOS_GitHub>
nixpkgs/master 17978fe Tim Steinbach: Merge pull request #23740 from ben-z/nodejs-7.7.2...
JagaJaga has joined #nixos
<MoreTea>
manveru, I'm open to any suggestions that you have. if you have time, we could schedule a call with you, me and zimbatim to see what we could do.
<qknight>
i found a perl script using 'rm' and 'cat' but i don't know how to patch them properly?
<qknight>
can i somehow add coreutils to the perl environment?!
<MoreTea>
qknight, probably to the context that uses that perl script?
<manveru>
MoreTea: sounds good, i'll be around this week
tokudan has joined #nixos
<zimbatm[m]>
yeah ping me if you want to do a call manveru MoreTea
<manveru>
not super familiar with yarn yet, but i think once we get composition of different buildYarnPackage derivations, i'd be happy :)
<manveru>
maybe using NODE_PATH, but i hear it's tricky
<manveru>
and splitting up yarn.lock sounds complicated too
<MoreTea>
zimbatm[m], is in london on UTC, I'm on UTC+1 in Amsterdam, which timezone are you in manveru?
<manveru>
i'm in germany
<MoreTea>
manveru, I'm not sure if that is possible at all.
<manveru>
so shouldn't be a problem
<manveru>
yeah...
<MoreTea>
AFAIK, that is what node2nix is trying to do.
<manveru>
node2nix rebuilds the world on every change
<MoreTea>
On the other hand, it's probably not that bad if you'd `nix-store --optimize`
<MoreTea>
I hope for you that you're not updating your nodejs dependencies hourly ;)?
<manveru>
plus node2nix downloads half of the npm registry every time you update packages.json :P
<MoreTea>
Ah, the yarn.lock file format is just awesome ;)
<manveru>
aye
<MoreTea>
it contains all the necessary bits of info to just download the .tar.gz's and call yarn
<manveru>
well, when i develop i often need to change deps, and we rebuild it for building docker containers and running specs etc...
<MoreTea>
We should invest some time in writing an RFC for yarn
<MoreTea>
to make _them_ do all the work to make it a sane system.
<manveru>
:)
AllanEspinosa has joined #nixos
<manveru>
if yarn had an option to modify postbuild hooks, that'd be cool
jensens has quit [(Ping timeout: 240 seconds)]
<nh2>
who owns/manages the AWS account which runs the cloudfront? It's slow even from AWS Frankfurt. I wonder if there are some knobs one could trivially tune to make it faster
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vyPWs
<simpson>
manveru: Hm. Would it be possible maybe for me to build the gem from private git, somehow get it into the store, and then build my bundler environment from that?
<manveru>
not sure if github supports it
<simpson>
'Cause I have the fetching from git working.
hiratara has quit [(Remote host closed the connection)]
fuzzy_id has quit [(Ping timeout: 264 seconds)]
<MoreTea>
manveru, zimbatm[m] do you have time tomorrow at 22h CET? Quick video chat to talk about what we can do to make yarn2nix work properly
<manveru>
ok
hiratara has joined #nixos
<MoreTea>
I'm too tired to do it right now ;)
<manveru>
simpson: that'll be tricky
<simpson>
manveru: IKR? But if this is to work at all, this is how it'll have to work.
<simpson>
What normally happens? Where do the gems go, if not in the store?
<manveru>
you can add the gem to your nix store
<manveru>
and then it should be used during bundlerEnv
<manveru>
as long as the checksum is the same
<manveru>
i just don't see how to do it in a single nix-build
<NixOS_GitHub>
[nixpkgs] joachifm pushed 4 new commits to master: https://git.io/vyPlT
<NixOS_GitHub>
nixpkgs/master 4433fc9 Michael Alan Dorman: elpa-package: 2017-03-13
<NixOS_GitHub>
nixpkgs/master 2b1faaa Michael Alan Dorman: melpa-stable-packages: 2017-03-13
<NixOS_GitHub>
nixpkgs/master 29559f6 Michael Alan Dorman: melpa-packages: 2017-03-13
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vyPlG
<NixOS_GitHub>
nixpkgs/master dff0ba3 Tuomas Tynkkynen: bash: Set bash_cv_getcwd_malloc=yes when cross compiling...
<manveru>
you can get all the gems using `bundle install --no-install --all --path some/path/to/store/the/gems` to get all .gem files
<manveru>
well, or you setup a gem-in-a-box and push your private gems there
<simpson>
manveru: Ugh, okay, so reading a bit deeper, it seems like nearly all gems are built with bundix? So I'd have to extend the core Ruby machinery to permit private git.
<manveru>
bundix basically makes a bundler cache directory with all .gem files and then runs `gem install` for each, then combines all derivations into a single directory via symlinks
<manveru>
if it finds a .gem file in your nix store, it'll use that
<manveru>
otherwise it tries to download it from one of the remotes specified in the gemfile
<manveru>
so you could just `nix-prefetch-url file:///some/path/with/your/private.gem`
<manveru>
as long as version and platform match, it shouldn't be a problem
<simpson>
Ugh.
<simpson>
I guess that that's not much worse than the current setup~
<NixOS_GitHub>
[nixpkgs] viric pushed 1 new commit to master: https://git.io/vyPlA
<manveru>
that way you could just push your private gem there, it'll act as a proxy to rubygems.org and get missing ones from there
<simpson>
That's not going to happen.
<manveru>
i really don't know how else you could do the auth inside nix if it requires an ssh agent
<simpson>
Meh. This is a confluence of Nix weak points and terrible past decisions.
<nh2>
gchristensen: I'm not an expert with cloudfront but my colleagues use it
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<manveru>
yeah... nix is like "everything's open source, right?" :)
<manveru>
if you could somehow get basic auth, you could just add user:pass to your Gemfile instead
<simpson>
manveru: Not even that. The Ruby bundler workflow is terrible, our internal gemspecs are terrible...
<simpson>
We already *have to* vendor a lot of code because it can't be pulled in any other way.
mkoenig has joined #nixos
<manveru>
i agree on bundler... wish it'd just die in a fire
<MoreTea>
manveru, I started to write a document to inform package managers of what is useful for a system like nix.
<MoreTea>
Bazel (from google) and habitat (from chef) are based (kinda) the same assumptions.
<manveru>
but npm is even worse, so there's that :P
<nh2>
gchristensen: do you know what cloudfront has set as origin (instance, bucket, ELB)?
<MoreTea>
There will probably only follow more in the future. Therefore we might be able to sway them to implement (additional) sensible behaviour
<MoreTea>
I'll at least try to convince the yarn peepz of that.
<manveru>
MoreTea: immutable is the future :)
<MoreTea>
jep
<MoreTea>
immutable & graph based.
ndowens08 has quit [(Quit: WeeChat 1.7)]
<gchristensen>
nh2: s3 bucket
<manveru>
well, i'm gonna get some sleep, cu tomorrow
<nh2>
gchristensen: in what region is the bucket?
<gchristensen>
us-east-1
<gchristensen>
(us-standard in s3 parlance)
<gchristensen>
cloudfront is correctly caching just fine, cf has very limited knobs to twiddle
filterfish has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vyPBT
<NixOS_GitHub>
nixpkgs/staging aba0b45 Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/master' into staging...
<nh2>
gchristensen: I agree, and the second download seems often nice and fast, I think the knobs would rather be how to configure the upstream. E.g. what about S3 cross-region replication?
<gchristensen>
cloudfront won't use the second bucket
myheadhurts_ has joined #nixos
ndowens08 has joined #nixos
<gchristensen>
also the bill will be sizable, nh2. we'd need serious donations for that.
ndowens08 has quit [(Client Quit)]
c0bw3b has left #nixos []
ndowens08 has joined #nixos
<ndowens08>
got to figure out these bspwm shortcuts lol, trying it out :)
<nh2>
gchristensen: what data transfer per month does the cache take, roughly?
<gchristensen>
nh2: it is sizable
<gchristensen>
but I'm not sure exactly
<NixOS_GitHub>
[nixpkgs] vcunat pushed 3 new commits to master: https://git.io/vyPRK
<NixOS_GitHub>
nixpkgs/master f54813d Will Dietz: llvm4: rc4 -> release!
<NixOS_GitHub>
nixpkgs/master 5746386 Vladimír Čunát: top-level llvm-4 attrs: drop lowPrio...
<nh2>
gchristensen: I mean "sizeable" is pretty relative, who can we ask to find out? I wonder how much I'd have to invest/donate for fast downloads
Rotaerk has joined #nixos
<MoreTea>
manveru, sleep well.
JagaJaga has quit [(Ping timeout: 240 seconds)]
<_deepfire>
have anyone used overlays to override nvidia_x11 -- but also with "libsOnly = true; kernel = null;" ?
stites has quit [(Ping timeout: 260 seconds)]
<clever>
_deepfire: xorg has to link against a copy built with libsOnly = true; kernel = null;, while the kernel needs a copy with those values flipped
<_deepfire>
I can't seem to be able to make it honor the libsOnly/kernel part
takle has quit [(Read error: Connection timed out)]
<gchristensen>
nh2: well we have about 50k-100k unique users each month, and the total binary cache is 40TB
<_deepfire>
clever, the old one, that you gave me a while ago is just fine:
<rycee[m]>
ronny: Hey again. I have had the thought to attempt to use the nixos test framework to test home-manager but it is unlikely that I'll get to it within the near future. I would be happy to assist anybody who'd like to give or a go, though.
<clever>
_deepfire: i dont think you need to play with linuxPackages at all, you can just directly use an override from pkgs.nvidia_x11
viric has quit [(Remote host closed the connection)]
<clever>
_deepfire: oh, and overrideDerivation is the wrong thing to use, that wont set the right libsOnly
<clever>
_deepfire: libsOnly is part of .override
<_deepfire>
clever, hmm.. nvidia_x11 is now in the root package set?
<_deepfire>
do I have old nixpkgs?
<clever>
_deepfire: it might just be called nvidia
shanemikel has quit [(Read error: Connection reset by peer)]
<clever>
_deepfire: i think you want this, and use that directly, dont insert it back into linuxPackages
<_deepfire>
clever: why would it make a difference?
<clever>
the linuxPackages stuff may make other changes to it
<nh2>
gchristensen: 40 TB sounds handleable, how much traffic is on the Cloudfront downloads? I'm assuming the egress costs will be the dominating number here?
<clever>
_deepfire: and also, .overrideDerivation and .override work at very different layers
<gchristensen>
nh2: I don't know
<yorick>
fpletz: never mind, it was just the 4.9 -> 4.10 upgrade that caused it
<gchristensen>
egress is a major cost, yes
<yorick>
I hope they'll fix my suspend soon
<nh2>
gchristensen: who's financing the AWS account / who would I donate to? Surely there must be somebody who can tell this straight from the bill
m0rphism has quit [(Read error: Connection reset by peer)]
<nh2>
(I also feel a bit bad for draining their money every time I boot up a nixops cluster, as cloudfront isn't cheap either)
<gchristensen>
numerous companies and individuals donate money for it :) most of them are at the bottom of that page. don't feel bad :P
<clever>
nh2: ive was thinking about how to make a binary cache cache
<viric_>
I updated my nixos to 17.03 but now I cannot login by ssh
<clever>
nh2: so you can set your nixops cluster to all use the cache cache, and then it only hits cloudfront once for each derivation
<gchristensen>
I mean, just a squid proxy, no?
<clever>
gchristensen: squid can expire things, and it generaly doesnt cache large objects without extra config
<_deepfire>
clever, there's a reason I'm using overlays -- I don't control the point-of-use
<clever>
gchristensen: and if you use https://cache.nixos.org/ squid cant do anything, ssl protects the link
<nh2>
clever: or putting e.g. cloudflare in front of the cache (doesn't solve the slow initial download problem but gives free downloads as compared to CloudFront)
<_deepfire>
clever, all I can affect is nixpkgs while
<_deepfire>
*whole
<viric_>
it feels like PAM is wrong...
erasmas has quit [(Quit: leaving)]
<clever>
_deepfire: it looks like the main use is on line 19, which is in foo.nix?
<viric_>
gchristensen: what did you do with oath, then?
<_deepfire>
clever: it doesn't do a lot beyond the basic manual thing yet, but it provides enough context for plausible automation
<clever>
gchristensen: my first request from OVH missed CF and took a while, forgot to time it, now its hitting the cache, and responds between 0.1 and 1.0sec
<gchristensen>
nh2: can you ping the url and send me an IP?
<gchristensen>
nh2: unfortunately this won't be solved by replicating s3 to europe, because that first one was a hit with a long-time-cached result
<nh2>
gchristensen: The "Germany location 1" problem won't be solved by replicating to Europe, yes, but that's not so big of a problem (the Frankfurt EC2 initial download being capped at 2 MB/s is a bigger one) and it seems special as ping time of 25 ms is totally out of line with the 4-6 seconds for the head
<nh2>
gchristensen clever: actually I think I found something. Just downloaded a file that I downloaded just ~20 minutes ago, and it's `x-cache: Miss from cloudfront` again. Maybe the timeout is super short somehow?
peterhoeg has joined #nixos
<gchristensen>
you're reaching a different server, most likely
AllanEspinosa has quit [(Ping timeout: 260 seconds)]
takle has quit [(Remote host closed the connection)]
<nh2>
gchristensen: this is from inside EC2 Frankfurt though (both the DL now and 20 minutes ago), it definitely fetched that across the ocean at least once
<viric_>
gchristensen: we'll have to take a look at the oath test, and why I cannot login using ssh
<viric_>
gchristensen: your nixos oath test should be somehow wrong, because I could not log in
eacameron has quit [(Remote host closed the connection)]
<gchristensen>
however, the oath module as it was configured isn't a widely desirable configuration, and is likely CVE-worthy, is why I changed it. if you can find an issue with the test, that would be helpful. I tested it automatically and manually many times before committinng it.
<nh2>
clever: I'm intrigued by the "cache cache" idea, I'd really love to set up my own cache mirror containing the entire cache to be able to provision clusters at 1/10 Gbit/s speed, and egress from Hetzner/OVH is 100x cheaper than AWS's, so it might save some money
<viric_>
gchristensen: with ssh?
<wak-work>
did kernel 4.10 make nix sandboxing slower for anyone here?
eacameron has joined #nixos
<viric_>
gchristensen: what happens with my oath config? What is wrong there?
<gchristensen>
seems only with login(1)
eacameron has quit [(Read error: Connection reset by peer)]