gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<{^_^}> [nixpkgs] @basvandijk pushed 4 commits to release-18.09: https://git.io/fAFKM
Kelppo has joined #nixos
hotfuzz_ has joined #nixos
iyzsong has joined #nixos
hotfuzz has quit [Ping timeout: 260 seconds]
<mog> samueldr, if i have gc-keep-outputs how do they ever get garbage collected?
wpcarro has joined #nixos
<mog> if i wanted to orphan the shell intentionally i mean
<samueldr> afaik only "real" way is to delete its gc root
<samueldr> nix-store --gc --print-roots
<samueldr> nix-store --gc --print-roots | grep -v ^{ # to skip the in-memory stuff
<samueldr> this lists everything keeping something "alive"
<samueldr> (it will also clear stale links)
<samueldr> /Users/samuel/tmp/nixpkgs/segfault/result -> /nix/store/7lsrc6vf4r9pk1fmalcca6d3azsvdbrg-vm-test-run-segfault-with-nix2
<samueldr> I have this
<samueldr> if I want to free it, I rm ~/tmp/nixpkgs/segfault/result
<samueldr> and for everyone playing at home: no I'm not on macOS, this is NixOS where I do funny stuff
<jackdk> samueldr++, thank you
<samueldr> wou're welcome (the bot needs the ++ to be the only thing said though, no need to re-do it though)
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/18a7c1df643 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
wpcarro has quit [Ping timeout: 260 seconds]
<mog> okay got it all figured out thanks samueldr for the help
asymmetric has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @taku0 opened pull request #47257 → firefox, firefox-bin:: 61.0.2 -> 62.0.2, firefox-esr: 60.2.0esr -> 60.2.1esr [Moderate security fixes] → https://git.io/fAF6R
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fAF6r
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #47180 → Fix rmilter socket path, add deprecation notice → https://git.io/fAdiq
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fAF67
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/18a7c1df643 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.09: https://git.io/fAF6N
notlar has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #47227 → php: set mysql socket path if mysql[i] or pdo_mysql support is enabled → https://git.io/fAFZM
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.03: https://git.io/fAF6p
abueide has quit [Ping timeout: 252 seconds]
wpcarro has joined #nixos
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
Cale has quit [Remote host closed the connection]
hakujin has joined #nixos
wpcarro has quit [Ping timeout: 240 seconds]
Cale has joined #nixos
Cale has quit [Remote host closed the connection]
Cale has joined #nixos
abueide has joined #nixos
Kelppo has quit []
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @dtzWill to release-18.09 « NIX_PATH: don't prepend $HOME-based value in session variable, set later »: https://git.io/fAFiM
Kelppo has joined #nixos
nisstyre is now known as `nisstyre
silver has quit [Read error: Connection reset by peer]
notlar has quit [Quit: notlar]
Fare has joined #nixos
lassulus_ has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/fa3e193e272 (from 87 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
lassulus has quit [Ping timeout: 252 seconds]
lassulus_ is now known as lassulus
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<kandinski> I'm trying to make sense of this: https://gist.github.com/edolstra/efcadfd240c2d8906348. For instance, what is the difference between "attribute name" and "the `name` attribute"?
`nisstyre is now known as nisstyre
Supersonic has quit [Ping timeout: 240 seconds]
<gchristensen> { foo = .. } <- attribute name foo, vs { foo = { name = "oeunthoeu"; }
<gchristensen> which is the name attribute, oeunthoeu
Supersonic has joined #nixos
<kandinski> gchristensen: thanks
jperras has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
acarrico has joined #nixos
Ariakenom has quit [Quit: Leaving]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8e41b9fb41d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
orivej has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ee582a32d25 (from 82 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
wpcarro has joined #nixos
wpcarro has quit [Ping timeout: 240 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
wpcarro has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ee582a32d25 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
wpcarro has quit [Remote host closed the connection]
wpcarro has joined #nixos
<jackdk> I have a PR that hasn't been looked at for a few weeks. How do I find the people who look after that area of nixpkgs?
sir_guy_carleton has joined #nixos
wpcarro has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #47258 → bitcoin: don't build things not used, enable parallel building → https://git.io/fAF1K
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8e41b9fb41d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
jperras has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @AveryLychee opened pull request #47259 → treesheets: 2017-03-27 -> 2018-08-18 → https://git.io/fAF1H
<kandinski> we're having trouble installing vscode for aarch64, is that a known issue?
Kelppo has quit []
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> [nixpkgs] @Fuuzetsu merged pull request #46981 → opusfile: 0.10 -> 0.11 → https://git.io/fAQRl
<{^_^}> [nixpkgs] @Fuuzetsu pushed 2 commits to master: https://git.io/fAFMq
<{^_^}> [nixpkgs] @c00w opened pull request #47260 → go: Remove pkg/obj directory from the build outputs. → https://git.io/fAFMC
<kandinski> jackdk: thanks
<jackdk> I don't have an aarch64 board handy but if I can help you file an issue lmk
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @dtzWill opened pull request #47261 → inkscape, libreoffice-still: fixup to avoid needing to use old poppler → https://git.io/fAFMV
b has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @samueldr merged pull request #46193 → nixos: doc: implement #12542 → https://git.io/fAuHv
<{^_^}> [nixpkgs] @samueldr pushed 3 commits to master: https://git.io/fAFMy
abueide has quit [Ping timeout: 272 seconds]
abueide has joined #nixos
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @dtzWill closed pull request #47261 → inkscape, libreoffice-still: fixup to avoid needing to use old poppler → https://git.io/fAFMV
wpcarro has quit [Ping timeout: 252 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
<kandinski> how can I fake `nix-env --update` so I'll find out which paths would just be downloaded from cache and which would require a compilation?
<shreyansh_k> kandinski: --dry-run?
<kandinski> shreyansh_k: thanks, exactly that
sir_guy_carleton has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
wpcarro has joined #nixos
wpcarro has quit [Ping timeout: 264 seconds]
<kandinski> shreyansh_k: how can I find out *why* some derivations are rebuilt and some are downloaded? I'm running 18.03 on the main NixOS install, but also the unstable channel on my user for fresher packages. I thought unstable had every derivation built and available in the caches as a binary.
<infinisil> kandinski: such as? There are some things that can't be cached, e.g. Unfree packages, or ones that are more efficient to be built locally
<kandinski> infinisil: I don't think I have many unfree packages. While I pastebin the list, which ones would be more efficient to build locally?
<{^_^}> [nixpkgs] @vbgl merged pull request #46727 → ocamlPackages.odoc: init at 1.2.0 → https://git.io/fA1Ey
<{^_^}> [nixpkgs] @vbgl pushed 4 commits to master: https://git.io/fAFDb
<infinisil> kandinski: probably all of the ones you're seeing
<shreyansh_k> kandinski: in addition to that, foss packages are always build and cached. unfree packages may restrict 3rd party distribution.
<infinisil> Also, stuff that depends on your personal settings (e.g. Username) can't be cached
<kandinski> infinisil: I see
<infinisil> Oh and I guess general NixOS derivations which are usually rather fast to build, aren't cached too
<infinisil> Like the user environment, which depends on which packages you use
<infinisil> Or the user units
<kandinski> aha, that makes sense
<kandinski> I just want to know whether I'm doing something wrong here
<kandinski> Do you mind taking a look at this? I think I've done something to my system in such a way that I'm building the world: https://pastebin.com/VDWPqtwV
graphene has quit [Remote host closed the connection]
<kandinski> I'm building rust and tex and cpython (twice)
graphene has joined #nixos
<kandinski> sorry, not cpython, but fortran and numpy and openblas, yes
<kandinski> I'm quite confused
Fare has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @aminb opened pull request #47262 → alloy: add alloy5 and take maintainership → https://git.io/fAFyk
<{^_^}> [nixpkgs] @7c6f434c merged pull request #47259 → treesheets: 2017-03-27 -> 2018-08-18 → https://git.io/fAF1H
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fAFyc
<shreyansh_k> kandinski: Have you tried updating your channels? maybe your copy of channels are old and hence no longer cached.
<shreyansh_k> I think only the latest builds are cached.
endformationage has quit [Quit: WeeChat 1.9.1]
<clever> shreyansh_k: the binary cache is never garbage collected
<kandinski> I did update my channel
<kandinski> shreyansh_k, clever: could it be that derivations "remember" whether they are installed from a channel, or from a local expression in the filesytem?
<kandinski> I've been doing a lot of experiments, and I was trying to clean up by adding unstable as nixpkgs for my only user channel, updating the channel and then nix-env -u to get the latest binaries instead of my experiments.
<clever> nix-env doesnt remember which channel it came from
<clever> and nix-env -u will just search all channels, and install whatever matches
<kandinski> hmm
<clever> what does `nix-channel --list` report, for both your user, and root
vandenoever has quit [Ping timeout: 260 seconds]
<kandinski> I was looking at that, and at $NIX_PATH
<clever> nix-env ignores NIX_PATH
<kandinski> ah
<shreyansh_k> Someone more experienced may be able to answer. In fact, like you, I'm trying to install libreoffice-fresh and it's compiling on my computer.
<shreyansh_k> So, maybe someone could explain why all other packages are being downloaded from cache but libreoffice-fresh is being compiled.
<infinisil> Likely because the build fails
<kandinski> nix-channel http://paste.debian.net/1043888/
<kandinski> infinisil: oh
<kandinski> I thought the unstable channel only was snapshotted from master when the build succeeded
<infinisil> There is no "the build"
<clever> kandinski: you have channels on both users, so you need to run `nix-channel --update` as both, to update both of them
<infinisil> It's about 40000 builds or so
<clever> and i dont know which channel `nix-env -u` gets it from, so it will be unpredictable what version you get
<infinisil> And we can't expect all of them to succeed before unstable gets updated
<clever> kandinski: channels update when a certain subset of builds pass (testing), and every build is non-queued (failed or passing)
<kandinski> clever: shouldn't the channel I set as user be the channel I get from default when I use `nix-env -i` as user?
<clever> the -small channels omit the non-queued requirement
<kandinski> clever: nixos 18.03 is also updated
<clever> kandinski: when using -iA, you can do nixos.hello or nixpkgs.hello, and use channel names to pick a channel
<clever> but -u doesnt accept a channel name, and just searches both
<clever> i'm not sure what rules -u uses, to solve the conflict
<kandinski> clever: oh, that seems suboptimal
<clever> but you can also just `nix-env -iA nixpkgs.libreoffice-fresh` to force it to grab from the channel you named nixpkgs
<shreyansh_k> infinisil: Last build seems to be ok (https://hydra.nixos.org/build/81884798) and I've also updated my channels.
<kandinski> my thoughts, as a n00b, were "run the system on something stable, and have latest packages on my user"
<clever> if you try to install something you already have, it will instead upgrade it
<clever> and use the exact version you pointed it to
<clever> you need to use -iA nixpkgs.foo to select from unstable
<kandinski> unless there is good reason, it seems to me the principle of least surprise would be "give preference to the user's channels over root's channels, wouldn't you say?
<clever> if the channel names collide, yes
<kandinski> clever: thanks, I think I'm getting what is happening, but not why it happens.
<kandinski> clever: but what if they don't?
<clever> but if the names dont collide, you can select between the 2 sets
<shreyansh_k> "nix-env -u" install the latest updated package from all the searched channels
<clever> -i (without A) and -u will search all channels
<kandinski> I see
<shreyansh_k> kandinski: If should use -iA instead.
<kandinski> so if I had added unstable with `nix-add https:...unstable nixos`, then I would be guaranteeing that every time I install or update something as the user, I'd be doing it from unstable
<clever> kandinski: probably, but then you also get warnings about collisions on channel names
<kandinski> clever: thanks. I am less confused now.
trcc has joined #nixos
<clever> i just run nixos-unstable on most of my machines
iyzsong has quit [Read error: Connection reset by peer]
<kandinski> clever: including your main work machine? I'm a bit wary of not being able to do paid work.
<shreyansh_k> infinisil: I think figured libreoffice-fresh. Second last build failed 5 days ago and the channel was last updated 2 days ago. The latest build was success 18h ago. So, I think I should retry installing after a channel update, right?
<clever> kandinski: rollbacks allow you to undo any upgrade, as long as the disk is not corrupt
<kandinski> clever, it's not so much that as the laptop being stuck in compilation for days.
<etu> kandinski: I run nixos-unstable at all my laptops, including work laptop
<kandinski> with stable channels, most everything is available in the caches, correct?
<clever> kandinski: hydra pre-compiles things so it shouldnt be building as much, and i just dont update that often
<clever> kandinski: all non-small channels refuse to update until hydra has cached everything that can build
<clever> so unstable still has 100% cache coverage
<kandinski> clever: we just had that conversation where I found out an update made me compile a lot of stuff (like numpy and openblas etc): https://pastebin.com/VDWPqtwV
iyzsong has joined #nixos
<clever> kandinski: do you have any overlays or overrides?
<kandinski> clever, etu: I might get to the point where I can run unstable when my configuration.nix and my user-local package sets are more stable than they are now. I'm still learning how everything works.
mkoenig has quit [Read error: Connection reset by peer]
<kandinski> clever: I don't know what overlays or overrides are, so I'm guessing no.
<clever> kandinski: oh, and some of the pythonPackages sets arent build by hydra, ever
<clever> kandinski: but nix-env -u can sometimes pick the wrong one
<kandinski> clever: aaaah
<clever> i once got stuck in a 12 hour build of python junk, installing the wrong variant of youtube-dl
<kandinski> I need numpy/blas for work, and I use youtube-dl for fun, so...
<clever> it helps to declaratively specify what packages you want, and which attr set to get them from
<clever> which also helps with channels
<kandinski> clever: which part of the manual is that?
<clever> nix-env -iA nixos.mystuff, will install all of my stuff, from the nixos channel
<clever> not sure if it is in the manual
<kandinski> I've been running nixos for five months now, but only recently I've freed up enough time to study how to do things right.
<shreyansh_k> clever: It is.
<clever> the override in the gist, will create a set called newstuff
<clever> and if you nix-env -iA nixos.newstuff, it will install (or upgrade) everything to the versions listed there, from the nixos channel
<kandinski> hmm
mkoenig has joined #nixos
<clever> but it wont remove things you took out of the set
<kandinski> and if I run nix-env -iA nixpkgs.newstuff, it will do it from the nixpkgs channel?
<clever> `nix-env -iA nixos.newstuff -r` will atomicly install(or update) everything in the set, and remove anything not in the set
<clever> yep
<clever> you could also make 2 sets of packages, and choose to always install set1 from nixpkgs, and set2 from nixos
<kandinski> how do you decide what to put there and what to put in your configuration.nix?
<kandinski> yes, I see
<clever> i try to use nix-env for temporary things, and move them to configuration.nix later
<kandinski> or this is also how I would maintain my own package set if I decided to go to nixops for everything
<kandinski> our company's build artifacts, built by nix/hydra, on a separate channel
<clever> but there are also things that break the build often, and then i move them to nix-env, because they get in the way of changing 1 line in a config file
<kandinski> that would include any forked library if we have them
<clever> your custom channel could even have such sets, directly in it
<kandinski> clever: what do you mean?
<clever> and then anybody with the channel can just nix-env -iA company.all-tools
<clever> just make a channel, with the default.nix returning tools, and a set called all-tools
hyper_ch2 has joined #nixos
<kandinski> and that would bring some packages from nixos infra, and some from our own infra?
<kandinski> or would we have to build the whole of nixpkgs?
<clever> it would get whatever packages the "all-tools" set in the "company" channel listed
<clever> the company channel could then refer to an approved nixpkgs rev, that hydra has pre-built your tools for
<kandinski> (I think I'm having trouble with the nix-specific jargon, sorry for that)
<kandinski> 05:58 < clever> your custom channel could even have such sets, directly in it
<clever> you could make your own nix channel, for the company, which returns company specific tools in it
<kandinski> what do you mean by "such sets, directly in it"? That I wouldn't need to have the equivalent of newstuff in my confi.nix, because it would already be in the channel?
<clever> and a common set like newstuff above, could be inside that channel
<kandinski> aha
<clever> and then people can just `nix-channel --update ; nix-env -iA company.all-tools` to both upgrade, and get any new tools added to the list
<kandinski> so everybody is on, say, release18.09, and they all have also the company channel enabled either as root or as their user
<kandinski> yep, thanks
<kandinski> or even in the configuration.nix, right?
<clever> that would be a bit more complex, but still possible
<kandinski> right, probably not worth it
<kandinski> also company is using Ubuntu, I don't think I can persuade them to turn to nixos (nor should I until I know it better, it wouldn't be responsible)
<clever> ive seen another company where the new guy tried to switch them to nixos before learning it fully himself
<clever> and now the company is very anti-nix and doesnt like the other guy that is trying to promote nix
<kandinski> clever: thanks a lot. I'm planning to migrate all my personal stuff to nixos, though, and this has given me a few ideas. I do fork libraries frequently to fix issues or add features, and then refer to my own forks while upstream decides on the PR. NixOS seems a better way to manage that workflow.
<kandinski> Yeah, I don't want to be that person.
<kandinski> I'm moving my own stuff little by little, though. My only dislike so far is the long compilation times.
<kandinski> I reinstalled several ubuntu machines this weekend (for daughters and such) and each install takes literally 10 minutes.
<kandinski> Longer installs are only due to slower disks.
<clever> if you ensure every machine is on the same nixpkgs rev (update the channels at the same time, or other stuff), you can share build products between machines
<kandinski> clever: I guess that's the next thing to learn. Set builder on my baremetal host, and have my own caches for everything.
<clever> i also have my local hydra pre-building my nixos configs against nixos-unstable
<clever> so i can both see if it will break without updating
<kandinski> I see
<clever> and i can pick a rev it has pre-built, and update to it almost immediately
<clever> i can see that 3 days ago, something stopped building
<clever> and then 1 day ago, it fixed itself
<kandinski> and do you then download from the cache that you built, to avoid long compilations?
<clever> checking the logs, it looks more like a garbage collection ate the compiler (bugs in some auto-gc stuff), and the build failed when it shouldnt have
<clever> yeah
monotux has joined #nixos
<kandinski> clever: can you share your setup?
<sphalerite> ,pr jackdk
<{^_^}> jackdk: 0. Sorry. 1. If you complain about PR being in limbo, always provide a number («I have an unmerged PR (#23924)…»), bot will print PR title and it might bring you an impulse-merge. 2. Please look up who commits similar work and ping these people (or request-review), keeping up with all the PRs is not really possible.
<kandinski> clever: ta very much
<clever> kandinski: hydra is configured to build everything in release.nix
<clever> other machines not covered by hydra also exist in that repo
civodul has joined #nixos
<kandinski> I'm updating nixos and also user-local packages, so the browser is having trouble rendering the page
<jackdk> Thanks sphalerite. #45969 is the PR. Does request-review mention a specific command or bot-trigger or something? I can't find anything obvious on a web search
<{^_^}> https://github.com/NixOS/nixpkgs/pull/45969 (by endgame, 2 weeks ago, open): ultimate-oldschool-pc-font-pack: init at 1.0
<sphalerite> jackdk: requesting a review on a PR from somebody notifies that person. Since you're making a new package here I'm not sure finding anyone in particular is appropriate
<sphalerite> jackdk: but your PR LGTM, I've pinged the bot to build it and probably someone like Mic92 will merge it soon :)
<jackdk> thanks a lot
<kandinski> clever: what do you think of nixos configs in this fashion? I was thinking to modify my config to go this way too: https://github.com/chris-martin/home/tree/master/nix
<kandinski> clever: or, otherwise, who would you recommend I crib my dotfiles from?
<sphalerite> jackdk: also re. FON bitmap fonts, it looks like it's possible but not trivial to fiddle them into something that will work on linux
<jackdk> What would you recommend, then? Make the name indicate that its a TTF-only package or leave them unpackaged? How many people use bitmap fonts these days?
<sphalerite> I use them, they're great for putting a lot of text in a small space.
<sphalerite> I'd probably put a comment in there saying that you've left the bitmap files unpackaged because of the format, maybe add links to https://www.chiark.greenend.org.uk/~sgtatham/fonts/ and http://fileformats.archiveteam.org/wiki/FON as pointers for anyone who might be interested in changing that
<sphalerite> jackdk: oh actually http://www.seasip.info/Unix/PSF/ might be helpful for this. But yeah up to you if you want to go to the effort of also packaging that ;)
brejoc has joined #nixos
<{^_^}> [nixpkgs] @andrew-d opened pull request #47263 → xsecurelock: add extra derivation parameter and NixOS module → https://git.io/fAF9z
periklis has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
reinzelmann has joined #nixos
bbarker has quit [Read error: Connection reset by peer]
periklis has quit [Ping timeout: 260 seconds]
georges-duperon has joined #nixos
Ariakenom has joined #nixos
Tucky has joined #nixos
hakujin has joined #nixos
alex`` has joined #nixos
adamantium has quit [Ping timeout: 252 seconds]
AstroBadger has quit [Ping timeout: 246 seconds]
adamantium has joined #nixos
AstroBadger has joined #nixos
ixxie has joined #nixos
hakujin has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #45969 → ultimate-oldschool-pc-font-pack: init at 1.0 → https://git.io/fA8q9
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fAFQz
buckley310 has quit [Quit: Bye]
AstroBadger has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @fpletz pushed to master « obs-studio: 21.1.2 -> 22.0.2 »: https://git.io/fAFQb
goibhniu has joined #nixos
AstroBadger has joined #nixos
<{^_^}> [systemd] @fpletz merged pull request #23 → nspawn: chown() the legacy hierarchy when it's used in a container → https://git.io/fAFVp
<{^_^}> [systemd] @fpletz pushed commit from @evverx to nixos-v239 « nspawn: chown() the legacy hierarchy when it's used in a container »: https://git.io/fAF7Y
johanot has joined #nixos
Thra11 has joined #nixos
palo has quit [Ping timeout: 252 seconds]
asymmetric has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Thra11 has quit [Ping timeout: 245 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
mayhewluke has quit [Ping timeout: 252 seconds]
ckauhaus[afk] is now known as ckauhaus
mayhewluke has joined #nixos
<ckauhaus> Some channel op should remove the NixConf CfP from the topic...
<ckauhaus> I think the program has been decided upon
<sphalerite> ckauhaus: yeah I've poked gchristensen a couple of times now, never at the right time it seems ;)
jackdk has quit [Ping timeout: 260 seconds]
<Myrl-saki> sphalerite: ckauhaus: Closed for Papers.
<sphalerite> haha
sir_guy_carleton has quit [Quit: WeeChat 2.0]
georges-duperon has quit [Ping timeout: 252 seconds]
<ckauhaus> :-)
<ixxie> I'm having problems with my Home-Manager installation....
<ixxie> home-manager switch returns error: file 'home-manager/home-manager/home-manager.nix' was not found in the Nix search path (add it using $NIX_PATH or -I)
<srhb> ??/
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
<srhb>
srhb has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<makefu> hopefully he didn't got k-lined
thc202 has joined #nixos
CapsLock has joined #nixos
<CapsLock> hi everyone
<CapsLock> just wondering how to add some file so nix-store for given package ; as an example I would like to add an extension to wireshark ; it should be stored in lib/wireshark/extcap ; how can we do that reliably ?
<johanot> makefu: she did. :(
<etu> Nooo, for how long? srhb tend to know things and be helpful.
trcc has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli opened pull request #47264 → systemd: bump to rev 31859ddd35fc3fa82a583744caa836d356c31d7f → https://git.io/fAFF7
trcc has joined #nixos
<makefu> johanot: dang
<symphorien> CapsLock: once wireshark (whithout the plugin) is built its nix store path is completely immutable. You should find a way to tell wireshark "find the plugin at this location".
<CapsLock> symphorien: thanks :)
<CapsLock> I think I can do that also by extending actual wireshark package
patrl has joined #nixos
adamantium has quit [Quit: ZNC 1.7.1 - https://znc.in]
trcc has quit [Ping timeout: 250 seconds]
<symphorien> the usual way is to wrap the package. Assume that wireshars looks for its plugins in the env var WIRESHARK_PLUGINS. You make a derivation which is just a shell script (see makeWrapper in the nixpkgs manual) which exports this env var pointing to the store path of your plugin, and then execs the vanilla wireshark.
<symphorien> examples of this are firefox, python.withPackages etc.
__lawlesseel__ has quit [Quit: Leaving]
lawlesseel has joined #nixos
<CapsLock> symphorien: thanks a lot :)
adamantium has joined #nixos
<ckauhaus> see also Sander's recent article about builder patterns for pluggable software: http://sandervanderburg.blogspot.com/2018/09/creating-nix-build-function.html
civodul has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed to master « Revert "nixos: set nixos in nixPath" »: https://git.io/fAFbR
AstroBadger has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @edolstra pushed to release-18.09 « Revert "nixos: set nixos in nixPath" »: https://git.io/fAFbr
adamantium has quit [Quit: ZNC 1.7.1 - https://znc.in]
graphene has quit [Remote host closed the connection]
AstroBadger has joined #nixos
graphene has joined #nixos
adamantium has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #47254 → Update ycmd for go 1.11 → https://git.io/fAFVt
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAFNt
Acou_Bass has quit [Ping timeout: 260 seconds]
mkoenig has quit [Ping timeout: 252 seconds]
mkoenig has joined #nixos
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #47264 → systemd: update to fix nspawn containers → https://git.io/fAFF7
<{^_^}> [nixpkgs] @Mic92 pushed commit from @flokli to staging « systemd: update to fix nspawn containers (#47264) »: https://git.io/fAFNP
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @Mic92 pushed commit from @flokli to staging-18.09 « systemd: update to fix nspawn containers (#47264) »: https://git.io/fAFNA
ixxie has joined #nixos
ThatDocsLady has joined #nixos
fendor has joined #nixos
johanot has quit [Ping timeout: 264 seconds]
johanot has joined #nixos
jophish has quit [Quit: WeeChat 2.0]
<betaboon> are environment-variables (like PYTHONPATH) passed to systemd preStart ?
cryptix has joined #nixos
<sphalerite> betaboon: those defined for the service?
<betaboon> sphalerite: yes
<betaboon> just as context: i have a nixos-service-module, which wraps a python-service, which has a prestart script which calls a setup.py-entrypoint -> on 17.09 it worked fine, now on 18.09 it complains that there is no such module when running the prestart script
<cryptix> hey - what's the easiest way to deploy a shell script? i tried pks.writeScriptBin and added the output to environment.systemPackages. the output is there but it's missing the executable flag
<sphalerite> cryptix: that's very odd, writeScriptBin should set it as executable
<{^_^}> [nixos-org-configurations] @edolstra pushed 2 commits to master: https://git.io/fAFjh
<cryptix> sphalerite: hrm.. i'll paste it somewhere.. maybe i shouldn't put it in a let? seemed cleaner though.. https://pastebin.com/raw/Rq7giEdm
carlosdagos has quit [Quit: Connection closed for inactivity]
<betaboon> sphalerite: to answer my own question: yes the environment-variables are available within preStart.
<cryptix> sphalerite: sorry, nvm. the error is actually '... is marked as an executable but could not be run by the operating system'
<cryptix> i guess it's the scripts content - will debug further
Anton-Latukha has joined #nixos
<sphalerite> cryptix: you probably just need a shebang
<sphalerite> cryptix: change it to writeShellScriptBin, or put #!${pkgs.stdenv.shell} at the top of the script
<exarkun1> Using nixops, I can define a machine as a function accepting `lib`, `resources`, `config`, `pkgs`, etc. where do I read about these and other parameters?
Dedalo has joined #nixos
<cryptix> sphalerite: aaaaah! yea!, bash /nix/path/to..script works! yes. thank you!
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ebf041d4bd3 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<azazel> exarkun1: unfortunately... nowhere
cryptix has quit [Remote host closed the connection]
<azazel> exarkun1: just in nixops code
<exarkun1> :`(
<exarkun1> Okay, thank you.
<betaboon> azazel exarkun1: lib, config and pkgs behave just as in nixos AFAIK. and resources are the resources that you define. what else would you need to read about them ?
<azazel> it wuld be useful to know if there are others,
<azazel> for example
<exarkun1> betaboon: It would be nice to be able to read what you just said in the documentation. Then I'd know I could go look at the nixos docs for those things. Also, "resources are the resources that you define" isn't quite enough for me to get a handle on that concept. Are you saying that's a purely user-defined value? Where does it come from? Anywhere else in the nix for my deployment?
<exarkun1> betaboon: Also, what azazel said.
<betaboon> not saying that the nixops-documentation is perfect. It's far from that...
ixxie has joined #nixos
<exarkun1> I appreciate the info. I don't have other specific questions right now, just trying to improve my self-education loop.
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e4966591ef6 (from 86 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<azazel> exarkun1, betaboon also the documentation about the vpn: when/how it's setup, and the overall knowledge of the config options to "deal" with it aren't so clear to me,exarkun: I learned most of the missing thing from the examples/ directory inside the repository
<azazel> but be aware that some examples aren't up to date
<betaboon> azazel: yeah i had to do alot of digging in the code etc as well
sphalerite has quit [Ping timeout: 252 seconds]
sphalerite has joined #nixos
<{^_^}> [nixops] @yorickvP closed pull request #1004 → remove failing test (after 2e7a78bb) → https://git.io/fAits
<sphalerite> bennofs[m]: could you do a new (bugfix) release of nix-index?
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
init_6 has joined #nixos
phreedom has quit [Remote host closed the connection]
Kelppo has joined #nixos
phreedom has joined #nixos
simukis has joined #nixos
<gchristensen> makefu: she did get klined
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAbTf
<{^_^}> [nixpkgs] @Mic92 merged pull request #34409 → qemu-vm: fix script syntax and VM args → https://git.io/vN9K4
ThatDocsLady_ has joined #nixos
_lawlesseel has joined #nixos
ThatDocsLady_ has quit [Remote host closed the connection]
lawlesseel has quit [Remote host closed the connection]
ThatDocsLady has quit [Ping timeout: 260 seconds]
ThatDocsLady_ has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fAbTZ
<{^_^}> [nix] @edolstra merged pull request #2312 → search: include version for matches too! → https://git.io/fNz4k
<typetetris> Hi there! I'm a little confused about the 'sandbox' option of nix. In the manual of nix it is claimed, that you need to run nix as root, to use 'sandbox=true'. Is it sufficient if nix-daemon runs as root or do I need to call nix-build as root?
<sphalerite> typetetris: the former
<typetetris> thanks.
<sphalerite> typetetris: running nix-build as root does *also* allow sandboxing, even without a daemon. But with the daemon running as root, regular users can run sandboxed builds too.
<typetetris> I will probably set it to relaxed, so the users can do whatever they want.
<typetetris> How can I get the transitive closure of all the store paths needed to build a certain derivation? (I assume: Step 1) Get all the direct build dependencies of the derivation (how to do that)? Step2) Get the transitive closure of all the run-time dependencies of those via nix-store -qR ?)
orivej has joined #nixos
<{^_^}> [nixpkgs] @dezgeg pushed 2 commits to master: https://git.io/fAbII
<{^_^}> [nixpkgs] @dezgeg closed pull request #46653 → linux_rpi: add support for 64-bit Raspberry Pi 3 → https://git.io/fAPAw
patrl has quit [Ping timeout: 252 seconds]
<Taneb> I'm trying to build the "cabal-install" Haskell library with GHC 8.4 and having trouble
ixxie has joined #nixos
patrl has joined #nixos
mayhewluke has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
Lears has quit [Remote host closed the connection]
b1000101 has joined #nixos
<b1000101> Hi, any advice on getting a PR merged? Thanks! https://github.com/NixOS/nixpkgs/pull/46658
<{^_^}> #46658 (by 1000101, 1 week ago, open): trezord: 2.0.12 -> 2.0.19 and nixos/trezord: revised and updated udev rules
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e4966591ef6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
patrl has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #47266 → Revert "python: ldappool: 2.2.0 -> 2.3.0" → https://git.io/fAbL2
Lears has joined #nixos
<sphalerite> ,pr b1000101
<{^_^}> b1000101: 0. Sorry. 1. If you complain about PR being in limbo, always provide a number («I have an unmerged PR (#23924)…»), bot will print PR title and it might bring you an impulse-merge. 2. Please look up who commits similar work and ping these people (or request-review), keeping up with all the PRs is not really possible.
<etu> b1000101: I highly suggest you to rebase your commits to squash/fixup them to only be like two or three, one for adding yourself to the maintainer list and one for refactoring/updating the package and one for updating the module
<sphalerite> etu: I think the commits there are sensible
<sphalerite> oh wait no
<etu> sphalerite: "Missed semicolon"
<sphalerite> not the "missed semicolon" and stuff I guess
<etu> Most are good, some can be squashed
<sphalerite> b1000101: you may also want to ping the existing maintainers canndrew and jb55 in the github issue
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<makefu> gchristensen: thats too bad, there were times (like 1 month ago) when nothing would have happened ...
* etu is sure that srhb finds her way back here:)
abueide has quit [Ping timeout: 260 seconds]
<b1000101> sphalerite yeap, that's a totally stupid mistake, I know - is there a way to squash them remotely? Sry for the stupid question, I still have to learn git properly
abueide has joined #nixos
srhb has joined #nixos
<sphalerite> srhb: welcome back!
<sphalerite> b1000101: not a stupid mistake at all :) you'll need to do this locally AFAIK
<srhb> Thanks!!
<sphalerite> the only way I know of squashing is git rebase -i
<makefu> sphalerite: or cherry-picking
<sphalerite> makefu: I don't know that one ;)
patrl has joined #nixos
<sphalerite> makefu: huh, the manpage for git-cherry-pick doesn't contain the string "squash" anywhere either
<makefu> sphalerite: ha, yeah, sorry - git rebase -i is the easiest way to do
<sphalerite> makefu: I'm curious though, how does it work with cherry-pick?
<srhb> sphalerite: Probably using --no-commit :)
<sphalerite> aaaah right
b1000101 has quit [Ping timeout: 256 seconds]
<sphalerite> b1000101 really doesn't have a very reliable connection :p
b1000101 has joined #nixos
<b1000101> sry I got disconnected, has anybody replied, I didn't get any messages
<srhb> b1000101: You can catch up here: https://logs.nix.samueldr.com/nixos/
<b1000101> shrb thanks a million
Acou_Bass has joined #nixos
<b1000101> srhb thanks a million
<sphalerite> nix-diff is great. Just did a big refactor of one of my systems and I could make sure that only the things I wanted changed did actually change :D
<srhb> Yep, it's lovely!
<b1000101> my connection is alright, but I had to go to DC :)
<srhb> b1000101: If we're talking about the trezord PR things have gotten a bit confusing because of the backport PRs fragmenting the conversation. I think it would be helpful if we could stick to the master one and open backport PRs once that's in. I'm perfectly happy merging the (squashed) version to master, but I honestly still don't understand what the changes do re. 18.03, and if it might break anything for
<srhb> existing users. :)
Acou_Bass has quit [Ping timeout: 252 seconds]
<srhb> Wow, OK, my multiline protection really IS broken. That explains a few things...
Acou_Bass has joined #nixos
<sphalerite> splitting one message into two doesn't usually trigger multiline protection AFAIK
<sphalerite> at least not weechat's stock one
<sphalerite> what actually happened earlier? -> #nixos-chat ;)
<srhb> I thought I configured it to do so way back, but maybe I'm mistaken...
ixxie has joined #nixos
<etu> srhb: Welcome back:)
<srhb> etu: Thanks :)
devx has quit [Ping timeout: 246 seconds]
<b1000101> srhb - yeap, alright. Basically a new version of our "bridge" (trezord) came out that needs udev rules to be a modified in order to work with the hardware. That's all there's to it. The previous bridge (2.0.12 and 2.0.14) is not really working with one type of the hardware anymore. So it should not break anything, rather the opposite as one hardware device is currently non-functional in NixOS.
<makefu> srhb: everyone was worried that you got k-lined for the day
<srhb> Hehe, kind of you all. :)
<srhb> b1000101: OK, that is a very helpful explanation. :)
<srhb> b1000101: I'll take a look tonight, if you squash it all down before then that would be helpful. :)
graphene has quit [Remote host closed the connection]
<johanot> srhb: welcome back :P
<b1000101> srhb thanks, will do :)
graphene has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #47266 → Revert "python: ldappool: 2.2.0 -> 2.3.0" → https://git.io/fAbL2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAbmx
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Ma27 to release-18.09 « Revert "python: ldappool: 2.2.0 -> 2.3.0" »: https://git.io/fAbYU
abueide has quit [Ping timeout: 264 seconds]
<siers> It doesn't seem that bundix works with 'gem "gem", path: "#{ ENV['HOME'] }/wherever"' :(
<{^_^}> [nixpkgs] @Mic92 merged pull request #47247 → nvidia-x11: Fix vulkan VK_KHR_xcb_surface → https://git.io/fAFuZ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.09: https://git.io/fAbYZ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAbYC
<{^_^}> [nixpkgs] @Mic92 merged pull request #47248 → nvidia-x11: Fix vulkan VK_KHR_xcb_surface → https://git.io/fAFuE
<{^_^}> [nixpkgs] @Ma27 opened pull request #47267 → python3Packages.google-compute-engine: fix build → https://git.io/fAbYg
<{^_^}> [nixpkgs] @Mic92 merged pull request #46668 → doitlive: 3.0.3 -> 4.0.1 → https://git.io/fAXsU
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fAbYh
kai_w has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/e4966591ef6 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
ThatDocsLady_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #47268 → python3Packages.py3exiv2: fix build → https://git.io/fAbOp
<betaboon> can i somehow enforce rebuild of all dependencies already in nix-store when using nix-shell etc ?
hotfuzz has joined #nixos
hotfuzz_ has quit [Ping timeout: 240 seconds]
<gchristensen> srhb: welcome back!
ericsagnes has quit [Ping timeout: 240 seconds]
<Taneb> haskell.packages.ghc843.cabal-install doesn't seem to build for me on nixpkgs 18.03
<srhb> gchristensen: Thank you, and thanks for poking freenode. :)
<gchristensen> glad to help -- +o's in here can unkline anyone klined here as long as they do it fast enough, otherwise you have to +o and ask for help :)
<Taneb> Because hackage-security fails, overriding that to a later version causes cabal-install to fail with missing dependencies
<gchristensen> makefu: unfortunately spam degrades the commons :(
<makefu> just like every time something bad happens to an otherwise open community ...
<gchristensen> can I specify a partition ID to fdisk?
<gchristensen> like, create a partition with uuid X
<alex``> emily: You use a display manager or tty > startx?
<srhb> Taneb: Making 8.4.3 fully functional on 18.03 might be a bit tricky. Do you really need to?
<srhb> Taneb: (As in, anything that isn't haskellPackages for a particular release might take a lot of work)
<LnL> gchristensen: watcha doin? :p
<Myrl-saki> srhb: How was uh... lie on the other side
<gchristensen> LnL: my questions are usually fun, huh?
<srhb> Myrl-saki: :|
<Myrl-saki> srhb: :P
grp has joined #nixos
<alex``> emily: occivink tells me a nice thing to do; keep default shell as login shell, then in the TTY, manually elvish if I want it, then set the default program for the terminal, Alacritty to open Elvish
<LnL> gchristensen: I think that's based on the disk serial, is this is a vm?
<gchristensen> it is an ARM system which starts up with 0 entropy. though d'ezgeg had a suggestion which I forgot about, and am trying now
<Taneb> srhb: I'd rather not wait until 18.09 is out for doing this
<Taneb> Even if that's only going to be a week or so now
<{^_^}> [nixpkgs] @Mic92 merged pull request #47268 → python3Packages.py3exiv2: fix build → https://git.io/fAbOp
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAbsR
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Ma27 to release-18.09 « python3Packages.py3exiv2: fix build »: https://git.io/fAbs2
Rusty1 has joined #nixos
<srhb> Taneb: Then I suggest using 18.09 for it today. :)
<srhb> Taneb: Or using an earlier GHC and 18.03
silver has joined #nixos
<srhb> Taneb: And if neither of those work, there's nothing to do but continue following the errors and doing overrides as you already were. :) Might go quite deep though.
<sphalerite> gchristensen: filesystem uuid or partition uuid?
<Taneb> I'm up to my neck in overrides already...
<srhb> Taneb: Yup, well, that's to be expected..
<gchristensen> dunno but I think I sorted it somehow??
<srhb> Taneb: Every set that isn't haskellPackages is really just haskellPackages projected onto another version of ghc.
<{^_^}> [nixpkgs] @Mic92 merged pull request #47148 → eiskaltdcpp: mark linux only → https://git.io/fA5Hs
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAbGk
<sphalerite> gchristensen: yay!
<{^_^}> [nixpkgs] @Mic92 pushed commit from @LnL7 to release-18.09 « eiskaltdcpp: mark linux only »: https://git.io/fAbGO
ericsagnes has joined #nixos
<gchristensen> awww it faulted again
<sphalerite> gchristensen: in any case, tune2fs can adjust filesystem uuids for ext[234]
<sphalerite> oh there's also the partition *table* UUID
<sphalerite> but sfdisk can set both partition table UUID and partition UUID
<kai_w> am I going to run into trouble if I use parallel building when testing changes to nixpkgs?
<kai_w> i.e. cores=0, not max-jobs
<srhb> kai_w: If you do run into problems, you should disable parallel building for the derivation :)
<sphalerite> kai_w: typically not, because they only build with more than one core if they're explicitly marked to, and one would assume that someone who marks them as parallel-capable would have tested them in parallel :)
<kai_w> awesome. gcc takes a while single-threaded
<sphalerite> yes. Yes it does.
tobiasBora has joined #nixos
<tobiasBora> Hello,
<tobiasBora> I just got on my rasp an error "nixos GC Warning: Failed to expand heap by 238452736 bytes"
<tobiasBora> do you have any idea why I get this error?
init_6 has quit []
<sphalerite> running out of memory. If it doesn't crash you're still fine
<sphalerite> but even if it does properly run out it shouldn't break disastrously
<tobiasBora> sphalerite: it's RAM memory?
<sphalerite> yes
<gchristensen> ,locate lspci
<{^_^}> Found in packages: busybox, pciutils
<tobiasBora> sphalerite: ok thank you. I'm curious to see what's using that much memory...
<tobiasBora> Ouch... Gitlab uses 30% of the memory
<tobiasBora> 60%*
<tobiasBora> and the swap is nearly full
Izorkin has quit [Read error: No route to host]
<sphalerite> yeah the pi isn't exactly a heavy-duty server :')
<srhb> And gitlab uses bizarre amounts of resources.
hakujin has joined #nixos
<andi-> gitlab on a RPi. I wouldn't have thought that is still possible :)
sb0 has quit [Ping timeout: 245 seconds]
hakujin has quit [Ping timeout: 252 seconds]
acarrico has quit [Ping timeout: 272 seconds]
reinzelmann has quit [Quit: Leaving]
endformationage has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
sb0 has joined #nixos
Butterfly^ has joined #nixos
fendor has quit [Ping timeout: 252 seconds]
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @xeji merged pull request #47267 → python3Packages.google-compute-engine: fix build → https://git.io/fAbYg
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « python3Packages.google-compute-engine: fix build (#47267) »: https://git.io/fAbWZ
acarrico has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to release-18.09 « python3Packages.google-compute-engine: fix build (#47267) »: https://git.io/fAbWr
b1000101 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @baracoder opened pull request #47269 → dotnet-sdk: Reduce closure: Unpack to a subdirectory to prevent copying build files → https://git.io/fAblO
kiloreux has joined #nixos
wpcarro has joined #nixos
<kiloreux> Can I pull just a directory from S3 in fetchurl ?
<kiloreux> Instead of pulling a tar file ?
wpcarro has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @basvandijk pushed to release-18.09 « opencv: 3.4.2 -> 3.4.3 »: https://git.io/fAb8T
<typetetris> I did set 'sandbox = true' for a multiuser nix install on a debian 8. nix-daemon is running as root. When I try to build something I get errors, because the mounting of /proc in the sandbox seems to be not permitted. What am I doing wrong?
<sphalerite> typetetris: is it actually connecting to the daemon? Try passing --store daemon
wpcarro has joined #nixos
<typetetris> sphalerite: Same error message, see here: https://pastebin.com/psW8TpDb
<gchristensen> kiloreux: no, s3 doesn't support that
<kiloreux> Thank you gchristensen .
<wpcarro> is there a way to get nix to evaluate the `shellAliases` after something like the `zsh.interactiveShellInit`? It seems like some of my aliases are being overwritten
<sphalerite> typetetris: that's weird, I don't know what else to try :/
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3e270ff919c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<typetetris> sphalerite: But it's definitely the sandboxed build. I am using a vm (don't know which technology, it department just hands me a login for ssh) here, so maybe thats why.
johanot has quit [Quit: leaving]
<{^_^}> [nixpkgs] @jtojnar pushed 134 commits to gnome-3.30: https://git.io/fAb41
<{^_^}> [nixpkgs] @Vskilet opened pull request #47270 → roundcube: init at 1.3.7 → https://git.io/fAb4y
<d1rewolf> is it correct to say that "environment.systemPackages = with pkgs; [ mpv ]" is the same as "environment.systemPackages = [ pkgs.mpv ]"?
<sphalerite> d1rewolf: yes
<sphalerite> d1rewolf: *unless* mpv has been defined by a let outside that expression
<d1rewolf> sphalerite: k, thought so...thx very much
<sphalerite> typetetris: hmm, maybe try virt-what to find out?
<typetetris> sphalerite: its vmware, I don't know about virtualization technologies, is it plausible for sandboxed builds to fail on a vmware virtual machine?
iyzsong has quit [Read error: Connection reset by peer]
<sphalerite> typetetris: I don't think so, but maybe it uses a weird kernel?
<sphalerite> although I think if lack of namespacing supportwere the problem you'd be getting a different error
<tobiasBora> I have an error: "Package ‘cups-gutenprint-binary-5.0.1’ in /nix/store/imar2zpr687zw5i4v0jcidpanwykilgq-nixos-19.03pre152634.218ce4de508/nixos/pkgs/misc/drivers/gutenprint/bin.nix:63 is not supported on ‘aarch64-unknown-linux-gnu’, refusing to evaluate"
<tobiasBora> and nix tells me that I can fix it with nixpkgs.config.allowUnsupportedSystem = true;
<tobiasBora> But it seems strange to me
<tobiasBora> because if the app is only available for x86, I don't see the point of forcing it
<gchristensen> that is a bit funny, isn't it
<tobiasBora> gchristensen: me?
<{^_^}> [nixpkgs] @edwtjo pushed 11 commits to master: https://git.io/fAbRw
<{^_^}> [nixpkgs] @edwtjo merged pull request #46866 → jetbrains.editors: 2018-09-18 → https://git.io/fASzr
<{^_^}> [nixpkgs] @edwtjo merged pull request #45998 → nixos: initrd/luks: make uuid specified devices discoverable → https://git.io/fA4IX
<{^_^}> [nixpkgs] @edwtjo pushed to master « nixos: initrd/luks: make uuid specified devices discoverable »: https://git.io/fAbRP
<tobiasBora> I guess, but would be still funnier if I can understand ;)
<d1rewolf> all...I installed the following with nix-env -if:
<d1rewolf> it installs without error, but "import dbus" still fails when I try it from the python2 repl
<d1rewolf> any ideas why?
<sphalerite> tobiasBora: you can force it to *try* building it
<sphalerite> tobiasBora: but the being-marked-as-unsupported is a strong suggestion that it won't work out of the box
<d1rewolf> nix-env -q show it's installed as well
<sphalerite> d1rewolf: works for me
<d1rewolf> sphalerite: sigh...I can't figure this out. this is on a completely separate machine from yesterday
<d1rewolf> using shared configs obviously, but... same problem
<sphalerite> d1rewolf: what does file -L $(which python) say?
<d1rewolf> /nix/store/6b6lzbq74g95j8qlbrdjzkn2ghh81mgy-python-2.7.15/bin/python: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /nix/store/fg4yq8i8wd08xg3fy58l6q73cjy8hjr2-glibc-2.27/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, not stripped
<sphalerite> yep that's wrong
<sphalerite> it should be a script that wraps python
<sphalerite> what does `which python` itself say?
<d1rewolf> /nix/store/6b6lzbq74g95j8qlbrdjzkn2ghh81mgy-python-2.7.15/bin/python
<sphalerite> where are you running this?
<sphalerite> as in, in what kind of shell?
<d1rewolf> zsh
ixxie has joined #nixos
<sphalerite> and what's your $PATH?
<d1rewolf> here's all mentions of python in my nix files:
<d1rewolf> /home/d1rewolf/development/flutter/bin:/opt/go/bin:/home/d1rewolf/workspace/go/bin:/bin:/home/d1rewolf/workspace/go/bin:/nix/store/6b6lzbq74g95j8qlbrdjzkn2ghh81mgy-python-2.7.15/bin:/nix/store/7lmd8g28ahki0qdysixvz8aismg17aj7-terminator-1.91/bin:/nix/store/32f3f69jh0lls47z4ppc60v0x0zcan3x-python2.7-setuptools-40.2.0/bin:/nix/store/27jaxgs7azws5gpb2w5pddc1qg9nr6m3-cairo-1.15.12-dev/bin:/nix/store/zavrkx3070qvv5zv8840grl8jrzp3ws
<d1rewolf> k-freetype-2.9-dev/bin:/nix/store/1iih7pgc7krhis13zaq8ajdcb2hd10d9-bzip2-1.0.6.0.1-bin/bin:/nix/store/h2y23zv427cghcjdm0f2gmi6k2bijx57-libpng-apng-1.6.34-dev/bin:/nix/store/0wgnr5df4ya4w55p4cd1018kq7pfhznf-fontconfig-2.12.6-bin/bin:/nix/store/4ps4yzv9lw772xqkb7sswp0rgmdp3rmn-expat-2.2.6-dev/bin:/nix/store/7w6fz25rxw43xihfhyzj2j9c4jlnsdp0-glib-2.56.0-dev/bin:/nix/store/32ayyxv62j400sim448lg1z73fnwlqmq-gettext-0.19.8.1/bin:/home
<d1rewolf> /d1rewolf/bin:/run/wrappers/bin:/home/d1rewolf/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/d1rewolf/bin
<sphalerite> ouch
<d1rewolf> echo $PATH:
<d1rewolf> /home/d1rewolf/development/flutter/bin:/opt/go/bin:/home/d1rewolf/workspace/go/bin:/bin:/home/d1rewolf/workspace/go/bin:/nix/store/6b6lzbq74g95j8qlbrdjzkn2ghh81mgy-python-2.7.15/bin:/nix/store/7lmd8g28ahki0qdysixvz8aismg17aj7-terminator-1.91/bin:/nix/store/32f3f69jh0lls47z4ppc60v0x0zcan3x-python2.7-setuptools-40.2.0/bin:/nix/store/27jaxgs7azws5gpb2w5pddc1qg9nr6m3-cairo-1.15.12-dev/bin:/nix/store/zavrkx3070qvv5zv8840grl8jrzp3ws
<d1rewolf> k-freetype-2.9-dev/bin:/nix/store/1iih7pgc7krhis13zaq8ajdcb2hd10d9-bzip2-1.0.6.0.1-bin/bin:/nix/store/h2y23zv427cghcjdm0f2gmi6k2bijx57-libpng-apng-1.6.34-dev/bin:/nix/store/0wgnr5df4ya4w55p4cd1018kq7pfhznf-fontconfig-2.12.6-bin/bin:/nix/store/4ps4yzv9lw772xqkb7sswp0rgmdp3rmn-expat-2.2.6-dev/bin:/nix/store/7w6fz25rxw43xihfhyzj2j9c4jlnsdp0-glib-2.56.0-dev/bin:/nix/store/32ayyxv62j400sim448lg1z73fnwlqmq-gettext-0.19.8.1/bin:/home
<d1rewolf> /d1rewolf/bin:/run/wrappers/bin:/home/d1rewolf/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/d1rewolf/bin
<sphalerite> aaaah
<sphalerite> don't get klined
<sphalerite> please
<d1rewolf> damn it. sorry guys
<d1rewolf> irccloud usually auto-pastebins multiline pastes
<d1rewolf> for some reason it didn't work this time and I didn't catch it
<sphalerite> yeah that PATH looks really screwy
<{^_^}> [nixpkgs] @edwtjo pushed 3 commits to master: https://git.io/fAb06
<d1rewolf> (apologies to the irc gods)
<{^_^}> [nixpkgs] @fdns opened pull request #47271 → compactor: 0.11.0 -> 0.11.1 → https://git.io/fAb01
<sphalerite> I mean it's fine, just that there's a bot in here which will kick anyone who writes too much in a short period of time off the whole network :p
<d1rewolf> sphalerite: this is the result of "grep PATH ~/.zshrc": https://pastebin.com/tXmpJ2Q1
<sphalerite> d1rewolf: maybe `nix why-depends /run/current-system /nix/store/6b6lzbq74g95j8qlbrdjzkn2ghh81mgy-python-2.7.15/bin/python` could help
<{^_^}> [nixpkgs] @dtzWill merged pull request #47129 → cryus-sasl: cleanup, fix w/musl (although not at all musl-specific) → https://git.io/fA5WY
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to staging: https://git.io/fAbEU
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<d1rewolf> sphalerite: https://pastebin.com/T8V2jXrx
<sphalerite> d1rewolf: oops, try with --all
<sphalerite> (the output will be big)
devhell has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
<devhell> is networking.interfaces.eth0.ipv4.routes = [ { address = "10.100.0.0"; prefixLength = 24; via = "10.99.0.253"; } ]; not correct or am I missing something?
<devhell> there is no infromation via `ip route`
<sphalerite> devhell: does eth0 exist?
<devhell> sphalerite: yes
<devhell> it's a RPi3
<d1rewolf> sphalerite: it is big. pastebin rejects it. any ideas of a pastebin that'll accept it?
<d1rewolf> 556k
<sphalerite> d1rewolf: ooft. Maybe grep it for PATH yourself
<devhell> there's also nothing in /etc/systemd/network/40-eth0.network other than the IP address and DHCP being off
<d1rewolf> sphalerite: ok, grep PATH gives: https://pastebin.com/uFfbYeq1
<sphalerite> devhell: oh you're using networkd? I'm not sure the "classic" networking options are taken into account for that
<sphalerite> d1rewolf: I have a sneaking suspicion this might be terminator's fault
<sphalerite> d1rewolf: are you running python in there?
<sphalerite> Try xterm instead
<d1rewolf> d1rewolf: I am. one sec
<sphalerite> nice self-highlight ;)
<d1rewolf> lol. woops
<devhell> sphalerite: I thought networking.* uses networkd now by default??
wpcarro has quit [Remote host closed the connection]
<d1rewolf> and indeed...it works in alacritty
<sphalerite> devhell: not that I know of
<srk> networking.useNetworkd
<d1rewolf> so it's somethign to do with terminator
<srk> experimental option
<d1rewolf> weird. really weird
<sphalerite> > options.networking.useNetworkd.description
<{^_^}> value is a function while a set was expected, at (string):195:1
<sphalerite> > nixos.options.networking.useNetworkd.description
<{^_^}> "Whether we should use networkd as the network configuration backend or\nthe legacy script based system. Note that this option is experimental,\nenable at your own risk.\n"
<sphalerite> > nixos.options.networking.useNetworkd.default
<{^_^}> false
<sphalerite> devhell: ^
<devhell> cheers sphalerite
<devhell> that's mildly annoying :/
ixxie has joined #nixos
<d1rewolf> sphalerite: any idea why terminator would do this?
<{^_^}> [nixpkgs] @etu opened pull request #47272 → PHP CodeSniffer updates → https://git.io/fAbu2
<sphalerite> d1rewolf: because terminator uses python and there's a wrapper involved
<sphalerite> I don't know the details
<sphalerite> just use a tiling/tabbing window manager and a simple terminal? ;)
mayhewluke has quit [Ping timeout: 272 seconds]
<d1rewolf> sphalerite: already using i3...I've just used terminator for so long it's muscle memory
<d1rewolf> can you point out what made you think it was terminator for my reference?
<{^_^}> [nixpkgs] @pacien opened pull request #47273 → matrix-synapse: 0.33.3.1 -> 0.33.5 → https://git.io/fAbu6
<{^_^}> [nixpkgs] @edwtjo pushed to master « pythonPackages.sharedmem: init at 0.3.5 »: https://git.io/fAbuP
<sphalerite> d1rewolf: the line in the output mentioning terminator
<typetetris> sphalerite: If I want to use sandboxes do the build users need special permissions?
hyper_ch2 has quit [Quit: Page closed]
<sphalerite> nothing else there looked like it might affect your shells' environment
<sphalerite> typetetris: no, root does the mount magic before dropping to a build user
mayhewluke has joined #nixos
<d1rewolf> sphalerite: ok. thanks. do you still think my path looks wonky as well?
<sphalerite> d1rewolf: yes, but it's just a result of terminator. Compare what it looks like in alacritty
<d1rewolf> sphalerite: you're right. that's bizarre. is this worthy of filing a bug report with nix? seems like this sort of unexpected behavior could really throw people
<typetetris> sphalerite: Can I somehow see a list of executed commands?
hotfuzz_ has joined #nixos
<sphalerite> typetetris: it's not running shell commands at that point, but you could use strace to see the system calls
trcc has joined #nixos
ThatDocsLady_ has joined #nixos
<typetetris> sphalerite: But I would need to trace nix-daemon I guess.
<sphalerite> typetetris: yes — strace -fp $(pgrep nix-daemon)
hotfuzz has quit [Ping timeout: 252 seconds]
wpcarro has joined #nixos
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
Fare has joined #nixos
Ariakenom has quit [Ping timeout: 252 seconds]
trcc has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @etu opened pull request #47274 → testssl: 2.9.5-6 -> 2.9.5-7 → https://git.io/fAbgl
<{^_^}> [nixpkgs] @dtzWill opened pull request #47275 → iputils: upstream fixes for musl → https://git.io/fAbgr
<{^_^}> [nixpkgs] @xeji merged pull request #47076 → eid-mw: 4.4.3 -> 4.4.7 → https://git.io/fA7uE
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « eid-mw: 4.4.3 -> 4.4.7 (#47076) »: https://git.io/fAbgP
wpcarro has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #47040 → jdupes: 1.10.2 -> 1.10.4 → https://git.io/fA7Tt
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fAbg9
<{^_^}> [nixpkgs] @xeji merged pull request #47012 → mixxx: 2.1.3 -> 2.1.4 → https://git.io/fAQ5U
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mixxx: 2.1.3 -> 2.1.4 (#47012) »: https://git.io/fAb2J
lebel has joined #nixos
erasmas has joined #nixos
lebel has left #nixos [#nixos]
ThatDocsLady_ has quit [Remote host closed the connection]
ThatDocsLady_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47152 → nixos/tests/hound: fix non-deterministic failure → https://git.io/fA5p3
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/tests/hound: fix non-deterministic failure (#47152) »: https://git.io/fAb27
<{^_^}> [nixpkgs] @xeji pushed to release-18.09 « nixos/tests/hound: fix non-deterministic failure (#47152) »: https://git.io/fAb2p
patrl has quit [Ping timeout: 250 seconds]
devhell has quit [Quit: WeeChat 2.1]
<infinisil> ,locate ab
<{^_^}> Found in packages: dirt, atom, cheat, povray, granite, sequeler, sonic-pi, isocodes, atom-beta, regextester, apacheHttpd, rustPlatform.rustcSrc, python27Packages.dulwich, python36Packages.dulwich, pantheon.pantheon-terminal, xfce.xfce4-vala-panel-appmenu-plugin
<infinisil> The bot now displays all results it got :)
<infinisil> (Unless it doesn't fit in the IRC message length)
<{^_^}> [nixpkgs] @xeji merged pull request #47274 → testssl: 2.9.5-6 -> 2.9.5-7 → https://git.io/fAbgl
<{^_^}> [nixpkgs] @xeji pushed commit from @etu to master « testssl: 2.9.5-6 -> 2.9.5-7 (#47274) »: https://git.io/fAba9
indika_ has joined #nixos
jperras has joined #nixos
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ckauhaus has quit [Quit: WeeChat 2.0]
hakujin has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @andir opened pull request #47276 → [18.03] firefox, firefox-bin 62.0 -> 62.0.2, firefox-esr: 60.2.0esr -> 60.2.1esr [Moderate security fixes] → https://git.io/fAbV5
<{^_^}> [nixpkgs] @andir opened pull request #47277 → [18.09] firefox, firefox-bin 61.0.2 -> 62.0.2, firefox-esr: 60.2.0esr -> 60.2.1esr [Moderate security fixes] → https://git.io/fAbVN
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3cee0ce5b87 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
hakujin has quit [Client Quit]
<typetetris> sphalerite: It is a kernel bug. Something used `proc_mkdir` in the kernel instead of `proc_create_mount_point` or some such. Installing a newer kernel made it work.
<{^_^}> [nixpkgs] @dtzWill opened pull request #47278 → e2fsprogs: patch out glibc instead of local fix so headers are usable → https://git.io/fAbw0
nuncanada has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #47257 → firefox, firefox-bin:: 61.0.2 -> 62.0.2, firefox-esr: 60.2.0esr -> 60.2.1esr [Moderate security fixes] → https://git.io/fAF6R
<{^_^}> [nixpkgs] @andir pushed 4 commits to master: https://git.io/fAbwD
<{^_^}> [nixpkgs] @asymmetric opened pull request #47279 → Remove DappHub projects → https://git.io/fAbwd
<{^_^}> [nixpkgs] @Ekleog closed pull request #43889 → (WIP) matrix-synapse: 0.31.2 -> 0.33.0 → https://git.io/fNWVu
kai_w has quit [Quit: Konversation terminated!]
Fare has quit [Ping timeout: 260 seconds]
wchresta has joined #nixos
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @steveeJ to release-18.09 « virtualization/qemu-vm: fix and improve virtio/scsi switching »: https://git.io/fAbok
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/afe328bb5ea (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<wchresta> How do I install firmware similar to copying to /lib/firmware/i915 in ubuntu?
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon2 is now known as Mateon1
<andi-> wchresta: hardware.firmware or hardware.enableAllFirmware or hardware.enableRedistributableFirmware ..
<andi-> or various other firmware options
<wchresta> andi-: Cool, thanks!
<{^_^}> [nixpkgs] @romildo opened pull request #47280 → shades-of-gray-theme: init at 1.1.1 → https://git.io/fAbo2
Kelppo has quit []
<lejonet> How do I force nix-shell to re-make a drv? I seem to have gotten a .drv file that is a zeroed file where the nix-shell derive should have been (nix-store --repair-path <path> said it couldn't fix the path)
<manveru> rm?
wchresta has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAbKJ
<{^_^}> [nixpkgs] @Mic92 merged pull request #47275 → iputils: upstream fixes for musl → https://git.io/fAbgr
<{^_^}> [nixpkgs] @xeji merged pull request #47255 → boost: limit concurrent jobs to the maximum supported number → https://git.io/fAFwm
<{^_^}> [nixpkgs] @xeji pushed commit from @andrew-d to master « boost: limit concurrent jobs to the maximum supported number (#47255) »: https://git.io/fAbKg
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #47281 → llvm7: update sanitizer patch to fix w/musl → https://git.io/fAbKV
haslersn has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @andrew-d to release-18.09 « boost: limit concurrent jobs to the maximum supported number (#47255) »: https://git.io/fAbKS
<lejonet> manveru: that just makes it complain that it cannot find the drv file at all :P
<manveru> heh
<manveru> how do you run the nix-shell?
<manveru> hm, wasn't there a reduce function in lib?
<manveru> ah, fold
coot has joined #nixos
teej has quit [Quit: Connection closed for inactivity]
<sphalerite> typetetris: nice
<sphalerite> wasn't expecting that!
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #47281 → llvm7: update sanitizer patch to fix w/musl → https://git.io/fAbKV
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fAbXI
aszlig has quit [Quit: Kerneling down for reboot NOW.]
aszlig has joined #nixos
Fare has joined #nixos
sigmundv__ has quit [Ping timeout: 264 seconds]
sanscoeur has joined #nixos
haslersn has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fAb1Z
<{^_^}> [nixpkgs] @xeji merged pull request #47155 → nixos/tests/installer: prevent race between parted and udev → https://git.io/fAdqs
<{^_^}> [nixpkgs] @xeji pushed 3 commits to release-18.09: https://git.io/fAb1B
<ajs124> I'm having the weirdest issue right now. One of my virtual machines fails to find its root device, but I know it's there. In fact, old configurations boot fine.
<{^_^}> [nixpkgs] @Ma27 opened pull request #47282 → eztrace: 1.0.6 -> 1.1-7 → https://git.io/fAb1i
patrl has joined #nixos
wpcarro has quit [Ping timeout: 244 seconds]
Fare has quit [Ping timeout: 260 seconds]
<sphalerite> ajs124: you could use nix-diff in an old configuration to work out what changed to break it
<sphalerite> nix-diff /run/current-system /nix/var/nix/profiles/system-123-link
Fare has joined #nixos
xok has joined #nixos
<xok> hello all...
<{^_^}> [nixpkgs] @flokli opened pull request #47283 → elasticsearch-dsl: 0.0.9 -> 6.2.1 → https://git.io/fAbMu
<ajs124> sphalerit, "nix-diff: /run/current-system: openFile: inappropriate type (is a directory)"
<sphalerite> ajs124: oops, maybe nix-diff $(nix-store -q --deriver /run/current-system) $(nix-store -q --deriver /nix/var/nix/profiles/system-123-link)
<ajs124> that works, but the diff is quite long
jperras has quit [Ping timeout: 240 seconds]
ThatDocsLady_ has quit [Remote host closed the connection]
ThatDocsLady_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #47278 → e2fsprogs: patch out glibc instead of local fix so headers are usable → https://git.io/fAbw0
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fAbDs
jperras has joined #nixos
mupf has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @xeji merged pull request #47280 → shades-of-gray-theme: init at 1.1.1 → https://git.io/fAbo2
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « shades-of-gray-theme: init at 1.1.1 (#47280) »: https://git.io/fAbDl
ixxie has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47282 → eztrace: 1.0.6 -> 1.1-7, fix build → https://git.io/fAb1i
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « eztrace: 1.0.6 -> 1.1-7 (#47282) »: https://git.io/fAbyX
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to release-18.09 « eztrace: 1.0.6 -> 1.1-7 (#47282) »: https://git.io/fAby9
stanibanani has joined #nixos
stanibanani has left #nixos [#nixos]
wpcarro has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2da6f215d31 (from 56 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @Mic92 merged pull request #47221 → vim: remove legacy additional-nix-code → https://git.io/fAFmM
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAbSS
<{^_^}> [nixpkgs] @Mic92 merged pull request #47279 → Remove DappHub projects → https://git.io/fAbwd
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAbSb
<{^_^}> [nixpkgs] @Mic92 pushed commit from @asymmetric to release-18.09 « *: remove DappHub projects »: https://git.io/fAb9e
<{^_^}> [nixpkgs] @xeji opened pull request #47284 → linuxPackages.jool: 3.5.7 -> unstable-20180706 → https://git.io/fAbHm
<rawtaz> someone's keeping busy
DigitalKiwi has quit [Ping timeout: 240 seconds]
DigitalKiwi has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/570ec19f391 (from 65 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
echel0n_ has joined #nixos
<{^_^}> [nixpkgs] @jb55 opened pull request #47286 → clightning: 0.6.0 -> 0.6.1 → https://git.io/fAbQJ
<{^_^}> [nixpkgs] @rokk4 opened pull request #47287 → ssocr: init at 2018-08-11 → https://git.io/fAbQb
stanibanani has joined #nixos
stanibanani has left #nixos [#nixos]
georges-duperon has joined #nixos
<{^_^}> [nixpkgs] @1000101 opened pull request #47288 → trezord: 2.0.12 -> 2.0.19 and nixos/trezord: revised and updated udev rules → https://git.io/fAb7a
dejanr has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @1000101 opened pull request #47289 → trezord: 2.0.14 -> 2.0.19 and nixos/trezord: revised and updated udev rules → https://git.io/fAb7i
mizu_no_oto has joined #nixos
Mrmaxmeier has quit [Remote host closed the connection]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<worldofpeace> How can I build the virtualbox ova from a nixpkgs checkout?
<d1rewolf> sphalerite: created this (https://github.com/NixOS/nixpkgs/issues/47290)...hopefully it's resolvable. thanks very much for your help earlier.
<{^_^}> #47290 (by jbwiv, 1 minute ago, open): terminator terminal application breaks $PATH in nix
<sphalerite> worldofpeace: nix build -f nixpkgs/nixos/release.nix ova.x86_64-linux
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
<worldofpeace> sphalerite: thx :)
ThatDocsLady_ has quit [Ping timeout: 252 seconds]
<worldofpeace> hmm `attribute 'diskInterface' missing`
<{^_^}> [nixpkgs] @veprbl opened pull request #47291 → xfitter: init at 2.0.0 → https://git.io/fAbd1
<{^_^}> [nixpkgs] @edwtjo merged pull request #47026 → jackett: 0.10.160 -> 0.10.198 → https://git.io/fAQpj
<{^_^}> [nixpkgs] @edwtjo pushed commit from @r-ryantm to master « jackett: 0.10.160 -> 0.10.198 »: https://git.io/fAbd9
<worldofpeace> sphalerite: any ideas?
<sphalerite> nope sorry
<samueldr> worldofpeace: `nix-build nixos/release.nix -A ova.x86_64-linux` on my end, on nixos-unstable (just pulled nixpkgs-channels) seems fine (still building though)
<{^_^}> [nixpkgs] @andir merged pull request #47276 → [18.03] firefox, firefox-bin 62.0 -> 62.0.2, firefox-esr: 60.2.0esr -> 60.2.1esr [Moderate security fixes] → https://git.io/fAbV5
<{^_^}> [nixpkgs] @andir pushed 4 commits to release-18.03: https://git.io/fAbF4
<samueldr> (and the same happens when using `nix build` as given previously)
<{^_^}> [nixpkgs] @andir merged pull request #47277 → [18.09] firefox, firefox-bin 61.0.2 -> 62.0.2, firefox-esr: 60.2.0esr -> 60.2.1esr [Moderate security fixes] → https://git.io/fAbVN
<{^_^}> [nixpkgs] @andir pushed 4 commits to release-18.09: https://git.io/fAbFB
<samueldr> though it's true, on master it fails
<worldofpeace> hah that's not good
<samueldr> oh, fancy, the last commit on the build-support/vm/default.nix seems relevant f777d2b719be0db4cb7819d5b6dbdd121db29a37
<samueldr> today I tested: searching for a commit ID in the github PR search box will find the appropriate PR
orivej has joined #nixos
<worldofpeace> reading the pr now
lopsided98 has quit [Quit: Disconnected]
_d0t has joined #nixos
<_d0t> hi! Where can I read about installing udev rules in a nix package?
sir_guy_carleton has joined #nixos
<sphalerite> _d0t: basically you don't
<cransom> _d0t: thats not an option in a normal package. if you are running nixos however, you can add https://nixos.org/nixos/options.html#udev.extrarules to your module
<_d0t> cransom, what if the rules are in a file?
lopsided98 has joined #nixos
<cransom> you can read the file in your module, but it's still not an option in a package.
<_d0t> though, I'm probably asking the wrong thing
<_d0t> this package has a udev rules file in it
<_d0t> the thing is, it doesn't work
<_d0t> and I'm not sure why
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<sphalerite> _d0t: you can also have it symlinked into /etc/ by putting the path to the rules file in envrionment.etc."udev/rules.d/99-foo.rules".source
<cransom> it can define them, but the system isn't installing them or looking at them in anyway.
<sphalerite> _d0t: packages can't install that sort of thing, it's only applied by nixos
<_d0t> sphalerite, i'm using nixos
<_d0t> so this applies
<sphalerite> that is, packages can put them in their store paths
<sphalerite> but they won't get automatically picked up
<_d0t> sooo... how do I make the rule picked up if it's in store?
<sphalerite> oh wait actually it looks like the rules from systemPackages do get copied..?
Izorkin has joined #nixos
<_d0t> copied to where?
<sphalerite> /etc/udev/rules.d
<_d0t> doesn't seem to be the case here
<_d0t> I have 88-nuand.rules in the package's store but not in /etc/udev/rules.d
<cransom> how would it copy them? /etc/udev/rules.d is in the nix store, woudl be unwritable.
<sphalerite> aah ok it's not automatic from systemPackages
<sphalerite> but various modules add rules via boot.initrd.extraUdevRulesCommands by the looks of it
<sphalerite> > nixos.options.boot.initrd.extraUdevRulesCommands.description
<{^_^}> "Shell commands to be executed in the builder of the\nudev-rules derivation. This can be used to add\nadditional udev rules in the initial ramdisk.\n"
<sphalerite> aaah ok no
lord| has quit [Quit: WeeChat 2.2]
<sphalerite> the *real* way to do it is to add the package to services.udev.packages
lord| has joined #nixos
<_d0t> sphalerite, in configureation.nix?
<sphalerite> _d0t: so if you put services.udev.packages = [ pkgs.libbladeRF ]; in your configuration.nix and rebuild it should work
<sphalerite> yes, or in another module
<_d0t> thanks
<_d0t> how come it's not done out of the box?
<_d0t> if a package installs udev rules, they should be picked up
<sphalerite> to avoid packages installing god-knows-what udev rules I suppose
<sphalerite> nixos tends to limit the scope of what a package can do to only what's explicitly specified, rather unlike traditional distros
<{^_^}> [nixpkgs] @domenkozar pushed to master « nixos tests: move common configuration into separate file »: https://git.io/fAbNS
<_d0t> isn't that supposed to be checked by maintainers?
<{^_^}> [nixpkgs] @domenkozar pushed to release-18.09 « nixos tests: move common configuration into separate file »: https://git.io/fAbNN
<sphalerite> what suits the maintainer might still not be what you want ;)
<_d0t> probably true, but then again, i wouldn't install the package then
<_d0t> and for the many packages rules are installed by default
<sphalerite> what do you mean by that?
<_d0t> so the distinction between the packages with rules installed and everything else seems to be a bit arbitrary
<sphalerite> ("for the many packages rules are installed by default")
<sphalerite> ah
<_d0t> I mean the /etc/udev/rules.d isn't empty
<sphalerite> no
<sphalerite> those are all specified explicitly by the various nixos modules that make up your system
<sphalerite> each of them is created by a services.udev.packages setting somewhere in <nixpkgs/nixos>
astronavt has joined #nixos
<_d0t> oh
<_d0t> got it
<_d0t> another thing
<_d0t> bladerf udev rules specify that device permissions should be set for access from plugdev group, but this group is absent
<_d0t> is this a bug?
<cransom> packages don't define groups either, that would still be needed in your nixos configuration.
<_d0t> cransom, but shouldn't a package specify some pre-existing group?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « Update overrides for ghc-8.6.x. »: https://git.io/fAbAw
<cransom> no, because, how would it?
<cransom> a package only defines software, not the system it runs on.
<_d0t> well, I suppose there should be a list of groups pre-defined in the system for various purposes
<PolarIntersect> ,locate pkg-config
<{^_^}> Found in packages: pkgconfig, bashCompletion
<infinisil> Wow, never seen that error: "acquiring/releasing lock: Resource deadlock avoided"
<sphalerite> _d0t: no, plugdev is just a group that exists by convention on debian systems iirc.
<sphalerite> _d0t: so those rules are for debian. A good reason not to use them verbatim ;)
<cransom> there are some defined groups, but they are all defined by modules that are using them. otherwise they don't exist.
<{^_^}> [nixpkgs] @peti pushed 11 commits to haskell-updates: https://git.io/fAbAF
<{^_^}> [nixpkgs] @vcunat pushed 117 commits to staging: https://git.io/fAbAx
<_d0t> sphalerite, that's because I didn't adapt them for nixos yet ;)
<sphalerite> perfect!
<{^_^}> [nixpkgs] @peti pushed 8 commits to haskell-updates: https://git.io/fAbxJ
<{^_^}> [nixpkgs] @peti pushed 9 commits to master: https://git.io/fAbxT
<_d0t> so, how should this be done?
<_d0t> ideally
<_d0t> should I change the group in bladeRF for something that already exists in NixOS?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-hspec: fix build with ghc-8.6.x »: https://git.io/fAbxz
civodul has joined #nixos
trcc has joined #nixos
alex`` has quit [Quit: WeeChat 2.2]
alex`` has joined #nixos
<cransom> if you are going to create a module for it, you could create your own bladerf group. otherwise, i don't see an advantage to update the package.
notlar has joined #nixos
<_d0t> cransom, then that's what I should do, perhaps
lopsided98 has quit [Quit: Disconnected]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-doctest: fix build with ghc-8.6.x »: https://git.io/fAbpm
lopsided98 has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
ixxie has quit [Ping timeout: 252 seconds]
georges-duperon has quit [Ping timeout: 252 seconds]
<sphalerite> (bladerf reads really nicely as "bluh-durf")
<{^_^}> [nixpkgs] @Mic92 merged pull request #47283 → pythonPackages.elasticsearch-dsl: 0.0.9 -> 6.2.1 → https://git.io/fAbMu
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAbhO
<_d0t> now, how do I test this thing?
hotfuzz has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #47273 → matrix-synapse: 0.33.3.1 -> 0.33.5 → https://git.io/fAbu6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAbjI
<sphalerite> _d0t: put hardware.bladeRF.enable = true; in your configuration.nix, and run sudo nixos-rebuild test -I nixpkgs=/path/to/your/nixpkgs
hotfuzz_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @oxij opened pull request #47293 → nixos: top-level: evaluate assertions before warnings → https://git.io/fAbjO
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/35271fdb2fd (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<sphalerite> _d0t: I don't think the group option would work though, would it?
<_d0t> sphalerite, why wouldn't it?
<_d0t> I copied the whole thing from nitrokey.nix
<sphalerite> because the udev rules in the package set it to bladerf regardless of which group is set there
<sphalerite> where there = in the module
<_d0t> ugh.. probably, yeah
<{^_^}> [nixpkgs] @veprbl opened pull request #47294 → texlive/combine.nix: drop nix1 support → https://git.io/fAbjK
zduch4c has joined #nixos
<zduch4c> Hello
<_d0t> nix-rebuild test tries to upgrade the whole system
<{^_^}> [nixpkgs] @dywedir opened pull request #47295 → fzy: 0.9 -> 1.0 → https://git.io/fAbjH
<_d0t> with 2Gs of stuff to download
<zduch4c> I’m on a very weird phone client
<zduch4c> Sorry for typing lines
<domenkozar> hmm, is there a way to force substitution even if store path is already present?
<domenkozar> tried nix-store -r --check /nix/store/9ls123vy8ng6dqw29jvgd7lysn381kma-ghc-8.4.3-doc
<domenkozar> but it doesn't work :)
<zduch4c> I have my wpa supplicant networks in configuration.nix
<zduch4c> But I cannot rebuild without network connection
<zduch4c> How can I connect to a network temporarily without rebuilding
<_d0t> zduch4c, do you have wpa_supplicant installed?
<zduch4c> Yes and I hav tried it alredy
<{^_^}> [nixpkgs] @matthewbauer opened pull request #47296 → ISO/OVA closure size reductions → https://git.io/fANer
<_d0t> zduch4c, and what did it say?
<zduch4c> With a command similarly to the on in the instillation
<zduch4c> It’s startes, but blocks my device and cant cinnect
zduch4c has quit [Remote host closed the connection]
<LnL> domenkozar: check needs a drv, I don't think you can except for --repair-path
sanscoeu_ has joined #nixos
sanscoeu_ has quit [Client Quit]
<domenkozar> hmm ok :)
wpcarro has quit [Remote host closed the connection]
lostman has joined #nixos
sanscoeur has quit [Ping timeout: 260 seconds]
wpcarro has joined #nixos
_d0t has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #47289 → trezord: 2.0.14 -> 2.0.19 and nixos/trezord: revised and updated udev rules → https://git.io/fAb7i
<{^_^}> [nixpkgs] @7c6f434c pushed 4 commits to master: https://git.io/fANf4
<lostman> is it possible to make ghc ignore user's package database when running in nix-shell? can I somehow tell ghc/cabal to only use the package database provided by nix?
zduch4c has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed 4 commits to release-18.03: https://git.io/fANf0
<{^_^}> [nixpkgs] @7c6f434c merged pull request #47288 → trezord: 2.0.12 -> 2.0.19 and nixos/trezord: revised and updated udev rules → https://git.io/fAb7a
<zduch4c> Sorry my client disconnected
<zduch4c> But I tried the following command
<zduch4c> wpa_supplicant -B -i wls1 -c <(wpa_passphrase ssid password)
<zduch4c> And it did say it’s successful
<zduch4c> But it didn’t really connect
<zduch4c> Is there some nix magic in this or?
_d0t has joined #nixos
georges-duperon has joined #nixos
<zduch4c> Sorry _d0t it disconnected
<_d0t> zduch4c, sooo.. what command did you run and what did it return?
<zduch4c> wpa_supplicant -B -i wls1 -c <(wpa_passphrase ssid password)
wpcarro has quit [Ping timeout: 252 seconds]
<zduch4c> It said it’s sucessful but it didn’t really connect
<_d0t> what do you mean?
<_d0t> did you run a dhcp client afterwards?
<zduch4c> No
<zduch4c> Should I?
<_d0t> probably, if you want an ip address assigned :)
<zduch4c> It’s dhcpcd, right?
<_d0t> either that or dhclient
<_d0t> if you have either of them installed
<zduch4c> Thank you, I will try that :)
<_d0t> if not, you can try setting up your ip manually
<_d0t> sphalerit, another question
<_d0t> how do I force udev rules to update when installed a package with nix-env?
<{^_^}> [nixpkgs] @globin merged pull request #47272 → phpPackages.phpc(bf|s): 3.3.1 -> 3.3.2 → https://git.io/fAbu2
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fANJt
zduch4c has quit [Quit: Mutter: www.mutterirc.com]
trcc has quit [Remote host closed the connection]
grp has quit [Quit: box shutting down...]
trcc has joined #nixos
Dedalo has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #47294 → texlive/combine.nix: drop nix1 support → https://git.io/fAbjK
<{^_^}> [nixpkgs] @xeji pushed commit from @veprbl to master « texlive/combine.nix: drop nix1 support (#47294) »: https://git.io/fANJK
trcc has quit [Ping timeout: 252 seconds]
zduch4c has joined #nixos
<zduch4c> _d0t: wpa supplicant says it’s trying to authenticate
<zduch4c> And I run dhcpcd to no avail
mbrgm has joined #nixos
<zduch4c> I can send an image
<symphorien> _d0t: installing a package with nix-env can't alter udev rules I think
<zduch4c> _d0t:
<_d0t> symphorien, that's unfortonate
<zduch4c> Oops that’s my password
<_d0t> zduch4c, try running dhcpcd <interface name>
<zduch4c> Lmao it’s weird
<zduch4c> Don’t look at it
<zduch4c> It’s totally not a password
<_d0t> dhcpcd wls1 in your case
<dmc> terrible password either way
<{^_^}> [nixpkgs] @xeji merged pull request #47295 → fzy: 0.9 -> 1.0 → https://git.io/fAbjH
<{^_^}> [nixpkgs] @xeji pushed commit from @dywedir to master « fzy: 0.9 -> 1.0 (#47295) »: https://git.io/fANUl
<emily> how on earth does your terminal echo your password
<zduch4c> It’s easy to remember lol
<emily> oh, eshell
<zduch4c> Still doesn’t work _d0t
Henson has joined #nixos
<zduch4c> I’m going to try with a different hotspot
<_d0t> zduch4c, that's because your wifi auth failed
<_d0t> swi
<_d0t> sorry, wrong window
<zduch4c> -
<zduch4c> So what does auth failed mean?
<_d0t> Probably means that you provided the wrong passphrase.
<_d0t> Though wpa_supplicant is a weird thing, so one can't be sure.
<zduch4c> Mhm
<zduch4c> Okay I need to change my passwords now on another note
<zduch4c> Unless you guys promise not to tell anyone
<Henson> is it a good idea to run a nix program from within nix-shell for purposes other than development, if one is interested in having a pure environment?
<Henson> or is there a more proper way of doing that?
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/10966f41473 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<zduch4c> emily: eshell actually does censor your password, the normal shell doesn’t
<{^_^}> [nixpkgs] @xeji merged pull request #44905 → lhapdf: fix "lhapdf list" interactive tool → https://git.io/fN5uS
<{^_^}> [nixpkgs] @xeji pushed commit from @veprbl to master « lhapdf: fix "lhapdf list" interactive tool (#44905) »: https://git.io/fANTi
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @Mic92 merged pull request #47269 → dotnet-sdk: Reduce closure: Unpack to a subdirectory to prevent copying build files → https://git.io/fAblO
<{^_^}> [nixpkgs] @Mic92 pushed commit from @baracoder to master « dotnet-sdk: Reduce closure: Unpack to a subdirectory to prevent copying build files (#47269) »: https://git.io/fANTD
<zduch4c> It associated! But disconnected afterwards
<{^_^}> [nixpkgs] @Mic92 pushed commit from @baracoder to release-18.09 « dotnet-sdk: Reduce closure: Unpack to a subdirectory to prevent copying build files (#47269) »: https://git.io/fANTH
<{^_^}> [nixpkgs] @Mic92 merged pull request #47112 → twa: init at 1.3.1 → https://git.io/fA5JB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fANkL
<{^_^}> [nixpkgs] @xeji merged pull request #47236 → bluez-alsa: init at 1.3.1 → https://git.io/fAF82
<{^_^}> [nixpkgs] @xeji pushed commit from @oxij to master « bluez-alsa: init at 1.3.1 (#47236) »: https://git.io/fANk3
<zduch4c> Yes _d0t it works now
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « nixos/chrony: clean up, rework to be a little closer to upstream »: https://git.io/fANkB
<zduch4c> I had to kill the already running wpa dupplicant
<zduch4c> Thanks!
<{^_^}> [nixpkgs] @thoughtpolice pushed to release-18.09 « nixos/chrony: clean up, rework to be a little closer to upstream »: https://git.io/fANkg
zduch4c has quit [Quit: Mutter: www.mutterirc.com]
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @greydot opened pull request #47297 → Introduce hardware/bladeRF module → https://git.io/fANI4
<_d0t> duh
<_d0t> seems about right
wpcarro has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #47251 → valgrind: enable debug info → https://git.io/fAFgd
<{^_^}> [nixpkgs] @xeji pushed commit from @lopsided98 to staging « valgrind: enable debug info (#47251) »: https://git.io/fANI7
acarrico has quit [Ping timeout: 252 seconds]
simukis has quit [Ping timeout: 240 seconds]
Xiro` has quit [Ping timeout: 260 seconds]
jtojnar has quit [Remote host closed the connection]
beaky has quit [Read error: Connection reset by peer]
Anton-Latukha has quit [Quit: Leaving.]
mpickering has quit [Ping timeout: 252 seconds]
mpickering has joined #nixos
beaky has joined #nixos
lord| has quit [Ping timeout: 240 seconds]
ma27 has quit [Quit: WeeChat 2.2]
lord| has joined #nixos
jperras has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @oxij opened pull request #47298 → nixos: fix fallout from #46193 → https://git.io/fANtA
<{^_^}> [nixpkgs] @xeji merged pull request #47296 → ISO/OVA closure size reductions → https://git.io/fANer
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fANqv
<{^_^}> [nixpkgs] @xeji merged pull request #47271 → compactor: 0.11.0 -> 0.11.1 → https://git.io/fAb01
<{^_^}> [nixpkgs] @xeji pushed commit from @fdns to master « compactor: 0.11.0 -> 0.11.1 (#47271) »: https://git.io/fANqa
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #47299 → lib: Deprecate `overrideScope` in lieu of `overrideScope'` taking arguments in the conventional order for 18.09 → https://git.io/fANmX
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0ce90d58cca (from 53 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
abueide has joined #nixos
mizu_no_oto has joined #nixos
silver_ has joined #nixos
silver has quit [Ping timeout: 240 seconds]
sir_guy_carleton has joined #nixos
wpcarro has joined #nixos
astronavt_ has joined #nixos
astronavt has quit [Read error: Connection reset by peer]
astronavt__ has joined #nixos
zduch4c has joined #nixos
<zduch4c> so, how do I check what packages for Emacs are available?
<zduch4c> I tried just putting any derivations of desktop-environment package on MELPA
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
astronavt_ has quit [Ping timeout: 272 seconds]
Thra11 has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b0f8181432c (from 72 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
patrl has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #38208 → libtins: 3.5 -> 4.0 → https://git.io/vxKqc
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libtins: 3.5 -> 4.0 (#38208) »: https://git.io/fANOr
abueide has quit [Remote host closed the connection]
abueide has joined #nixos
georges-duperon has quit [Ping timeout: 252 seconds]
zduch4c has left #nixos ["Killed buffer"]
_d0t has quit [Remote host closed the connection]
buckley310 has joined #nixos
mayhewluke has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Ericson2314 pushed commit from @peti to release-18.09 « ghc: add release version for 8.6.1 »: https://git.io/fAN3k
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fAN3L
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47238 → lib: Deprecate `overrideScope` in lieu of `overrideScope'` taking arguments in the conventional order → https://git.io/fAF4G
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47299 → lib: Deprecate `overrideScope` in lieu of `overrideScope'` taking arguments in the conventional order for 18.09 → https://git.io/fANmX
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.09: https://git.io/fAN3q
graphene has quit [Remote host closed the connection]
mayhewluke has joined #nixos
graphene has joined #nixos
<catern> is there a way to enforce at the daemon level, no local builds, only pull from the binary cache?
<{^_^}> [nixpkgs] @xeji pushed 47 commits to staging-18.09: https://git.io/fAN3w
Fare has quit [Ping timeout: 245 seconds]
<catern> also, I'm a little unclear: nix-build has a --fallback option and claims that falling back to a local build is not default, but it seems to fall back all the time
<catern> and I'm not passing --fallback
<catern> I'd rather it only use binary caches and fail if it needs to build locally
emerson has quit [Ping timeout: 630 seconds]
ma27 has joined #nixos
<elvishjerricco> catern: It will always prefer the binary cache if the cache has the derivation you're asking for. The only case I've seen this fail is when you try the build before it's on the cache, kill it, and then try again after it's been uploaded to the cache. Nix caches which builds are not on which cache so that it doesn't have to recheck them. But I think this might have been changed in Nix 2.0... Not sure. Regardless, this
<elvishjerricco> cache is stored in ~/.cache/nix/binary-cache-v5.sqlite{,-journal}
<catern> elvishjerricco: I don't think that is an answer to my question: I know that Nix will not build if the artifact is in the cache, but I want it to also not build even if the artifacts is not in the cache: rather it should just fail
<elvishjerricco> catern: Ah. I'm not sure then... Maybe `--max-jobs 0`?
echel0n_ has quit [Quit: WeeChat 2.0]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b0f8181432c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/96444e62d86 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
Ericson2314 has joined #nixos
emerson has joined #nixos
emerson has quit [Client Quit]
<catern> elvishjerricco: no, that doesn't work :)
<catern> I feel deja vu
<catern> I already asked this question a while ago, and ascertained that the only/best way to do this is,
erasmas has quit [Quit: leaving]
<catern> args = ["nix-instantiate", "--read-write-mode", "--eval", "--expr", "__storePath {}".format(path)]
emerson has joined #nixos
<elvishjerricco> catern: You could use `nix copy` rather than `nix-build`.
<elvishjerricco> i.e. `nix-build FILE -A PATH` -> `nix copy -f FILE --from https://cache.nixos.org PATH
<elvishjerricco> It'll fail if anything doesn't exist on the cache, but otherwise just downloads stuff
<catern> interesting idea, the previous time I asked this was indeed before nix 2.0
<catern> maybe that doesn't work if i'm not a trusted user though
jperras has joined #nixos
<elvishjerricco> catern: Hm it'll work if the cache's public key is trusted though
<elvishjerricco> Which cache.nixos.org's is
brejoc has quit [Ping timeout: 252 seconds]
MinceR has quit [Ping timeout: 252 seconds]
jsgrant has joined #nixos
Fare has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #47300 → haskellPackages: Avoid outer `rec { .. }` → https://git.io/fANGS
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #47301 → haskellPackages: Avoid outer `rec { .. }` for 18.09 → https://git.io/fANGQ
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/96444e62d86 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
Fare has quit [Ping timeout: 245 seconds]
fendor has joined #nixos
jasongrossman has quit [Ping timeout: 244 seconds]
goibhniu has quit [Ping timeout: 264 seconds]
akl has joined #nixos
abueide has quit [Ping timeout: 252 seconds]
fendor has quit [Ping timeout: 240 seconds]
amosbird_ has joined #nixos
alex``` has joined #nixos
tnias_ has joined #nixos
abueide has joined #nixos
rain2 has joined #nixos
page_ has joined #nixos
lor|d has joined #nixos
aminb_ has joined #nixos
emerson has quit [Read error: Connection reset by peer]
emerson has joined #nixos
AstroBadger_ has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47300 → haskellPackages: Avoid outer `rec { .. }` → https://git.io/fANGS
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fANZX
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #47301 → haskellPackages: Avoid outer `rec { .. }` for 18.09 → https://git.io/fANGQ
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.09: https://git.io/fANZy
mayhewluke has quit [*.net *.split]
lord| has quit [*.net *.split]
alex`` has quit [*.net *.split]
AstroBadger has quit [*.net *.split]
justanotheruser has quit [*.net *.split]
CapsLock has quit [*.net *.split]
etu has quit [*.net *.split]
redj has quit [*.net *.split]
foldingcookie has quit [*.net *.split]
jeschli has quit [*.net *.split]
noam has quit [*.net *.split]
roconnor has quit [*.net *.split]
MarcWeber has quit [*.net *.split]
eliasp has quit [*.net *.split]
pyvpx has quit [*.net *.split]
page has quit [*.net *.split]
waynr has quit [*.net *.split]
dev2 has quit [*.net *.split]
Zajcev_ has quit [*.net *.split]
rgrau_ has quit [*.net *.split]
Yaniel has quit [*.net *.split]
Myrl-saki has quit [*.net *.split]
noefk has quit [*.net *.split]
WilliButz has quit [*.net *.split]
amosbird has quit [*.net *.split]
Arahael has quit [*.net *.split]
mulderr has quit [*.net *.split]
rain1 has quit [*.net *.split]
takeda has quit [*.net *.split]
wildsebastian has quit [*.net *.split]
LnL has quit [*.net *.split]
NickHu_ has quit [*.net *.split]
shreyansh_k has quit [*.net *.split]
tnias has quit [*.net *.split]
aminb has quit [*.net *.split]
LnL has joined #nixos
wpcarro has quit [Remote host closed the connection]
ericsagnes has quit [Ping timeout: 252 seconds]
Yaniel has joined #nixos
etu has joined #nixos
waynr has joined #nixos
mayhewluke has joined #nixos
Arahael has joined #nixos
justanotheruser has joined #nixos
justanotheruser has quit [Client Quit]
justanotheruser has joined #nixos
mizu_no_oto has joined #nixos
wpcarro has joined #nixos
phreedom has quit [Remote host closed the connection]
jasongrossman has joined #nixos
MinceR has joined #nixos
phreedom has joined #nixos
wpcarro has quit [Ping timeout: 240 seconds]
jasongrossman has quit [Ping timeout: 252 seconds]
notlar has quit [Quit: notlar]
thc202 has quit [Ping timeout: 246 seconds]
<Mic92> I found a cool tmux plugin for nix user's https://github.com/tmux-plugins/tmux-copycat/pull/131
<{^_^}> tmux-plugins/tmux-copycat#131 (by Mic92, 1 minute ago, open): Also match sha256
<Mic92> hopefully he accept my patch
<gchristensen> nice!
<gchristensen> "also accept sha256 in base32 :eyes:" :D
<Mic92> true
jtojnar has joined #nixos
ericsagnes has joined #nixos
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
asymmetric_ has joined #nixos