thc202 has quit [(Ping timeout: 245 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
ambro718 has quit [(Ping timeout: 245 seconds)]
filterfish has joined #nixos
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
acowley is now known as acowley_away
mudri` has joined #nixos
<DavidEGrayson> Sonarpulse: personally, I would fix the bugs with cross-compiling first before doing all this refactoring
<Sonarpulse> DavidEGrayson: heh locally i have even more I think
<Sonarpulse> DavidEGrayson: I am ok landing yours first :)
mudri has quit [(Ping timeout: 258 seconds)]
<Sonarpulse> well maybe my commit 1 and then yours and then my commit 2 :)
markus1199 has joined #nixos
mudri`` has joined #nixos
markus1189 has quit [(Ping timeout: 264 seconds)]
leothrix has quit [(Remote host closed the connection)]
mudri`` has quit [(Client Quit)]
mudri` has quit [(Ping timeout: 240 seconds)]
berce has quit [(Ping timeout: 250 seconds)]
jensens has quit [(Ping timeout: 246 seconds)]
leothrix has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
rnhmjoj has left #nixos ["WeeChat 1.6"]
<gchristensen> domenkozar: I'm going to go ahead and backport. I don't think minor versions mean anything to vagrant.
systemfault has quit [(Quit: Bye!)]
<domenkozar> roger
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to release-16.09: https://git.io/v1dOI
<NixOS_GitHub> nixpkgs/release-16.09 100795e Kamil Chmielewski: vagrant: 1.8.7 -> 1.9.1...
abcrawf has quit [(Remote host closed the connection)]
abcrawf has joined #nixos
stepcut has joined #nixos
zagy has joined #nixos
zagy has quit [(Client Quit)]
<puffnfresh> my downloads from my binary cache are really slow
<puffnfresh> using aria2c makes it fast, via parallel connections
<puffnfresh> can I make Nix use an alternative command for fetchurl requests?
<DavidEGrayson> interesting
<gchristensen> puffnfresh: where are you located?
<puffnfresh> middle of nowhere, Tasmania, Australia
<puffnfresh> I have a 50mbps down connection - I can saturate that if I use parallel connections
<puffnfresh> so not my connection
<gchristensen> ack... I think we don't pay for a cloudfront mirror in australia
redmq has joined #nixos
<gchristensen> puffnfresh: how hacky do you want to get? :D
<gchristensen> oh, hrm... no, I think I can only help override fetchurl :(
<puffnfresh> it's not so awful if I have many things to resolve from the cache
<puffnfresh> but when I have a single not-small thing, it takes a long time
<puffnfresh> I don't want to nixpkg *override* fetchurl do I?
<puffnfresh> wouldn't that change the hash and I'd have 0 binary cache?
<gchristensen> no, because fetchurl is a fixed output
<puffnfresh> oh cool
<puffnfresh> I'm happy with that then
<gchristensen> but it doesn't help, because that happens only if it isn't available as a substitution in the cache
redmq has quit [(Ping timeout: 260 seconds)]
<puffnfresh> oh cause Nix handles the substitution, not nixpkgs?
<gchristensen> right
alunduil has quit [(Quit: leaving)]
<puffnfresh> now way to override the substituter?
<puffnfresh> s/now/no/
<gchristensen> not that I know of, but I'd ask clever if they're around
<puffnfresh> I might file an issue in NixOS/nix then
<puffnfresh> thanks gchristensen
<gchristensen> you're welcome, good luck :)
<gchristensen> another issue you could open (nixpkgs/nixos-homepage) is asking if we have cloudfront in australia
<gchristensen> or if you're having to hit an overseas endpoint
warbo has quit [(Ping timeout: 264 seconds)]
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
[0x4A6F] has quit [(Ping timeout: 252 seconds)]
[0x4A6F] has joined #nixos
Wizek_ has quit [(Ping timeout: 260 seconds)]
<mguentner> puffnfresh: on what channel / commit is your system running? Have a look: https://github.com/NixOS/nixpkgs/commit/9007303001dc885e8424540ee28f89abac5c5bab
Rotaerk has quit [(Read error: Connection reset by peer)]
Rotaerk has joined #nixos
<adelbertc> whats the best way to source the git-completion and git-prompt shell scripts from a nix-installed git? in the middle of writing a janky shell script that resolves the symlink to the acutal git install dir and looking in a specific subdirectory, but surely there is a better way?
sellout- has joined #nixos
<adelbertc> ohello sellout-
<adelbertc> ...... assuming this is sellout- i think it is
<sellout-> adelbertc: It is ;)
zraexy has joined #nixos
Wizek_ has joined #nixos
wkennington has quit [(Quit: Leaving)]
wkennington has joined #nixos
ok2 has quit [(Ping timeout: 252 seconds)]
angerman has quit [(Quit: Bye)]
<puffnfresh> adelbertc: nix-env installed?
derjohn_mobi has joined #nixos
<puffnfresh> look under ~/.nix-profile if so
herzmeister has quit [(Quit: Leaving)]
<adelbertc> puffnfresh: ahhhh i see
herzmeister has joined #nixos
<adelbertc> so is it safe to assume git bash completion will always be in
<adelbertc> ~/.nix-profile/etc/bash_completion.d/
angerman has joined #nixos
<puffnfresh> no
<puffnfresh> if it's NixOS and it's installed via systemPackages, it'll be under /run/current-system/sw
derjohn_mob has quit [(Ping timeout: 265 seconds)]
angerman has quit [(Quit: Bye)]
angerman has joined #nixos
<adelbertc> Ah ok
<adelbertc> But for say, Nix on Mac OS like I'm on rn
<puffnfresh> mguentner: thanks, I'm on 16.09
<puffnfresh> mguentner: so doubtful I have that
<puffnfresh> adelbertc: yeah, if it's installed via nix-env, yeah, that's where it will always be
redmq has joined #nixos
<puffnfresh> I guess it's possible to have multiple profiles and switch between them
<puffnfresh> but this will work for 99% of OS X users, I imagine
jsgrant_ has joined #nixos
mbrgm has quit [(Ping timeout: 260 seconds)]
zraexy has quit [(Ping timeout: 265 seconds)]
redmq has quit [(Ping timeout: 252 seconds)]
mbrgm has joined #nixos
<adelbertc> Cool beans, thanks puffnfresh !
<ToxicFrog> Success: bup. Adding overrides to build the dev version from my repo rather than the latest release was super easy, much easier than doing the equivalent on, say, SUSE is. A+ NixOS.
<ToxicFrog> Failure: sound isn't working, although there may just be an option I need to set for that, and steam complains about missing 32-bit libraries and then fails to start up.
zraexy has joined #nixos
mkoenig has quit [(Quit: Lost terminal)]
<puffnfresh> I know how to fix the 32-bit lib problem
<puffnfresh> set hardware.opengl.driSupport32Bit = true;
filterfish_ has joined #nixos
<puffnfresh> and probably hardware.pulseaudio.support32Bit = true; if you use PulseAudio
suvash_away has quit [(Ping timeout: 240 seconds)]
<ToxicFrog> For sound it looks like I want hardware.pulseaudio.enable = true and sound.enable = true
<puffnfresh> I think the former implies the latter
x1n4u- has joined #nixos
<ToxicFrog> If steam requires hardware.opengl.driSupport32Bit, shouldn't selecting steam automatically set that (or depend on whatever that triggers dependencies on)? Should this be considered a bug in the steam package?
jluttine has quit [(Ping timeout: 260 seconds)]
x1n4u has quit [(Ping timeout: 240 seconds)]
x1n4u- is now known as x1n4u
nathan7_ has joined #nixos
suvash_away has joined #nixos
markus1189 has joined #nixos
jluttine has joined #nixos
nathan7 has quit [(Ping timeout: 240 seconds)]
filterfish has quit [(Ping timeout: 240 seconds)]
markus1199 has quit [(Ping timeout: 240 seconds)]
<jsgrant_> Is Steam in a notably "working state" even in NixOS, currently? Haven't tried it yet.
<NixOS_GitHub> [nixpkgs] jerith666 opened pull request #21276: Plex: update, open ports (master...plex-133) https://git.io/v1dcD
<puffnfresh> that's tricky
<puffnfresh> jsgrant_: yes
<puffnfresh> ToxicFrog: there should maybe be a "programs.steam.enable" option in nixpkgs
<puffnfresh> having a package in your systemPackages or in your user environment doesn't really give the ability to check NixOS conditions
<puffnfresh> there should probably be a single option to enable Steam and everything it needs, though
<puffnfresh> programs.zsh.enable is a thing already, for example
zraexy has quit [(Ping timeout: 240 seconds)]
* jsgrant_ might try getting it installed by the end of year on desktop rig then.
pchiusano has quit [(Ping timeout: 240 seconds)]
zraexy has joined #nixos
<jsgrant_> Back on NixOS, after a bout of LispM-like aspirations took me again for a week.
pchiusano has joined #nixos
zagy has joined #nixos
* jsgrant_ still wants to look into getting Godot in NixPkgs ... but seems like a pretty ambitious "first expression".
Xackle has quit [(Ping timeout: 240 seconds)]
zimbatm has quit [(Ping timeout: 240 seconds)]
Matrixiumn has joined #nixos
simpson has quit [(Ping timeout: 240 seconds)]
<ToxicFrog> puffnfresh: yeah, and it was actually really unpleasantly surprising to discover that I needed to set that and requiring zsh to be installed didn't set it automatically :/
<ToxicFrog> This tastes like a design flaw.
simpson has joined #nixos
<ToxicFrog> Ok, sound is now working, although I had to reboot to enable it.
<jsgrant_> The recent 'nixcrate' news really got me excited for NixOS again, actually.
nathan7_ is now known as nathan7
<ToxicFrog> Steam starts up fine and Drox Operative runs, so I'm going to tentatively declare steam working.
<ToxicFrog> nixcrate?
zimbatm has joined #nixos
<ToxicFrog> Aah
<jsgrant_> Namely "A drop-in replacement for cargo which yet uses crates.io index."
<ToxicFrog> I haven't rusted in a while
<ToxicFrog> Although that reminds me, I should make sure leiningen works
<jsgrant_> I haven't not-all-too-much, but is excited to play with it a lot more -- especially 2017 and onward ... where I plan on refocusing my efforts towards more traditional systems-programming.
* ToxicFrog nods
zagy has quit [(Quit: Leaving.)]
<jsgrant_> Mostly that will be C++, but Rust seems like a fun supplemental skill to pick up.
<ToxicFrog> I don't really have any opportunity to use it at work, it's all C++ there :/
<ToxicFrog> And when not at work I'm generally using clojure.
* Shell blinks at ToxicFrog being in here.
<ToxicFrog> Hi Shell!
<Shell> heya
* jsgrant_ was going REAAALLY near-crazy Lisp-wise... kinda purged his harddrive of everything (now twice).
<ToxicFrog> o.O
<jsgrant_> Have a real tendency towards absurd levels of idealism.
zraexy has quit [(Ping timeout: 248 seconds)]
<jsgrant_> *Everything Lisp-based/centered (if not clear).
ben__ has joined #nixos
ben has quit [(Ping timeout: 240 seconds)]
<ToxicFrog> One of the things I like about clojure is that it seems to bend closer to the practicality side of the practicality/idealism scale
<ToxicFrog> Scheme I really liked on paper but never actually accomplished anything in
<ToxicFrog> Shell: I'm only just getting feet wet with NixOS, a friend at work was burbling about it and I decided to check it out.
<jsgrant_> ToxicFrog: Many people are romantics, most are hopeless-romantics ... if you can handle what I've deemed to call "software-romance cultures" and still end up somewhat productive -- good on ya.
suvash_away has quit [(Ping timeout: 240 seconds)]
<ToxicFrog> jsgrant_: well, clojure I've actually shipped software in that other people find useful, so I'm going to chalk that up as a success
BlessJah has quit [(Ping timeout: 240 seconds)]
<ToxicFrog> That's more than I ever accomplished in scheme or haskell
BlessJah has joined #nixos
suvash_away has joined #nixos
<jsgrant_> After about 3 years of fighting myself on it, and the last year to near maxim ... just don't trust myself anymore. I was writing a damned tiling-desktop environment that I was planning to ship a custom linux-distro to at somepoint for dog's sake.
<jsgrant_> most aren't hopeless-romantics*
<jsgrant_> ToxicFrog: Again, good on ya. Actually Clojure not being "idealist" or at least "lisp-enough" is one of the reasons I really never picked it up.
cornu has quit [(Ping timeout: 240 seconds)]
cornu1 has joined #nixos
PragCyph1 has joined #nixos
<jsgrant_> Though that being said, coming back to AGLOL &/or ML-like langs ... after near 5 years absent hacking in any meaningful way -- it feels pretty weird/foreign at this point.
<Shell> ToxicFrog: NixOS is my daily driver. :)
<jsgrant_> Shell: Tiling Wm, or DE?
unlmtd[m] has quit [(Ping timeout: 240 seconds)]
nmattia has quit [(Ping timeout: 240 seconds)]
unlmtd[m] has joined #nixos
<ToxicFrog> Shell: nice! I've actually been preparing to migrate my server to it for a little while, but that's a production system external users depend on, so I have to be pretty cautious
nmattia has joined #nixos
<ToxicFrog> Whereas my laptop is only depended on by me, so I can be a bit more careless with it
PragCyphr has quit [(Ping timeout: 250 seconds)]
<ToxicFrog> so far it's going pretty well.
<jsgrant_> ToxicFrog: I've had my home-server on it for a few months now; On the edge now though, as of last week, running unstable on it... probably not the best idea but eh. Mostly just home-movies, etc.
<Shell> ToxicFrog: given that there's only recently been mumblings of setting up a security team, I probably wouldn't put it on an internet-facing server, personally. >.>
<ToxicFrog> Shell: I suspect that (e.g.) sshd and nginx are not any less secure running on Nix than on, say, SUSE
<ToxicFrog> jsgrant_: mine's SUSE tumbleweed, but with enough custom configuration stuff that every update is terrifying and I've had a few outages from updates gone horribly wrong
<ToxicFrog> Having all my configuration in /etc/nixos and being able to easily roll back if it goes sproing are both really appealing
ncl28 has quit [(Ping timeout: 240 seconds)]
<Shell> ToxicFrog: no, but random software in the repo has a tendency to not get updated or patched.
ncl28 has joined #nixos
<jsgrant_> ToxicFrog: I've yet to have any issuses, but luckily have I ever with that box ... so may just be a fluke at this point; That being said I've ran more slow-rolling distros historically. Namely Debian 'Stable' & Fedora Server, etc.
* ToxicFrog nods
<ToxicFrog> the main thing keeping me from just flipping the switch right now is that I need to convert a bunch of mail spools, which means a few hours of downtime
<ToxicFrog> And I don't want to drop that on people without warning
<ToxicFrog> If mail and sshd are working it's ok if the other services take a few hours or even a few days to come back up; people can live without DoomRL scoreboards for a bit.
<Shell> ToxicFrog: no, no they cannot! :P
<simpson> My Hydra has a stack overflow. Is there a way to get the stack trace?
Fare has joined #nixos
<simpson> It doesn't reproduce locally. (Of course.)
hexagoxel has quit [(Ping timeout: 264 seconds)]
hexagoxel has joined #nixos
sellout- has quit [(Quit: Leaving.)]
sellout- has joined #nixos
sellout- has quit [(Read error: Connection reset by peer)]
mguentner has quit [(Quit: WeeChat 1.6)]
sellout- has joined #nixos
mguentner has joined #nixos
hotfuzz_ has quit [(Read error: Connection reset by peer)]
hotfuzz_ has joined #nixos
<hodapp> what's the kosher way of installing Rust on NixOS?
<Ralith> hodapp: rust is packaged officially
<Ralith> do you need a nightly or something?
<hodapp> hummm, I suppose I likely do not
<hyper_ch> rustc-1.12.1 (nixos.rustc)
<hyper_ch> A safe, concurrent, practical language
<hyper_ch> I guess that's it
<hyper_ch> rust has lately become a hype language it seems
<Ralith> rust has always been a hype language, but as of six months ago or so it's ready for use in production
<hodapp> hype or not, I do really like the approach they took
<hyper_ch> now there's already 3 users that I know who use it
<hyper_ch> a couple of months back it was 0
uralbash has joined #nixos
<Ralith> it's a good time to get on board
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<jsgrant_> hodapp: You probably want 'rustc' 'cargo' 'rustracer' 'rustracerd' 'rustfmt' in your config.
<Ralith> "rust" includes rustc and cargo
<Ralith> hodapp: if you do at some point need nightly, see https://github.com/solson/rust-nightly-nix
<hodapp> Ralith: thanks!
<jsgrant_> Was just talking about https://github.com/nixcloud/nixcrates as well.
<jsgrant_> Ralith: I was getting some weird 'coercing string' error on unstable, trying to call the "rust" expresission; Was too lazy to debug though.
<Ralith> jsgrant_: ah, maybe I'm confusing it with the rust-nightly expression
* jsgrant_ hasn't looked into enough to form a view either way; Very possible he was doing something wrong and/or non-ideal.
<hodapp> what is the difference between having packages in my configuration, and installed manually via nix-env? i.e. if I add those packages to configuration.nix and nixos-rebuild, what changes (besides me having things in a more convenient/declarative format)?
<jsgrant_> Still slowly trying to build a decent even C++ development environment in NixOS at this point.
<jsgrant_> hodapp: Well besides being declaritive, when doing "garbage collection" in Nix it shouldn't yank those non-defined packages out.
proteusguy has quit [(Quit: Leaving)]
<jsgrant_> Maybe that is a postive of being declaritive though, really?
<Ralith> hodapp: nix-env stuff is installed in your user profile, configuration.nix stuff is installed globally
<jsgrant_> Ralith: That is a much better way to put it.
<hodapp> Ralith: what if I've installed as root?
<Ralith> hodapp: not sure
<Ralith> I don't do that
<hodapp> jsgrant_: it seems strange to me that GC would get rid of stuff I'd installed explicitly
<Ralith> hodapp: I generally try to put the bare minimum in configuration.nix, and then declaratively specify all my user environment stuff and manage it as a monolithic unit installed as a single package with nix-env
<Ralith> hodapp: nix will not GC stuff that's in a selected profile
<Ralith> i.e. things installed with nix-env
<jsgrant_> Ralith: Hm, then what did I do as root one-time that certainly did-so? :^P
<Ralith> I have no idea what you did, or what effects you observed, but the GC only deletes unreferenced stuff
* jsgrant_ for a bit, was installing just-about everything via a user-profile's nix-env; Did he thinks a "sudo nix-collect-garbage -d" and notice almost all his profile was gone. Notably mpv, mpd, firefox, thunderbird, and a few others.
redmq has joined #nixos
* jsgrant_ wonders if he accidently threw in a flag that extended to "all profiles" or something.
<jsgrant_> Couldn't imagine though. :^P
<jsgrant_> Who knows, this was within the first month of using NixOS -- some maybe I did something else absurd in-tangent and forgot about it.
<jsgrant_> so maybe*
scadu78 has quit [(Remote host closed the connection)]
redmq has quit [(Ping timeout: 248 seconds)]
<Ralith> -d just deletes inactive profiles, which won't do anything to stuff that's in an up to date PATH
<Ralith> maybe you had a shell from a really old profile open somewhere
<Ralith> you'd have to have since explicitly removed all the stuff that then went missing
<Rotaerk> is there a simple way to override nixpkgs.cabal2nix with a higher version from hackage
<Rotaerk> it's not just a hackage package... it's also a direct child of nixpkgs, with a postInstall step, so I don't think the typical haskell overrides work
mguentner2 has joined #nixos
<Rotaerk> wondering if I basically need to replicate the expression from pkgs/top-level/all-packages.nix, but replace self.haskellPackages.cabal2nix with my own derivation override
mguentner has quit [(Ping timeout: 264 seconds)]
<jsgrant_> Ralith: Yeah, not sure -- I'll take your word for it though.
<Ralith> hm
amarsman has quit [(Ping timeout: 264 seconds)]
<Ralith> jsgrant_: it's also possible you had a *very* old profile open and had installed updates obsoleting the things you saw go missing, rather than uninstalled anything
<Ralith> probably more likely
filterfish_ has quit [(Remote host closed the connection)]
filterfish_ has joined #nixos
<jsgrant_> Ralith: I was, from what I remember, messing with a bunch of different profiles at that time; But as said, it was only during about the course of the 1st month I was on NixOS when it happened so I don't know about "*very* old" profile. No big deal either way, I now assume it is/was user-error & only happened that one time that I am aware of. :^P
fritschy has joined #nixos
<Ralith> it's interesting to consider, though; user error is documentation error
<jsgrant_> Sometimes true, but at the time I was only pecking around & wasn't as serious as I am now about learning the envrioment -- so I don't put that much credence beyond that of user-error. Speaking of documentation errors though, still need to check bugglist if there is something on KDE's khelpcenter being borked in plasma5.
<jsgrant_> Just about every entry error's to a variant of "The requested help file could not be parsed:<br />/run/current-system/sw/share/doc/HTML/en//fundamentals/index.docbook".
<jsgrant_> Always something to do. :^)
* jsgrant_ leers at clock. Okay ... time to finally go afk & hopefully to bed, before midnight. o/
ryanartecona has joined #nixos
sellout- has quit [(Quit: Leaving.)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
deepwater has quit [(Quit: Leaving)]
deepwater has joined #nixos
<Rotaerk> is there some way to track all file accesses by a particular program?
<Rotaerk> trying to run cabal2nix from within a derivation, and it's failing saying that it cannot create a directory in homeless-shelter
<Rotaerk> so I'm trying to figure out ... why cabal2nix is trying to create a directory
<clever> Rotaerk: strace is the simplest, strace -ff -o logfiles cabal2nix
<Rotaerk> thanks
<clever> and thats what $HOME is set to during a build
Shados has quit [(Ping timeout: 240 seconds)]
<Rotaerk> yea, just not sure why cabal2nix would be creating a folder in $HOME
Shados has joined #nixos
* Havvy was too slow to suggest strace.
<clever> i was going to say /proc/sys/vm/block_dump, but that only shows things that actualy work
<clever> so it wont catch things with permission errors
<Rotaerk> ah, looks like it creates a ~/.cache/cabal2nix file...
<Rotaerk> wonder if I can change $HOME to some subfolder of $out
indi_ has joined #nixos
Wizek_ has quit [(Ping timeout: 260 seconds)]
<Rotaerk> looks like I can
zagy has joined #nixos
<Rotaerk> any idea where nix-prefetch-url comes from? doesn't seem to be in nix-prefetch-scripts
<Rotaerk> it's also in a different location from the other prefetch-scripts, if I do "which nix-prefetch-url"
Mercuria1Alchemi has joined #nixos
redmq has joined #nixos
<Rotaerk> got it; it' sfrom the nix package...
redmq has quit [(Ping timeout: 250 seconds)]
Wizek has joined #nixos
<Rotaerk> bleh.. and I can't add that to my buildDepends... it wants to write to /nix/var/nix/db
reinzelmann has joined #nixos
Wizek has quit [(Ping timeout: 260 seconds)]
rly has joined #nixos
katyucha has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
rly has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] rickynils closed pull request #21272: nixos-rebuild: Fix SSHOPTS typo (master...sshopts_fix) https://git.io/v1dUq
<NixOS_GitHub> [nixpkgs] rickynils pushed 2 new commits to master: https://github.com/NixOS/nixpkgs/compare/c2e2a8120ff9...4b3f1063aa42
<NixOS_GitHub> nixpkgs/master 0cf907a Maximilian Güntner: nixos-rebuild: Fix SSHOPTS typo...
<NixOS_GitHub> nixpkgs/master 4b3f106 Rickard Nilsson: Merge pull request #21272 from mguentner/sshopts_fix...
jacob_ has joined #nixos
jacob_ is now known as Guest64436
akaWolf has quit [(Ping timeout: 256 seconds)]
akaWolf has joined #nixos
johann__ has joined #nixos
fritschy has quit [(Remote host closed the connection)]
johann__ has quit [(Quit: Leaving.)]
johann__ has joined #nixos
xwvvvvwx has joined #nixos
fritschy has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #21277: wireguard: 0.0.20161209 -> 0.0.20161218 (master...wireguard) https://github.com/NixOS/nixpkgs/pull/21277
amarsman has joined #nixos
Fare has quit [(Ping timeout: 264 seconds)]
FareTower has joined #nixos
ebzzry has quit [(Ping timeout: 265 seconds)]
hotfuzz_ has quit [(Read error: Connection reset by peer)]
hotfuzz has joined #nixos
Wizek has joined #nixos
Itkovian has joined #nixos
christine_ has joined #nixos
Wizek_ has joined #nixos
MichaelRaskin has quit [(Quit: MichaelRaskin)]
<NixOS_GitHub> [nixpkgs] rickynils pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/327a650f09583b6f7d5bb2812bdd8d5b5a8fdab6
<NixOS_GitHub> nixpkgs/master 327a650 Rickard Nilsson: google-cloud-sdk: 134.0.0 -> 138.0.0
<ronny> i
<NixOS_GitHub> [nixpkgs] rickynils pushed 1 new commit to release-16.09: https://git.io/v1d23
<NixOS_GitHub> nixpkgs/release-16.09 1592f84 Maximilian Güntner: nixos-rebuild: Fix SSHOPTS typo...
<ronny> is there any way o make fetch_from_github use a full checkout including tags?
<NixOS_GitHub> [nixpkgs] rickynils pushed 3 new commits to release-16.09: https://github.com/NixOS/nixpkgs/compare/1592f8424757...5e06a9f4960f
<NixOS_GitHub> nixpkgs/release-16.09 ed85d8b Aristid Breitkreuz: google-cloud-sdk: 122.0.0 -> 134.0.0...
<NixOS_GitHub> nixpkgs/release-16.09 dcfce7d Aristid Breitkreuz: google-cloud-sdk: add assertion for x86/x86-64 Linux...
<NixOS_GitHub> nixpkgs/release-16.09 5e06a9f Rickard Nilsson: google-cloud-sdk: 134.0.0 -> 138.0.0...
obadz has quit [(Ping timeout: 265 seconds)]
Itkovian has quit [(Ping timeout: 250 seconds)]
obadz has joined #nixos
jensens has joined #nixos
Itkovian has joined #nixos
uu has joined #nixos
johann__1 has joined #nixos
johann__ has quit [(Ping timeout: 250 seconds)]
xwvvvvwx has quit [(Ping timeout: 258 seconds)]
<LnL> fetchFromGitHub should work with tags
Matrixiumn is now known as Xackle
<puffnfresh> yes, but you have to specify it by a full refspec
<puffnfresh> e.g. rev = "refs/tags/v1.5";
xadi has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
anelson has joined #nixos
FareTower has quit [(Quit: Leaving)]
ckauhaus has joined #nixos
flyx has quit [(Quit: ZNC - http://znc.in)]
flyx has joined #nixos
xadi has quit [(Ping timeout: 265 seconds)]
flyx has quit [(Client Quit)]
flyx has joined #nixos
flyx has quit [(Client Quit)]
flyx has joined #nixos
mguentner2 is now known as mguentner
<LnL> puffnfresh: does that work? fetchFromGitHub doesn't use git
<puffnfresh> oooh
<LnL> yes it's fetchurl with https://github.com/<owner>/<repo>/archive/<rev>.tar.gz
indi_ has quit [(Remote host closed the connection)]
<LnL> ronny: does the repo have a tag and branch with the same name or does the build want a real git checkout?
viric_ is now known as viric
zagy has quit [(Quit: Leaving.)]
redmq has joined #nixos
zagy has joined #nixos
thc202 has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [(Read error: Connection reset by peer)]
redmq has quit [(Ping timeout: 256 seconds)]
FRidh has joined #nixos
hotfuzz_ is now known as hotfuzz
<NixOS_GitHub> [nixpkgs] FRidh pushed 3 new commits to master: https://git.io/v1dw3
<NixOS_GitHub> nixpkgs/master 4058735 Alexey Shmalko: flask: 0.10.1 -> 0.11.1
<NixOS_GitHub> nixpkgs/master 07950a2 Alexey Shmalko: octoprint: allow any flask version
<NixOS_GitHub> nixpkgs/master 2f91dd3 Frederik Rietdijk: Merge pull request #20590 from rasendubi/flask-0.11.1...
nschoe has joined #nixos
rly has joined #nixos
Itkovian has joined #nixos
goibhniu has joined #nixos
MoreTea has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #21279: fte: init at 0.50.02 (master...master) https://github.com/NixOS/nixpkgs/pull/21279
derjohn_mobi has quit [(Ping timeout: 258 seconds)]
ThatDocsLady has joined #nixos
wkennington has quit [(Read error: Connection reset by peer)]
XeonSquared has left #nixos ["WeeChat 1.6"]
Itkovian has quit [(Ping timeout: 268 seconds)]
civodul has joined #nixos
Itkovian has joined #nixos
warbo has joined #nixos
Itkovian has quit [(Quit: Textual IRC Client signing off)]
derjohn_mobi has joined #nixos
Itkovian has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 4 new commits to master: https://git.io/v1dPv
<NixOS_GitHub> nixpkgs/master 56c0f5d Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master 708070d Will Dietz: 7.4.2-binary: paxmark ghc binary
<NixOS_GitHub> nixpkgs/master 3870663 Will Dietz: ghc-8.x: paxmark ghc and haddock
<NixOS_GitHub> [nixpkgs] peti closed pull request #21163: GHC pax fixes (master...feature/ghc-pax-fixes) https://git.io/v1yqy
xadi has joined #nixos
<peti> ikwildrpepper, niksnut: I lost access to hydra.nixos.org when support for Persona was dropped. Now I'd like to restart a build (http://hydra.nixos.org/build/45083762), but can't. :-(
berce has joined #nixos
<NixOS_GitHub> [nixpkgs] jdanekrh opened pull request #21280: zim: fix #21270 (double call of wrapPythonPrograms) (master...zim) https://git.io/v1dX0
<ronny> LnL: the build wants a real checkout
<LnL> you should use fetchgit then
latk has quit [(Read error: Connection reset by peer)]
oida has joined #nixos
johann__1 has quit [(Quit: Leaving.)]
johann__ has joined #nixos
greeny___ has joined #nixos
latk has joined #nixos
jgertm_ has joined #nixos
<niksnut> peti: do you have a google account?
<peti> niksnut: Yes: simons@cryp.to.
<niksnut> peti: can you try to log in with that?
<peti> niksnut: I tried it a moment ago. But nothing happens.
<niksnut> nothing?
<domenkozar> niksnut: hydra is stuck :)
<domenkozar> peti: check console for errors
<peti> domenkozar: Console?
<domenkozar> peti: javascript console
<peti> Hmm. I see a message "Empty string passed to getElementById()."
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/v1d1p
<NixOS_GitHub> nixpkgs/master 3745be8 Jiri Danek: zim: fix #21270 (double call of wrapPythonPrograms)...
<peti> The error occurs in "jquery-1.12.3.js:2925:12".
tommyangelo has joined #nixos
<peti> niksnut: I choose "Sign in -> Sign in with Google", but there is no observable effect. I am logged into Google when I try that, so the credentials should be available.
<tommyangelo> hello all. I'm a brand new nixos user. Great experience so far! I have a noob question: I use cbatticon, but there is no battery icon, just a default grey square. I added paper-icon-theme to my systemPackages, but nothing changed. What am I missing?
<Armael> umm, I installed gmp (nix-env -i gmp), but compiling a C program that uses it doesn't seem to work (in my case, some package in opam)
<tommyangelo> Awesomewm, btw, but it probably makes no difference
<Armael> (not working being not finding gmp.h)
<domenkozar> Armael: nix-shell -p gmp
<peti> Armael: The compiler/linker doesn't look into ~/.nix-profile/{lib,include} by default.
<niksnut> peti: so there is no popup?
<niksnut> what if you log out?
<Armael> ah..
<srhb> tommyangelo: I see the same, so it's probably not pointing to the right place.
<Armael> what's the best way to setup an environment so that all my opam packages compile?
<Armael> they use a handful of C libraries
<tommyangelo> srhb: so this is a bug?
<srhb> tommyangelo: Looks like it to me.
<LnL> peti: I should be able to get it working in a generic way to fix the cabal dyld issues
<tommyangelo> ok I'll check github issues
<Armael> btw, does the compiler/linker not look for .h at all? I also have gmp installed globaly (in configuration.nix)
<srhb> tommyangelo: cbatticon -t shows no available icon types.
<tommyangelo> srhb: same here
indi_ has joined #nixos
<Armael> uh, even with "nix-shell -p gmp" it doesn't seem to work
<peti> niksnut: Same thing. I logged out (and quit Firefox for good measure). Then opened hydra.nixos.org, tried to log in ... nothing happens. I see that error "Empty string passed to getElementById()." in the Web Console again, though.
<Armael> same error
<niksnut> weird
indi_ has quit [(Remote host closed the connection)]
<LnL> niksnut: do you know about the hydra/user namespace issues?
indi_ has joined #nixos
<peti> LnL: The important bit is the call to install_name_tool, I suppose? That fixes the run-time error?
<LnL> peti: yes, for some reason the path to shared libraries is not a full path but just a relative one
Itkovian has quit [(Ping timeout: 268 seconds)]
mudri has joined #nixos
<peti> LnL: Have you ever reported this issue as a bug to the Cabal developers?
<LnL> peti: was just going to mention that I have to look through the issue
<srhb> tommyangelo: Doing an strace seems like it's hard coded to the adwaita icon theme
<LnL> s to see if somebody reported it otherwise I'll create one
<peti> LnL: Yeah, that would be cool. This should be fixed upstream. I don't think that problem is specific to Nix. Other people have libraries in weird locations, too.
<LnL> peti: it's a bit of a hack, but in the meantime we could use this as a workaround
<LnL> yeah, I don't think we are doing anything wrong, or super strange
indi_ has quit [(Client Quit)]
<tommyangelo> srhb: so installing that should work as a workaround?
redmq has joined #nixos
<srhb> tommyangelo: Installing gnome3.adwaita-icon-theme makes it display, yes.
<srhb> tommyangelo: But if it is a prerequisite, it really should be a dependency of the package.
<srhb> tommyangelo: Something to add to the bug report. :)
berce has quit [(Ping timeout: 248 seconds)]
<srhb> tommyangelo: Or you could patch it... :-)
<domenkozar> niksnut: could we restart hydra-queue-runner?
<tommyangelo> srhb: I'll have a look. Not familiar with nix yet
dgn has joined #nixos
<NixOS_GitHub> [nixpkgs] rickynils pushed 1 new commit to master: https://git.io/v1dyI
<NixOS_GitHub> nixpkgs/master b02e6cc Rickard Nilsson: libvirt and pythonPackages.libvirt: 2.2.0 -> 2.5.0
redmq has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] rickynils pushed 3 new commits to release-16.09: https://git.io/v1dyY
<NixOS_GitHub> nixpkgs/release-16.09 fc56503 Frederik Rietdijk: libvirt-glib: do not use top-level python packages...
<NixOS_GitHub> nixpkgs/release-16.09 67f8bbf Frederik Rietdijk: libvirt: use python2...
<NixOS_GitHub> nixpkgs/release-16.09 98062ef Rickard Nilsson: libvirt and pythonPackages.libvirt: 2.2.0 -> 2.5.0...
<srhb> tommyangelo: You need to add adwaita-icon-theme to buildInputs and arguments of pkgs/applications/misc/cbatticon/default.nix and add adwaita-icon-theme = gnome3.adwaita-icon-themes; to the arguments in all-packages.nix, I think.
greeny___ has quit [(Quit: Bye.)]
<srhb> Er, it'd be a propagatedBuildInputs I think
Gohla has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nix] edolstra pushed 3 new commits to master: https://git.io/v1dSo
<NixOS_GitHub> nix/master 0586220 Eelco Dolstra: Revert "Give root a valid home directory"...
<NixOS_GitHub> nix/master 11f0680 Eelco Dolstra: Revert "shell.nix: Add libseccomp"...
<NixOS_GitHub> nix/master 3a4bd32 Eelco Dolstra: Revert "Merge branch 'seccomp' of https://github.com/aszlig/nix"...
iyzsong has joined #nixos
<Armael> so actually, how do I compile the following program? https://paste.isomorphis.me/WOx ...
<Armael> I tried "nix-shell -p gmp" then "gcc -lgmp -o t t.c"
Gohla has joined #nixos
<Armael> (but it says it doesn't find gmp.h)
<peti> Armael: gcc -I ~/.nix-profile/include -L ~/.nix-profile/lib t.c
<Armael> umm, ok
<Armael> then what's the portable way to do that?
jedai has quit [(Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)]
reinzelmann has quit [(Ping timeout: 264 seconds)]
<Armael> I mean mmh, in practice if I build some software, I don't have much control over the gcc invocation, but I can setup the environment
<sphalerite> Write a nix expression for it
<peti> Armael: I'd be very surprised if there is any significant package out there that doesn't give its users the ability to influence the compiler flags.
<Armael> sure, sure
<sphalerite> with import <nixpkgs> {}; stdenv.mkDerivation {src = ./. ; buildInputs = [gmp]; buildPhase = "gcc t.c";}
<sphalerite> something like that
<Armael> mmm
<peti> Armael: If you don't want to specify the flags, set $INCLUDE_PATH et al. https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html
<ronny> FRidh: ping?
<ronny> FRidh: i just saw your message from before, got some context please
<Armael> peti: isn't nix-shell supposed to do that?
<sphalerite> Armael: do you mean portable across nix things or portable across unix systems, actually?
<sphalerite> Because if the latter, what you want is to use a build system like autotools or cmake
<sphalerite> (or a makefile that invokes pkg-config)
<peti> Armael: Yes, it does. nix-shell -p gmp.dev --run "gcc t.c" would probably work, too. Haven't tested it though.
oida has quit [(Ping timeout: 250 seconds)]
<Armael> it doesn't on my computer
<Armael> (also, what's gmp.dev compared to just gmp?)
<Armael> sphalerite: what I want is from the reverse persective: how do I build something that uses a portable build system
<peti> Armael: "gmp.dev" contains headers required for development.
<sphalerite> Armael: yeah, write a nix expression
<Armael> I get the same error with "nix-shell -p gmp.dev" then "gcc -lgmp t.c"
<peti> Armael: What does "type -p gcc" say on your system?
<Armael> gcc is /run/current-system/sw/bin/gcc
<peti> Armael: Does "nix-shell -p gcc -p gmp.dev --run 'test t.c'" work?
<Armael> ah, yes...
<Armael> it does
<domenkozar> niksnut: running builds are going down, now at 18
<Armael> so does every library package have a .dev version of it?
<Armael> with the headers
<sphalerite> either that, or the main library package includes the headers
<peti> Armael: The path "/run/current-system/sw/bin/gcc" does not exist on NixOS by default. You probably configure that package (incorrectly) in your configuration.nix file.
<Armael> which package?
<peti> Armael: Whatever package provides "/run/current-system/sw/bin/gcc" on your system.
<Armael> umm
<Armael> I just have gcc listed in systemPackages
<clever> your not supposed to install things like compilers on nixos, thats what nix-shell is for
<Armael> can't I just have everything I need installed, and just use my standard shell?
<clever> its configured to ignore the outputs that have things like headers
<clever> so you cant just install a library and then compile against it
<Armael> but that's what I'd like
<Armael> why is it bad?
<clever> different packages sometimes need different versions of some things, and things sometimes turn stuff on automaticaly if header X is found in the include path
<clever> which may not be something you wanted enabled
<Armael> ok
oida has joined #nixos
esmiurium has joined #nixos
reinzelmann has joined #nixos
<peti> Armael: You can install things into your system profile, if you want. You just have to make sure that you're choosing packages that actually work for what you're trying to do. And the global gcc binary you currently have clearly doesn't.
<Armael> fair enough
<Armael> I'm not sure I understand why it doesn't, though
<peti> Armael: I don't either. The only reason I could think of is that you installed a plain gcc instead of the gcc-wrapper that nix-shell relies on. But it's hard to tell without beng able to look at your system.
<Armael> it's probably a plain gcc yes
<Armael> what does gcc-wrapper do?
<Armael> ah wait, gcc-wrapper is nixos.gcc
<Armael> mmm
<Armael> it should be gcc-wrapper then
<peti> gcc-wrapper interprets the env variables set by nix-shell (among other things).
<Armael> well for the gmp.h, it was just that I didn't know about gmp.dev, I think
<peti> Armael: I thought you said that "nix-shell -p gmp.dev" didn't work?
<Armael> it didn't
<peti> Armael: But "nix-shell -p gmp.dev -p gcc" did?
<Armael> yes
<peti> Well, that's gonna need some investigation then, because if your global gcc is working correctly, then there should be no difference between those two environments.
<peti> Armael: Anyhow, if in doubt, run nix-shell with "--pure". That should help avoid these kind of issues.
<NixOS_GitHub> [nixpkgs] rickynils pushed 1 new commit to release-16.09: https://git.io/v1dQ8
<NixOS_GitHub> nixpkgs/release-16.09 7a3c72d Rickard Nilsson: Revert "libvirt-glib: do not use top-level python packages"...
<Armael> in the system shell, /run/current-system/sw/bin/gcc points to /nix/store/xdvn70axwhjavymyz1i6da4lkigywii7-gcc-wrapper-5.4.0/bin/gcc
<Armael> in the nix-shell with -p gcc -p gmp.dev, type -p gcc returns /nix/store/xdvn70axwhjavymyz1i6da4lkigywii7-gcc-wrapper-5.4.0/bin/gcc
<Armael> i.e the same
<aristid> does anybody know why nixos-unstable-small is stuck at december 8?
<Armael> I don't know how to investigate further
<aristid> ah, failing jobs
reinzelmann has quit [(Ping timeout: 258 seconds)]
oida has quit [(Quit: WeeChat 1.6)]
derjohn_mobi has quit [(Ping timeout: 265 seconds)]
<aristid> does hydra run its builds in a chroot?
phanimahesh has joined #nixos
jgertm_ has quit [(Ping timeout: 260 seconds)]
<gchristensen> aristid: in nix (stable) it does, with nixUnstable it uses a user namespace. hydra.nixos.org runs nixUnstable
<aristid> gchristensen: let me guess, in the user namespace it is "root"?
<gchristensen> I think so, why?
<aristid> gchristensen: because i can build parted locally, with nix-stable, but hydra fails
<gchristensen> oh, well
phanimah1sh has quit [(Ping timeout: 268 seconds)]
<aristid> gchristensen: locally it skips some device-mapper tests, because i'm not building as root obvsly
<aristid> but in hydra it tries to run them but finds no free loopback device or sth...
<gchristensen> aristid: can you describe the problem on #21145?
<aristid> ok
<gchristensen> also: Good morning, #nixos!
<aristid> gchristensen: i think i may create a new issue for the parted issue though
<aristid> gchristensen: i feel just disabling the tests for now is a reasonable hotfix
<gchristensen> aristid: this is much bigger than just parted, though, many packages are breaking due to this change... if you do open a new issue, can you briefly describe it and link to the issue from #21145?
<LnL> morning :)
<aristid> sure
<aristid> gchristensen: i already added a brief comment in your issue
derjohn_mobi has joined #nixos
<gchristensen> great, thank you :)
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/2fdd4973ec4e867ff76ef6608ac75e89aa0d4514
<NixOS_GitHub> nixpkgs/master 2fdd497 Aristid Breitkreuz: parted: disable checks to fix Hydra build (fixes #21281)
<aristid> gchristensen: let's hope this will help...
<gchristensen> guh
<gchristensen> I hate that we're disabling tests to make this work
<aristid> yeah :(
<gchristensen> niksnut: can you please fix this before people disable all the tests? :(
<aristid> gchristensen: i must admit i don't understand what advantages user namespaces have over chroot
Shou has joined #nixos
<gchristensen> aristid: https://github.com/NixOS/nixpkgs/pull/20500 the last paragraph here provides a benefit (the second to last paragraph says it isn't worth it.)
<aristid> this is one of the nastiest issues i've seen with nixos ever :(
<gchristensen> yes
xadi has quit [(Ping timeout: 268 seconds)]
xadi has joined #nixos
<clever> peti, Armael: oh i just remembered, nix-shell -p now has a "dead" gcc in its $PATH, because it used runCommandNoCC
<clever> Armael: check "type gcc", and compare it to the /run/current-system/sw/bin/gcc symlink, they should differ
<clever> (when inside the nix-shell)
johann__ has quit [(Ping timeout: 260 seconds)]
johann__1 has joined #nixos
<Armael> clever: inside "nix-shell -p gcc" ?
<clever> Armael: inside nix-shell -p gmp
<clever> adding -p gcc would fix the problem i just noticed
<Armael> in "nix-shell -p gmp", "type gcc" is /run/current-system/sw/bin/gcc
<clever> ah, odd, does it work any better with "nix-shell -p gmp gcc" ?
<Armael> (and /run/current-system/sw/bin/gcc -> /nix/store/xdvn70axwhjavymyz1i6da4lkigywii7-gcc-wrapper-5.4.0/bin/gcc)
<kmicu> Armael: ‘nix-shell --pure -p gmp --run 'type gcc'’.
<Armael> /run/user/1000/nix-shell.kQL6EI/rc: line 1: type: gcc: not found
<Armael> with -p gmp gcc :
<Armael> gcc is /nix/store/xdvn70axwhjavymyz1i6da4lkigywii7-gcc-wrapper-5.4.0/bin/gcc
<kmicu> Exactly, ‘gcc’ is not provided by ‘gmp’.
<Armael> ookay
<kmicu> nix-shell w/o pure flag will fallback to your system/user environment packages.
<LnL> interesting, you still get it with -A right?
<Armael> um okay, but my system gcc should work, it's the same as the one I get if I specify -p gcc explicitely
<kmicu> !m gchristensen
<LnL> [0__0]: ping
<LnL> is our bot dead or something?
<kmicu> It is; since yesterday.
* kmicu guess that bots need time off too.
<LnL> oh, does botbot.me run that for us or do we have our own instance somewhere?
<LnL> wait, but it's still here
<gchristensen> it is all botbot.me
<LnL> that's what I thought
<kmicu> http://nixos.org/irc/logs/ and https://botbot.me/freenode/nixos/ are both dead. Everybody’s dead Dave.
<gchristensen> and I've asked them about it in #lincolnloop and on twitter
<gchristensen> kmicu: and hydra is dead ... is this a sign? :P
reinzelmann has joined #nixos
<LnL> for the one time that I can say it
<kmicu> ‘Hydra's dead Dave, everybody's dead, everybody is dead Dave.’
<LnL> darwin builds work fine :D
<gchristensen> LnL: haha, revel in that as long as possible! :P
<gchristensen> it isn't common darwin is the best available version of nixpkgs
<domenkozar> did anyone else get spammed by 2000 private messages?
<LnL> nope O_o
<gchristensen> on IRC? no ...
<domenkozar> 09:14:13 HERJABIL | THIS IRC HAS MOVED TO irc.gangste.rs #tclmafia m
<domenkozar> anyway, if you PM I won't see it :)
<gchristensen> weird :/
<LnL> lol, is that password phishing on irc?
<kmicu> HACK THE PLANET! Or at least Domen’s IRC.
<domenkozar> 23:46:09 weechat =!= | logger: unable to write log file "/home/ielectric/.weechat/logs/irc.freenode.skollvjar.weechatlog": Too many open files
<domenkozar> don't dos my free web help people
<LnL> rip
<LnL> doesn't freenode have settings to prevent this sort of stuff?
redmq has joined #nixos
<clever> theres a flag you can set to block all PM's from unregistered users
domenkozar has quit [(Quit: WeeChat 1.4)]
ielectric has joined #nixos
ielectric is now known as domenkozar
<kmicu> WeeChat has anti–flood settings/plugins, but not enabled out–of–the–box :)
warbo has quit [(Ping timeout: 258 seconds)]
redmq has quit [(Ping timeout: 265 seconds)]
Shou has quit [(Ping timeout: 245 seconds)]
<domenkozar> really don't want to waste time on this, let's try again
<gchristensen> is it still coming?
abcrawf has quit [(Remote host closed the connection)]
<domenkozar> so far so good
filterfish__ has joined #nixos
abcrawf has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21277: wireguard: 0.0.20161209 -> 0.0.20161218 (master...wireguard) https://git.io/v1dAm
<grw> hi, is there some workaround for this issue? https://github.com/NixOS/nixpkgs/issues/21121
filterfish_ has quit [(Ping timeout: 245 seconds)]
<grw> has been broken a while and very common python package.. cant do much without it
ebzzry has joined #nixos
sdothum has joined #nixos
tomberek has quit [(Ping timeout: 260 seconds)]
Shou has joined #nixos
<NixOS_GitHub> [nixpkgs] zx2c4 opened pull request #21282: wireguard: 20161209 -> 20161218 (master...patch-1) https://github.com/NixOS/nixpkgs/pull/21282
<LnL> grw: I think the easy workaround is to disable the checkPhase
<LnL> but we should probably only disable the tests that try to use that tool
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to release-16.09: https://git.io/v1dxD
<NixOS_GitHub> nixpkgs/release-16.09 57a0f14 Eelco Dolstra: Enable virtualisation.writableStore by default...
<aristid> gchristensen: nixos-unstable-small builds again \o/ /o\
<gchristensen> whaat!
<gchristensen> nice!
<rly> Speaking of a related thing, nixos-unstable doesn't include terraform 0.8.1.
<LnL> yay 🎉
<rly> Is nixos-unstable also behind in some way?
<Biappi> uhm.. i wonder.. it seems that a couple of people here are based in .nl... do you ever meet in amsterdam? i'd happily offer a round to the devs =D
mkoenig has joined #nixos
<rly> Biappi: I have lunch everyday in Amsterdam, but not with people from here. I'd love to change that. ;)
<Biappi> heh
<aristid> rly: nixos-unstable is a lot bigger than nixos-unstable-small, so it's quite likely to be behind
<Biappi> i wish i still worked in rembrandtplein, now my office is in zeeburg... if you're in the area ping me =)
iyzsong has quit [(Quit: bye.)]
* Biappi shuts up with the OT and goes back to git
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to 1.11-maintenance: https://git.io/v1dp1
<NixOS_GitHub> nix/1.11-maintenance 5bf9689 Dmitry Kalinkin: override rx directory permissions in deletePath()...
<aristid> Biappi: we had a sort of meetup a while ago near leidseplein :)
<aristid> i think nix meetings are perfectly on-topic here!
<Biappi> hah
<gchristensen> domenkozar: would you like to see a recent development in tagging when CVEs are fixed in commits?
SovereignBleak has joined #nixos
<LnL> I don't think there are that many nix people in Belgium, I should probably visit Amsterdam sometime it's not that far :)
<aristid> Biappi: i was close to zeeburg on friday night, because my company had its christmas party at the scheepvartsmuseum
<aristid> *vaarts
<arianvp2> any people here have experience with nixops?
<MoreTea> @Biappi, rly, I'm in amsterdam here as wel
<MoreTea> I hosted the Nix meetup at Container Solutions back in July
<arianvp2> I was at that meetup! :)
<MoreTea> I'd be happy to host another one soon
<arianvp2> *waves*
<MoreTea> hi ;)
<aristid> MoreTea: ah that was you
warbo has joined #nixos
<Biappi> uuh! cool
<arianvp2> I saw you joined the PWL meetup group as well :P
<MoreTea> pwl?
<arianvp2> papers-we-love
<MoreTea> ah, yes
<arianvp2> (I organise that one)
<MoreTea> nice.
<gchristensen> arianvp2: where are you?
tommyangelo has quit [(Ping timeout: 260 seconds)]
<arianvp2> Utrecht
<gchristensen> ah that is right
<arianvp2> the birthplace of nix right?
<arianvp2> or at least of the mailing list
<MoreTea> I would like to organize a meet & hack day in January
<MoreTea> Would any of you up for that? :)
<arianvp2> Sounds fun. I'm switching everything to nixos and
<arianvp2> im basically asking questions here everyday
<arianvp2> but asking those in person is fun as well
<aristid> MoreTea: as long as it's after january 4 :)
<MoreTea> haha, sure
<arianvp2> What exactly does this option do?
<arianvp2> https://nixos.org/nixops/manual/#opt-deployment.keys._name_._module.args
<rly> How can I link nixpkgs-channel to nixpkgs? So, let's say I know that I want version `eeeeeef` from nixpkgs, how can I check whether nixpkgs-channel already has it?
<MoreTea> @rly, grep for the commit description?
<LnL> rly: the channels are branches on https://github.com/NixOS/nixpkgs-channels
<MoreTea> I often just use the master branch for projects
mkoenig has quit [(Quit: Lost terminal)]
mkoenig has joined #nixos
mkoenig_ has joined #nixos
<LnL> same here, I just pull master and if something breaks I revert or just fix it
mkoenig has quit [(Client Quit)]
mkoenig_ has quit [(Client Quit)]
mkoenig has joined #nixos
mkoenig_ has joined #nixos
<gchristensen> note, though: that isn't really safe to use as your source for `nixos-rebuild1`
mkoenig has quit [(Client Quit)]
mkoenig_ has quit [(Client Quit)]
<LnL> yeah I wouldn't recommend that :p
mkoenig has joined #nixos
fritschy has quit [(Quit: Leaving.)]
<LnL> but I do use master for darwin-rebuild
<ToxicFrog> It would be nice if nix-shell respected your user shell setting.
<ToxicFrog> I mean, I can 'nix-shell --run zsh', but that should happen automatically.
mkoenig has quit [(Remote host closed the connection)]
<LnL> you won't have the entire build environment in zsh
<LnL> so stuff like buildPhase won't work
<ToxicFrog> Aah
<ToxicFrog> I'm using nix-shell pretty much exclusively for loading packages without taking the time to install them system-wide
<ToxicFrog> E.g. nix-shell --run zsh -p luajit
<LnL> it's also very useful for debugging packages
<LnL> and that doesn't work with other shells at the moment
<gchristensen> domenkozar: I'm afraid I might just mark openstack as broken, it looks like it'll just be miserable to fix.
<domenkozar> gchristensen: yes! :)
<domenkozar> (for CVE tagging)
<gchristensen> domenkozar: stash everything modified in your nixpkgs, and: git remote add grahamc git@github.com:grahamc/nixpkgs.git; git fetch grahamc refs/notes/security:refs/notes/security; git checkout origin/release-16.09; git log --notes=security
<domenkozar> gchristensen: make sure you tag the current developer trying to upstream openstack modules
<gchristensen> oh good idea
<LnL> gchristensen: I was a little surprised somebody got it all to work in nixos
<gchristensen> domenkozar: scroll down to 478fa3583f8c74a86269cf6b53460433562eb5df or so in the log
<domenkozar> gchristensen: will do! :)
<domenkozar> anyone has ideas what does nixpkgs ghc do strange here for OSX?
<domenkozar> I fear that it's PIE/PIC
<jsgrant_> ToxicFrog: Is there any advantage even using an alternative shell, besides compilation needing it for somereason (and/or making an extensions for it)?
<MoreTea> @domenkozar,gchristensen: are you going to FOSDEM in feb 2017?
<gchristensen> jsgrant_: personal preference
<gchristensen> MoreTea: unlikely, fosdem is very far for me
<LnL> domenkozar: is that since you made is statically linked?
<domenkozar> yes
<ToxicFrog> jsgrant_: so, I'm generally using nix-shell interactively, not to use build scripts
<domenkozar> LnL: I'm trying to statically link also the resulting binary
<ToxicFrog> which means that if it's zsh it gets my .zshrc and history syncing and all that fun stuff
<ToxicFrog> And if it's bash it gets the default bashrc
<ToxicFrog> Which doesn't really match my preferences, because I haven't spent any time configuring it, because I never use bash interactively.
<jsgrant_> ToxicFrog: Even in nix-shell?
<LnL> domenkozar: is it supposed to be looking at /nix/store/5an661jgv6655kf37srva02jwzpavw9n-rocksdb-4.13/lib/librocksdb.a at this point?
<ToxicFrog> ...yes?
<ToxicFrog> I don't understand the question.
<domenkozar> LnL: yes
<LnL> domenkozar: if you statically linked against rocksdb before, won't you have that stuff in your current object files?
* jsgrant_ guess he just assumed that nix-shell was "different enough" from the current session that you'd have to define such things (like dotfiles, plugins, etc) non-locally.
<ToxicFrog> Nope, seems to work just fine
<ToxicFrog> At least, 'nix-shell -p foo --run zsh' loads all my normal zsh configuration.
<ToxicFrog> (it occurs to me that I could even have my prompt check for $IN_NIX_SHELL and change appropriately)
* jsgrant_ just woke up, so probably phrasing things weird and/or giving special attention to things not needed.
<domenkozar> LnL: this is during the linking
<domenkozar> once --ghc-options="-optl-static" is used
Wizek_ has quit [(Read error: Connection reset by peer)]
Wizek_ has joined #nixos
<domenkozar> LnL: hmm you might be right, the app is linking statically after rocksdb-haskell has already done it?
ebzzry has quit [(Ping timeout: 264 seconds)]
<LnL> domenkozar: that's what it looks like to me, but I'm not super familiar with this kind of stuff
<mpickering> For a given derivation is there a way to enter a shell with the environment that will be needed to build the derivation?
<arianvp2> Will there be NixOS people at CCC?
xwvvvvwx has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
tomberek has joined #nixos
<kmicu> mpickering: ‘nix-shell '<nixpkgs>' -A hello’. You can find more examples in nix-shell’s manpage under ‘EXAMPLES’ section.
<mpickering> looks to be doing the trick thanks
<mpickering> Now that I can read the config file syntax things are starting to get less mysterious
tomberek_ has joined #nixos
<gchristensen> "nixpkgs: less mysterious than I thought."
<mpickering> I think the watershed was learning that ":" is a lambda
<kmicu> Generally, that’s called ‘learning’.
<MoreTea> haha, the problem is still that getting started with NixOs is pretty tough IMHO
<gchristensen> aye
<MoreTea> But indeed, one should learn the nix expression language early on
<kmicu> Starting with anything new and not familiar is difficult.
<MoreTea> Agreed, but we don't have a set of gentle guides introducing people to concepts linked by the homepage of it all
<mpickering> also the inherit function confused me
<MoreTea> I found e.g. the nixpills via google
tomberek has quit [(Ping timeout: 260 seconds)]
<mpickering> But once I understood it was a functional language with strange syntax it started making more sense
<gchristensen> and lethalman's nix pills should probably be more front and center
<MoreTea> Maybe we can ask him if he's OK with that material being turned into a set of guides?
<mpickering> I think someone should edit them and then they are a great intro
<kmicu> Pills are about internals, not very beginner friendly. Nix manual http://nixos.org/nix/manual/ has concepts explained.
<MoreTea> For example, http://guides.rubyonrails.org/ is awesome for beginners, whilst once you know how stuff works, you'd generally only refer to http://api.rubyonrails.org/ for the API docs
<jsgrant_> MoreTea: Doesn't help that people (certainly like me), jump in head-first & don't do a more sensible cursory sweep before getting fairly invested. :^P
<kmicu> Maybe we should refer to Nix{,OS,pkgs,Ops} ‘manuals’ as ‘guides’. Less scary ( ͡~ ͜ʖ ͡°)
<MoreTea> haha, @jsgrant_ did the same thing.
<gchristensen> kmicu: we need you to take up the role of Documentation Czar
<jsgrant_> kmicu: "QuickStart Guides"*
<jsgrant_> MoreTea: I think it's pretty common, more common in technical fields than people would expect and/or like.
<MoreTea> kmicu, when I started 1.5 year ago, I felt that a) The split between Nix{,OS,pkgs,Ops) was not obvious from the website and b) that the manuals go into the low level details directly.
<gchristensen> I agree, MoreTea
<MoreTea> All the information is one big "reference manual". I think we need a set of easy to digest guides that get people interested. Once they are convinced that what Nix* does is awesome by showing off it's strengths, they won't mind to dive deep into the manuals and not understand everything at once.
<kmicu> But today, thanks to amazing contributors, we have a friendly quick start guides like https://nixos.org/nixos/manual/index.html#module-services-emacs or https://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure and I approve this as Guides Tsar 😸
tvon has quit [(Quit: System is sleeping...)]
<kmicu> (which is a much better title than Documentation Czar ;)
eacameron has joined #nixos
<Phlogistique> how about "Guide Supreme Guide"
cpennington has joined #nixos
boggle has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
tomberek_ has quit [(Ping timeout: 260 seconds)]
sdothum has joined #nixos
icetan[m] has joined #nixos
icetan has left #nixos ["User left"]
hellooo has joined #nixos
<hellooo> hi, how can I read a string from a file without the ending newline/carriage return?
<MoreTea> It's also used in readPathsFromFile (https://github.com/NixOS/nixpkgs/blob/master/lib/strings.nix#L476)
eacamero_ has joined #nixos
Rotaerk has quit [(Quit: Leaving)]
icetan[m] is now known as icetan[m]1
<gchristensen> a bit too much chaos at the ol' CCC NOC: https://twitter.com/c3noc/status/810845755065901057
eacameron has quit [(Ping timeout: 245 seconds)]
<hellooo> MoreTea: thanks! Would this work then? hostName = "${lib.removeSuffix "\n" (builtins.readFile ./hostname)}";
<rly> gchristensen: supposedly nixpkgs-unstable got updated, but when I refer to the nixpkgs-channel and then branch nixpkgs-unstable, terraform is still at some old version.
<rly> gchristensen: to me it appears that at least that repository was not updated.
<gchristensen> kmicu: haha cool, ok
FRidh has quit [(Remote host closed the connection)]
<gchristensen> rly: the channels can take some time to update after passing tests and pushing to the repo
<rly> gchristensen: but viric said they have been updated already >30 minutes ago.
* gchristensen has no insight in to the process
<rly> gchristensen: ok, thanks.
<gchristensen> LnL: ping
<kmicu> CCC and “surveillance cam pics. The irony.” Oh, twitterverse.
<LnL> gchristensen: pong
tvon has joined #nixos
<gchristensen> LnL: can you link to your darwin tooling? I've got some time :P
<LnL> :D
<rly> kmicu: that's not irony; that's sending a message.
<gchristensen> LnL: :D thanks!
<LnL> gchristensen: one of the main things to note is that it won't overwrite existing etc files, so you might have to fiddle with you bashrc,zshrc to make it load the nix versions from /etc/static
<gchristensen> aye
<LnL> the nixos activation script for etc files just overwrites everything :p
<gchristensen> LnL: "sudo ln -s private/var/run /run" -> "sudo ln -s /private/var/run /run" ?
<gchristensen> yeah I know, haha, it is very ... efficient!
<MoreTea> @hellooo, I guess yes ;) If you're trying to automate communication between your own programs and Nix, you might want to look into dump JSON from your program, and using `builtins.fromJSON`
<LnL> gchristensen: /run is is / so it's the same
<gchristensen> LnL: that always trips me up.
seanz has joined #nixos
boggle has quit [(Quit: Leaving)]
redmq has joined #nixos
<hellooo> MoreTea:Thanks! Do you know how I get true when hostName = 'aaa' and false otherwise?
<gchristensen> LnL: this is SUPER slick already.
icetan[m]1 is now known as icetan[m]2
<LnL> gchristensen: thanks :)
<LnL> I had some spare holidays that I used last week
<MoreTea> @hellooo, check out the `nix-repl` (install it via nix-env -i nix-repl)
redmq has quit [(Ping timeout: 250 seconds)]
<hellooo> MoreTea: oh thanks, that's perfect!
<MoreTea> It's a bit like the haskell/ocaml repl in the sense that it also supports things like setting variables in a way that you cannot in a .nix file
pstn has joined #nixos
<LnL> gchristensen: the repo also contains my example configuration if you're looking for some inspiration
<gchristensen> LnL: did you see the error?
<LnL> error?
<gchristensen> "/Library/LaunchDaemons/org.nixos.activate-system.plist: No such file or directory"
<LnL> oh, that happens the first time
<gchristensen> oh ok
<LnL> I should probably pipe it to /dev/null
<gchristensen> well maybe just that one thing, but don't pipe useful errors :)
icetan[m]2 is now known as iceta4
iceta4 is now known as iceta6
<LnL> or check the file, before trying to unload it
iceta6 is now known as iceta8
<gchristensen> LnL: "makeNixBuildUser" - where does this get defined?
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to master: https://git.io/v1FIN
<NixOS_GitHub> nixpkgs/master cc30f5d Aristid Breitkreuz: boost: add 1.62.0 (not default yet)
<LnL> gchristensen: oh that's in there somewhere?
<LnL> oeps, that's not used
<gchristensen> unfortunately that is a much more difficult process on darwin ... :)
<LnL> I have a script for it
<LnL> so I could implement it, just have not gotten to it yet
<gchristensen> yeah
<gchristensen> same
<LnL> gchristensen: you can just use the nix-daemon service if you have the users already
<LnL> expects nix to be installed in the default profile at the moment
<gchristensen> cool
jgertm_ has joined #nixos
ryanartecona has joined #nixos
Mercuria1Alchemi has quit [(Ping timeout: 258 seconds)]
<Myrl-saki> Mmm... anyone got Vulkan working on Skylake here? :/
<LnL> lol
<LnL> I'm way to lazy to type all that stuff
<LnL> you should see my nix real function
<Myrl-saki> vulkaninfo works, but if I actually try to do something, it crashes.
m` has joined #nixos
berce has joined #nixos
* jsgrant_ wonders if it's worth trying to get NixOS on his RPi for a dedicated HTPC box -- over say just OpenElec or something.
pstn has quit [(Quit: leaving)]
<jsgrant_> I do want to play with near-nightly Kodi-builds, so may be worth it just for that...
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #21279: fte: init at 0.50.02 (master...master) https://git.io/v1dr7
[0__0] has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/ac97fbab3a8225343f8a9594821e66af51af048c
<NixOS_GitHub> nixpkgs/master ac97fba volth: fte: init at 0.50.02
[0__0] has joined #nixos
<LnL> gchristensen: I don't think it's the latest version, have not pushed to that repo in a while, but my current version looks more like this
<mpickering> If I found a haskell package where the nix expression fails to build, is there a way to patch this in nixpkgs?
<mpickering> The simplest way was to disable haddock for that package
<LnL> mpickering: the hackage packages set are generated
<LnL> but we have a file with overrides for stuff like that
<mpickering> It doesn't look like the 8.0 file has many overrides in
phanimahesh has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub> [nixpkgs] pSub closed pull request #21285: Fix typo in beam.xml (master...patch-1) https://git.io/v1FI4
<mpickering> So do you recommend sending a PR or? it just needs "fast-tags = dontHaddock super.fast-tags"
<LnL> yes
zagy has quit [(Quit: Leaving.)]
<LnL> gchristensen: so what's the verdict, any issues?
<gchristensen> LnL: well my main issue is I'm having to compile a whole boat-load of stuff :)
zagy has joined #nixos
<LnL> howso?
<gchristensen> oh just a bunch of things I always have to locally, and a channel update meant I had to rebuild
<LnL> oh there was a rebuild 4h ago
zagy has quit [(Client Quit)]
<jsgrant_> Myrl-saki: Is Valve-sponsered "LunarG" Vulkan SDK is a reference to something I'm missing?
c0bw3b has joined #nixos
erasmas has joined #nixos
tvon has quit [(Quit: Peace out, y'all!)]
ipmb_ has joined #nixos
<ocharles_> Does anyone know what "error: bad archive: unknown field" means?
<MoreTea> @ocharles_, it's probably because you try to unpack a .tar file that was packages by BSD tar (the one used on OSX)
<MoreTea> It's safe to ignore
iceta8 is now known as icetan
<ocharles_> it's not safe to ignore, it's an error from nix-build
<Myrl-saki> jsgrant_: huh?
ipmb_ has left #nixos []
goibhniu has quit [(Quit: Leaving.)]
<jsgrant_> Myrl-saki: The only Vulkan-centered experssion I see in NixOS is LunarG; No idea what that name is in-reference to if anything.
<jsgrant_> expression*
<Myrl-saki> jsgrant_: No idea.
<gchristensen> !m kmicu
<[0__0]> You're doing good work, kmicu!
<MoreTea> @ocharles_, oh, the thing I described happened to me a few days ago. Were you able to track it down to which archive was causing trouble?
<kmicu> Thank you gchristensen. Logs are back https://botbot.me/freenode/nixos/
<LnL> it's alive
<gchristensen> LnL: feature request: show what it is trying to replace /etc/bashrc with so I can diff and see if it is sane
phanimahesh has joined #nixos
tommyangelo has joined #nixos
<LnL> right, I should probably show /etc/static/bashrc in the messsage
<tommyangelo> how can I add a perl package to my path? I installed perlPackages.LocaleMsgfmt but I do not have msgfmt available
mk-fg has quit [(Ping timeout: 250 seconds)]
<gchristensen> LnL: *sigh* switching to your tooling means I have to make sense of my garbage-heap of a hack
<LnL> gchristensen: you can just source something as a start
<gchristensen> no I have very janky "activation scripts" which make the two incompatible
<kmicu> Hi tommyangelo, if you are not using nix-shell then (iiuc) you need to manually set PERL5LIB env var http://nixos.org/nixpkgs/manual/#sec-language-perl
<LnL> gchristensen: oh I didn't know you also had stuff like that
<gchristensen> yeah, and rudimentary launchd support :)
<rly> kmicu: and how can he refer to the installed package location in a stable way?
* kmicu is singing under his nose: Nix folks, nix folks / Whatcha gonna do, whatcha gonna do / When LnL fix Darwin for you‽
* hodapp chases after kmicu with a knife
<gchristensen> kmicu: apparently complain that my dumpster fire is annoying to switch away from
<LnL> kmicu: :D
berce has quit [(Ping timeout: 240 seconds)]
mk-fg has joined #nixos
<gchristensen> LnL: one such thing is my activation scripts muck about in $HOME, and is scary to change
<LnL> gchristensen: FYI launchd support is pretty nice
<LnL> in nix-darwin
<gchristensen> nice
<LnL> you have the entire launchd manual page in the descriptions
<gchristensen> O.O
<LnL> oh darwin-option doesn't work with submodules apparently
armin has joined #nixos
katyucha has quit [(Quit: leaving)]
<gchristensen> ugh, I need to stop reading CVE announcements until hydra is up and going again
<gchristensen> they're giving me real anxiety
ckauhaus has quit [(Quit: Leaving.)]
goibhniu has joined #nixos
goibhniu has quit [(Client Quit)]
<aristid> gchristensen: if you have a reasonably fast computer, you could just use nixpkgs from git
<gchristensen> I'm not anxious about me
<gchristensen> it is about everyone who uses nixos
ambro718 has joined #nixos
rardiol has quit [(Ping timeout: 260 seconds)]
<ToxicFrog> Something is wrong with Hydra?
joshie_ has joined #nixos
joshie has quit [(Ping timeout: 248 seconds)]
<tommyangelo> kmicu: Well I tried with nix-shell (mind = blown) but it was still not available
<tommyangelo> I can share my n
<tommyangelo> shell.nix if needed
rly has quit [(Ping timeout: 256 seconds)]
johann__1 has quit [(Quit: Leaving.)]
nathan7 has quit [(Ping timeout: 265 seconds)]
nathan7 has joined #nixos
<ToxicFrog> Eep. That's alarming.
hellooo has left #nixos ["WeeChat 1.6"]
<kmicu> tommyangelo: it looks like module is available e.g. ‘nix-shell --pure -p tree perl perlPackages.LocaleMsgfmt --run 'perl -MLocale::Msgfmt\ 9999'’ returns ‘Locale::Msgfmt version 9999 required--this is only version 0.15.’.
<kmicu> (Ignore ‘tree’ package. I only wanted to check what’s inside paths listed in PERL5LIB.)
<gchristensen> "code execution on the system running the ssh-agent if the attacker has control of the forwarded agent-socket (on the host running the sshd server) and the ability to write to the filesystem of the host running ssh-agent"
<gchristensen> "theoretical leak of host private key material to privilege-separated child processes via realloc()" *smacks oss-security out of his own hands
<dash> gchristensen: everything is terrible :-/
<kmicu> [Sarcastically] Oh, already jolly CVE gifts from Santa Claus!
<tommyangelo> kmicu: yes it is available and even installs as far as I can tell from grepping the filesystem
<tommyangelo> but not available in PATH
<kmicu> Should perlPackages.LocaleMsgfmt install a binary in PATH?
bfrog has quit [(Quit: WeeChat 1.6)]
hotfuzz_ has joined #nixos
hotfuzz has quit [(Read error: No route to host)]
<MoreTea> @gchristensen, do you have any ideas about how to reduce the number of times that Hydra stalls?
<gchristensen> this isn't just a stall, but not really. it is tough and I don't envy the job of maintaining the hydra infrastructure. it does a ton of work
<gchristensen> and is incredibly resilient for being a free service for a free operating system
<gchristensen> I'm grateful for how well it does work. in cases like this, though, I just wish for more transparency about what the plan is / how it is coming.
<LnL> ^ +1
<LnL> the current issue is caused by a new feature of nix
<LnL> and there's no easy way to revert it now
* kmicu *coughs* *new* feature deployed directly into *production* servers 😺
redmq has joined #nixos
<gchristensen> I do wish that was handled differently :) and it can be reverted, still, easily
<gchristensen> by reverting the commits to nix
eacamero_ has quit [(Remote host closed the connection)]
<gchristensen> and I think the only one who can make those decisions is eelco
redmq has quit [(Ping timeout: 245 seconds)]
<tommyangelo> kmicu: in the same shell.nix I add python27Packages.docker_compose in my targetPkgs, and docker-compose is available, so I was expecting the same behaviour
xwvvvvwx has quit [(Ping timeout: 268 seconds)]
<kmicu> One could argue that NixOS is source based distro and you do not need official Hydra at all. If you tested CVE patches locally then merge them into Nixpkgs. But in such case channels’ users could feel ‘cheated’ by false advertising.
<gchristensen> you could, but the development style is frequently to push things without as thorough testing due to the testing hydra provides
<LnL> ^ we could publish a new channel, but stuff might be completely broken who knows.
<LnL> so people have to spend a couple hours compiling to get a broken system
pstn has joined #nixos
<LnL> also, I'm not going to use a package manager that makes me compile 5 versions of ghc myself :)
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<maurer> I mean, as it stands nixos has a weaker version of the debian breakown
<maurer> where debian unstable is our master, debian testing is our unstable, and debian stable is our stable
<maurer> but all weaker of course, since the propoagation delay isn't measured in years
rly has joined #nixos
<kmicu> From another point of view, broken official Hydra would not be a problem if we had a community–driven Hydra, not controlled by handful of users, and where you could use Nix/Hydra versions with merged long–standing Nix/Hydra PRs 😸
<kmicu> (A little bit of a healthy decentralization ;)
<gchristensen> that is true
<gchristensen> but hydra is very expensi/e
<simpson> Yeah, building even a small subset of nixpkgs can be very costly.
<manveru> is there any way to make git-prefetch-url silent?
<manveru> err, nix-prefetch-url
<LnL> manveru: 2
<LnL> manveru: 2>/dev/null ?
ryanartecona has quit [(Quit: ryanartecona)]
<manveru> that gets rid of all errors though
<manveru> i want the `curl -s` option
<gchristensen> but hydra is very expensi/e
<gchristensen> derp
<kmicu> Oh, do you have some statistics in comparison to already donated funds?
<LnL> manveru: heh, that's silent no? :p I don't think it has any options
<maurer> Would it be prohibitively expensive to have a sort of release hydra for unstable/stable channels, separate from the more C-I nature of the nixpkgs one? It seems like that should be much lower on the needed resources
<maurer> since it'd only need to trigger a rebuild on security updates or a new release cut
<manveru> LnL: well, i can work around it by caching the stderr, then checking the exit status, and printing stderr in case it's !=0
<gchristensen> kmicu: I know that when I was estimating a project, I was looking for sponsorship of $1,000/mo for the build servers, but that was likely to have more load than your proposed hydra would be. note that much of the nixos hydra resources are donated by rackspace, mackstadium, and others
<c0bw3b> a distributed-hydra handing out build jobs to some containerized builders... you know seti@home-style :)
Itkovian has joined #nixos
<c0bw3b> that would be awesome
<manveru> just thought it might ne nicer if there was an option :)
<gchristensen> c0bw3b: the trouble is trust
<gchristensen> why should I trust your machine, c0bw3b, to provide safe builds?
<maurer> gchristensen: I mean, you could do something like what debian developers do, but that'd probably be a step backwards for nixos imo
<gchristensen> it would be indeed
<maurer> (If you are on x86 or amd64, and are using debian, chances are that package you're using was built by Some Guy's Laptop, but it's probably OK because Some Guy has been with Debian for a while and seems Legit)
c0bw3b has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
nh2_ has joined #nixos
<kmicu> I could challenge hashes from c0bw3b’s server with hashes from official Hydra server. I could exchange keys with c0bw3b during NixOS meetup, b/c she/he is trustworthy. I would be safe for 77% of packages that are bit–by–bit reproducible. I could allow only them with hypothetical ‘allowReproducible’ flag. It’s a good trade–off IMO, especially for casual users w/ casual threat models.
rardiol has joined #nixos
<maurer> kmicu: You could consider that as a sort of bonus cache, but having that be primary is waaaay too much work for normal users
<gchristensen> kmicu: sounds like a good project to make that work :D
<kmicu> Oh, we could ship NixOS with predefined WoT. I’m totally OK with downloading binsubs from gchristensen server.
c0bw3b has joined #nixos
<gchristensen> (ಥ﹏ಥ)
<gchristensen> (ノ◕ヮ◕)ノ*:・゚✧
<c0bw3b> (sorry had to reboot)
<kmicu> ʕノ•ᴥ•ʔノ ︵ ♥❤❣💞
<c0bw3b> drawing contest?
<c0bw3b> gchristensen: of course there would challenges, trust being one of them
<gchristensen> c0bw3b: missed context: https://botbot.me/freenode/nixos/2016-12-19/?msg=78164792&page=1 and the next few messages
<c0bw3b> but it should double-checked my builds by giving the same job to at least one naother builder
<c0bw3b> *another
<c0bw3b> yheah already reading what i missed :)
qryantm has quit [(Ping timeout: 265 seconds)]
amarsman has quit [(Quit: amarsman)]
<maurer> kmicu: Again, could be useful for advanced users. I'd probably even use it. However, WoT has proven over and over again not to be friendly to even semi-technical users
nh2_ has quit [(Ping timeout: 258 seconds)]
<ToxicFrog> Handing out each job to multiple builders and requiring a quorum of them to agree on the output sounds like a reasonable way to address this, but I am not a security expert.
nschoe has quit [(Quit: Program. Terminated.)]
<gchristensen> depends on how much budget you have :) see also the US's attack on tor by setting up lots and lots of nodes
<maurer> ToxicFrog: Again, that's a measure that helps but doesn't nesc work
<Sonarpulse> i feel like...
<Sonarpulse> web of trust is better for this than other things?
<manveru> doesn't arch use WoT?
<Sonarpulse> I forget the exact time but this is data-oriented networking
<Sonarpulse> what > who
<maurer> aiui Arch's AUR (which I assume you're talking about) is basically just a bunch of separate repos
<Sonarpulse> for communication you want to talk to some specific person, another won't do
<maurer> and yeah, you trust the repos individually
<maurer> but it's not wot since you don't chain them?
<manveru> not AUR, the main repos
<maurer> Oh, that I have no idea
ryanartecona has joined #nixos
<kmicu> Friendly reminder that there is no rush. NixOS ecosystem has hiccups, but it still improves with each day. The future is bright.
<gchristensen> yes!
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #21228: poppler: 0.49.0 -> 0.50.0 (master...update/poppler-0.50.0) https://github.com/NixOS/nixpkgs/pull/21228
tommyangelo has quit [(Remote host closed the connection)]
tomberek has joined #nixos
qryantm has joined #nixos
amarsman has joined #nixos
dgn has quit [(Quit: dgn)]
<rly> How do I get dutch.ldf visible/installed for pdflatex?
<rly> I probably already found it.
<rly> I suspect it's babel-dutch.
xwvvvvwx has joined #nixos
<rly> It works without error, but it claims that no hyphenation patterns were preloaded now.
<rly> So, the feature basically doesn't actually work.
hotfuzz has joined #nixos
hotfuzz_ has quit [(Read error: Connection reset by peer)]
<rly> Running fmutil --all is futile on NixOS (unsurprisingly).
jgertm_ has quit [(Ping timeout: 258 seconds)]
<rly> Ah, the code says "in a hacky way ATM". Famous last words.
<rly> So, it's likely just wrong, wrong, wrong.
eacameron has joined #nixos
<rly> Also some cute useless use of cat there.
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
<rly> "There" being in combine.nix.
Itkovian has joined #nixos
xwvvvvwx has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
<maurer> So, trying to upgrade my system with nixos-rebuild switch, and it's failing to write to /boot
<maurer> Checking mount, it's mounted ro, so I did mount -o remount,rw
nh2_ has joined #nixos
<maurer> Test write, and indeed you can now write to /boot
<maurer> run nixos-rebuild switch again, and it remounts /boot as ro as part of the procedure
<maurer> :|
eacamero_ has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
<maurer> Nvm, found the problem. errors=remount-ro is set, and evidently there's some kind of corruption
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
jgertm_ has joined #nixos
<rly> maurer: it's a beautiful thing when only hardware failure is the reason a system doesn't work, isn't it?
eacamero_ has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
ambro718 has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/v1Fa2
<NixOS_GitHub> nixpkgs/master 0c7afce zimbatm: goaccess: 1.0 -> 1.1.1
redmq has joined #nixos
jgertm_ has quit [(Ping timeout: 268 seconds)]
* aristid grumbles about chromium compile times
<rly> aristid: it's open-source, but you are not supposed to compile it ;)
<aristid> rly: which is why these [BLEEP] remove chromecast support from chromium
<gchristensen> eh?
<rly> aristid: they removed it?
<rly> aristid: oh, I actually had a potential usecase for it a couple of days ago.
<aristid> rly: yup
<rly> [BLEEP] giveth and [BLEEP] taketh away.
warbo has quit [(Ping timeout: 264 seconds)]
psophis has joined #nixos
acertain has quit [(Ping timeout: 244 seconds)]
psophis has quit [(Client Quit)]
rly has quit [(Ping timeout: 258 seconds)]
pstn has quit [(Ping timeout: 258 seconds)]
c0bw3b has left #nixos []
ttuegel has joined #nixos
oida has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen> I wonder if I'm the only person to be using ssh-config-file in my NIX_PATH, and fetchgitPrivate
<gchristensen> there seems to be a need for examples on how to use it, but I can't share :|
<aristid> gchristensen: you could share a censored example?
danharaj has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
derjohn_mobi has quit [(Ping timeout: 258 seconds)]
michalrus has quit [(Ping timeout: 248 seconds)]
michalrus has joined #nixos
michalrus has quit [(Remote host closed the connection)]
michalrus has joined #nixos
redmq has quit [(Ping timeout: 250 seconds)]
redmq has joined #nixos
<gchristensen> kmicu: one thing about having a separate hydra is I think there is some benefit to the centralization / not-fragmented ecosystem
christine_ has quit [(Ping timeout: 245 seconds)]
<benley> Can someone remind me what I need to do after using `nix-store --restore < some_nar_file_i_downloaded_manually.nar` in order to have that store path actually be live and usable?
rly has joined #nixos
<benley> or if there is another way to import a nar file that I should use instead?
* hodapp basks in the stack --nix
michalrus has quit [(Quit: leaving)]
blahdodo has quit [(Remote host closed the connection)]
michalrus has joined #nixos
NeQuissimus has quit [(Ping timeout: 244 seconds)]
NeQuissimus has joined #nixos
blahdodo has joined #nixos
Itkovian has joined #nixos
ugjka is now known as UgJkA
<benley> or I could just wait until I'm not on in-flight wifi to install clang :-P
possibleNew has joined #nixos
<dash> benley: oh come on, you've got to get your money's worth
<domenkozar> benley: just get the store path
<domenkozar> and do nix-env -i /nix/store/123123123-foo
Itkovian_ has joined #nixos
derjohn_mobi has joined #nixos
c0bw3b has joined #nixos
Itkovian has quit [(Ping timeout: 252 seconds)]
<benley> after doing the nix-store --restore, presumably?
copumpkin has joined #nixos
<benley> when I do that, nix deletes the existing store path and starts downloading it from scratch :-/
kampfschlaefer has joined #nixos
<benley> there is a /nix/store/<thatpath>.lock file present; will that affect things?
warbo has joined #nixos
zagy has joined #nixos
ben__ is now known as ben
zagy has quit [(Client Quit)]
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<domenkozar> benley: what's the narfile you want?
AllanEspinosa has joined #nixos
<benley> I'm after /nix/store/z1ybhp7wlwcr01gaf9qvm98w9vw3v0fz-clang-3.9.0, which is in 0aglw3lipa8nw088nfs9066df1apsj2alyyc6l85l0gwjyl3yyhv.nar.xz
<benley> I'll be on the ground again pretty soon, I'll try getting it through airport wifi.
* benley tends to spend travel days writing code :-)
Itkovian has joined #nixos
redmq has quit [(Ping timeout: 268 seconds)]
<domenkozar> benley:
<domenkozar> nix-env -i /nix/store/z1ybhp7wlwcr01gaf9qvm98w9vw3v0fz-clang-3.9.0,
<domenkozar> nix-env -i /nix/store/z1ybhp7wlwcr01gaf9qvm98w9vw3v0fz-clang-3.9.0
<domenkozar> that should do it.
<domenkozar> depends how you want to use that path anyway.
zagy has joined #nixos
<gchristensen> condolences to Berliners and the Germans in the channel :(
zagy has quit [(Quit: Leaving.)]
jgertm_ has joined #nixos
<Baughn> Is there any way to tell Nix "You should not run more than one of these derivations in parallel"?
<Baughn> E.g. because it takes 8GB of memory.
kuznero has joined #nixos
<kuznero> Hi All!
<kuznero> Can anybody recommend how is it best install Spacemacs (with Intero) on NixOS?
<toogley> kuznero: i just installed emacs normally and installed spacemacs ontop of it manually.
<toogley> kuznero: => if you get to know anything better than that in the future, i'd be interested in hearing about that :)
Shou has quit [(Ping timeout: 268 seconds)]
<kuznero> toogley: I see, then it is going to be old-good style :) thanks
m` has quit [(Remote host closed the connection)]
eacamero_ has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
civodul has joined #nixos
kuznero has quit [(Quit: Leaving)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<toogley> i guess the raspberry pi is currently not offically supported?
Itkovian has joined #nixos
<gchristensen> toogley: arm support isn't easy for us to do right now, so, not really
<gchristensen> but we have some people working to make it so
<toogley> gchristensen: ah, okay
ryanartecona has joined #nixos
acertain has joined #nixos
<gchristensen> one big trouble is build capacity, having our build cluster be able to regularly test it. I've specced/priced out a few arm servers to that end, but it is pricey :)
m` has joined #nixos
<viric> I have pulseaudio problems...
<viric> alsaloop doesn't seem to work
m` is now known as nig
<viric> playback hw:0,0 open error: No such file or directory
nig is now known as Guest75177
<viric> somehow my soundcard is device '1', not '0'
<Guest75177> hi, ha.. me, too..
Shou has joined #nixos
<Guest75177> sound stopped working on my nix-system..
<viric> great
Guest75177 is now known as nigg
<gchristensen> nigg: I suspect you're preparing to troll, and I think it would be really lovely if you didn't, maybe tried out nixos even. I think it is really neat.
seanz has quit [(Quit: Leaving.)]
zraexy has joined #nixos
MichaelRaskin has joined #nixos
<toogley> gchristensen: ah, okay. thanks :) - but why is a arm server needed to build arm packages..?
pstn has joined #nixos
<gchristensen> toogley: good question, I think clever knows?
nigg has quit [(Remote host closed the connection)]
<viric> Does anyboy have /dev/snd/controlC1, but not /dev/snd/controlC0?
<viric> why, oh, why?
<gchristensen> success!
<dash> viric: maybe you got a 1-based kernel instead of a 0-based one?
<sheenobu> viric, two sound cards? first driver crashing? Wonder if dmesg shows anything..
<viric> it's a notebook
zagy has joined #nixos
<MichaelRaskin> viric: HDMI audio and main audio could be in the wrong order
zagy has quit [(Client Quit)]
<MichaelRaskin> And with Optimus it is possible to unload the discrete video driver and lose the HDMI audio card…
<viric> MichaelRaskin: auhm
<MichaelRaskin> I usually have a simpler situation: a USB card is the main one, but when it is unplugged…
<MichaelRaskin> (And the USB card is the main one because I have a single USB hub at home and a single USB hub at work for ethernet/keyboard/sound)
redmq has joined #nixos
redmq has quit [(Ping timeout: 245 seconds)]
redmq has joined #nixos
<benley> domenkozar: oddly enough even after using nix-store --restore on that path from the nar, nix was starting the download all over
<benley> (with the nix-env -i command you suggested)
<benley> I got it installed now that I'm back on the ground, at least
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] manveru opened pull request #21286: neovim: green :CheckHealth (master...neovim-green) https://github.com/NixOS/nixpkgs/pull/21286
c0bw3b has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
Guest64436 has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] aszlig pushed 9 new commits to master: https://github.com/NixOS/nixpkgs/compare/0c7afce7dd69...7199f1bd9470
<NixOS_GitHub> nixpkgs/master a7d4257 aszlig: python/simplebayes: init at 1.5.8...
<NixOS_GitHub> nixpkgs/master 0409ce2 aszlig: python/pyinsane2: init at 2.0.9...
<NixOS_GitHub> nixpkgs/master f805209 aszlig: poppler: Add support for gobject-introspection...
jensens has quit [(Ping timeout: 258 seconds)]
xwvvvvwx has joined #nixos
ambro718 has joined #nixos
AveryC has joined #nixos
danharaj has quit [(Ping timeout: 265 seconds)]
possibleNew has quit [(Quit: Page closed)]
seanz has joined #nixos
Shou has quit [(Ping timeout: 246 seconds)]
NodeGuy has joined #nixos
<NodeGuy> Hi. I'm trying to get started with NixOS using the VirtualBox appliance. I need KDE to handle HiDPI properly so I enabled it in /etc/nixos/configuration.nix. Then I was warned not to enable KDE 4 and 5 at the same time so I disabled KDE 4 in the place. Now I'm getting an error message:
<NodeGuy> rror: The option `services.xserver.desktopManager.kde4.enable' has conflicting definitions, in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/profiles/graphical.nix' and `/etc/nixos/configuration.nix'.
<NodeGuy> *I need KDE 5
<NodeGuy> How should I proceed?
<pmade> NodeGuy: Paste your config somewhere.
<NixOS_GitHub> [nixpkgs] joachifm opened pull request #21287: stdenv setup: disallow references to the build directory (master...disallow-build-dir-in-output) https://github.com/NixOS/nixpkgs/pull/21287
hiratara has quit [(Ping timeout: 258 seconds)]
* ToxicFrog writes an override for Sublime Text 3
hiratara has joined #nixos
mkoenig has joined #nixos
Shou has joined #nixos
<NixOS_GitHub> [nixpkgs] zx2c4 closed pull request #21282: wireguard: 20161209 -> 20161218 (master...patch-1) https://git.io/v1Fhg
<NodeGuy> Should I find the virtualbox-demo.nix file and deconstruct it or override it somehow?
<NixOS_GitHub> [nixpkgs] zx2c4 opened pull request #21288: wireguard: 20161209 -> 20161218 (master...patch-1) https://github.com/NixOS/nixpkgs/pull/21288
mkoenig has quit [(Read error: Connection reset by peer)]
<MoreTea> @NodeGuy, I'm not entirely sure, but you could try to use mkForce
<NixOS_GitHub> [nixpkgs] garbas closed pull request #21286: neovim: green :CheckHealth (master...neovim-green) https://git.io/v1FF8
<NixOS_GitHub> [nixpkgs] garbas pushed 1 new commit to master: https://github.com/NixOS/nixpkgs/commit/bb80d77d8424cf07ba1ca293c81a081017db285b
<NixOS_GitHub> nixpkgs/master bb80d77 Michael Fellinger: neovim: green :CheckHealth
<MoreTea> @NodeGuy, http://lpaste.net/350184
<MoreTea> Note that I've also added 'lib' to the function parameters
eacamero_ has joined #nixos
AveryC has quit [(Ping timeout: 250 seconds)]
mkoenig has joined #nixos
<NodeGuy> Great, it seems to be working! Thank you!
<MoreTea> :)
<MoreTea> Are you new to NixOs etc?
xwvvvvwx has quit [(Ping timeout: 240 seconds)]
<MoreTea> @NodeGuy, we have some support for generating nix expressions from packages.json (given your name, I thought that might have your interest ;)
<NodeGuy> Yes and I'm very excited about it. I tried Guix first but it had inadequate support for VirtualBox and I don't have bare metal right now.
eacameron has quit [(Ping timeout: 245 seconds)]
<MoreTea> I see. What are you running? Linux? Or OSX?
<NodeGuy> And yes, I am interested in nix expressions from packages.json, that sounds very cool. Do you have a link?
<MoreTea> The tool is called node2nix (see https://github.com/svanderburg/node2nix)
<NodeGuy> I'm currently running Mac OS but am planning on transitioning to Qubes OS. I'm using VirtualBox during my transition.
<NodeGuy> I'm working on creating a kind of Qubes-lite right now with Nix and containers during my transition.
<NodeGuy> and plan to keep using Nix once I'm in Qubes.
<MoreTea> OK, Nix (the package manager) also runs on top of OSX, so you could use it instead of Homebrew, in theory. In practise there are not enough developers to maintain all packages AFAIK.
<NodeGuy> Thanks, I'm in the process of getting off of OS X so that's not as interesting to me.
<MoreTea> That would be an interesting combination ;)
<LnL> it depends on what you want to use
<NodeGuy> My security requirements are going up.
<NodeGuy> Yeah, I think the Qubes people will love NixOS. It's a natural match. They are adamant about minimizing state.
<MoreTea> Apparently there is already an email thread at the Qubes mailing list: https://groups.google.com/forum/#!topic/qubes-devel/QDM2YNdWdXI
<simpson> NodeGuy: How do you feel about object-capability security models?
<NodeGuy> Nice, I hadn't seen that thread yet.
<MoreTea> When I attended a hackathon in Berlin, there was someone that did Genode development, also with nix
redmq has quit [(Quit: leaving)]
<dash> MoreTea: was it ehmry?
<MoreTea> Emery, yes
<MoreTea> just found a link
redmq has joined #nixos
<NodeGuy> simpson: I hadn't heard about object-capability security models. I'm reading about them now.
<simpson> NodeGuy: http://www.erights.org/talks/promises/paper/tgc05-submitted.pdf is my recommended reading. It's key to understanding Genode's security properties IMO.
<NodeGuy> Awesome, thank you. Are you using Genode?
hotfuzz_ has joined #nixos
hotfuzz has quit [(Read error: Connection reset by peer)]
<simpson> No, but I am working on the Monte language, which embodies the principles of ocap theory.
<gchristensen> love this report: "Dragging around the Google map from http://pskreporter.info/ for a bit, in an X session, eventually causes firefox to crash with a Gdk-ERROR BadAccess"
<MoreTea> @simpson, any reason that you have chosen it to be dynamically typed? My preference is slowly moving to statically typed languages.
<dash> MoreTea: Yes :-)
* dash coauthor on monte
<MoreTea> hehe
<garbas> dash: aloha!
<simpson> MoreTea: Well, it's statically typed with a very boring type; objects require a uniform interface.
<dash> garbas: hi again :)
<dash> MoreTea: Static typing is nice when it suits the problems at hand, but it necessarily restricts certain things
mbrgm has quit [(Ping timeout: 258 seconds)]
<simpson> MoreTea: But basically it's my position that any type system that can actually prevent bugs is necessarily not flexible enough to handle The Filesystem and The Network.
<dash> MoreTea: for instance, the type checker has to be able to look at all the code (or at least the interface for all the code) that you want to invoke in a program
<dash> and for distributed systems this is not possible
<gchristensen> MoreTea: would you like to submit patches to this week's vulnerability roundup? firefox needs updating: ./pkgs/applications/networking/browsers/firefox, ./pkgs/applications/networking/browsers/firefox-bin
mbrgm has joined #nixos
mkoenig_ has joined #nixos
mkoenig has quit [(Ping timeout: 252 seconds)]
<MoreTea> @gchristensen, I could take a peek, but I need to study for an exam tomorrow and will have to work on Tuesday and Friday.
<viric> MichaelRaskin: it seems the hdmi is not card0
<viric> MichaelRaskin: I simply don't have card0
<viric> (alsa)
<gchristensen> aye, I'm hoping it'll be done fairly soon. If you already have nix, it shouldn't take much time at all.
xwvvvvwx has joined #nixos
<MoreTea> I'm running nixos :)
<viric> MichaelRaskin: have you tried zfs?
<viric> MichaelRaskin: it works really fast in lots of small files
<MichaelRaskin> viric: maybe you have explicit card index specification in module options?
<viric> MichaelRaskin: I think I did have that, yes. I had: playback hw:0,0 open error: No such file or directory
<viric> I had: ast in lots of small files
<viric> 23:28 < MichaelRaskin> viric: maybe y
<viric> mpf
<MichaelRaskin> No I haven't, it seems still to be a bit too alien to the OS in case of Linux
<viric> I have a broken copypaste
<viric> MichaelRaskin: it's amazing how fast it works with nix operations (reading nixpkgs, making lots of symlinks)
<gchristensen> MoreTea: have you ever contributed to nixpkgs before?
hiratara has quit [(Remote host closed the connection)]
<viric> - and I'm in a zfs-over-luks without aes-ni
<MichaelRaskin> It's amazing what enough RAM does for performance, too
<MoreTea> I'm running ZFS as well, works perfect.
<viric> MichaelRaskin: it's said that it can be told to use less ram
<MoreTea> I still should create a systemd one-shot service that restricts the memory to max 2g...
<MoreTea> Sometimes rebuilding things like kubernetes crash after 30 minutes of compilation, due to OOM, because the ARC is not released fast enough.
hiratara has joined #nixos
<MichaelRaskin> viric: well, I have enough RAM to be able just to cache whatever I need regardless of the FS
<MoreTea> I have 16gb RAM, still running out ;)
<MoreTea> @MichaelRaskin, yes, I have made some contributions
<MichaelRaskin> Well, in my case I need to run a couple of builds in parallel to run out of 16GiB
<ToxicFrog> ...well, I'm officially confused as hell
<ToxicFrog> cannot open `/nix/store/0ppwjlrnk4b7ammpfqkanyjp27nj8nll-xorg-server-1.18.4/share/X11/xkb/compiled/systemd-private-d41cc115eda84860b947a5ec01029ddb-rtkit-daemon.service-K6SaVW': Permission denied at /nix/store/9g4wc31j7a2xp22xpgwr0qssfxahxdzl-builder.pl line 58.
<ToxicFrog> I'm root.
<MichaelRaskin> <MoreTea> @MichaelRaskin, yes, I have made some contributions <- gchristensen that was to you
<MoreTea> haha, sorry.
siel has quit [(Ping timeout: 245 seconds)]
<MichaelRaskin> ToxicFrog: builder should run under nixbld1
<ToxicFrog> MichaelRaskin: what? I'm trying to run 'nixos-rebuild switch'
<MichaelRaskin> An error inside builder was probably during a Nix build, and these run with dropped privileges
<NodeGuy> Argle bargle, now it's complaining about a collision between qt5 and qt4 and I'm having a dickens of a time reading the manual/etc to figure out how to disable qt4.
newdan has joined #nixos
siel has joined #nixos
<gchristensen> MoreTea: perhaps next time around, then :)
<viric> MichaelRaskin: I put zfs in my old laptop and it boots and starts all faster than my new one
mkoenig_ has quit [(Quit: Lost terminal)]
<MoreTea> @gchristensen, are you already taking up the denial of service one?
mkoenig has joined #nixos
<MichaelRaskin> My boot sequence includes an mkfs, so I don't really try to optimise it
<MichaelRaskin> ToxicFrogToxicFrog
<newdan> I'm following along with the manual and I wanna build GNU Hello without modifying the Nixpkgs source code. In note 3 here <https://nixos.org/nix/manual/#sec-arguments> there seems to be a really big hint at how to do this. But I can't figure out how to actually invoke 'callPackage' from the command line
<gchristensen> MoreTea: usually all the firefox ones are resolved in one go, by making sure each are up to date with the most recent release
<newdan> I tried `nix-build '<nixpkgs>' -E 'hello = callPackage ./default.nix {};'` but it says the expression does not evaluate to a derivation
<viric> MichaelRaskin: I think it defaults to taking 50% of RAM, but you can tune the 'ARC' to use much less
<MoreTea> newdan, something like `nix-build '<nixpkgs>' -E pkgs.callPackage ./default.nix {}` ?
<viric> MichaelRaskin: I will test. But all feels like running faster, at least.
<viric> much faster.
<MoreTea> newdan, with quotes this time ;) `nix-build '<nixpkgs>' -E "pkgs.callPackage ./default.nix" {}`
<MoreTea> Argh! Third time is a charm: `nix-build '<nixpkgs>' -E "pkgs.callPackage ./default.nix {}"`
mkoenig has quit [(Client Quit)]
<ToxicFrog> MichaelRaskin: so how do I go about fixing this?
<MoreTea> Alternatively, you can add `with import <nixpkgs> {};` on top of your default.nix file
<MoreTea> @gchristensen, then maybe next time, or later this week
<gchristensen> MoreTea: sounds good :) thank you
<MichaelRaskin> ToxicFrog: what did you add to your config, I wonder
<Ralith> MoreTea: but then it won't be very nice to use from other expressions
<gchristensen> LnL: would you like to look at the `most` issue reported here? https://github.com/NixOS/nixpkgs/issues/21289
<LnL> ?
<newdan> MoreTea: Gives the same error (the command line version anyway, I'll try modifying the source)
<MichaelRaskin> ToxicFrog: because I don't understand why a Nix build would want to interact with that file. Does the file exist? Is it a regular file? What is its creation/modification time?
<gchristensen> LnL: just an invitation :)
siel has quit [(Ping timeout: 245 seconds)]
<MoreTea> @gchristensen, I plan to contribute soon by writing some guides
<gchristensen> cool
<LnL> gchristensen: I'll probably get more involved with those once the parts for my nixos box arrive :D
mbrgm has quit [(Ping timeout: 248 seconds)]
<MoreTea> I'm working on some infrastructure to extract test cases from the documentation, so that we can validate that things that we describe are actually correct
<newdan> MoreTea: Changing the source fails with "cannot auto-call a function that has an argument without a default value ('stdenv')
<MoreTea> @newdan, could you post your .nix expression file?
<gchristensen> LnL: they help nix on darwin too, no doubt
rly has quit [(Ping timeout: 250 seconds)]
mbrgm has joined #nixos
<viric> MichaelRaskin: I think zfs cpu usage somehow does not appear in 'top'... launching firefox takes about 8 seconds of 1) no I/O and 2) no CPU usage
<ToxicFrog> MichaelRaskin: I added leiningen to the system packages. That's it.
<newdan> MoreTea: It is this, verbatim https://nixos.org/nix/manual/#sec-expression-syntax
<MichaelRaskin> Do you have sandboxing enabled?
<newdan> Well not verbatim anymore since I added the "with import <nixpkgs> {};" line
<ToxicFrog> MichaelRaskin: statting it reveals it to be a directory, 0700 root:root, created yesterday at 10pm
<ToxicFrog> so about the time I was adding steam and bup to the system packages
<ToxicFrog> I don't know. How do I check?
<MichaelRaskin> Errm
eacamero_ has quit [(Remote host closed the connection)]
tomberek has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin> So your /nix/store is not remounted read-only
<ToxicFrog> Ok, and all that directory contains is the directory "tmp", which is empty
eacameron has joined #nixos
<ToxicFrog> No it isn't. It's on the same fs as /, so it shares the same mount options. Should I have set it up differently?
mizu_no_oto has joined #nixos
<MichaelRaskin> Do you have nix.readOnlyStore set?
eacamero_ has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v1bJM
<NixOS_GitHub> nixpkgs/master 3e92b56 Joachim Fasting: tor: 0.2.8.10 -> 0.2.8.12...
<MichaelRaskin> And nix.useSandbox
<MichaelRaskin> I would kill this new directory, set these two options and rebuild
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #21290: dropbox: 15.4.22 -> 16.4.29 (master...u/db) https://git.io/v1bJH
eacameron has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to release-16.09: https://git.io/v1bUY
<NixOS_GitHub> nixpkgs/release-16.09 eaf6fc8 Joachim Fasting: tor: 0.2.8.10 -> 0.2.8.12...
<ToxicFrog> MichaelRaskin: ok, this is super cool and/or weird
eacamero_ has quit [(Remote host closed the connection)]
<ToxicFrog> nix.readOnlyStore defaults to true
<ToxicFrog> mount | grep nix emits:
<ToxicFrog> thoth/root on /nix/store type zfs (ro,relatime,xattr,posixacl)
<ToxicFrog> But I can still write to it!
<MichaelRaskin> What.
<MoreTea> @newdan, I usually run packages from the CLI with this command: nix-build -E 'with (import <nixpkgs> {}); pkgs.callPackage ./hello-world.nix {}'
eacameron has joined #nixos
<MoreTea> newdan, the problem was that help2man is needed as a build dependency
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #21291: dropbox: 15.4.22 -> 16.4.29 (release-16.09...u/db_stable) https://git.io/v1bU2
eacamero_ has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
eacameron has quit [(Read error: Connection reset by peer)]
<MichaelRaskin> I thought bind RO mounts do not depend on the underlying FS
<MichaelRaskin> I start questioning this assumption…
<MoreTea> newdan, this one works: http://nixpaste.lbr.uno/gKrFREgf?nix
<ToxicFrog> MichaelRaskin: it gets weirder
mkoenig has joined #nixos
<ToxicFrog> touch /nix/store/foo returns "read-only filesystem"
<ToxicFrog> But deleting that empty directory succeeded
<ToxicFrog> I wonder if I've run into a weirdness with bind mounts or a weirdness with zfs or what
<newdan> MoreTea: Perfect!! Thank you!
eacameron has joined #nixos
<MoreTea> The manual should be fixed though :(
mkoenig has quit [(Client Quit)]
<newdan> Er, I didn't need help2man though
mkoenig has joined #nixos
<newdan> But that shell command was what I was after
bfrog has joined #nixos
<newdan> The manual should definitely be updated to show you how to build stuff without modifying nixpkgs imo
jgertm_ has quit [(Ping timeout: 264 seconds)]
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
cpennington has quit [(Remote host closed the connection)]
eacamero_ has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
eacameron has quit [(K-Lined)]
mkoenig has quit [(Read error: Connection reset by peer)]
pstn has quit [(Remote host closed the connection)]
mkoenig has joined #nixos
<LnL> gchristensen: I would if I had more time
ebzzry has joined #nixos
zraexy has quit [(Ping timeout: 248 seconds)]
<ToxicFrog> In further I Am Extremely Confused news, I tried writing an override for Sublime Text 3, based on the existing ST3 package
<ToxicFrog> I ran nixos-rebuild
<LnL> gchristensen: you can put me on the cc list, if I see something on the list that I've worked with before I'll try to help out
nh2_ has quit [(Ping timeout: 250 seconds)]
kuznero has joined #nixos
<kuznero> Hi All!
<ToxicFrog> It downloaded the correct tarball, checked it against the sha256 I provided from my earlier-downloaded copy
xwvvvvwx has quit [(Ping timeout: 268 seconds)]
<ToxicFrog> And then proceeded to unpack and install Sublime Text 2 from it
<kuznero> How can I run arbitrary shell script after packages installed with `nixos-rebuild` command?
nh2_ has joined #nixos
<gchristensen> LnL: the permanent list?
Wizek_ has quit [(Ping timeout: 268 seconds)]
<ToxicFrog> How does this even happen? Where did it get the ST2 tarball from?
Wizek has quit [(Ping timeout: 265 seconds)]
<LnL> gchristensen: sure, that'll remind me to take a look at the list :)
<kuznero> When `system.activationScripts` are executing? Is it before or after packages are getting installed in *nix files?
siel has joined #nixos
<LnL> kuznero: first the entire system profile is built and then the activation scripts are executed to link the /etc files and stuff like that
<kuznero> LnL: but are packages getting installed as part of building entire system profile? For example is it safe to defined stack package (Haskell stack) and in activation script run `stack setup --nix`?
nh2_ has quit [(Ping timeout: 246 seconds)]
<LnL> I wouldn't add stuff to the activation scripts unless you have a really good reason to do so
<kuznero> LnL: I see, but what is the alternative? Because currently I end up calling such things manually: `stack setup --nix && stack install ghc-mod && stack install hlint`. Should I keep doing that or there is a better way of putting it under control in NixOS?
<LnL> I would use nix-shell for projects, and you can add a shellHook if you want to do special things like that
siel has quit [(Ping timeout: 260 seconds)]
<kuznero> LnL: you mean as oppose to having such things done globally?
<LnL> yup
<kuznero> I see, thanks!
NodeGuy has quit [(Ping timeout: 260 seconds)]
<newdan> Hm... so if I use e.g. nix-shell --pure -p python35 on Ubuntu, my PATH's modified but my scripts can easily break this isolation just by doing e.g. #!/usr/bin/python2. I suppse this is where NixOS can help?
<Mic92> gchristensen: I decided not do any wireguard maintance as long as this guy is lurking in the issue tracker.
<gchristensen> Mic92: fair enough, heh
<gchristensen> who is that person?
<Mic92> gchristensen: the guy behind wireguard
<gchristensen> hrm. he has compelling points, then, though
ryanartecona has quit [(Quit: ryanartecona)]
<gchristensen> got to go
ebzzry has quit [(Ping timeout: 264 seconds)]
ebzzry has joined #nixos
<Mic92> gchristensen: maybe, but I don't comply with his discussion culture. when somebody did something against his opinion, he starts off a fight: https://github.com/systemd/systemd/pull/4191#issuecomment-249228304
<Mic92> even it was unintentionally
<Mic92> even if it was
kuznero has quit [(Remote host closed the connection)]
civodul has quit [(Remote host closed the connection)]
<Sonarpulse> how do I sync the clock?
<Sonarpulse> its confused with dst or something
<NixOS_GitHub> [nixpkgs] brainrape opened pull request #21292: idrisPackages.httpclient: init (master...init-idrisPackages-httpclient) https://git.io/v1bq2
<manveru> Sonarpulse: set the timezone?
<manveru> sudo nixos-option time.timeZone
<Mic92> Sonarpulse: what release do you use?
derjohn_mobi has quit [(Ping timeout: 260 seconds)]
jsgrant_ has quit [(Remote host closed the connection)]
derjohn_mobi has joined #nixos
newdan has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]