gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || 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
etherdaemon has joined #nixos
<etherdaemon> Hi All
<etherdaemon> just wondering if anyone knows how to do nested interpolation in nix?
<Ralith> argh
<Ralith> something just keeps corrupting my fontconfig cache and breaking terminus
<Ralith> like multiple times an hour
<Ralith> wtf
<gchristensen> etherdaemon: can you provide an examplee?
<etherdaemon> sure - basically I'm trying to pass in a path - but in order to do that for this particular attribute it must be a string - so I have "${./<relative_path_to_file>/<need to interpolate another variable>.file}"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39778 → duktape: 2.2.0 -> 2.2.1 → https://git.io/vp082
<gchristensen> so you want to do a variable path reference?
<etherdaemon> yep
<clever> ./. + "/foo/${bar}.txt"
<gchristensen> yikes, why not "${./<relative-path-to-file>}/${var}.file"?
sigmundv__ has quit [Ping timeout: 256 seconds]
<Ralith> clever: wait, `self` in this doesn't contain nixpkgs?
<etherdaemon> oh I see - let me try
<clever> Ralith: correct
<clever> Ralith: it only contains what the packages function returned, plus some util functions
cristian2 has quit [Ping timeout: 248 seconds]
<Ralith> clever: what do I do if I want to override one of the dependencies from nixpkgs within this scope from downstream?
<Ralith> I could `inherit pkgs;` in scope and then make all references via `pkgs.` but that's syntatically onerous :/
<clever> Ralith: you would do a packageOverride on the nixpkgs above, before it does callPackage on this new set
<{^_^}> [nixpkgs] @dtzWill merged pull request #39776 → nss-mdns: fix build w/musl → https://git.io/vp0l4
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vp08X
<{^_^}> → e9d67529 by @dtzWill: nss-mdns: fix build w/musl
<{^_^}> → ebb7c537 by @dtzWill: Merge pull request #39776 from dtzWill/fix/nss-mdns-musl
<Ralith> clever: the nixpkgs above is defined in this expresion
<clever> Ralith: yeah, it wouldnt work in that example, but usually this is within nixpkgs itself
<{^_^}> [nixpkgs] @dtzWill merged pull request #39773 → treewide: platforms.gnu -> gnu ++ linux, allow using musl → https://git.io/vp0We
<{^_^}> [nixpkgs] @dtzWill pushed 5 commits to master: https://git.io/vp08y
<{^_^}> → 855e0463 by @dtzWill: tree-wide: platforms = platforms.gnu; -> platforms = gnu ++ linux
<{^_^}> → 4b7b083b by @dtzWill: treewide: stdenv.lib.platforms.gnu -> ... gnu ++ linux
<{^_^}> → 9bbac8b3 by @dtzWill: mtools: optimistically extend platforms (gnu + darwin) => unix
<Ralith> I could do a weird dance where I call the expression twice, once to get nixpkgs and again with the overridden version, but that hardly accomplishes the goal of making this graceful
<clever> Ralith: it should accept a config argument at the top level
phreedom has quit [Ping timeout: 255 seconds]
<Ralith> clever: yeah, that's what I started with, was hoping for something a bit tidier :/ oh well
phreedom has joined #nixos
<Ralith> still nice to have the magic callPackage
<etherdaemon> gchristensen that worked - thank you!
<Ralith> I wonder how difficult it would be to move nix from xz to zstd
etherdaemon has quit [Quit: Page closed]
<dtz> not very-- you can specify compression method used for binary stores as a parameter
<mightybyte> Woah...
<mightybyte> error: infinite recursion encountered, at undefined position
<dtz> possibly a few one-off spots in nix or hydra, not sure
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39779 → eclib: 20171002 -> 20171219 → https://git.io/vp04L
<dtz> mightybyte: you have achieved nix-vana
dvim has quit [Ping timeout: 276 seconds]
<mightybyte> lol
<dtz> welp, now you lost it
<dtz> :P
<Ralith> dtz: as a parameter to what?
<Ralith> also: anyone have any idea how to visualize the dependency graph of a derivation without building it?
freeman42x]NixOS has quit [Quit: Leaving]
<clever> Ralith: runtime or buildtime graph?
<dtz> Ralith: in the store URI, which I'm not sure is documented yet O:)
<dtz> it's kinda mentioned here; https://nixos.org/nix/manual/#chap-distributed-builds -- the "nix ping" command takes a storeURI
<Ralith> clever: either/both!
<infinisil> Ralith: nix-store -q --tree /nix/store/...foo.drv
<dtz> for example, brotli compression is used/tested in this nix test: https://github.com/NixOS/nix/blob/master/tests/brotli.sh
<infinisil> Ralith: That gives you build-time dependency graph, runtime can't be determined without building it
<clever> Ralith: the runtime graph is only known once the build has completed
<Ralith> runtime is a subset of build, right?
<clever> Ralith: yeah
doyougnu1 has joined #nixos
<gchristensen> oops
<Ralith> dtz: so zstd would have to be linked into nix itself and wired up, right?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39780 → extremetuxracer: 0.7.4 -> 0.7.5 → https://git.io/vp041
<dtz> Ralith: oh, yeah. Or a runtime dep it invokes from PATH (as it does already for various things). Sorry, forgot zstd wasn't in there xD
<Ralith> it is still moderately shiny and new
<Ralith> just been thinking about how much my machine grinds on when I try to transfer a debug build of llvm to/from a cache
<dtz> LOL
daveo has joined #nixos
<dtz> yeah debug builds of LLVM are brutal
<daveo> hello everybody
<Ralith> my time leading up to that PR has been fun
<Ralith> each test of that fix has required building llvm, so I can build clang, so I can use that clang to build llvm again
tomaz0 has quit [Ping timeout: 260 seconds]
jackdk has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39781 → di: 4.45 -> 4.46 → https://git.io/vp04Q
<dtz> xD
<Ralith> the actual thing I'm trying to accomplish at the end of the day here is move a project that depends on llvm to libc++, and llvm does sanitizer shenanigans when you build with sanitizers, and no way am I making my team give up sanitizer use
<Ralith> probably I should have built a minimal testcase at some point but oh well
<Ralith> still would have required 2/3 of the big builds :P
jnoah has joined #nixos
acarrico has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #39782 → inetutils: use platforms.unix per feedback that works w/Darwin too. → https://git.io/vp0BO
<boomshroom> `building gcc-7.3.0 (buildPhase): NULL);` That doesn't seem right.
<boomshroom> NVM, it moved on.
<jnoah> how can one install nix(pkgs?) as a user without sudo on a linux machine?
<boomshroom> jnoah: if /nix doesn't exist or you don't have permission to create it, namespacing, chroot, or a nonstandard store prefix.
<boomshroom> jnoah: All three options have major drawbacks.
<clever> jnoah: if you can get the admin to create an empty /nix and give you ownership, you can then install it without needing sudo or root
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39783 → acpica-tools: 20180313 -> 20180427 → https://git.io/vp0BV
<jnoah> Can multiple users use the /nix folder? say all users are in the "users" group. Does /nix need rwx+g?
<clever> jnoah: its best to use nix-daemon when sharing it
<clever> jnoah: in that setup, nix-daemon runs as root, and only root has write to /nix
<jnoah> ah, thanks
LysergicDreams has quit [Ping timeout: 268 seconds]
LnL has quit [Read error: No route to host]
<Ralith> does nix-daemon really need to run as root? seems like all it strictly needs is the ability to munge /nix
<clever> Ralith: you could have a dedicated user for the daemon and store write, but then build users wont work
<Ralith> clever: no namespacing tricks for that yet? aw
LysergicDreams has joined #nixos
LnL has joined #nixos
colemickens has joined #nixos
semilattice has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39784 → cni-plugins: 0.7.0 -> 0.7.1 → https://git.io/vp0RG
jrolfs__ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @grahamc opened pull request #39785 → xmlformat: init at 1.04 → https://git.io/vp0Rz
niorrr has joined #nixos
<niorrr> ocaml on nix is proving to be quite difficult
<niorrr> had some version conflicts when using unstable, since stable didnt correctly set up lwt_ppx afaict
<boomshroom> Has anyone managed to get Guix running on NixOS while piggybacking on the native Nix daemon?
raynold has joined #nixos
<colemickens> I really can't wrap my head around the differences between Disnix and where Nixops ends and Disnix starts.
<{^_^}> [nixpkgs] @mrVanDalo closed pull request #33132 → vcvrack: init at 0.5.1 → https://git.io/vbFVe
<colemickens> I can already do machine-level configuration and service configuration with NixOps,...
<niorrr> ugh yeah this sucks
<gchristensen> colemickens: same
<niorrr> nix is happily combining ocaml packages that depend on conflicting ocaml versions
<{^_^}> [nixpkgs] @grahamc merged pull request #39785 → xmlformat: init at 1.04 → https://git.io/vp0Rz
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vp00U
<{^_^}> → 07c02542 by @grahamc: xmlformat: init at 1.04
<{^_^}> → 8cb0252b by @grahamc: Merge pull request #39785 from grahamc/xmlformat-init
<lejonet> colemickens: I think that is due to there not really being a defined line where they have some type of "handover" :P
<niorrr> o shit -- maybe it was a jbuilder problem?
<niorrr> nope
<colemickens> Hm, okay. I was hoping for an example of something distinctly possible is Disnix. I'll keep poking around :)
<colemickens> I suspect though that since NixOps more or less meets my needs, that I ought to just stick with it anywaya.
<lejonet> I haven't been able to find such a line atleast (but I've only read and poked about disnix, never really used it, while I'm actively using nixops)
<{^_^}> [nixpkgs] @grahamc pushed to release-18.03 « xmlformat: init at 1.04 »: https://git.io/vp00G
<niorrr> ok so --
<niorrr> i was suggested earlier to use nix-shell to set up an environment where libraries are present
<niorrr> which nearly worked
<niorrr> but i was talking with a friend who uses haskell and apparently it works fine for him to install libraries with nix-env -i
<niorrr> this doesn't really add up to me, shouldnt he need to use nix-shell?
<colemickens> Are there any docs on like "quickstart to packaging for NixOS"? I remember there were scripts that would consume an NPM dependency and then making the apporpriate changes in a nixpkgs tree.... is there a similar tool for binaries available via `pip` ?
<Xal> pypi2nix
<colemickens> thx
<gchristensen> colemickens: nice to see you 'round
<Xal> for most pypi packages, it's enough to do pypi2nix -V 3 -e packageName
<colemickens> gchristensen: likewise! hope to around a bit more often for a bit, if things going according to plan.
<gchristensen> I hope it does!
<Xal> colemickens: with regards to a nix quickstart, I recommend reading the nix-pills (https://nixos.org/nixos/nix-pills/)
<boomshroom> I finally managed to build hello for musl.
thc202 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #38831 → Improve cross referencing in NixOS Manual → https://git.io/vxxUZ
<{^_^}> [nixpkgs] @grahamc pushed 4 commits to master: https://git.io/vp00p
<{^_^}> → a683d2cd by @rdnetto: Modified .editorconfig to apply indentation style to docbook files
<{^_^}> → 42a84598 by @rdnetto: Added cross-references to NixOS manual
<{^_^}> → 7292c5a5 by @rdnetto: Fixed indentation
markus1199 has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
lopsided98 has quit [Remote host closed the connection]
mbrgm has quit [Ping timeout: 248 seconds]
lopsided98 has joined #nixos
markus1189 has quit [Ping timeout: 260 seconds]
daveo has quit [Ping timeout: 248 seconds]
mbrgm has joined #nixos
jperras has quit [Quit: WeeChat 2.1]
blonkhart has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/dc488634d96 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @dtzWill merged pull request #39666 → nix: fix stdenv.system check -- should be hostPlatform → https://git.io/vp4N8
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vp0Ed
<{^_^}> → 6e8118b2 by @dtzWill: nix: fix stdenv.system check -- should be hostPlatform
<{^_^}> → 47b25136 by @dtzWill: Merge pull request #39666 from dtzWill/fix/stdenv-system-nix
<blonkhart> hi there, how do i ensure that my haskell build uses cabal >= 2.0
niorrr has quit [Quit: WeeChat 2.0]
<blonkhart> withdrawn
xcmw has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
Albtrz[m] has joined #nixos
niorrr has joined #nixos
<niorrr> hello
<niorrr> anyone have experience developing ocaml in nix?
<niorrr> i've been changing up how i configure ocaml dependencies left and right and each one has been causing me headaches
<{^_^}> [nixpkgs] @grahamc opened pull request #39786 → nixpkgs doc: add format Make target → https://git.io/vp0zW
<niorrr> stable nixos didnt have ppx_lwt, unstable brought in wrong lib versions, opam2nix gives me a strange error
<niorrr> *lwt_ppx
<niorrr> honestly its probably worth it to just use opam locally
<niorrr> very frustrating :/
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/00e6e395d38 (from 86 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
Piece_Maker has joined #nixos
aarvar has quit [Ping timeout: 260 seconds]
Acou_Bass has quit [Ping timeout: 260 seconds]
Piece_Maker is now known as Acou_Bass
<ryantm> Holy: Almost 75% newest packages! https://repology.org/repository/nix_unstable
<ryantm> or more clearly: repology.org thinks only 25% of our packages are outdated.
blonkhart has quit [Quit: WeeChat 1.9.1]
<boomshroom> ryantm: Interesting website. Not surprised in the slightest to see the AUR with the most packages. If something is available for WINDOWS, it's probably on the AUR!
doyougnu1 has quit [Ping timeout: 248 seconds]
<boomshroom> Oh no! It looks like Cups is outdated on stable and unstable.
<infinisil> boomshroom: I'm not sure what to think of those numbers
<infinisil> Because if we were to include all packages in nixpkgs we'd have also all haskell ones, node ones, and more, which I don't think are counted currently
<ryantm> Right, we aren't counting them yet, but there is a PR for it.
<ryantm> oops
<samueldr> yeah, we should probably look into making a *full* list for repology, must break the machine :)
<drakonis> AUR has package duplication fyi
<drakonis> lots of git packages
aarvar has joined #nixos
<ryantm> Probably the fairest way to compare is the non-unique package numbers.
<ryantm> Though that would hide the usefulness of things like packaging all the Haskell stuff, etc.
<boomshroom> drakonis: It looks like the website recognizes the same package with multiple versions and has tags for legacy and prerelease packages.
<drakonis> nice
<samueldr> hmm, can't seem to do bind mounts using nixos options...
<drakonis> AUR has a ton of unique packages btw
<drakonis> 24k unique packages
<samueldr> (got kicked into the recovery shell unceremoniously by a failing mount, even with neededForBoot = false :/)
<drakonis> above debian even
<samueldr> there's close to no (zero) friction to contribute to the AUR, so it helps!
<drakonis> now, i don't know how it picks up whether a package is unique or not
<drakonis> yes
<samueldr> this is not necessarily a bad thing
<drakonis> it isn't always a bad thing
<drakonis> but in arch's case its a mixed bag
<samueldr> I was a arch user before I was touched by the light
<drakonis> i'm ambivalent to arch tbh
<drakonis> too many myths
<drakonis> the wiki is really good though
<samueldr> (if there are people wanting help we'd move to #nixos-chat)
<drakonis> well, we haven't had anyone ask for help in half an hour so
<samueldr> curious about the myths, I had been a user for close to ten years
<drakonis> lots of "arch is minimalism!" or "arch will make you learn unix!"
<samueldr> yeah, I was only posting this to make sure people wouldn't be scared to cut us off!
<boomshroom> samueldr: Same. the AUR was by far my favourite part of ArchLinux. The ease with which I could write Nix expressions made it less painful to move away from it. Oh ya, and the Wiki is great for users of any distro!
<semilattice> Is there a an easy way to "pin" a nixos generation so it won't ever get garbage collected? I'd like to play around with having a few very different setups. I suppose in theory I could just make a gc root to the bootloader entry but that seems like a hack
<drakonis> AUR's major weakpoint is that there's zero oversight, so anyone can sneak in an update to a big package and nuke some folks
jameshjacksonjr[ has joined #nixos
<drakonis> boomshroom, come over to #nixos-chat my man
<boomshroom> semilattice: The only way I can think of off the top of my head is building the generation to a separate profile. Since it'd always be the latest generation of that profile, it shouldn't be GCed.
<semilattice> Hm... yeah I think that's actually pretty close to the intended use
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #39787 → treewide: isArm -> isAarch32 → https://git.io/vp0gE
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #39788 → Aarch32 for master → https://git.io/vp0ga
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/vp0go
<{^_^}> → f3062702 by @matthewbauer: netbsd.games: cleanup
<{^_^}> → 1c86f0cc by @matthewbauer: netbsd: cleanup bootstrapping
<{^_^}> → 5c1b3d93 by @matthewbauer: netbsd.games: disable some broken linux games
<niorrr> am i supposed to have /home/nonrootuser/.nix-defexpr/channels in my NIX_PATH ?
<infinisil> niorrr: Yea, it's a new thing
<infinisil> Oh wait
<boomshroom> niorrr: I don't think so. I think that's just a list of channels to update. Running nix-channel --update reads that file and creates profiles in /nix/var/nix/profiles/per-user/user/.
<niorrr> uh
<infinisil> Yeah this hasn't been merged yet which would add that automatically to NIX_PATH: https://github.com/NixOS/nixpkgs/pull/38351
<infinisil> (PR by gchristensen)
<niorrr> ah i see
<niorrr> there are spots in the wiki which act like its there automatically so i was a bit confused
<niorrr> or the manual i forget
<boomshroom> Huh.
<infinisil> Feel free to add it yourself
<boomshroom> I wouldn't have noticed since I'm the only user on my nixos machine so I just use the root channel and update it with nixos-rebuild.
<niorrr> nix seems a bit suited to single users
<niorrr> would you say its common to be root at all times?
<boomshroom> niorrr: Absolutely not! The only reason I use the root channel is because it's too much hassle to maintain 2 separate channels and have nixpkgs aliased to nixos.
<boomshroom> niorrr: Being able to do things without root is one of the major selling points.
<infinisil> boomshroom: I have abandoned channels entirely
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #39787 → treewide: isArm -> isAarch32 → https://git.io/vp0gE
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to release-18.03: https://git.io/vp02I
<{^_^}> → b9acfb4e by @Ericson2314: treewide: isArm -> isAarch32
<{^_^}> → 2cbb1381 by @Ericson2314: Merge remote-tracking branch 'upstream/release-18.03' into aarch32-for-18.03
<{^_^}> → e1c7e990 by @Ericson2314: Merge pull request #39787 from obsidiansystems/aarch32-for-18.03
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #39788 → lib: Improve deprecation message for `isArm` → https://git.io/vp0ga
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/vp02q
<{^_^}> → b9acfb4e by @Ericson2314: treewide: isArm -> isAarch32
<boomshroom> infinisil: How do you set what version to update the system from?
<{^_^}> → 57723e94 by @Ericson2314: Merge remote-tracking branch 'upstream/master' into aarch32
<{^_^}> → af55a0c3 by @Ericson2314: Merge pull request #39788 from obsidiansystems/aarch32-for-master
<niorrr> if you want to maintain a local nixpkgs clone, do you do this through channels?
<infinisil> boomshroom: git checkout
<infinisil> niorrr: Nah just git clone and set NIX_PATH to include `nixpkgs=/path/to/nixpkgs`
<boomshroom> infinisil: Makes sense. I just prefer nixos-rebuild switch --upgrade.
<samueldr> I have to confess... I never used channels with nixos
<samueldr> simply because I want to use the same checkout on all my computers, even if there is activity on the channels
<infinisil> I need a couple custom commits on top of the default nixpkgs channel
<samueldr> (and also, revert the channel to a known chosen point if needed)
<infinisil> Ah yeah that's a very good thing too for me, I have the same nixpkgs on all 3 machines for all users
semilattice has quit [Remote host closed the connection]
<niorrr> ah
<samueldr> I have my main workstation, work laptop, tests laptop and multimedia cheapy-laptop which I want to synchronize so they can use the cache from my host system to a maximum
<niorrr> last time i tried doing that and i had a ton of very strange errors that went away when i went back to using default channel @_@
<samueldr> (I use --build-host so there's almost no downloads once one has downloaded stuff)
<niorrr> also why are there a few util functions defined in pkgs.
<boomshroom> samueldr: Distributed builds are delicious.
<niorrr> it makes it very hard to figure out where they're defined and what they do
<niorrr> like what the hell is pkgs.recurseIntoAttrs and where is it defined
<niorrr> why isn't that in lib
<samueldr> nix-repl> (import <nixpkgs>{}).recurseIntoAttrs
<samueldr> «lambda @ /etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix:52:22»
<niorrr> wat
<samueldr> (that's a neat trick I learned from here to find out where something is defined)
<niorrr> my nix-repl just says <<lambda>>
<samueldr> oh, use nix 2.0's `nix repl`
<niorrr> @_@
<samueldr> well, that's what I juste used :)
<niorrr> i didn't even know that `nix` was a standalone command
<drakonis> its a recent thing
<niorrr> i want to love nix but the rabbit hole just gets deeper and deeper and deeper
<drakonis> subject to change
<samueldr> the rabbit hole ends niorrr! then you dig some more :)
<samueldr> (for fun mostly!)
<drakonis> well, someone gotta do the heavy lifting eyyyy
<niorrr> i dont think its returning on investment, especially considering i spent all day trying to get ocaml working and ive given up
<drakonis> ocaml has issues?
<drakonis> ah right
<drakonis> did you try nix-shell?
<samueldr> I was lucky enough that what I needed worked right, otherwise I undestand how frustrating it can be :/
<niorrr> i was using nix shell which almost worked
<niorrr> but lwt_ppx wasnt set up on stable correctly afaict
<niorrr> but it was there on unstable, so i tried making a channel and switching
<drakonis> i know that the user experience isnt there yet
<niorrr> and then it gave me some issues because it was trying to use incompatible versions of ocaml together
<drakonis> there's some really nice criticism levied at nixos
<drakonis> nix is ahead of the curve, but the folks that know their stuff haven't walked in the shoes of mortals
<niorrr> also for some reason ocamlPackages_4_04+ isn't exported even though its definitely defined in top-level/ocaml-packages.nix
<niorrr> i wonder if thats intentional
<drakonis> yes these don't show up
aither has quit [Ping timeout: 256 seconds]
niorrr has quit [Quit: WeeChat 2.0]
snajpa has quit [Ping timeout: 248 seconds]
snajpa has joined #nixos
niorrr has joined #nixos
<niorrr> bleh bleh bleh
<drakonis> we need more humans in the community
<drakonis> can't just have the know-it-alls
<niorrr> if you add nix.nixPath = [ ... ] to your configuration.nix, it replaces the whole path instead of appending
<niorrr> i guess that makes sense,,,
<boomshroom> drakonis: Do you know any other community that complains that its members are too smart?
<drakonis> hmm
<drakonis> maybe the jackasses over lesswrong?
<drakonis> an target of mockery and derision
aither has joined #nixos
<infinisil> niorrr: You can use `nix.nixPath = options.nix.nixPath.default ++ [ ... ];` to append
rosa has joined #nixos
<infinisil> niorrr: you need to add "options" to the argument list at the top for that
<drakonis> what we need are people that can help us improve the user experience with everything that entails
spear2 has joined #nixos
<drakonis> its still not there yet
<infinisil> We need somebody who can finish the nix 2.0 interface
<infinisil> Multiple people preferably
jackdk has quit [Ping timeout: 240 seconds]
<drakonis> can nix 2.0 have additional functionality added through plugins?
<infinisil> No
<drakonis> new commands and such
<infinisil> Nope
<drakonis> rip
<drakonis> gotta have that at some point
<infinisil> Nix 2.0 needs man pages for the new nix commands first
jackdk has joined #nixos
<infinisil> I shouldn't really complain, because I won't be the one who does the work
rosa has quit [Client Quit]
<samueldr> uh, nix 2.0 has a plugin thing
* samueldr looks up the manual
<samueldr> plugin-files
<samueldr> A list of plugin files to be loaded by Nix. Each of these files will be dlopened by Nix, allowing them to affect execution through static initialization. In particular, these plugins may construct static instances of RegisterPrimOp to add new primops or constants to the expression language, RegisterStoreImplementation to add new store implementations, RegisterCommand to add new subcommands to the nix command, and RegisterSetting to add new nix
<samueldr> config settings. See the constructors for those types for more details.
<samueldr> so, yes, drakonis, it should be possible to add functionality to nix 2.0 through plugins
rosa has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #39790 → GNUs on Darwin → https://git.io/vp0ac
<infinisil> Whoa
<infinisil> I stand corrected
<{^_^}> [nixpkgs] @matthewbauer closed pull request #39782 → inetutils: use platforms.unix per feedback that works w/Darwin too. → https://git.io/vp0BO
<samueldr> *I* read the release notes :)
<boomshroom> samueldr: First thing I'd do is make a help command that does the same thing as the --help flag.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> boomshroom: I double dog dare ya, do it :)
<boomshroom> samueldr: It's so disorienting to add -- before help but not any other command.
Ross has quit [Ping timeout: 240 seconds]
<samueldr> well, it's not `nix build help`, but `nix build --help` :/
<infinisil> Tbh even with your description I have still zero clue on how I would add such a plugin
<boomshroom> samueldr: But it's still nix build, nix log, nix run, but not nix help?
Ross has joined #nixos
<drakonis> well then
<drakonis> that'll be good
<samueldr> tbh, that's all that's documented in the manual, it must probably require knowledge about how dlopen'd plugins are made
<drakonis> there's a lot to be gotten from that
<boomshroom> I'd also rather do nix help build than nix build --help.
<infinisil> I think zsh can do multi-word aliases
<boomshroom> infinisil: I wonder if fish can do the same thing. If so, that'd probably be easier.
<infinisil> Well I may be mistaken again, I can't find where I read that zsh supports multi-word aliasse
<drakonis> there's a lot of mileage to be acquired from having nix plugins now
<boomshroom> Another plugin I wouldn't mind would be nix test to build a package, run its tests, don't link the output, and display nix log if anything failed.
<boomshroom> Oh, and a way to install to nix-env through nix 2.
<drakonis> yes
<drakonis> also how do you install plugins into nix 2?
<drakonis> also an important plugin
<drakonis> home management
colemickens has quit [Ping timeout: 260 seconds]
rosa has quit [Quit: rosa]
<infinisil> drakonis: home-manager?
<drakonis> yeh
<infinisil> I think it would be pretty hard to implement this as such a plugin
<samueldr> nix plugins are more about the inner workings than "userland" for nix
<drakonis> oic
<samueldr> I'm curious if it's been added more to play around with new concepts than for the end-users
rosa has joined #nixos
az` has joined #nixos
<az`> hi there all
<boomshroom> az`: Sup? ;P
<az`> I need help now
<niorrr> ugh
<niorrr> closer to solving my problem
<niorrr> stable lwt uses 3.0.0 but i want at least 3.2.0
<niorrr> i was tring to just override stuff to change the version
<niorrr> but theres sha hashes hardcoded in
<az`> first time I have trouble with nix... in three years
<boomshroom> az`: Wow.
<az`> [az@thinky:~]$ nix-env -u
<az`> building path(s) ‘/nix/store/sc4v7ldkr9apgz69z1synfb7xvbvbw2k-use
<az`> hmqz-python3-3.5.3/bin/pip': No such file or directory
<az`> error: getting status of '/nix/store/mbj720rnfchicijwx2znfix7gqlb
<az`> r-environment’
<drakonis> samueldr, i'd kill for a full blown nix lang
<infinisil> drakonis: Huh what do you mean?
<drakonis> i mean having an nix runtime
<drakonis> something you can write code with that isn't packaging
<niorrr> YES THAT WORKED
<niorrr> but its kind of nasty...
<boomshroom> drakonis: I once wrote a brainfuck interpreter in Nix, but it stack overflowed.
<drakonis> rip
<infinisil> drakonis: No, why would you want this
<drakonis> i guess you could say it got... brainfucked
<unlmtd> which common language would have the closest syntax to nix's to create a new syntax highlight on an unsupported editor from?
<iqubic> Drakonis[m]: How would that work?
<drakonis> infinisil, why not
<infinisil> Because it doesn't make sense
<drakonis> people have made things that made even less sense
<boomshroom> infinisil: That's a reason not to?
<infinisil> Nix is not made for this
<infinisil> It has as little to do with a runtime as it possibly can
<drakonis> behold
<niorrr> its like
<infinisil> Yeah I saw that drakonis
<niorrr> lazy evaluated lua basically
<niorrr> with a tiny bit of pattern matching
<infinisil> But there's no mutation
<infinisil> Nix doesn't even have IO
<drakonis> alternatively, implement nix in multiple other languages
<infinisil> drakonis: That's a 10000x better idea
<niorrr> well lazy and side effects dont mix
<boomshroom> drakonis: There's already a Haskell implementation of the language.
<niorrr> #lang nix for racket
Rusty1_ has quit [Quit: Konversation terminated!]
<drakonis> i've heard, but its not there yet
<infinisil> niorrr: They do, see Haskell
<unlmtd> just use haskell for a 'full-blown' nix
<boomshroom> There's a simple solution to side effects: The IO monad!
<drakonis> guix for nix implemented in guile
<infinisil> unlmtd: That doesn't work, because haskell isn't dynamicly typed
<az`> unlmtd: emacs already has a highlight for nix
<drakonis> with other 'features"
<niorrr> haskell doesn't have side effects in its semantics
<niorrr> well its not supposed to
<niorrr> stuff like undefined and seq kind of screw it up...
<iqubic> Nix doesn't have IO?
<unlmtd> isnt nix untyped?
<infinisil> unlmtd: There are a couple types at evaluation time
<boomshroom> unlmtd: Now I want a Nix EDSL or library for Haskell.
<unlmtd> az`: im not talking about emacr
<niorrr> nix is close to lua because its dynamically typed and basically everything is a table
<iqubic> Is Nix even a programing language?
<niorrr> yes
<niorrr> definitely
<iqubic> But it is closer to a DSL.
<boomshroom> iqubic: Technically, yes. It is turing complete.
<drakonis> when's nix in idris?
<niorrr> a DSL is a programming language
<niorrr> drakonis: wdym?
<drakonis> wdym?
<niorrr> a nix interpreter in idris?
<niorrr> it would basically be the same thing as one in haskell
<infinisil> Nix is definitely a programming language, but it's not a general purpose one
<drakonis> what does wdym mean
<iqubic> You can't write Hello World in Nix. The best you can do is compile a simple C program that prints "Hello World."
<drakonis> oh
<niorrr> what do you mean
<drakonis> okay i get it
<niorrr> iqubic: here's a hello world in nix:
<drakonis> i realized that after typing
<niorrr> {}:"hello world"
<boomshroom> iqubic: Use the `trace`, young padawan.
<drakonis> nix is a turing tarpit
<iqubic> What is a turing tarpit?
<drakonis> it is when something is turing complete but doing anything with it that requires being turing complete takes a lot of effort
<drakonis> see brainfuck
<az`> guys: how to fix user-environment & pip problem?
<drakonis> it is turing complete but nothing of value can be done with it
<az`> my work stopped because of it ((
<niorrr> oh boy now i have to get emacs to play nicely with ocaml and merlin
<drakonis> "54. Beware of the Turing tar-pit in which everything is possible but nothing of interest is easy."
<niorrr> sighhh
<iqubic> drakonis: Yeah. Even N! in Brainfuck is a pain.
<d6e> Does anyone know where I can find the definition of mkOption?
<iqubic> What option and what package?
<drakonis> brainfuck is the main example
<d6e> lib.mkOption?
<boomshroom> Semi-on topic, has anyone gotten Guix running on NixOS?
<{^_^}> [nixpkgs] @Moredread opened pull request #39792 → WIP fwupd: 1.0.5 -> 1.0.7 → https://git.io/vp0VN
<niorrr> look in nixpkgs/lib/default.nix
<{^_^}> [nixpkgs] @ryantm opened pull request #39793 → treewide: http to https → https://git.io/vp0VA
<niorrr> which says that its in lib/options.nix
<drakonis> hmm, but why would you use guix?
<drakonis> they do have nixos there btw
<d6e> niorrr: right, thanks! I'm an idiot and didn't realize I was looking at https://github.com/NixOS/nixpkgs/tree/master/nixos/lib
<boomshroom> drakonis: To prove that I can use multiple languages to manage NixOS. Once Guix is working, then we can get something like a Haskell DSL that can also work.
<az`> I use guix - it's beautiful, and it has very helpful community...
<drakonis> hmm, i see
<ryantm> drakonis: isn't there tons of reasons why everyone should want guix to work?
<drakonis> guix on nix though?
<az`> scheme
<drakonis> they have a differently named store btw
<drakonis> same format though
<iqubic> guix on nix seems to be a stupid thing to want.
<niorrr> maybe i should be launching emacs from within nix-shell
<niorrr> i dont know anymore
<ryantm> What does "on nix" mean?
<drakonis> hmm, they have an interesting stuff
<boomshroom> iqubic: It'
<drakonis> some fairly interesting stuff right there, also musl
<iqubic> It's basically like saying "I love nix, but I want to use guile as the DSL instead."
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e1c7e990d28 (from 77 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<infinisil> drakonis: nixpkgs has recently gotten musl support too
<boomshroom> iqubic: It's simple: I want everything that's stupid to want.
<az`> hmqz-python3-3.5.3/bin/pip': No such file or directory
<az`> pls, how to fix that?
<iqubic> What are you trying to do az`?
<boomshroom> Pointlessness is one of my modus operandi.
<iqubic> I see.
<az`> $ nix-channel --update
<drakonis> okay i can see why not try that
<az`> systemctl stop nix-daemon.socket nix-daemon.service
<az`> [az@thinky:~]$ nix-env -e python-2.7.14
<az`> nix-env -iA nixos.python27Packages.pip
<drakonis> their setup is interesting in that they just pull in a lot of modules for the packages inside each scheme file
<drakonis> not sure if this approach would be as effective here
rosa has quit [Quit: rosa]
<infinisil> drakonis: What do you mean by that?
<infinisil> "pull in modules for packages"?
<az`> drakons: it is import system, it's ok
rosa has joined #nixos
<drakonis> see that
<drakonis> it imports every common dependency for the packages in the scheme file
<infinisil> Hmm, so like { foo, bar, baz }: at the top of all nix package declarations in nixpkgs?
<boomshroom> drakonis: First impression is that Nix looks a lot nicer.
<drakonis> yes
<drakonis> except it shoves multiple packages under one specific category into the same file
<infinisil> Yeah nix does look a lot cleaner..
<boomshroom> Nix basically looks like json for the most part and that's not a bad thing.
<drakonis> it doesn't have the massive language package attributes
<drakonis> can't get every haskell package under the sun there
<az`> guix interfaces and language much more nicer than nix one, but guix restrict you to use only free software and libraries
<drakonis> ^
<drakonis> i find that to be a big cost
<infinisil> Yeah nix as a language it pretty bad to code in, but it's very convenient for declaring packages
<drakonis> oh hey
<drakonis> i know something that can be turned into modules
<drakonis> the package importers
<drakonis> this is a thing guix has over nix
niorrr has quit [Ping timeout: 260 seconds]
<boomshroom> infinisil: Nix actually seems similar to elm in that they're both full programming languages intended to used in a space that usually uses declarative languages. This works because functional languages are closely related to declarative.
<infinisil> drakonis: That is indeed nice and nix could very well use such a command
<drakonis> there's 12 or so lang2nix packages that could be rolled into a single import command
<drakonis> could be nice for eliminating the need for maintaining the package attributes
<drakonis> the massive packages
<boomshroom> drakonis: Yes please! `nix import rust https://github.com/japaric/xargo`
<infinisil> Why would that get rid of package attributes?
<drakonis> because they're normally not part of hydra's builds
<infinisil> They are
<drakonis> the huge language specific attributes like python36packages
<drakonis> i'm bad with the lingo, excuse me
<drakonis> there's ocamlpackages, beampackages, haskellpackages
<infinisil> Yeah, but python3 and python2 packages are built by hydra, also haskellPackages and others
<drakonis> hmm, i didn't know
<drakonis> well, keep those around but have the ability to import those packages
<boomshroom> Or even better: `nix import crate xargo`
rosa has quit [Quit: rosa]
<drakonis> yes import crate is better
<drakonis> there seems to be an central repository
<infinisil> A big advantage of having every single package in nixpkgs like with Haskell is that everything uses the same dependency, will reduce closure size
<drakonis> well its alright
<boomshroom> But that will only work when Cargo.lock files get pushed to crates.io. They recently made it optional, but it's not good enough yet to use directly for nix.
<infinisil> Eventually we'll probably also have all rust crates in nixpkgs like with Haskell
<drakonis> but being able to import and install language packages without depending on nixpkgs is useful
<infinisil> Hmm I guess
<{^_^}> [nixpkgs] @Fuuzetsu merged pull request #39780 → extremetuxracer: 0.7.4 -> 0.7.5 → https://git.io/vp041
<{^_^}> [nixpkgs] @Fuuzetsu pushed 2 commits to master: https://git.io/vp0wK
<{^_^}> → 6cad5785 by R. RyanTM: extremetuxracer: 0.7.4 -> 0.7.5
<infinisil> nixpkgs does contain all the bootstrapping and stuff though, you'll still need that
<{^_^}> → 8dd66f66 by @Fuuzetsu: Merge pull request #39780 from r-ryantm/auto-update/extremetuxracer
<drakonis> then there's the non essential frills
Guanin_ has quit [Ping timeout: 248 seconds]
<vaibhavsagar> how do I deploy to virtualbox from nixops on a mac?
<vaibhavsagar> it looks impossible
<vaibhavsagar> I've set up a remote builder and everything
<az`> ....python3-3.5.3/bin/pip': No such file or directory
<az`> pls, how to fix that?
<drakonis> errr
<drakonis> are you using nix-shell here?
<az`> nix-env -u
<drakonis> what does -u do again?
<az`> nix-env -i also
<drakonis> i forgot what -u is supposed to do
avn has quit [Ping timeout: 240 seconds]
<drakonis> -e uninstalls btw
<drakonis> -u upgrades
<az`> -u - update all packages, but " nix-env -i darcs" also gives "pip file not found"
<vaibhavsagar> okay, false alarm, it needed an extra `--option system x86_64-linux`
iqubic` has joined #nixos
<vaibhavsagar> even though I put that in my configuration
iqubic` has left #nixos [#nixos]
iqubic has quit [Ping timeout: 240 seconds]
<az`> wow, this file are present
<az`> ls /nix/store/mbj720rnfchicijwx2znfix7gqlbhmqz-python3-3.5.3/bin/pip
<drakonis> wait what
<az`> ls /nix/store/mbj720rnfchicijwx2znfix7gqlbhmqz-python3-3.5.3/bin/pip -> /nix/store/mbj720rnfchicijwx2znfix7gqlbhmqz-python3-3.5.3/bin/pip
<drakonis> darcs is haskell based not python
<drakonis> it hsouldn't be looking for pip
<drakonis> also i installed darcs and it didn't give me any pip errors
<az`> yes, I think it is nix-env internal issue, not with darcs or any other package
<drakonis> hmm no
Guanin_ has joined #nixos
<az`> [az@thinky:~]$ /nix/store/mbj720rnfchicijwx2znfix7gqlbhmqz-python3-3.5.3/bin/pip
<az`> bash: /nix/store/mbj720rnfchicijwx2znfix7gqlbhmqz-python3-3.5.3/bin/pip: No such file
<az`> or directory
<boomshroom> Guix need guile-git bindings. Which package are those in assuming it's in nixpkgs?
<drakonis> also why are you using pip?
<drakonis> you're not supposed to use pip btw
<az`> any nix-env command give my "pip" errot
<az`> *error
<drakonis> okay i don't get it
<drakonis> nix-env isn't python based either
<drakonis> it is written in C++
<drakonis> there shouldn't be any errors related to pip
<az`> yes, but it is what I see now :( How to debug that?
<az`> Now I discover that
<az`> /nix/store/mbj720rnfchicijwx2znfix7gqlbhmqz-python3-3.5.3/bin/pip
<az`> bash: /nix/store/mbj720rnfchicijwx2znfix7gqlbhmqz-python3-3.5.3/bin/pip: No such file
<az`> or directory
<az`> looks like 64 / 32 bit system issue! But why?
<drakonis> you're not supposed to run pip or install python libraries wtih nix-env
rosa has joined #nixos
<boomshroom> Does nixpkgs even have guile bindings for git?
<az`> drakonis: of course python is here, I have python2/3
<drakonis> use nix-shell for python libraries
<az`> how?
hgost has joined #nixos
<az`> I think I should update my system, but I cant, because of this stupid error
rosa has quit [Client Quit]
<drakonis> nix-shell -p python<python version goes here>.<package> -p ...
<az`> pip is here, but why when I run pip, it say "No such file" ?!!
<drakonis> i told you that you're not supposed to run pip
<drakonis> on NixOS
<drakonis> someone help out here
<boomshroom> I think something's wrong with guix's package browser.
<drakonis> its 2am and i need to sleep
<az`> I see that behaviour before, when I try to run 64bit binarins on 32bit systems, but why now?
<drakonis> again
<boomshroom> You can only search by first letter
<drakonis> don't run pip, use nix-shell
<drakonis> how many python packages are available again?
<drakonis> don't use nix-env for python packages either
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #39794 → lib, openssl: 2 misc bits towards iOS support → https://git.io/vp0re
<az`> ]$ nix-shell
<az`> error: getting status of '/home/az/default.nix': No such file or directory
<az`> my nix is completely broken now =(
MP2E has quit [Remote host closed the connection]
<drakonis> ?
<drakonis> no it isn't
<drakonis> here
<drakonis> try using nix-shell -p python36Packages.<package name here>
<drakonis> or 35 even
<drakonis> run python and import it
<justanotheruser> how can I include a .env file defining environment variables into configuration.nix?
<drakonis> language barrier it seems
<drakonis> https://nixos.org/nixpkgs/manual/#python <- different page
<drakonis> it'll help
<drakonis> i gotta get some rest
<drakonis> hmm
<drakonis> guix has nix importers lol
<drakonis> i forgot to mention that
drakonis has quit [Remote host closed the connection]
<az`> drakonis: it works, module imports, but `nix-env -u` in nix-shell also shown "pip not found" error
<boomshroom> Well guile-git wasn't available for Nix, so I quickly wrote it. Now to see if it will build
<az`> drakons: guix also can import dpkg, PKGBUILD, etc and export docker
orivej has joined #nixos
jedai42 has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jedai has quit [Ping timeout: 240 seconds]
iqubic has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #39794 → lib, openssl: 2 misc bits towards iOS support → https://git.io/vp0re
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to master: https://git.io/vp0r4
<{^_^}> → 0c3efb9b by @Ericson2314: openssl: Support iOS cross compilation (in theory)
<{^_^}> → 9a845de8 by @Ericson2314: lib/systems: Update iOS examples
<{^_^}> → d350a444 by @Ericson2314: Merge pull request #39794 from obsidiansystems/ios-examples
trillpoli[m] has joined #nixos
sir_guy_carleton has quit [Quit: Leaving]
<boomshroom> Hmm... Guix transitively depends on scheme-bytestructures, but I can't see to find how to build that.
MercurialAlchemi has joined #nixos
ryantrinkle has quit [Ping timeout: 268 seconds]
wchresta has joined #nixos
ilyaigpetrov has joined #nixos
<rszibele[m]> Anyone else have a Vega64? Which kernel do you use? I've been using linuxPackages_4_15, which has been working really well, but it now seems to be missing on nixos-unstable: error: attribute 'linuxPackages_4_15' missing, at /etc/nixos/configuration.nix:17:25
<rszibele[m]> (use '--show-trace' to show detailed location information)
<boomshroom> rszibele[m]: Well looking at https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/all-packages.nix#L13633, it appears as though 4.15 isn't available.
robstr has joined #nixos
seanparsons has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8dd66f662fa (from 54 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<rszibele[m]> seems like it has been removed already a while ago, I'll give 4.16 a shot, thanks.
leothrix has quit [Quit: ZNC 1.6.6 - http://znc.in]
leothrix has joined #nixos
seanparsons has joined #nixos
<boomshroom> Good night!
boomshroom has quit [Quit: WeeChat 2.0]
iqubic` has joined #nixos
iqubic` has left #nixos [#nixos]
<unlmtd> which common language would have the closest syntax to nix's to create a new syntax highlight on an unsupported editor?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39795 → atlas: 3.10.2 -> 3.10.3 → https://git.io/vp0oU
iqubic has quit [Ping timeout: 240 seconds]
semilattice has joined #nixos
<sphalerite> unlmtd: maybe JSON. But I'm guessing it would be easier to port an existing syntax highlighting for it.
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39796 → abcmidi: 2018.04.18 -> 2018.04.24 → https://git.io/vp0oS
jackdk has quit [Ping timeout: 240 seconds]
<ghostyyy> hi
jackdk has joined #nixos
wchresta has quit [Quit: bye]
jacob_ has joined #nixos
MP2E has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39797 → adapta-gtk-theme: 3.93.0.258 -> 3.93.1.1 → https://git.io/vp0Kc
hamishmack has joined #nixos
hakujin has joined #nixos
<{^_^}> [nixpkgs] @lheckemann opened pull request #39798 → nixos-install manual: remove --chroot option → https://git.io/vp0Ku
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39799 → apktool: 2.3.2 -> 2.3.3 → https://git.io/vp0Kr
hakujin has quit [Ping timeout: 265 seconds]
ghostyyy is now known as ghostyy
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @MP2E pushed to master « dolphinEmuMaster: 20171218 -> 20180430 »: https://git.io/vp0Kx
<teto1> is it possible to specify the kernel with nixops ? I set boot.kernelPackages = pkgs.linuxPackages_mptcp; in the logical config but it doesn't seem to have any effect.
tertle||eltret has quit [Quit: Connection closed for inactivity]
spear2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e1c7e990d28 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<teto1> arf I guess I had to reboot
coot has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39793 → treewide: http to https → https://git.io/vp0VA
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vp06o
<{^_^}> → 038a0c9a by @ryantm: treewide: http to https
<{^_^}> → b6a771f6 by @matthewbauer: Merge pull request #39793 from ryantm/https
jedai has joined #nixos
<unlmtd> sphalerite: sure, Im doing both, get an example nix syntax, and an exemple highlight from the editor im porting to
<unlmtd> thanks for the input, I also thought javascript
<sphalerit> ghostyyy: check the journal
jedai42 has quit [Ping timeout: 260 seconds]
<sphalerit> unlmtd: also check if your editor supports some general syntax highlighting format/library
rauno has joined #nixos
<sphalerit> Which may already support nix
jedai has quit [Ping timeout: 264 seconds]
<unlmtd> Linus: no its kakoune, it uses its own 'language' for syntax
asuryawanshi has quit [Remote host closed the connection]
<unlmtd> but thanks
asuryawanshi has joined #nixos
<unlmtd> fun editor, it's worth giving it a shot for its dynamic visual editing
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
spear2 has joined #nixos
<teto1> seems like home-manager/nix writes files with encoding us-ascii ? Is there some way I could force utf8 ?
<{^_^}> [nixpkgs] @Mic92 merged pull request #39798 → nixos-install manual: remove --chroot option → https://git.io/vp0Ku
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vp0i3
<{^_^}> → 152454d9 by @lheckemann: nixos-install manual: remove --chroot option
<{^_^}> → 101dca2d by @Mic92: Merge pull request #39798 from lheckemann/nixos-install-chroot-doc
simukis has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/vp0ib
<{^_^}> → 79897e15 by @peti: LTS Haskell 11.7
<{^_^}> → e9c955fb by @peti: hackage-packages.nix: automatic Haskell package set update
<{^_^}> → 59490ae4 by @peti: haskell-brick: update override for ghc 8.4.x
rauno has quit [Ping timeout: 248 seconds]
jackdk has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #39800 → arangodb: 3.3.7 -> 3.3.8 → https://git.io/vp0Pk
colemickens has joined #nixos
thc202 has joined #nixos
Mateon3 has joined #nixos
rauno has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
robstr has quit [Ping timeout: 256 seconds]
robstr has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #39768 → goxel: 0.7.3 -> 0.8.0 → https://git.io/vp0ca
<{^_^}> → 67b3dcde by R. RyanTM: goxel: 0.7.3 -> 0.8.0
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0Ph
<{^_^}> → 70b16579 by @xeji: Merge pull request #39768 from r-ryantm/auto-update/goxel
guillaume has joined #nixos
<guillaume> Hi. My computer rebooted during a `nixos-rebuild switch`. Is this a new feature which reboot if there is a fundamental change (such as kernel version) or did I missed something obvious? (nixos-unstable)
MP2E has quit [Remote host closed the connection]
<tilpner> Huh. Did you change anything, or was it just a channel update?
<guillaume> tilpner: nix-channel --update; nixos-rebuild-switch;
<tilpner> And it did a full reboot, not something like in https://github.com/NixOS/nixpkgs/issues/39791 ?
<guillaume> tilpner: full reboot
MP2E has joined #nixos
<guillaume> tilpner: I can give it another try. Wait for my deconnection ;)
knupfer has joined #nixos
guillaume has quit [Remote host closed the connection]
<tilpner> :(
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0Xr
<{^_^}> → 2001b57a by @xeji: Merge pull request #39772 from r-ryantm/auto-update/encfs
<{^_^}> → 52a9b6e8 by R. RyanTM: encfs: 1.9.4 -> 1.9.5
guillaume has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #39772 → encfs: 1.9.4 -> 1.9.5 → https://git.io/vp0CX
<guillaume> tilpner: instantaneous reboot. I had the opportunity to see an error message related to locales
<tilpner> That sounds really wrong, but I don't know how to help you
<guillaume> tilpner: (positive point, I can still use older generations). Well, I'll try to understand it by myself, thank you.
<tilpner> Does the locale error appear in "journalctl -eb -1"?
<guillaume> tilpner: no, just "switching to configuration" and then a lot of shutdown lines.
<tilpner> You can downgrade your channel. It's better than resorting to old generations, but it's not a fix
<guillaume> (good point, thank you)
<tilpner> I'm checking the commits, but filing an issue wouldn't hurt either
<tilpner> What channel are you on?
<tilpner> Oh, nixos-unstable
<guillaume> updated something like ten hours ago
<tilpner> Do any of the logs in https://github.com/NixOS/nixpkgs/issues/39791 seem familiar?
<guillaume> the locale part is clearly the same as mine (well, en_US.UTF-8 instead, but yes)
olto has joined #nixos
<guillaume> tilpner: I'l do another switch with redirection to get the full log. BRB.
<tilpner> Good idea
guillaume has quit [Quit: Lost terminal]
colemickens has quit [Quit: Page closed]
logzet has joined #nixos
guillaume has joined #nixos
<guillaume> tilpner: Well, it is funny, because now it did not reboot, instead I landed on tty1 without any keyboard (exactly as the bug describe)
__Sander__ has joined #nixos
<guillaume> tilpner: bug #39791 updated with my observations.
<tilpner> guillaume - Thanks. Can you try nixos-rebuild boot, then rebooting? That should get you over the faulty activation
<lejonet> Anyone that has tried adding extraConfig to a kernel package for a machine deployed by nixops and managed to get it to pick up the change? I'm trying to add https://paste.pound-python.org/show/k5Sw7Dr9y2dJvIUc7FQu/ and I have boot.kernelPackages = pkgs.linuxPackages_copperhead_lts; set but adding that pkgs override changes nothing...
<guillaume> tilpner: actually, I was able to boot to the new entry, however it leads to a system with broken locales.
<lejonet> logically it should compile the kernel, with the extraConfig, and then deploy it, but that doesn't seem to happen, regardless of where I set the override
orivej has quit [Ping timeout: 265 seconds]
az` has quit [Ping timeout: 240 seconds]
zarel has joined #nixos
<steveeJ> copumpkin: are you still pursuing the abstraction of services? I'd be highly interested in working on that too
<steveeJ> copumpkin: I think it could be extremely useful to generate service declarations to be used with tools such as docker-compose or kubectl
<zarel> hello folks
<{^_^}> [nixpkgs] @tilpner opened pull request #39801 → goxel: don't save imgui.ini to working directory → https://git.io/vp0M4
<{^_^}> [nixpkgs] @vcunat pushed 10 commits to release-18.03: https://git.io/vp0M0
<{^_^}> → d6cfc781 by @shlevy: libgpg-error: 1.27 -> 1.28
<{^_^}> → a0bd25dd by @abbradar: libgpg-error: fix on ARM
<{^_^}> → 2f680ffb by @primeos: gpgme: 1.10.0 -> 1.11.1
<tilpner> guillaume - That's, uhm, progress? At least the issue carries a sign-post saying "Look for changes to locale things"
<guillaume> tilpner: sorry I cannot do more (for now ;)
zarel has quit [Ping timeout: 248 seconds]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed commit from @lheckemann to release-18.03 « nixos-install manual: remove --chroot option »: https://git.io/vp0Dw
<{^_^}> [nixpkgs] @vbgl merged pull request #39415 → coqPackages.mathcomp: 1.6.4 -> 1.7.0 → https://git.io/vpZo9
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.mathcomp: 1.6.4 -> 1.7.0 »: https://git.io/vp0Di
Acou_Bass has quit [Ping timeout: 240 seconds]
zarel has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #39801 → goxel: don't save imgui.ini to working directory → https://git.io/vp0M4
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp0yk
<{^_^}> → 16e46207 by @tilpner: goxel: don't save imgui.ini to working directory
<{^_^}> → 164b580b by @xeji: Merge pull request #39801 from tilpner/goxel-no-imgui_ini
Acou_Bass has joined #nixos
<{^_^}> [nixpkgs] @fgaz opened pull request #39803 → gron: 0.5.1 -> 0.5.2 → https://git.io/vp0yL
iyzsong has joined #nixos
paraseba has quit [Ping timeout: 256 seconds]
timokau has quit [Quit: WeeChat 2.1]
spear2 has quit [Quit: Leaving]
paraseba has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #39804 → nodePackages{v6,v8}: update → https://git.io/vp09y
timokau has joined #nixos
timokau has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 merged pull request #39358 → (hitch + nixos/services/hitch): (init at 1.4.8) → https://git.io/vp3eZ
<{^_^}> [nixpkgs] @Mic92 pushed commit from @jflanglois to master « hitch: init at 1.4.8 + service + test (#39358) »: https://git.io/vp09d
<{^_^}> [nixpkgs] @primeos pushed to master « sshfs: 3.3.1 -> 3.3.2 »: https://git.io/vp0HJ
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{dev,canary}: 3.2.0.11 -> 3.2.0.12 »: https://git.io/vp0H1
foobarok has joined #nixos
MP2E has quit [Remote host closed the connection]
<foobarok> Hey, guys! I want to create a new package (nixpkgs), but I get an error in the build phase. Can anyone advise how I can track down and fix it? I can build this software for Debian, for example. Since cmake is used, I cannot check the makefiles directly.
<Taneb> I'm having a weird issue with cabal2nix (version 2.9). cabal2nix cabal://clash-prelude works fine, but doing it from a local copy or via git doesn't
s33se has joined #nixos
<joko> foobarok: well, don't you have any logs to show?
xy2_ has joined #nixos
<joko> Anyone using pcmanfm or thunar with cifs shares? I am wondering how to make this work. I thought that just adding gvfs would make it work, but nothing so far: pcmanfm says "operation not supported" if I type "smb://myshare"
iyzsong has quit [Ping timeout: 256 seconds]
alex`` has joined #nixos
<stammon> Hi there. Has anyone by chance ever got eclim working on nixos?
fendor has joined #nixos
iyzsong has joined #nixos
unkn has joined #nixos
<fendor> hi, I opened an issue about stack, and I received the answer that it seems to be an issue with NixOs, or rather not an issue at all. Can someone look over my issue and tell me, if he is right? https://github.com/commercialhaskell/stack/issues/3961
foobarok_ has joined #nixos
foobarok has quit [Quit: Page closed]
iyzsong has quit [Ping timeout: 264 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<foobarok_> [ 30%] Building CXX object FeLib/CMakeFiles/FeLib.dir/Source/whandler.cpp.o
<foobarok_> FONT->Printf(&Buffer, PrintPos, Color, Line);
<foobarok_> ^
<foobarok_> FONT->Printf(&Buffer, PrintPos, Color, Line);
<foobarok_> ^
<foobarok_> Description[c]->Color, Description[c]->String.CStr());
<foobarok_> ^
<foobarok_> cc1plus: some warnings being treated as errors
<foobarok_> make[2]: *** [FeLib/CMakeFiles/FeLib.dir/build.make:159: FeLib/CMakeFiles/FeLib.dir/Source/feio.cpp.o] Error 1
<foobarok_> make[2]: *** Waiting for unfinished jobs....
<foobarok_> cc1plus: some warnings being treated as errors
<foobarok_> make[2]: *** [FeLib/CMakeFiles/FeLib.dir/build.make:183: FeLib/CMakeFiles/FeLib.dir/Source/felist.cpp.o] Error 1
<foobarok_> make[1]: *** [CMakeFiles/Makefile2:86: FeLib/CMakeFiles/FeLib.dir/all] Error 2
<foobarok_> make[1]: *** Waiting for unfinished jobs....
<foobarok_> [ 32%] Linking CXX static library libxbrzscale.a
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4c36c0ad765 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<foobarok_> [ 32%] Built target xbrzscale
<foobarok_> make: *** [Makefile:130: all] Error 2
<foobarok_> builder for '/nix/store/kz630lpdqpqwsg57km132vlk4kx4prj6-ivan.drv' failed with exit code 2
<foobarok_> error: build of '/nix/store/kz630lpdqpqwsg57km132vlk4kx4prj6-ivan.drv' failed
<foobarok_> this is how build failed
<gchristensen> foobarok_: in the future, please use a pastebein
<foobarok_> ok
iyzsong has joined #nixos
<joko> foobarok_: You could try setting "-Wno-error" and see if it passes
foobarok has joined #nixos
foobarok_ has quit [Ping timeout: 260 seconds]
knupfer has quit [Remote host closed the connection]
cryp2nomicon has quit [Ping timeout: 248 seconds]
rihards has joined #nixos
mojjo has joined #nixos
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<mojjo> hi! does anyone have experience with nixos + jupyter notebook? I installed it via `nix-env -iA nixos.python36Packages.notebook` but I keep getting the error: `...python3-3.6.4/bin/python3.6m: No module named ipykernel_launcher`.. when starting the jupyter kernel.. any suggestions?
lord| has quit [Ping timeout: 240 seconds]
<lassulus> mojjo: can you try running it inside this nix-shell? nix-shell -p 'python3Packages.python.withPackages (p: [ p.notebook ])'
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/vp0Fr
<{^_^}> → d868a6cd by @globin: python.pkgs.jira: disable on python2
<{^_^}> → b2c0126b by @globin: python.pkgs.jira: init at 1.0.14
<mojjo> lassulus: hi! this works indeed..
<lassulus> hi :) when you install a python package with nix-env -iA your global python does not know about the additional package so it can't find it.
foobarok has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @globin pushed to master « python.pkgs.errbot-rocket: add patch to fix IPv6 »: https://git.io/vp0bY
<mojjo> lassulus: oh, good to know.. I created an overlay to make this permanent, works now. thx..
<{^_^}> [nixpkgs] @globin pushed to master « pythonPackages.sleekxmpp: fix dnspython issue »: https://git.io/vp0bg
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4647755b9fd (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
silver has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #38351 → Add user channels to the default nix path → https://git.io/vxia1
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vp0bd
<{^_^}> → 8ab8d9cb by @grahamc: Add user channels to the default nix path
<{^_^}> → 5d03cce7 by @grahamc: Merge pull request #38351 from grahamc/user-channels
<Taneb> How often does the haskellPackages list in stable update?
<srhb> Taneb: Easiest way to check is probably git log --grep "package set update" pkgs/development/haskell-modules/hackage-packages.nix
mojjo has quit [Ping timeout: 240 seconds]
lord| has joined #nixos
daveo has joined #nixos
<Taneb> srhb: ah, master updates a lot but 18.03 a lot less (as I'd expect if I put a moment of thought into it)
<srhb> Myeah, I don't know quite what to expect to be honest.
<Taneb> I have the issue that the version of cabal2nix on 18.03 doesn't seem to work for a bunch of packages when not using the cabal:// scheme (including cabal2nix itself, I think)
<srhb> Taneb: Known bug? Perhaps we should bump it in the overrides.
<Taneb> srhb: it's been fixed as of cabal2nix-2.9.2
daveo_ has joined #nixos
<srhb> Oh, THAT bug.
<srhb> Yes, that's actually the final fix iirc.
<srhb> I remember testing this on some package that had some UTF-8 characters in the description, but I can't recall one right now...
<Taneb> clash-prelude is the one where I ran into it
<srhb> But yes, I notice I've a local override on it. I guess I assumed it would get bumped sooner. Care to open an issue for it?
<Taneb> I'm going to go for lunch now, I'll make an issue when I get back
<srhb> Taneb: Thank you! :)
unkn has quit [Quit: q]
maingo has quit [Quit: Connection closed for inactivity]
humanoyd has joined #nixos
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos
daveo_ has quit [Remote host closed the connection]
daveo has quit [Remote host closed the connection]
avn has joined #nixos
daveo has joined #nixos
fpletz1 is now known as fpletz
daveo has quit [Remote host closed the connection]
joehh has joined #nixos
nick_l has joined #nixos
<joehh> I'm wanting to run an ftp server (vsftpd) with ssl - the package for vsftpd has a default argument sslEnable = false
<nick_l> How can I install sysstat version 11.2.0 on 18.03?
<nick_l> Probably 11.2.X is also fine.
<joehh> how do I enable the vsftpd service, with the package with an argument set to sslEnable = true?
<nick_l> OK, actually it's in 84a1057b417ce209304b7d78e84c89c066239670.
<nick_l> Now, I only need a general way to point a nix expression to a specific version of nixpkgs without doing a full git clone in a .nix file.
<joehh> issue is ssl support is not compiled in by default
<joehh> nick_l: can you use something like http://lpaste.net/365434
ThatPako has joined #nixos
<ThatPako> Is there any way I can check the version of a haskell package provided by nix?
<nick_l> joehh: where do I get the sha256 (just guess a wrong one?)?
<joehh> ThatPako: nick_l nix-prefetch-git
<joehh> pretty sure it has options for the rev
<srhb> ThatPako: nix eval nixpkgs.haskellPackages.$pkg.version
justanotheruser has quit [Ping timeout: 256 seconds]
<ThatPako> srhb: thanks!
<{^_^}> [nixpkgs] @globin pushed to master « python.pkgs.httplib2: 0.9.2 -> 0.11.3 »: https://git.io/vp0xw
<ThatPako> hm...
<srhb> ThatPako: hmmm?
<nick_l> joehh: something that always works is copying the module and renaming it to myvsftpd.
<nick_l> joehh: that's the only solution if you cannot override the package expression being used.
<nick_l> joehh: or rather a simple method, not the only one.
<ThatPako> trying to figure out why I'm on an old version of pandoc-types. Is 1.17.3.1 just the latest one available? Or do I have to upgrade?
<nick_l> joehh: via overrideAttrs you can do quite a lot.
psychic1 has joined #nixos
Ariakenom has quit [Quit: Leaving]
<psychic1> Can anyone help me understand how to set in NIX_PATH both `nixpkgs` and `nixpkgs-overlays`?
<psychic1> I didn't find a mention of this on the nix manual.
<psychic1> I tried separating the with a semicolon but it did not work
<psychic1> the=them
<srhb> ThatPako: That is the version in 18.03, yes
<srhb> psychic1: It's a colon.
<psychic1> Ah!
<psychic1> You're right, my bad!
<psychic1> Thanks!
<ThatPako> srhb: seems like that's missing some crucial stuff (semigroup instances for Pandoc and Meta). Is moving to unstable "stable enough" or am I stuck with that version?
<nick_l> joehh: it would be pretty freaking awesome if this would work.
<srhb> ThatPako: I don't feel comfortable defining "stable enough" for you :-)
<ThatPako> I'm coming from arch so as long as it's as stable as arch with the AUR I'm fine :p
<srhb> ThatPako: You don't need to switch over your entire system just to have access to it though. You could just add it for your project or whatever.
<ThatPako> srhb: I can use the unstable channel selectively for a single project? wow
<srhb> Yep, absolutely. { pkgs ? import <nixpkgs> {} } normally fetches your NIX_PATH nixpkgs, but...
<srhb> { pkgs ? import (fetchTarbal) {} } can fetch any revision you want.
<srhb> Feeding it url and revision and such to lock it down
<ThatPako> hm...
<ThatPako> won't that download the entirety of nixpkgs again just for that project?
<srhb> Whatever is needed for it, yes. Otherwise you can make overrides feeding your nixpkgs just the changes you care about
<srhb> That looks like
<srhb> let overlays = [ (self: super: ... my overlays ... ) ]; in { pkgs ? import <nixpkgs> { inherit overlays; }:
<ThatPako> that sounds like an interesting approach
<srhb> Works very well. :)
<srhb> I have to go to work now, good luck.
lord| has quit [Quit: WeeChat 2.1]
<psychic1> Guys, a small question: I'm setting up my nix configuration within a non-nixos distribution. What I'm aiming for is to have a pinned nixpkgs with overlays.
<psychic1> I currently achieved this, but I had to set NIX_PKGS to point at my nixpkgs and my overlays
<psychic1> Is there an alternative way where I don't have to set an environment variable? But instead point the commands at the pinned nixpkgs with my overlays?
<psychic1> It seems like every comand does it differently, nix-build, nix-env, nix-shell etc. am I missing something?
<{^_^}> [nixpkgs] @WilliButz opened pull request #39805 → prometheus-nginx-exporter: 20161107 -> 0.1.0, update module → https://git.io/vp0hm
<psychic1> Also, is it possible to have a nixpkgs that already contains the overlays? Like take a pinned nixpkgs, combine it with overlays to have a new nixpkgs, where you only have to specify it? (without specifying any overlays, since it already has them embedded)
<ThatPako> how does one override a haskell package with overlays?
<tilpner> psychic1 - nix-build and nix-shell use NIX_PATH, and you can make nix-env use NIX_PATH to
<tilpner> *too
<tilpner> psychic1 - Look here [ https://nixos.org/nixpkgs/manual/#sec-overlays-install ] for other ways to install overlays
<psychic1> tilpner: Yes, I'm already using NIX_PATH so I understand that. But I would like, if possible, to remove being dependent on an env var being set, I guess I can use the -I flag for every command?
<tilpner> psychic1 - I'm not aware of a way to go completely without NIX_PATH. You need it to find <nixpkgs>
<psychic1> I understand. Thanks for the link but I already went over it :)
<psychic1> I guess I'll settle for environment variable or symlinks to the standard locations.
Freneticks has quit [Quit: Leaving]
<nick_l> What happened to goPackages.gohai? 5089f8808e27e67636df1719be2a17f947e0579b introduced it.
<sphalerite> MichaelRaskin: found https://matrix.org/docs/projects/client/mm.html the other day, looks like a client that might be more to your liking. In case you didn't already know about it :)
<nick_l> I would like to make gohai available as a systemPackage, but when I search for it via ag nothing is returned in master anymore.
<MichaelRaskin> sphalerite: thanks for mentioning, I have indeed seen it (I have skimmed the entire Try Matrix page), but it doesn't pay attention to backlog, and backlog is the only reason to prefer Matrix over XMPP/Bitlbee mix for me.
<sphalerite> ah ok
<MichaelRaskin> And I am data-flow-control absolutist, not minimalism absolutist, to be honest
<sphalerite> does MAM still not work?
<MichaelRaskin> This is a nickname for one of server-side-history XEPs?
<sphalerite> yeah
<sphalerite> message archive management, I think it was
<MichaelRaskin> I think last time I tried to setup a full blown chain of support with carbons and server-side logs and log fetching, I found no idea what combination of server, Android client, pipe-controllable Linux client, and a desktop client — X11 or Windows — to recommend to others — I would need
fendor has quit [Remote host closed the connection]
<sphalerite> nick_l: https://github.com/NixOS/nixpkgs/pull/16017 seems to have removed go-packages.nix. You can probably extract gohai from the removed file and add it back as a separate package, like one of the many commits in that PR
<ThatPako> Any idea why this overlay magic isn't working? https://gist.github.com/MagnificentPako/8438bdacba89c2d2beeec0288e85505d
<MichaelRaskin> Apparently, Matrix bridges are rising faster than XMPP bridges ever did, so I am trying to make Matrix work
<sphalerite> MichaelRaskin: yeah I don't really know any satisfactory desktop clients. Conversations is great for android, but for desktop there's… gajim I guess, and I'm not a big fan. It's a bit of a mess.
<sphalerite> Or it was, last time I checked. To be fair, that's over a year ago now I think
<MichaelRaskin> Well, Miranda or Pidgin or Psi… question of taste, too
<sphalerite> none of those supported MAM last I checked
<MichaelRaskin> Probably so
<{^_^}> [nixpkgs] @WilliButz opened pull request #39809 → prometheus-snmp-exporter: 0.3.0 -> 0.9.0 → https://git.io/vpEen
<MichaelRaskin> So I want to see if Matrix with quasi-mandatory backlog management support is something to welcome as a first-class thing on my system
<MichaelRaskin> Also, if it manages logs _well_, Skype bridge and Telegram bridge could be set up…
justanotheruser has joined #nixos
jperras has joined #nixos
shapr has quit [Ping timeout: 276 seconds]
<sphalerite> yeah, I think the biggest problem with XMPP is that it's so many little bits and an XMPP client ≠ a useful XMPP client for typical modern IM use
<MichaelRaskin> Well, I have fully unified 95% of my XMPP use and of my IRC use
<MichaelRaskin> But my XMPP setup leads to some messages only available in the Conversations logs, but not in my main mcabber logs
clever has quit [Ping timeout: 248 seconds]
<ThatPako> Anything regarding my haskellPackages overlay thing?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #39779 → eclib: 20171002 -> 20171219 → https://git.io/vp04L
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpEvU
<{^_^}> → e6f9103a by R. RyanTM: eclib: 20171002 -> 20171219
<{^_^}> → f06e7354 by @7c6f434c: Merge pull request #39779 from r-ryantm/auto-update/eclib
<sphalerite> ThatPako: you're replacing the entirety of haskellPackages with a set containing just those things that you put there
<ThatPako> oof
<sphalerite> you'll need something like haskellPackages = super.haskellPackages // { … }
MercurialAlchemi has quit [Ping timeout: 264 seconds]
blankhart has quit [Ping timeout: 260 seconds]
<ThatPako> sphalerite: after running `cabal run` it still complains about pandoc 2.2 not being available (only 2.0.6, which is the one in 18.03)
<sphalerite> Hm, odd. Maybe if you add inherit (self.haskellPackages) pandoc; in the top level of the overlay? (just a blind guess and it probably won't help though)
orivej has joined #nixos
<ThatPako> for some reason running `nix-shell` after editing the file it won't fetch the new pandoc version :/
<ryantm> Is perl-packages.nix automatically generated?
<jtojnar> ryantm: are you running the builds for nixpkgs-update in a sandbox?
<jtojnar> https://github.com/NixOS/nixpkgs/pull/39774 should not really go through
<{^_^}> [nixpkgs] @globin merged pull request #39758 → lr: 1.3 -> 1.4 → https://git.io/vp0q6
<{^_^}> [nixpkgs] @globin pushed commit from R. RyanTM to master « lr: 1.3 -> 1.4 »: https://git.io/vpEv9
<sphalerite> ryantm: doesn't look like it to me. Not sure though.
<nick_l> ryantm: pretty sure it is not.
<nick_l> ryantm: my opinion is that everything which is not clearly marked as automatically generated is fair game.
<nick_l> ryantm: i.e., like you are doing in your semi-auto PRs.
joehh has quit [Ping timeout: 248 seconds]
<ThatPako> sphalerite: any idea why `nix-shell` won't download the new packages?
<sphalerite> ThatPako: it may be that they're already there
<ThatPako> I just added to overlay. There's no way they could be there
<ThatPako> *the
<sphalerite> Maybe they're not in the closure. I don't really know though, sorry.
<ThatPako> btw, what is the ? in this line doing? `nixpkgs ? import <nixpkgs> {}`
orivej has quit [Ping timeout: 264 seconds]
<sphalerite> providing a default value for the argument
<ThatPako> ohh, that might be it
<sphalerite> ({a ? 5, b ? 2}: {inherit a b;}) {b = 3;} ⇒ {a = 5; b = 3;}
<sphalerite> where would it be getting a different value for nixpkgs?
<ThatPako> no idea
daveo has joined #nixos
civodul has joined #nixos
psychic1 has quit [Quit: WeeChat 1.6]
humanoyd has quit [Quit: WeeChat 2.1]
clever has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #39761 → ipmiutil: 3.0.9 -> 3.1.0 → https://git.io/vp0O1
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vpEJQ
<{^_^}> → acdbf504 by R. RyanTM: ipmiutil: 3.0.9 -> 3.1.0
<{^_^}> → f33aeab0 by @7c6f434c: Merge pull request #39761 from r-ryantm/auto-update/ipmiutil
Henson has joined #nixos
<Henson> hi everyone, I'm new to Nix and am using the package manager to build a Python application. I had difficulty getting the python27Packages.Nuitka package to work, but figure out how to get it to work by altering the nuitka wrapper script. Is this something I should notify somebody about?
<{^_^}> [nixpkgs] @globin merged pull request #39809 → prometheus-snmp-exporter: 0.3.0 -> 0.9.0 → https://git.io/vpEen
<{^_^}> [nixpkgs] @globin pushed commit from @WilliButz to master « prometheus-snmp-exporter: 0.3.0 -> 0.9.0 »: https://git.io/vpEUN
<__Sander__> hmm
<__Sander__> what if niksnut gets hit by a bus :p
nhh^ has quit []
<niksnut> that's why we have a core team now
<gchristensen> I believe Rob has access to all the necessary parts, and also he and I have been working pretty hard to spread things out some
emph^ has joined #nixos
<__Sander__> this looks a bit scary: https://github.com/xtraeme
<__Sander__> no commits at all since january
<__Sander__> looks like this guy has indeed disappeared
obadz has quit [Ping timeout: 255 seconds]
<gchristensen> possibly burned out very hard
<{^_^}> [nixpkgs] @globin merged pull request #39769 → git-cola: 3.0 -> 3.1 → https://git.io/vp0ci
<{^_^}> [nixpkgs] @globin pushed commit from R. RyanTM to master « git-cola: 3.0 -> 3.1 »: https://git.io/vpETo
<{^_^}> [nixpkgs] @jtojnar merged pull request #39774 → guake: 3.2.0 -> 3.2.1 → https://git.io/vp0Wa
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/vpEkR
<{^_^}> → 02d34f7d by R. RyanTM: guake: 3.2.0 -> 3.2.1
<{^_^}> → 6b8c1d20 by @jtojnar: guake: fix build
<{^_^}> → a656690f by @jtojnar: Merge pull request #39774 from r-ryantm/auto-update/guake
<{^_^}> [nixpkgs] @globin merged pull request #39805 → prometheus-nginx-exporter: 20161107 -> 0.1.0, update module → https://git.io/vp0hm
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/vpEkz
<{^_^}> → 913ec873 by @WilliButz: prometheus-nginx-exporter: 20161107 -> 0.1.0
<{^_^}> → de60146f by @WilliButz: nixos/promtheus-nginx-exporter: update module
blankhart has joined #nixos
MercurialAlchemi has joined #nixos
tilpner has quit [Quit: :wq]
obadz has joined #nixos
tilpner has joined #nixos
<[Leary]> Is there some way to load up in nix repl the value of pkgs that gets passed in when my system is built? It'd be nice to be able to inspect and play with its contents.
<steveeJ> datakurre: hey, I've just stumbled upon your k8s sandbox repo (https://github.com/datakurre/nixops-kubernetes-sandbox) and I'm wondering if "kubectl get nodes" should display all nodes after deployment, when run from the master
<clever> [Leary]: nix repl '<nixpkgs/nixos>' and then config._modules.args.pkgs
<nick_l> Henson: I would find it useful if you would send it to the mailing list, but you can also report an issue.
<nick_l> Henson: but I have no interest in that specific package myself.
<Henson> nick_l: to the nix-devel mailing list? Would the mailing list be a better first choice than reporting an issue?
<[Leary]> Cheers, clever.
<{^_^}> [nixpkgs] @primeos opened pull request #39812 → nixos/monetdb: init → https://git.io/vpEI7
<steveeJ> clever: sorry to bother you but I forgot to bookmark the links you sent me last time. please link me to the code snippet again where you use an ipxe boot for automatically installing a machine with nixos
jluttine has quit [Quit: WeeChat 2.0]
joehh has joined #nixos
erasmas has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #39813 → bluez: add tools to output that we were building anyway → https://git.io/vpEL4
joehh has quit [Ping timeout: 255 seconds]
jluttine has joined #nixos
MercurialAlchemi has quit [Ping timeout: 256 seconds]
asuryawanshi has quit [Ping timeout: 260 seconds]
thblt has joined #nixos
luigy has joined #nixos
Ariakenom has joined #nixos
hakujin has joined #nixos
<steveeJ> clever: thanks! what's the tick used for at the ipxe variable?
<{^_^}> [nixpkgs] @WilliButz opened pull request #39814 → promtheus-varnish-expoter: 1.2 -> 1.4, update module → https://git.io/vpEms
<nick_l> Henson: just posting an issue is fine too, I think.
<{^_^}> [nixpkgs] @jluttine opened pull request #39815 → pythonPackages.pytest-flake8: 1.0.0 -> 1.0.1 → https://git.io/vpEmg
<goibhniu> Hi, I'm trying to review https://github.com/NixOS/nixpkgs/pull/39389, a kernel module for a satellite tv card, and I believe there's a problem with module dependencies. `modprobe videobuf2-dvb` shows "videobuf2_dvb: Unknown symbol dvb_create_media_graph (err 0)" in dmesg.
<goibhniu> Is there a way to figure out which module has that symbol? I tried running `nm` on various modules, but haven't found anything yet.
ryantrinkle has joined #nixos
aarvar has quit [Ping timeout: 248 seconds]
<Dezgeg> usually the kernel build system should run depmod to figure out the dependencies
obadz- has joined #nixos
<tilpner> Does anyone have *.local mDNS resolution working?
<tilpner> avahi-browse lists foo.local, but getent hosts foo.local doesn't output anything
<goibhniu> hrm, can I use depmod to determine what has that symbol?
<Dezgeg> depmod --verbose sounds like it
obadz has quit [Ping timeout: 248 seconds]
obadz- is now known as obadz
<goibhniu> thanks!
MercurialAlchemi has joined #nixos
mmlb has quit [Ping timeout: 256 seconds]
mmlb has joined #nixos
nschoe has joined #nixos
<goibhniu> excellent, it looks like I want to load a module called dvb-core. I see there's a dvb-core.ko, which is from the package I'm testing (/nix/store/7ibbyaav87abxqwg61wxvdr06khflv3m-tbs-2018.04.18-4.14.35/lib/modules/4.14.35/kernel/drivers/media/dvb-core/dvb-core.ko) and a dvb-core.ko.xz from the kernel(/nix/store/qjvh2krn14g5nva4adrhp1y98y3pzi9i-linux-4.14.35/lib/modules/4.14.35/kernel/drivers/media/dvb-core/dvb-core.ko.xz)
<goibhniu> modinfo points at the kernel version (with .xz)
<goibhniu> could that be the problem?
<[Leary]> I do so far as I know, tilpner, though I only use it to ssh between my desktop and my laptop. I fired up my laptop to check, and avahi-browse lists both machines, each of which I can see mac addresses for with getent hosts.
<{^_^}> [nixpkgs] @matthewbauer closed pull request #39683 → Remove uses of libOnly → https://git.io/vpBBU
<nschoe> Hi all, I'm trying to make a simple shell.nix file to use "gst_all_1.gstreamer", but I want this taken from my "unstable" channel. I suppose I mus tchange the first line "with import <nixpkgs> {};" but what should I import instead?
<{^_^}> [nixpkgs] @primeos merged pull request #39812 → nixos/monetdb: init → https://git.io/vpEI7
<{^_^}> [nixpkgs] @primeos pushed to master « nixos/monetdb: init (#39812) »: https://git.io/vpEGY
<tilpner> [Leary] - Are you using NetworkManager?
<tilpner> (I don't know if nsswitch falls into NM responsibility)
<Dezgeg> huh, this tbs comes with it's own version of dvb-core that is different from the stock version in kernel?
<goibhniu> yeah, I think that's what's happening alright
<[Leary]> tilpner: Not that I'm aware of.
<tilpner> Is that "No, I don't use NM", or "No, NM does not configure nsswitch"?
<goibhniu> it worked \o/ ... (I've been at this for days!)
<[Leary]> No to using it
<goibhniu> so now I just need to figure out how to get that version of dvb-core loaded instead of the kernel one
<tilpner> [Leary] - What do you use instead?
justanotheruser has quit [Ping timeout: 268 seconds]
<samueldr> tilpner: here (using network-manager) getent hosts works with avahi https://gitlab.com/samueldr/nixos-configuration/blob/master/profiles/default.nix#L98-102
<goibhniu> maybe I can just xz compress it, and it will take priority over the kernel one
<Dezgeg> I doubt that helps
<goibhniu> ah, thanks ... that would have taken ages to build and check :D ... any idea what I can do?
<fadenb> I just did a nix-channel --update and a nixos-rebuild switch. Now my mongodb segfaults at start :/
<[Leary]> tilpner: Whatever's default on my desktop; I don't have any networking options set other than a few firewall things. On my laptop I just have networking.wireless.enable = true and set names/keys under wireless.networks. I don't think that uses nm, just wpa_supplicant or whatever.
<fadenb> Anyone else experienced something like that?
silk_labo_ has joined #nixos
mekeor has joined #nixos
<clever> [Leary]: what does `systemctl status wpa_supplicant` say?
<Dezgeg> I guess somehow this package needs to tell depmod that its version of dvb-core takes precedence of the kernel one
<{^_^}> [nixpkgs] @matthewbauer pushed to staging « unix-tools: install man pages »: https://git.io/vpEZk
<clever> Dezgeg: i'm guessing meta.priority so the nix buildEnv of modules overwrites correctly before the depmod runs?
<fadenb> Commit 489a14add9a (mongodb working), commit ce0d9d638de (mongodb segfaults)
<Dezgeg> that doesn't affect the database which depmod / modprobe uses, I think
<clever> Dezgeg: if there is only one dvb-core.ko at the time depmod is ran, it wont see the kernel version
<tilpner> samueldr - That's puzzling. I have all those set to true too :/
<[Leary]> clever: loaded; enabled; active; etc.
<clever> [Leary]: what about its log output?
<goibhniu> I guess I should give it a shot anyway
Intensity has quit [Ping timeout: 260 seconds]
<samueldr> tilpner: I sometimes have/had troubles where I needed to restart nscd for resolution to work
<samueldr> never tracked down why exactly
<tilpner> I'll try that, but I even rebooted to be sure
<tilpner> Oh
<alaricsp> Hello folks! I'm on nixos 17.09, which seems to ship zfs 0.7.6. For reasons too tedious to explain, I need to be on zfs 0.6.* in my kernel - is there a way to make nixos do this, or do I need to just roll back to an older nixos?
swflint has quit [Ping timeout: 268 seconds]
AluisioASG has quit [Ping timeout: 256 seconds]
norfumpit has quit [Ping timeout: 268 seconds]
<[Leary]> clever: Nothing interesting? Successfully initialised; associated with router; key negotionation completed; connection completed, all that good WPA stuff.
silk_labo_ has quit [Ping timeout: 268 seconds]
wangoe has joined #nixos
halfbit has joined #nixos
hyper_ch2 has quit [Ping timeout: 260 seconds]
nick_l has quit [Ping timeout: 260 seconds]
vcunat has joined #nixos
thblt has quit [Remote host closed the connection]
thblt has joined #nixos
mekeor has left #nixos ["digital revolution = cryptoanarchism + cybercommunism"]
ndrei- has joined #nixos
semilattice has quit [Remote host closed the connection]
norfumpit has joined #nixos
swflint has joined #nixos
AluisioASG has joined #nixos
butchery has joined #nixos
butchery has quit [Client Quit]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4647755b9fd (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
nuncanada has joined #nixos
swflint has quit [Ping timeout: 256 seconds]
silk_labo_ has joined #nixos
silk_labo_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39430 → kexectools: 2.0.16 -> 2.0.17 → https://git.io/vpZy5
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpE8m
<{^_^}> → d0a7664c by R. RyanTM: kexectools: 2.0.16 -> 2.0.17
<{^_^}> → e49a9bdb by @matthewbauer: Merge pull request #39430 from r-ryantm/auto-update/kexec-tools
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39435 → grib-api: 1.26.0 -> 1.26.1 → https://git.io/vpZ7V
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpE8s
<{^_^}> → f827bd40 by R. RyanTM: grib-api: 1.26.0 -> 1.26.1
<{^_^}> → 532b0e4b by @matthewbauer: Merge pull request #39435 from r-ryantm/auto-update/grib-api
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39437 → source-and-tags: fix default.nix → https://git.io/vpZpR
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpE8C
<{^_^}> → 40bb3374 by @basvandijk: source-and-tags: fix default.nix
<{^_^}> → d85795a1 by @matthewbauer: Merge pull request #39437 from LumiGuide/fix-source-and-tags
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpE8R
<{^_^}> → 587112b7 by @matthewbauer: Merge pull request #39467 from typetetris/master
<{^_^}> → 94a420b9 by @typetetris: fetchFromGitLab: Use API archive download endpoint.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39467 → fetchFromGitLab: Use API archive download endpoint. → https://git.io/vpnBo
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39469 → coqPackages.contribs.containers: make available for Coq 8.8 → https://git.io/vpn0D
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpE8E
<{^_^}> → 72ec248e by @vbgl: coqPackages.contribs.containers: make available for Coq 8.8
<{^_^}> → 738f9a96 by @matthewbauer: Merge pull request #39469 from vbgl/coq-contribs-containers-8.8
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39478 → nixos/infinoted: Abstract over libinfinity version → https://git.io/vpnxS
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpE8g
<{^_^}> → 274579cc by @pngwjpgh: nixos/infinoted: Abstract over libinfinity version
<{^_^}> → 4e58e232 by @matthewbauer: Merge pull request #39478 from pngwjpgh/infinoted
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39616 → gnucash: 2.4.15 -> 3.1-1 → https://git.io/vp8rr
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpE8i
<{^_^}> → 3434cf40 by @mnacamura: gnucash: 2.4.15 -> 3.1-1
<{^_^}> → 83f035cf by @matthewbauer: Merge pull request #39616 from mnacamura/gnucash3
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39627 → python35, python36: fix reading large files on darwin → https://git.io/vp8hC
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/vpE81
<{^_^}> → b8917dc0 by @veprbl: python35, python36: fix reading large files on darwin
<{^_^}> → ca4fe58b by @matthewbauer: Merge pull request #39627 from veprbl/pr/python_issue24658
Intensity has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39586 → labelImg: init at 1.6.0 → https://git.io/vplwO
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpE8D
<{^_^}> → ff3b8871 by @CMCDragonkai: labelImg: init at 1.6.0
<{^_^}> → 278f59af by @matthewbauer: Merge pull request #39586 from MatrixAI/labelImg
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39549 → containerd: 1.0.3 -> 1.1.0 → https://git.io/vpWG7
<{^_^}> [nix] @NinjaTrappeur opened pull request #2129 → Throw an error when a unicode character is parsed in a identifier → https://git.io/vpE8y
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpE8S
<{^_^}> → 8a3cdb99 by R. RyanTM: containerd: 1.0.3 -> 1.1.0
<{^_^}> → a1664a4c by @matthewbauer: Merge pull request #39549 from r-ryantm/auto-update/containerd
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39537 → libraw: 0.18.8 -> 0.18.9 → https://git.io/vpWfy
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpE8H
<{^_^}> → cd3047f3 by R. RyanTM: libraw: 0.18.8 -> 0.18.9
<{^_^}> → 9dc7684d by @matthewbauer: Merge pull request #39537 from r-ryantm/auto-update/libraw
swflint has joined #nixos
tinco has quit [Ping timeout: 240 seconds]
dottedmag has quit [Ping timeout: 256 seconds]
nuncanada has quit [Read error: Connection reset by peer]
AluisioASG has quit [Ping timeout: 256 seconds]
oleks has quit [Ping timeout: 268 seconds]
electrocat has quit [Remote host closed the connection]
jtojnar has quit [Remote host closed the connection]
vcunat has quit [Ping timeout: 256 seconds]
vcunat has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39630 → conglomerate: init at 2017-09-10 → https://git.io/vp4fx
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpE4W
<{^_^}> → fa850e8f by @bcdarwin: conglomerate: init at 2017-09-10
<{^_^}> → ea458f3b by @matthewbauer: Merge pull request #39630 from bcdarwin/conglomerate
dottedmag has joined #nixos
AluisioASG has joined #nixos
alexteves has joined #nixos
jtojnar has joined #nixos
fpletz has quit [Ping timeout: 256 seconds]
fpletz has joined #nixos
wchresta has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/vpE4P
<{^_^}> → 80d51a38 by @NeQuissimus: linux-copperhead: 4.16.5.a -> 4.16.6.a
<{^_^}> → 21327edb by @NeQuissimus: linux-copperhead: 4.14.37.a -> 4.14.38.a
tinco has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux-copperhead: 4.14.37.a -> 4.14.38.a »: https://git.io/vpE41
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux-copperhead: 4.16.5.a -> 4.16.6.a »: https://git.io/vpE4D
electrocat has joined #nixos
<Myrl-saki> error: nix-shell requires a single derivation
<Myrl-saki> myrl@c:~$ nix-shell -E '(import <nixpkgs> { overlays = [ (import /home/myrl/nixos-configs/overlays/qemu-user.nix)]; system="armv7l-linux"; })' -A gcc -A glibc.dev --cores 1 --max-jobs 1
<Myrl-saki> I mean, I get why.
<Myrl-saki> But why?
oleks has joined #nixos
<WilliamHamilton> does anyone know why I get unreadable characters in installers when I use steam-run?
<Myrl-saki> I get the error message, but I don't get why the restricttion.
<WilliamHamilton> all the characters are substituted with rectangles
<clever> Myrl-saki: it creates a shell that has all of the env vars of the named derivation
<lejonet> WilliamHamilton: Missing a relevant font (or steam-run just doesn't know how to find the right font)
<clever> Myrl-saki: it has no clue how to merge 2 of them
<clever> Myrl-saki: also, -A gives you a shell suitable for building gcc, not running gcc
<WilliamHamilton> lejonet: thanks, and how should I debug the issue?
dbe_ has joined #nixos
<WilliamHamilton> lejonet: I'm not using gnome or kde, so that could be part of the problem
<Myrl-saki> clever: Oh right. :/
<Myrl-saki> clever: How about nix-shell -E 'with (import <nixpkgs> { overlays = [ (import /home/myrl/nixos-configs/overlays/qemu-user.nix)]; system="armv7l-linux"; }); [gcc glibc.dev]' --cores 1 --max-jobs 1
ndrei- has quit [Remote host closed the connection]
<clever> Myrl-saki: thats just a dumb list of derivations and will fail the same way
<clever> Myrl-saki: you need to create a new derivation with mkDerivation or runCommand, which depends on gcc (mkDerivation already does by default), and add things to its buildInputs
<clever> nix-shell -E 'with (import <nixpkgs> { overlays = [ (import /home/myrl/nixos-configs/overlays/qemu-user.nix)]; system="armv7l-linux"; }); stdenv.mkDerivation { name = "dummy"; }'
<Myrl-saki> clever: At this point, I might as well make a file, I guess?
<clever> yeah
jtojnar has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5d03cce7ed7 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
humanoyd has joined #nixos
jtojnar has joined #nixos
<tmplt> I request some help with a C++ library (geant4). When linking to two specific so-files, there are undefined references to expf@GLIBC_2.27 and logf@GLIBC_2.27. I tried fixing it by overriding the derivation and specify `NIX_CFLAGS_COMPILE = "-lm";` and rebuilding, but it didn't work. Am I going about this the wrong way?
<WilliamHamilton> I get the error `Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'`
<{^_^}> [nixpkgs] @xeji pushed commit from @bgamari to release-18.03 « notmuch: 0.26.1 -> 0.26.2 »: https://git.io/vpERP
jtojnar has quit [Remote host closed the connection]
<lejonet> WilliamHamilton: I'm not sure how fonts are handled in nixos, but there might be some env var that steam-run adheres to and you just have to create a wrapper that sets that
<{^_^}> [nixpkgs] @globin merged pull request #39814 → prometheus-varnish-exporter: 1.2 -> 1.4, update module → https://git.io/vpEms
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/vpE0X
<{^_^}> → 4bca8f8d by @WilliButz: prometheus-varnish-exporter: 1.2 -> 1.4
<{^_^}> → cb4c2834 by @WilliButz: nixos/prometheus-varnish-exporter: update module
<{^_^}> [nixpkgs] @matthewbauer merged pull request #37855 → jmol init, pymol -> 2.1.0 and tidied up all-packages.nix → https://git.io/vx0xo
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/vpE0M
<{^_^}> → 3a8b8bcb by @Mounium: all-packages.nix: made new block CHEMISTRY
<{^_^}> → 75d8c818 by @Mounium: pymol: 1.8.4 -> 2.1.0
<{^_^}> → 329d1ba6 by @Mounium: jmol: made it runnable
<{^_^}> [nixpkgs] @globin merged pull request #39705 → unifi: introduce unifiTesting and upgrade unifiLTS and unifiStable → https://git.io/vpBKS
<{^_^}> [nixpkgs] @globin pushed 3 commits to master: https://git.io/vpEET
<{^_^}> → 187e2237 by @peterhoeg: unifi-testing: init at 5.8.14
<{^_^}> → ace51a4f by @peterhoeg: unifi-lts: 5.6.36 -> 5.6.37
<{^_^}> → 9e37f7ed by @peterhoeg: unifi-stable: 5.7.20 -> 5.7.23
jperras has quit [Quit: WeeChat 2.1]
<copumpkin> steveeJ: not actively, but I did kinda like the approach I described in that one PR about docker
Lisanna has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
asuryawanshi has joined #nixos
<Lisanna> Hey, I have an app that wants to directly invoke gcc, but I know that you can't just use 'gcc' from nixpkgs out of the box. What should I do?
<{^_^}> [nixpkgs] @globin merged pull request #39778 → duktape: 2.2.0 -> 2.2.1 → https://git.io/vp082
<{^_^}> [nixpkgs] @globin pushed commit from R. RyanTM to master « duktape: 2.2.0 -> 2.2.1 »: https://git.io/vpEEP
trillpoli[m] has left #nixos ["User left"]
colemickens has joined #nixos
<colemickens> should I still be trying to use pypi2nix if my goal is to package something specifically in nixpkgs for NixOS?
<{^_^}> [nixpkgs] @xeji merged pull request #39748 → bat: init at 0.2.0 → https://git.io/vp0f3
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpEEN
<{^_^}> → 6dbc010a by @matthiasbeyer: bat: init at 0.2.0
<{^_^}> → ec95624d by @xeji: Merge pull request #39748 from matthiasbeyer/add-bat
<colemickens> (I'm currently struggling as it bundles it's own pip/wheel that are a bit oo old to install azure-cli currently.)
<s33se> package buildbot is broken on aarch64 because some tests are aborted with TimeoutErrors
<s33se> with docheck=false you can work around that problem
<s33se> is that a good strategy?
hgost has left #nixos [#nixos]
logzet has quit [Remote host closed the connection]
<lejonet> Lisanna: if its during installation, just adding gcc to buildInputs or so should work, if its while its running, I dunno what standard practice is, but ensuring that it has gcc in its path and it should just work
rauno has quit [Ping timeout: 260 seconds]
<Lisanna> lejonet no, it's during runtime.
<lejonet> Lisanna: Using wrapProgram to give it a wrapper with a path that includes gcc and you should be fine
Rusty1_ has joined #nixos
<Lisanna> am I wrong in thinking that I can't just invoke "gcc" directly? I'm pretty sure I remember reading in here that that doesn't work - you need to do a nix-shell or something to get a script to source to get that to work.
<lejonet> Well, if you want all that goes with it, like includes and such, you probably need to do a bit more, nix-shell -p stdenv iirc is what you need for getting a "build-essential" equivalence
wchresta has quit [Ping timeout: 255 seconds]
ThatPako has quit [Quit: Lost terminal]
knupfer has joined #nixos
<lejonet> so maybe a wrapper that invokes nix-shell -p stdenv and then runs the program would be it
<lejonet> Lisanna: something similar to this might work: https://github.com/NixOS/nix/commit/a957893b261a4438101c205e38fe8ce62b83a121 (note the 2 #! lines)
humanoyd has quit [Ping timeout: 265 seconds]
<lejonet> There is also a section called "USE AS A #!-INTERPRENTER" in nix-shells manpage, that is probably a good thing to read through if you want to experiment with that
wchresta has joined #nixos
<lejonet> and I guess you could do #! /usr/bin/env nix-shell #! nix-shell -i bash -p stdenv and then write the wrapper script that then invokes the application, and then it should have the env it needs to compile stuff with gcc
obadz- has joined #nixos
unkn has joined #nixos
obadz has quit [Ping timeout: 240 seconds]
obadz- is now known as obadz
rauno has joined #nixos
<lejonet> Hmm, if a package does a pkgs.writeText to a file, could I do a writeText to the same file, to overwrite it?
<clever> lejonet: nope
<lejonet> clever: damn, thought so, but still :(
<clever> lejonet: each call to writeText returns a unique storepath, based on the contents
<clever> lejonet: and then you have to pass that path to whatever you want reading it
<lejonet> clever: :( libvirtd service hardcodes "libvirtd" as the group for the sockets, and I want to use a LDAP group for it instead
<clever> where exactly is it hard-coded?
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
wchresta has quit [Ping timeout: 255 seconds]
shapr has joined #nixos
shapr is now known as Guest29462
<clever> lejonet: what happens if you set unix_sock_group twice in the same config file? via extraConfig
<lejonet> clever: I've tried that, and so far it seems to just ignore the second one :/
<clever> lejonet: systemd.services.libvirtd.environment.LIBVIRTD_ARGS = lib.mkForce ''--config "${configFile}" ${concatStringsSep " " cfg.extraOptions}'';
<clever> lejonet: what about this?, after you fix the references
<lejonet> Ah, you think that I should override that and reference the configFile I create myself? That should work
<clever> yep
<lejonet> Will try that and see how it goes
humanoyd has joined #nixos
Guest29462 is now known as shapr
shapr has quit [Changing host]
shapr has joined #nixos
cybertron has joined #nixos
<{^_^}> [nixpkgs] @LightDiscord opened pull request #39818 → robo3t: add libGL → https://git.io/vpE2Q
<cybertron> hi, how can I find nix configuration for my service?
<lejonet> cybertron: https://nixos.org/nixos/options.html# is good for searching for options
<cybertron> lejonet: ah thank you
<lejonet> otherwise you could find the service file in nixpkgs (nixpkgs/nixos/modules/path/to/service) and see what it enables there :)
<ryantm> Each option has a link to where it is defined in the modules.
colemickens has quit [Ping timeout: 260 seconds]
<cybertron> great +1
<nschoe> does anyone use gstreamer? Do you know if there's a separate package for gstreamer-opus or something?
<nschoe> I have installed all plugins (good, base, bad, ugly) for gstreamer 1.14 but it cannot find plugins 'opus' :/
<{^_^}> [nixpkgs] @Mic92 merged pull request #39803 → gron: 0.5.1 -> 0.5.2 → https://git.io/vp0yL
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpEaO
<{^_^}> → 9c01a774 by @fgaz: gron: 0.5.1 -> 0.5.2
<{^_^}> → a3bdff3d by @Mic92: Merge pull request #39803 from fgaz/gron
<lejonet> clever: that seems to work, awesomeness!
jtojnar has joined #nixos
doyougnu1 has joined #nixos
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
srl295 has joined #nixos
blankhart has quit [Ping timeout: 248 seconds]
dbe_ has quit [Ping timeout: 268 seconds]
anderslundstedt has quit [Quit: leaving]
Izorkin has joined #nixos
cybertron has quit [Quit: WeeChat 2.0.1]
blankhart has joined #nixos
anderslundstedt has joined #nixos
<nschoe> Anybody on where the gstreamer opus plugins should come from?
<lejonet> so now to figure out if I can tell libvirt where the qemu binary is without having to resort to "violence" (it seems to have some standard value it uses when doing a migration, because I know that the running of VMs with qemu should work)
<clever> gst_all_1.gst-plugins-bad.out 23,088 x /nix/store/43szlakcix305r4rwr45v0sxpfb939a9-gst-plugins-bad-1.10.4/lib/gstreamer-1.0/libgstopusparse.so
<clever> nschoe: it appears to be in plugins-bad
shiver has quit [Ping timeout: 240 seconds]
<nschoe> clever, oh? Could you tell me how you found this? I have just spent almsot 2 hours on this problem, trying not to come here asking ^^
shiver has joined #nixos
<clever> nschoe: [clever@amd-nixos:~]$ nix-locate opus | grep gstream
<nschoe> ah! I did not know about this, thanks.
<clever> nschoe: its part of the nix-index package
<teto1> lejonet probably you can do sthg like libvirt.qemu = your_qemu_package
<nschoe> clever, although this is not the plugin file for the opus plugin. I've just confirmed with the folks on #gstreamer.
<nschoe> clever, when I install this plugins-bad (as well as all other plugins I could find btw :P), `gst-inspect-1.0 opus` returns me with no results, meaning it doesn't find the opus plugin :/
<clever> nschoe: but it can find opusparse ?
<lejonet> teto1: well, this seems to be related to migration only, it seems to do some checks (probably capability checks) on the target host before hand, and that seems to use another path to qemu than the one it uses to run machines that are there already
<teto1> lejonet nixops has a PR pending to deploy on remote libvirt so probably some people there have experienced this
<nschoe> clever, yes it can find opusparse
<nschoe> clever, according to this page (https://gstreamer.freedesktop.org/documentation/plugins.html) opus should be in plugins-base.
<lejonet> teto1: oh, neat, I thought it already could do that
<clever> nschoe: ah, then nixpkgs may not have enabled opus
wangoe has quit [Quit: WeeChat 1.9.1]
<nschoe> clever, this is what I am trying to confirm, and maybe see how I can change this.
zybell has quit [Remote host closed the connection]
dbmikus has joined #nixos
zybell has joined #nixos
<lejonet> teto1: yep, the actual running of machines uses "/run/libvirt/niux-emulators/qemu-kvm" instead of /usr/bin/qemu-system-x86_64, so must be migration related only
dbmikus_ has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #39820 → spotify: 1.0.77.338.g758ebd78-41 -> 1.0.79.223.g92622cc2-21 → https://git.io/vpEoA
zybell has quit [Client Quit]
dbmikus has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #39821 → Backport #39820: spotify: 1.0.77.338.g758ebd78-41 -> 1.0.79.223.g92622cc2-21 → https://git.io/vpEK3
seville has joined #nixos
zybell has joined #nixos
jrolfs__ has joined #nixos
xy2_ has quit [Ping timeout: 264 seconds]
reinzelmann has joined #nixos
seville has quit [Client Quit]
zybell has quit [Ping timeout: 240 seconds]
<halfbit> so there's no yum package that I saw, but it looks like I need it to setup a nspawn container of centos
<halfbit> or am I missing an easier way?
drakonis has joined #nixos
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39820 → spotify: 1.0.77.338.g758ebd78-41 -> 1.0.79.223.g92622cc2-21 → https://git.io/vpEoA
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpE6N
<{^_^}> → 6cd06ae0 by @flokli: spotify: 1.0.77.338.g758ebd78-41 -> 1.0.79.223.g92622cc2-21
<{^_^}> → 84d11bd1 by @matthewbauer: Merge pull request #39820 from flokli/spotify-1.0.77.338.g758ebd78-41-master
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to release-18.03: https://git.io/vpE6A
<{^_^}> → 31f7f319 by @flokli: spotify: 1.0.77.338.g758ebd78-41 -> 1.0.79.223.g92622cc2-21
<{^_^}> → c56ebaba by @matthewbauer: Merge pull request #39821 from flokli/spotify-1.0.77.338.g758ebd78-41-release-18.03
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39821 → Backport #39820: spotify: 1.0.77.338.g758ebd78-41 -> 1.0.79.223.g92622cc2-21 → https://git.io/vpEK3
freeman42x[nix] has joined #nixos
reinzelmann has quit [Quit: Leaving]
coot has quit [Quit: coot]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/793f74a3d6d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39428 → libfm-extra: 1.2.5 -> 1.3.0 → https://git.io/vpZMm
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpEiS
<{^_^}> → e05099fd by R. RyanTM: libfm-extra: 1.2.5 -> 1.3.0
<{^_^}> → b9f669e5 by @matthewbauer: Merge pull request #39428 from r-ryantm/auto-update/libfm-extra
bjornfor[m] has joined #nixos
freeman42x]NixOS has joined #nixos
cristian2 has joined #nixos
anderslundstedt has quit [Quit: leaving]
coot has joined #nixos
jrolfs__ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @edef1c opened pull request #39822 → nixos doc: mananager -> manager → https://git.io/vpEPy
jrolfs__ has joined #nixos
Zgrokl has joined #nixos
<Zgrokl> hey how can i see my loadkeys keymap ?
<Zgrokl> i can't even install nix
anderslundstedt has joined #nixos
Guest34963 has quit [Quit: ZNC - http://znc.in]
knupfer has quit [Remote host closed the connection]
papika1 has joined #nixos
<Zgrokl> pls help
papika1 has quit [Client Quit]
papika has joined #nixos
<lejonet> What OS you trying to install nix on?
<nschoe> clever, I finally found the problem: in here https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/gstreamer/base/default.nix 'libopus' is missing from the dependecies and from hte 'buildInputs'. I just added it, re-compiled and now `gst-inspect-1.0 opus` finds it. Should I create an issue with the solution?
zybell has joined #nixos
anderslundstedt has quit [Quit: leaving]
anderslundstedt has joined #nixos
coot has quit [Quit: coot]
<Zgrokl> lejonet, i just want my keyboard to be able to modify the nix install script
<Zgrokl> i can't add my ip
<Zgrokl> loadkeys ch doesn't work
<Zgrokl> i need to be able to [{}]
<lejonet> Zgrokl: you trying to install nixos?
<Zgrokl> lejonet, yes
<tilpner> If you have the graphical ISO, you want setxkbmap
<Zgrokl> only terminal
<lejonet> Zgrokl: the annoying part is that the names you use with loadkeys usually differ greatly from what you'd use with setxkbmap, so you'll have to find the more exact name for your layout
<Zgrokl> lejonet, how ? is there a list
<lejonet> i.e. to set swedish keyboard in X, I'd just do setxkbmap sv, but for console I need loadkeys sv-latin1
ixxie has joined #nixos
<lejonet> Zgrokl: hmm, traditionally its in /usr/share/keymaps, but in nixos its somewhere in /nix/store
<lejonet> most likely you'll find what you need at /nix/store/<hash>-kbd-env/share/keymaps
bjornfor[m] has left #nixos ["User left"]
<lejonet> (where <hash> is unique, find /nix/store -name '*-kbd-env*' should help you identify the path)
<lejonet> I can't find anything that seems to be related to a 'ch' keymap on one of my systems, what keyboard layout is that?
<Zgrokl> Switzerland
<Zgrokl> i gave up sorry
<tilpner> Try de_CH-latin1
<lejonet> thought so, hmm, there should be one for it
<tilpner> Or fr_CH / fr_CH-latin1
robstr has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @zimbatm opened pull request #39823 → fetchs3: allow to name the derivation output → https://git.io/vpEM8
<lejonet> oh right, swiss-german... didn't even think about looking for that
test has joined #nixos
test is now known as Guest75988
<flokli> nschoe: I'd say, file a PR adding libopus ;-)
orivej has joined #nixos
<nschoe> flokli, okay, was not too sure about what the policy was. Thanks, will do this.
<zybell> lejonet:on the commandline you can simply set the hash to * and use a command like echo if there is only one you can replace echo with the command you really want to run.
<lejonet> zybell: very true, I was just trying to be generic in the case he finds more than one (like I did on my system)
<flokli> nschoe: thanks :-)
<nschoe> flokli, you don't happen to be knowledgeable in gstreamer by chance? ^^ Because now that I fixed the problem for opus, I have the same problem for 'nice' -_-
sie has joined #nixos
sie is now known as Guest92000
<flokli> nschoe: um, not really. I'd peek at configure output to find out what else got disabled, and cross-check with other distros build recipies
sebastianWth has joined #nixos
Guest75988 has quit [Ping timeout: 260 seconds]
<sebastianWth> Hello.
<nschoe> flokli, erf okay. How can I "peek at configure output"
<flokli> nschoe: I'd expect opus to have been disabled, as libopus wasn't found during configure phase. You should have seen something about that while building it
<nschoe> flokli, okay but there is no easy or nix-ish way of capturing the output, right? It's plain buffer redirect and grepping?
doyougnu1 has quit [Ping timeout: 256 seconds]
<Zgrokl> is nix main channel is considered stable ? or are there stable channel for server ?
<flokli> nschoe: you can use `nix-store --read-log $drv` too
jperras has joined #nixos
<lejonet> Zgrokl: there is "-small" channels that iirc is targeted at headless/server systems, i.e. 18.03-small
<lejonet> but named releases (17.09, 18.03 etc) iirc are considered the "stable channels" and then there is nixos-unstable/nixos-unstable-small for the unstable channels
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/793f74a3d6d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<lejonet> (when you talk about the devil ^)
<{^_^}> [nixpkgs] @nschoe opened pull request #39824 → Add libopus as dependency for the gstreamer base plugins → https://git.io/vpEDV
<nschoe> flokli, ah, thanks!
<Zgrokl> lejonet, docs say : "-small are identical to large channels, but contain fewer binaries. This means they update faster, but require more to be built from source."
maingo has joined #nixos
<lejonet> Zgrokl: that its for headless/servers is what I've been recommended, dunno if that is the "official" label tho
AluisioASG has quit [Ping timeout: 255 seconds]
norfumpit has quit [Ping timeout: 256 seconds]
swflint has quit [Ping timeout: 256 seconds]
<ixxie> Say I am writing some python scripts to collect statistics or do a simulation; now I wanna write up a default.nix for these scripts, and the results of the computation will be saved in the store
<ixxie> are there any tips / workflows / patterns I could leverage to suit this usecase?
swflint has joined #nixos
AluisioASG has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
norfumpit has joined #nixos
<ixxie> in principle one could use Nix to version the resulting data sets, and of course improve reproducibility by pinning
<halfbit> why did nix choose to put the hash as the first part of the directory name anyways
<halfbit> in nix store
<ixxie> halfbit: if I had to guess it improves the speed by which you can query it?
jbetz_ is now known as jbetz
<halfbit> I guess if the only thing you care about is finding stuff by hash id
<ixxie> halfbit: I didn't mean a user
<ixxie> I meant any other program that needs to query the store
<ixxie> which I imagine a bunch of stuff in the Nix ecosystem does
<lassulus> https://nixos.wiki/wiki/FAQ#Why_.3Chash.3E-.3Cname.3E_instead_of_.3Cname.3E-.3Chash.3E.3F
<{^_^}> [nixpkgs] @tobimpub opened pull request #39825 → cquery: 2018-03-31 -> 2018-05-01 → https://git.io/vpEyb
<{^_^}> [nixpkgs] @seese opened pull request #39826 → buildbot: disable tests because of TimeoutErrors → https://git.io/vpEyp
<Judson> Okay, so... In Nix 2.0, can nix-shell no longer create GC roots?
<Judson> Or am I doing it wrong?
<Judson> nix-shell --indirect --add-root ~/.nix-roots/proj ?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39790 → GNUs on Darwin → https://git.io/vp0ac
<{^_^}> [nixpkgs] @matthewbauer pushed 12 commits to master: https://git.io/vpES0
<{^_^}> → 8838533e by @matthewbauer: dejagnu: supports darwin
<{^_^}> → 85e1f22b by @matthewbauer: inetutils: cleanup
<{^_^}> → e1bc2fbf by @matthewbauer: moe: supports darwin
<{^_^}> [nixpkgs] @xeji merged pull request #39729 → utf8proc: 2.1.0 -> 2.1.1 → https://git.io/vpRPr
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpESK
<{^_^}> → 92f00a58 by R. RyanTM: utf8proc: 2.1.0 -> 2.1.1
<{^_^}> → f1a82060 by @xeji: Merge pull request #39729 from r-ryantm/auto-update/utf8proc
dbe_ has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #39827 → kid3: qt5 support → https://git.io/vpE9k
ixxie has quit [Ping timeout: 276 seconds]
<manveru> anyone here got vlc working with chromecast support?
<{^_^}> [nixpkgs] @wchresta opened pull request #39828 → souffle: 1.0.0 -> 1.2.0 → https://git.io/vpEHC
<{^_^}> [nixpkgs] @matthewbauer pushed 10 commits to staging: https://git.io/vpEHW
<{^_^}> → 218d81bc by @matthewbauer: all-packages: move aliases to aliases.nix
<{^_^}> → 2911ece3 by @matthewbauer: aliases: add gccApple
<{^_^}> → 9d7c57af by @matthewbauer: aliases: add check if alias still exists in all-packages.nix
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39686 → all-packages: move aliases to aliases.nix → https://git.io/vpBR8
<manveru> i found a PR for vlc 3.0, but i'm missing the microdns library
<{^_^}> [nixpkgs] @pSub pushed to master « checkstyle: 8.9 -> 8.10 »: https://git.io/vpEH8
<nschoe> Hi again, sorry to bother ; I added a package (gst-plugin-bad in my case) to my buildInputs in my shell.nix, once I'm "in it" with `nix-shell`, how / where can I see the output of the configure step fro this package?
<nschoe> I'm looking for some errors during the configure phase, and I was told it was in configure.ac or confi.log file, but I don't know where to find them. Any help?
<{^_^}> [nixpkgs] @vcunat pushed 11 commits to master: https://git.io/vpEHV
<{^_^}> → 869336d6 by @akru: parity: 1.8.11 -> 1.9.5
<{^_^}> → 1310e23e by @akru: parity-beta: 1.9.4 -> 1.10.0
<{^_^}> → cac10651 by @akru: parity: patch fixes
<{^_^}> [nixpkgs] @pSub merged pull request #39111 → parity: 1.9.5 -> 1.9.7; parity-beta: 1.10.0 -> 1.10.2 → https://git.io/vpkNR
blankhart has quit [Ping timeout: 240 seconds]
blankhart has joined #nixos
<{^_^}> [nixpkgs] @LightDiscord opened pull request #39829 → discord: 0.0.4 -> 0.0.5 → https://git.io/vpEHX
<flokli> nschoe: simply find the name of the derivation you're building, should look something like this: /nix/store/ia3asmc2hslw791rmyi2n99h80wgpf5b-gst-plugins-bad-0.10.23
<flokli> afterwards, nix-store --read-log $thatPath
<flokli> this only works for local builds, though
<flokli> so you can either rebuild locally with "nix-build -A gst-plugins-bad --check", or get logs from hydra.nixos.org
jrolfs__ has quit [Ping timeout: 276 seconds]
<nschoe> flokli, yes I've just rebuilt indeed, and then run your command on ./result
<nschoe> flokli, what's the --check? It is not in the man page
<flokli> nschoe: it always rebuilds, regardless of cache state
<nschoe> ok good to know
<flokli> s/cache state/whether it's already in your nix store/
<nschoe> flokli, so, *everything* that i need is in there? Because the folks at #gstreamer told me the configuer phase output is written to configure.ac / config.log, it has something to do with meson, etc.
<flokli> nschoe: apparently, there's a lot of stuff not being built. from https://hydra.nixos.org/build/73220640/log: schro, zbar, vp8, rtmp, spandsp
<{^_^}> [nixpkgs] @pSub pushed to update-util-linux « util-linux: 2.31.1 -> 2.32 »: https://git.io/vpEQt
<flokli> acm, wininet, dvb, xvid, swfdec, gme, spc, soundtouch, sfsink, … a lot
<nschoe> flokli, how do you know? what is this page/ How do I use it? (thanks for it btw!)
<flokli> just open the link, and search for "These plugins will not be built:"
<flokli> hydra builds nixpkgs
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c56ebaba1b0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<nschoe> flokli, okay I see. So.. somewhere in there I should see webrtc not being built then
hotfuzz_ has joined #nixos
<{^_^}> [nixpkgs] @pSub opened pull request #39830 → util-linux: 2.31.1 -> 2.32 → https://git.io/vpEQw
hotfuzz has quit [Ping timeout: 264 seconds]
MercurialAlchemi has quit [Ping timeout: 260 seconds]
dkibi has quit [Ping timeout: 264 seconds]
jrolfs__ has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c56ebaba1b0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<steveeJ> cstrahan: I'm running the kubernetes test against your PR at the moment. there are uncountable errors within the log lines and I'm not too familiar with kubernetes
<{^_^}> [nixpkgs] @nlewo closed pull request #39716 → dockerTools.buildImageWithNixDb: simplifications → https://git.io/vpRZG
<lejonet> Hmm, doing environment.etc."name".source = /path/to/file; makes "name" into a symlink to /path/to/file right?
<{^_^}> [nixpkgs] @pSub merged pull request #39829 → discord: 0.0.4 -> 0.0.5 → https://git.io/vpEHX
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vpE7D
<{^_^}> → d72b8700 by @LightDiscord: discord: 0.0.4 -> 0.0.5
<{^_^}> → 07b8c39e by @pSub: Merge pull request #39829 from LightDiscord/updates/discord
<nschoe> Well thanks for the nix-store --read-log thing, it helped. But the webrtc plugin is still not found :/
<nschoe> I guess this is still not done
<{^_^}> [nixpkgs] @pSub merged pull request #39822 → nixos doc: mananager -> manager → https://git.io/vpEPy
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vpE7H
<{^_^}> → 1a18feda by @edef1c: nixos doc: mananager -> manager
<{^_^}> → 7203e2c2 by @pSub: Merge pull request #39822 from edef1c/mananager
unkn has quit [Ping timeout: 265 seconds]
<lejonet> oh, it needs it on the buildsystem... :/
cristian2 has quit [Ping timeout: 265 seconds]
jrolfs__ has quit [Ping timeout: 256 seconds]
jrolfs__ has joined #nixos
cristian2 has joined #nixos
jrolfs__ has quit [Ping timeout: 248 seconds]
nur0n0 has joined #nixos
jrolfs__ has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to master « pythonPackages.github3_py: 1.0.2 -> 1.1.0 »: https://git.io/vpE5V
<{^_^}> [nixpkgs] @xeji merged pull request #39827 → kid3: qt5 support → https://git.io/vpE9k
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpE5i
<{^_^}> → f08de6c7 by @AndersonTorres: kid3: qt5 support
<{^_^}> → 3abe395b by @xeji: Merge pull request #39827 from AndersonTorres/upload/kid3-qt5
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vpE51
<{^_^}> → 839842bd by @pSub: Merge pull request #39701 from romildo/upd.uget-integrator
<{^_^}> → a7ce9395 by @romildo: uget-integrator: init at 1.0.0
<{^_^}> [nixpkgs] @pSub merged pull request #39701 → uget-integrator: init at 1.0.0 → https://git.io/vpBoz
goibhniu has quit [Ping timeout: 256 seconds]
jrolfs__ has quit [Ping timeout: 240 seconds]
jrolfs__ has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #39728 → wesnoth-dev: 1.13.13 -> 1.14.0 → https://git.io/vpRPW
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vpEde
<{^_^}> → 99964ff4 by R. RyanTM: wesnoth-dev: 1.13.13 -> 1.14.0
<{^_^}> → 4bcf3d9b by @pSub: Merge pull request #39728 from r-ryantm/auto-update/wesnoth
GiGa has joined #nixos
<GiGa> Hola
<simpson> Hi.
<GiGa> I've just found I was using a beta of GIMP on my pre-NixOS system that was using the XCFv8 file format
<GiGa> that's left my files unopenable
orivej has joined #nixos
<LnL> nix log also works for hydra builds
<LnL> flokli: nschoe: ^
<flokli> LnL: error: build log of derivation '/nix/store/5gygxkn5dff84lrgxw915r477a8x5pdr-gst-plugins-bad-0.10.23' is not available
sanscoeu_ has joined #nixos
dbmikus_ has quit [Read error: Connection reset by peer]
<LnL> and there was a hydra build for that?
dbmikus_ has joined #nixos
jrolfs__ has quit [Ping timeout: 264 seconds]
<LnL> it should stream the logs from s3 if available
<{^_^}> [nixpkgs] @copumpkin merged pull request #39828 → souffle: 1.0.0 -> 1.2.0 → https://git.io/vpEHC
<{^_^}> [nixpkgs] @copumpkin pushed 2 commits to master: https://git.io/vpEdz
<{^_^}> → 0cb39237 by @wchresta: souffle: 1.0.0 -> 1.2.0
<{^_^}> → 9a63471b by @copumpkin: Merge pull request #39828 from wchresta/souffle-1.2
taktoa[c] has quit [Ping timeout: 245 seconds]
<flokli> LnL: can't tell for sure. but that path exists in my local nix store, so it must have been built by something…
coot has joined #nixos
sanscoeur has quit [Ping timeout: 264 seconds]
taktoa[c] has joined #nixos
<LnL> do you see a signature with nix path-info --json?
<flokli> yup, from cache.nixos.org-1
<LnL> weird
<nschoe> LnL, okay thanks for the info. In my case this is not helpful because I changed the default.nix file, so I have to rebuild.
<LnL> I know nix-store -l doesn't look for it, but nix log should
<flokli> LnL: nix log does :-)
<gchristensen> hi friends, would anyone like to try this PR out? https://github.com/NixOS/nixpkgs/pull/39786 check it out? it is a precursor to a biiig ol commit.
zarel has quit [Quit: Leaving]
<nschoe> "nix log" is the nix v2 version of "nix-store --read-log"?
<LnL> yeah, basically
<nschoe> ok
<flokli> nschoe: yeah, i know, I'm just one of those dinosaurs that didn't yet migrate their brain to using 'nix' binary :-D
orivej has quit [Ping timeout: 268 seconds]
<MichaelRaskin> Well, it misses critical functionality
<LnL> same, also the new cli isn't stable yet so it might still change
puckipedia has quit [Quit: *eh*]
jrolfs__ has joined #nixos
<dmj`> which pkg is g++ in
<clever> stdenv.cc.cc
<LnL> gcc or more generally CXX/c++ is in stdenv.cc
<nschoe> flokli, I have tried it, but so far I'm lost: I don't see a way to install from the unstable channel. So I postponed my switch to "nix" too ^^
stephenjudkins has joined #nixos
<nschoe> Is there an updated version of the docs, which explains how to use `nix` instead of `nix-env` and such?
<gchristensen> `nix` doesn't have a nix-env equivalent yet
<GiGa> If my local git fork of Nixpkgs is a long way behind the Nixos one, could someone remind me how to pull in the head version for the original please?
<dmj`> clever: are you sure, on Darwin it’s not at least
<GiGa> I think it'll involve rebase?
_rvl has quit [Quit: ZNC 1.6.5 - http://znc.in]
<simpson> GiGa: If you're just fast-forwarding, you may be able to get away with $(git pull). I don't know your setup though.
<GiGa> simpson: I forked Nixpkgs on github and checked out my fork
<nschoe> gchristensen, wht do you mean? We can so 'nix search' for instance instead of 'nix-env -qA' right?
humanoyd has quit [Quit: WeeChat 2.1]
<gchristensen> sure
<GiGa> simpson: so now I want to update my fork to reflect what's in the main NixOS/nixpkgs
<gchristensen> but `nix-env -i` I guess
<nschoe> gchristensen, ah! os it is not possible to install a package with 'nix' right now?
_rvl has joined #nixos
<simpson> GiGa: $(git pull https://github.com/nixos/nixpkgs master) or such. This channel isn't a good place to learn how to use git, sorry.
<nschoe> we *have to* resort to nix-env -i?
<gchristensen> yea
<nschoe> Okay so I was not stupid or blind, then ^^
<gchristensen> "[`Nix`]...is EXPERIMENTAL and subject to change."
<GiGa> simpson: OK, noted,
<gchristensen> -- `nix --help` -- it doesn't have thee full feature set yet
<GiGa> I think that's all I needed anyway
<LnL> dmj`: darwin uses clang by default, why do you need gcc?
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<gleber_> I am trying to create a derivation which needs to impurely take authentication details from outside (the builder used in that derivation needs to do a bunch of magic around it). Using `impureEnvVars` and/or `builtins.getEnv` does not work. With or without `NIX_REMOTE` set. Any ideas where should I look next?
<clever> dmj`: did you try gcc?
<clever> dmj`: pkgs.gcc contains g++
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jrolfs__ has quit [Ping timeout: 240 seconds]
nur0n0 has joined #nixos
* dmj` trying
jrolfs__ has joined #nixos
<gleber_> Curious... Using just `builtins.getEnv` without `impureEnvVars` makes it work o_0
<clever> gleber_: builtins.getEnv is still "pure"
<LnL> getEnv is evaluation time, impureEnvVars is build time
<clever> gleber_: the value it gets is put into the .drv file, and when the value changes, it triggers a rebuild
<LnL> those don't really have anything to do with eachother
<clever> gleber_: builtins.getEnv also saves the auth details into /nix/store as world-readable files
jacob_ has quit [Quit: Lost terminal]
<gleber_> clever LnL: When I was doing `FOO = getEnv "FOO"; impureEnvVars = ["FOO"];` the builder wouldn't see these
<nschoe> Did anybody have some issue with libsoup, it outputs "< HTTP/1.1 6 TLS/SSL support not available; install glib-networking" when I try to use a secure websocket connection.
<gleber_> Yeah, now they got into the store
<gleber_> clever: LnL: now I need to figure out how to make impureEnvVars work so they do not get into the store
<clever> gleber_: but if you instead only do impureEnvVars = ["FOO"]; on a fixed-output derivation, and set FOO at build time, it should get in
<gleber_> clever: I believe I tried exactly that and it doesn't work :(
<LnL> gleber_: impureEnvVars never gets in the store, builtins.getEnv does
<clever> gleber_: it will silently ignore the vars if its not a fixed-output derivation
Ariakenom has quit [Quit: Leaving]
alexteve_ has joined #nixos
<LnL> gleber_: 1. needs to be fixed output 2. you need to set the variable on the daemon process
nuncanada has joined #nixos
goibhniu has joined #nixos
<clever> ah, i wasnt sure about point 2, that can be an issue
<{^_^}> [nixpkgs] @Mic92 merged pull request #39825 → cquery: 2018-03-31 -> 2018-05-01 → https://git.io/vpEyb
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vpENP
<{^_^}> → 5fb82670 by Tobias Mayer: cquery: 2018-03-31 -> 2018-05-01
<{^_^}> → 5a990f56 by @Mic92: Merge pull request #39825 from tobimpub/cquery-update
<gleber_> LnL: should setting `NIX_REMOTE=''` disable use of a deamon for a given `nix-build` invocation? I seem to have tried that but it seem to have not worked :(
<clever> gleber_: if you lack write access to the store, nix1 will fail, and nix2 will auto-detect and switch to the daemon
<LnL> not if you don't have permissions, try NIX_REMOTE=local
<gleber_> LnL: should setting `NIX_REMOTE=''` disable use of a deamon for a given `nix-build` invocation? I seem to have tried that but it seem to have not worked :(
<gleber_> oops
<gleber_> `error: opening lock file '/nix/var/nix/db/big-lock': Permission denied`
<clever> gleber_: you lack permission to do builds
<clever> so you need the daemon to do the work on your behalf
<clever> gleber_: what are these auth details going to be used for?
<clever> git?, http basic auth?
<gleber_> damn... This is getting crazy hard :( My goal is to download Factorio mods from the official server, which happen to require authentication to do downloads
<LnL> yeah and NIX_REMOTE= means auto, that will try to do the right thing depending on the permissions
<gleber_> I need the mods to set up a NixOS-defined Factorio server
<rszibele[m]> error: attribute 'ini' missing, at /etc/nixos/configuration.nix:65:42
<Ralith> anyone have missing icons in their qt theme?
<clever> gleber_: i think you can upload a single-player map to the server, and it will inherit all the mods
<clever> gleber_: but fully declarative would be nicer
<gleber_> exactly
Guest97517 has joined #nixos
<clever> gleber_: i think your only remaining option is builtins.exec
<gleber_> clever: That's not documented, right?
<LnL> fetchurl also has netrc support, if that helps
<Guest97517> Quick one; is there a nixos package for libcuda ?
Synthetica has joined #nixos
<gleber_> LnL: unfortunately not, since mods.factorio.com requires to go through a form-based auth step
<clever> gleber_: when enabled, builtins.exec can execute a program, and then nix will parse the stdout of said program as nix, and import the result
<clever> gleber_: so you can do mod_paths = builtins.exec [ downloader arg1 arg2 arg3 ]; i believe
<clever> and then it will build and run downloader, outside the sandbox
<gleber_> oh, so the downloader won't be stored in the store?
<clever> and downloader must then print out a chunk of nix, which exec will import
<clever> downloader will be stored in the store
<clever> but it is free to read things outside the sandbox
<clever> like your current env vars and your $HOME dir
<gleber_> clever: ah!
joehh has joined #nixos
<clever> nix-build --allow-unsafe-native-code-during-evaluation sill be required
<gleber_> clever: good to know! I will give it a go soon
<gleber_> clever: LnL: I really wish Nix had better story around dealing with secrets
<clever> an issue is open about that
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gleber_> `impureEnvVars` gets us closer, but with the daemon things are tricky
<clever> your downloader will need to fetch things to /tmp, and run nix-store --add-fixed on the files, to import them into the store
<clever> and then return the storepaths
<clever> in theory, nix-build could forward its env vars to the daemon, and make it more transparent
puckipedia has joined #nixos
<gleber_> clever: I was thinking about the forwarding too
<clever> and it has to be a new hashmap and not just setting environ and reusing getEnv
<drakonis> gleber_, ah yes, owning the game to download mods
<clever> otherwise, the env vars in the nix-daemon could lead to priv escalation
<drakonis> the most entertaining of sports
papika has quit [Quit: The Lounge - https://thelounge.chat]
<clever> drakonis: the current factorio derivation involves putting your name&pw into your packageOverrides, and leaking it into /nix/store/
nschoe has quit [Quit: Program. Terminated.]
MP2E has joined #nixos
<drakonis> factorio doesn't store it at home does it?
<clever> not sure what the game itself does with it at runtime
<gleber_> clever and folks, thanks for ideas and help! I am off for today
s33se has quit [Quit: s33se]
<clever> gleber_: updated the gist, you can see it ran as my user
isidore has joined #nixos
Lisanna has quit [Quit: Lisanna]
sanscoeu_ has quit [Remote host closed the connection]
kreisys has quit [Read error: Connection reset by peer]
sanscoeur has joined #nixos
Guest97517 has left #nixos ["Leaving"]
GiGa has quit [Quit: Leaving]
<gleber_> clever: nice! Will it be ran as myself (not as a deamon) when the unsafe flag is used?
<clever> it always runs as the user doing the nix eval, never the daemon
<gleber_> Right
<{^_^}> [nixpkgs] @thoughtpolice pushed 3 commits to master: https://git.io/vpEpD
<{^_^}> → ed5cbbbc by @thoughtpolice: foundationdb: install the java client library
<{^_^}> → 55eec811 by @thoughtpolice: nixos: add TLS support to FoundationDB module, and tweak setup a bit
<{^_^}> → 5a24d99f by @thoughtpolice: foundationdb: split into multiple, major-versioned packages to make upgrades user-controllable
<clever> and its safe in a multi-user context, since it runs as your own user, the nix it spits out is evaluated, and then its pure and the daemon doesnt care or know
<gleber_> At work we have a nixops deployment, where some secret files are necessary. I wonder if this mechanism can make the whole ordeal cleaner.
<elvishjerricco> Is there a significant difference between autossh and just an ordinary systemd service that launches SSH and always restarts?
<clever> gleber_: runtime or buildtime secrets?
<rycee> ixxie: Yeah, #9250 does seem a bit stalled. It really needs thorough reviewing and I've been meaning to do so but time is short :-( It would have been great for other's to also put a bit of time into it, though.
drakonis has quit [Read error: Connection reset by peer]
<gleber_> clever: both IIRC, need to refresh it in my head
boxofrox has joined #nixos
drakonis has joined #nixos
daveo has quit [Ping timeout: 248 seconds]
<boxofrox> Anyone having trouble running apache in 18.03? The prestart script is failing on "user root.<mygroup> not found" when it tries to run `chown root.${mainCfg.group} {$mainCfg.stateDir}`. I'm pretty sure that period should be a colon for proper chown syntax.
<{^_^}> [nixpkgs] @dtzWill merged pull request #39407 → nixos/nix-daemon: optionally (on by default) check nix.conf can be read → https://git.io/vpZGQ
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/vpEha
<{^_^}> → fa1d1eec by @dtzWill: nixos/nix-daemon: optionally (on by default) check nix.conf can be read
<{^_^}> → fdc581d8 by @dtzWill: Merge pull request #39407 from dtzWill/feature/check-nix.conf
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
romildo has joined #nixos
ryantrinkle has quit [Ping timeout: 248 seconds]
<clever> gleber_: build-time would likely use exec, runtime would use nixops key management
<{^_^}> [nixpkgs] @xeji merged pull request #39711 → luafilesystem: 1.6.3 -> 1.7.0 → https://git.io/vpRvx
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpEjL
<{^_^}> → 2fcf50a3 by @sephalon: luafilesystem: 1.6.3 -> 1.7.0
<{^_^}> → af7da1c8 by @xeji: Merge pull request #39711 from sephalon/luafilesystem
olto has quit [Ping timeout: 240 seconds]
stephenjudkins has quit [Remote host closed the connection]
asuryawanshi has quit [Ping timeout: 248 seconds]
hamishmack has joined #nixos
<romildo> I need help making spamassassin work in NixOS unstable. I have enabled spamd on configuration.nix, but the services sa-update and spamd are just failing. Any clues are welcome. Here is the status of them: https://paste.pound-python.org/show/DpduJVbpgTxShHW1TTCh/
colemickens has joined #nixos
<colemickens> Should I still use pypi2nix if I'm trying to package it for nixos/nixpkgs? Or is there a different way I should go?
<colemickens> pypi2nix seems awfully complicated, especially since it bundles its own pip/wheel and brings in its own overlays by default.
<colemickens> (the thing I'm trying to package seems to only be packag-able with wheel 0.31.0 as far as I can guess)
isidore has quit [Quit: WeeChat 2.1]
krey has quit [Ping timeout: 240 seconds]
<nur0n0> colemickens: when I've used pypi2nix (for two packages) it has always 'just worked' fwiw
<colemickens> Yeah, I think this is due to `azure-cli` having some weirdness due to changes in wheel recently. And it looks like they adapted their packages to possibly only work with wheel 0.31.0
xy2_ has quit [Ping timeout: 265 seconds]
dbmikus_ has quit [Ping timeout: 240 seconds]
<colemickens> so I updated my local nixpkgs to use wheel 0.31.0... but pypi2nix bundles its own
<{^_^}> [nixpkgs] @flokli opened pull request #39836 → virtualbox: 5.2.8 -> 5.2.10 → https://git.io/vpueH
<simpson> colemickens: It's totally possible to handwrite Nix expressions for Python packages.
<simpson> And it's probably fine for nixpkgs. It's what I'd do, at least.
ciil has quit [Quit: leaving]
<colemickens> The azure-cli contains dozens of subpackages/deps so I'm hoping to avoid it.
rotaerk has quit [Ping timeout: 245 seconds]
joehh has quit [Ping timeout: 260 seconds]
<pingveno> How do I get mp4's working with Firefox?
ciil has joined #nixos
freeman42x[nix] has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #39836 → virtualbox: 5.2.8 -> 5.2.10 → https://git.io/vpueH
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/vpuvO
<{^_^}> → 92e55921 by @flokli: virtualisation.virtualbox.host: introduce enableExtensionPack
<{^_^}> → d3527d94 by @flokli: virtualisation.virtualbox.host: migrate from mkOption to mkEnableOption
<{^_^}> → 8eb3167e by @flokli: virtualbox: 5.2.8 -> 5.2.10
jperras has quit [Ping timeout: 260 seconds]
thblt has quit [Ping timeout: 248 seconds]
tertle||eltret has joined #nixos
dbmikus__ has joined #nixos
stephenjudkins has joined #nixos
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer closed pull request #39182 → virtualbox: 5.2.8 -> 5.2.10 → https://git.io/vpqu4
<{^_^}> [nixpkgs] @matthewbauer reopened pull request #39182 → virtualbox: 5.2.8 -> 5.2.10 → https://git.io/vpqu4
<{^_^}> [nixpkgs] @matthewbauer closed pull request #39182 → virtualbox: 5.2.8 -> 5.2.10 → https://git.io/vpqu4
coot has quit [Quit: coot]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #39837 → lib/systems: Fix eval for iphone32* examples → https://git.io/vpufe
rotaerk has joined #nixos
emph^ has quit []
dbe_ has quit [Ping timeout: 268 seconds]
lord| has joined #nixos
nhh^ has joined #nixos
<ajmccluskey> I just upgraded to 18.03 from 17.09 and I don't seem to be getting any binary cache hits when I install packages.
<ajmccluskey> Does anyone know why that might be?
nhh^ has quit [Read error: Connection reset by peer]
<ajmccluskey> `nix-env -qaPs firefox` shows all three status flags as `---`
<ajmccluskey> Firefox is still installed from my previous install
Durbley has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
<ajmccluskey> It also might be relevant that I'm installing as my user, with packages specified in `~/nixpkgs/config.nix`
<ajmccluskey> ...and I just realised I have to run off for a couple of hours and should have waited to ask :). if you mention me I'll see your replies when I return.
<{^_^}> [nixpkgs] @xeji merged pull request #39826 → buildbot: disable tests because of TimeoutErrors → https://git.io/vpEyp
<{^_^}> [nixpkgs] @xeji pushed commit from @seese to master « buildbot: disable tests on aarch64 because of TimeoutErrors (#39826) »: https://git.io/vpufp
hiratara has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @puffnfresh opened pull request #39839 → stride: 1.8.18 -> 1.17.82 → https://git.io/vpuJG
<{^_^}> [nixpkgs] @matthewbauer pushed to staging « aliases: remove fftwFloat »: https://git.io/vpuJR
vcunat has quit [Quit: Leaving.]
hiratara has joined #nixos
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
joehh has joined #nixos
Durbley has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @rszibele opened pull request #39841 → unixODBCDrivers.mariadb: fix library file reference required for ODBC → https://git.io/vpuUe
dbmikus__ has quit [Ping timeout: 240 seconds]
smbarte2[m] has left #nixos ["User left"]
AluisioASG has quit [Remote host closed the connection]
AluisioASG has joined #nixos
phreedom has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0c17b752106 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
phreedom has joined #nixos
mt has quit [Quit: mt]
joehh has quit [Ping timeout: 256 seconds]
rotaerk has quit [Ping timeout: 256 seconds]
ben__ has joined #nixos
<ben__> hi all!
<ben__> anybody on?
<simpson> Sure, but that's probably not your actual question.
<samueldr> almost always
<samueldr> and do note that different users have different knowledge, so even though we will read your question we might now know how to help you :)
<ben__> Hi guys!
<ben__> That's fine, I know how it is...
<rszibele[m]> anyone with commit access willing to do a quick review of my pull req (1 line change) before I head off to sleep? https://github.com/NixOS/nixpkgs/pull/39841
c0ffee152 has joined #nixos
goibhniu has quit [Ping timeout: 248 seconds]
<ben__> Anyway, I'm trying to install Nixos as per instructions in the nix manual, but when running nixos-install, i get "writing to file: no space left on device"
ryantrinkle has joined #nixos
<samueldr> a common cause is forgetting to mount the partitions
<ben__> System is Lenovo T440, created two partitions: Ext4 on /dev/sda1 and Swap on /dev/sda2
<samueldr> (so, installing to the live system [in a ramdisk])
rotaerk has joined #nixos
rihards has quit [Quit: rihards]
<ben__> I tried to follow the instructions to the letter. Using minimal installation iso on a flash drive. System is BIOS, not uefi.
colemickens has quit [Ping timeout: 260 seconds]
<samueldr> the partition scheme should work for legacy-boot, have you verified (using `mount`) whether the partition is mounted to /mnt/ as expected?
<ben__> Last line is: "/dev/sda1 on /mnt type ext4 (rw,relatime,data=ordered)"
<Myrl-saki> Errr
<Myrl-saki> Is it possible for `nix-build` to get further than `nix build`?
<Myrl-saki> Because I think that just happened to me.
sigmundv__ has joined #nixos
aarvar has joined #nixos
<ben__> Oh, but df says /dev/sda1 has 0 bytes available. How can that be, I just created that partition, and the only thing i ran was nix-generate-config & the other described install steps.
rotaerk has quit [Ping timeout: 265 seconds]
<samueldr> ben__: `df -h /mnt` the partition isn't full?
<samueldr> ah, just seen you've realized it's full, maybe you swapped around swap and main partition sizes?
hiratara has quit [Quit: ZNC - http://znc.in]
<ben__> Oh! That partition is 220M instead of 220G... *DOH*
hiratara has joined #nixos
<samueldr> that would be short for most distros :)
<samueldr> at least you can start from the beginning without much fuss
<ben__> Indeed
<ben__> Okay, checked with cfdisk, it's the right size there.
<samueldr> did you previously have a 220MB ext4 partition at the start of your disk before?
<samueldr> e.g. a boot partition from another distro
xcmw has joined #nixos
<samueldr> or possibly even an ESP from a UEFI install of $anything
<samueldr> oh, wouldn't be ext4, disregard the ESP thing :)
<ben__> Possibly, can't check that any more. I was running Ubuntu on this machine.
thomassgn has joined #nixos
thomassgn has left #nixos [#nixos]
<ben__> Re-ran "mkfs.ext4 -L nixos /dev/sda1". Looks good now.
<ben__> Still, it's weird. I'm pretty sure I didn't do anything different.
<samueldr> maybe you didn't hit `y` on mkfs.ext4
<samueldr> not sure if something else exits or re-asks
<ben__> maybe
<ben__> Thank you very much for your help, though!
<samueldr> you're welcome
joehh has joined #nixos
<ben__> Okay, re-running nixos-install ... wish me luck! :)
jperras has joined #nixos
<samueldr> no need to, you can do it with willpower alone :)
blankhart has quit [Ping timeout: 264 seconds]
sigmundv__ has quit [Ping timeout: 268 seconds]
rotaerk has joined #nixos
<ben__> I'd rather trust the power of referential transparency instead. After all, that's why I'm here instead of following some guru ;)
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sigmundv__ has joined #nixos
<ben__> nixos-install finished successfully. On to the reboot.
alexteve_ has quit [Quit: Textual IRC Client: www.textualapp.com]
jperras has quit [Ping timeout: 240 seconds]
<ben__> Success! Very nice.
romildo has quit [Quit: Leaving]
Durbley has joined #nixos
<Durbley> When I read a description of what Nix does it sounds obvious and non-revolutionary. But, I don't have much experience with regular package managers beyond just installing something I need. What does Nix do that other package managers don't?
jperras has joined #nixos
c0ffee152 has quit [Ping timeout: 268 seconds]
jtojnar has quit [Remote host closed the connection]
spear2 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<Myrl-saki> Durbley: I guess "scripting" is first class in Nix.
spear2 has quit [Remote host closed the connection]
jtojnar has joined #nixos
spear2 has joined #nixos
<Myrl-saki> Durbley: The whole package repository is just one huge set defined in the Nix language.
goibhniu has joined #nixos
<MichaelRaskin> The real question is what Nix doesn't do. It doesn't allow to change a previously installed file in place.
alexteves has quit [Ping timeout: 240 seconds]
<Durbley> okay, I'll phrase it another way. when I read what nix is supposed to do it just seems to me to be the definition of what a package manager is. "reproducible builds", for example. what about other package managers isn't reproducible? why?
<MichaelRaskin> There is path-dependence, because when you change package-managed files in-place, the order of changes matters
halfbit has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #39837 → lib/systems: Fix eval for iphone32* examples → https://git.io/vpufe
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vputh
<{^_^}> → db4f96b3 by @Ericson2314: lib/systems: Fix eval for iphone32* examples
<{^_^}> → 5b8c550a by @Ericson2314: Merge pull request #39837 from obsidiansystems/ios-examples
sigmundv__ has quit [Ping timeout: 240 seconds]
Durbley has quit [Read error: Connection reset by peer]
jperras has quit [Ping timeout: 264 seconds]
xcmw has joined #nixos
jason has joined #nixos
simukis has quit [Ping timeout: 264 seconds]
jason is now known as Guest69677
Synthetica has quit [Quit: Connection closed for inactivity]
<elvishjerricco> Anyone here using autossh? Since updating to 18.03, it gets killed whenever my network disconnects rather than retrying until it's able to connect.
blankhart has joined #nixos
erasmas has quit [Quit: leaving]
joehh has quit [Ping timeout: 248 seconds]
sebastianWth has quit [Quit: Leaving...]
<Guest69677> nick jason
<Guest69677> Whoops!
Guest69677 is now known as stumble
Durbley has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #39786 → nixpkgs doc: add format Make target → https://git.io/vp0zW
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/vpuYb
<{^_^}> → ab1648bf by @grahamc: nixpkgs doc: add format Make target
<{^_^}> → 374a3bdf by @grahamc: nixos docs: makefile for formatting
<{^_^}> → 4f5a995b by @grahamc: Merge pull request #39786 from grahamc/format-nixpkgs-docs-target
<{^_^}> [nixpkgs] @peterhoeg pushed to master « syncthing: 0.14.46 -> 0.14.47 »: https://git.io/vpuYx
c0ffee152 has joined #nixos
<{^_^}> [nixpkgs] @grahamc pushed to master « nixos docs: fixup »: https://git.io/vpuOm
<{^_^}> [nixpkgs] @grahamc pushed 7 commits to release-18.03: https://git.io/vpuOY
<{^_^}> → 902f5e16 by @grahamc: nixos docs: Move generated XML in to a specific subdirectory to allow easier hacking
<{^_^}> → 65872183 by @grahamc: nixos docs: Add a makefile for hacking on the nixos docs
<{^_^}> → 7fd45e43 by @grahamc: nixos manual: update xi:include for configuruation.nix's options-db
jperras has joined #nixos
<{^_^}> [nixpkgs] @grahamc pushed to master « nixos docs: ignore generated files »: https://git.io/vpuOw
blonkhart has joined #nixos
ericsagnes has quit [Ping timeout: 276 seconds]
tyrus82 has joined #nixos
<gchristensen> y'all ready for this
<gchristensen> *music plays*
<gchristensen> *dtz starts doing the lambda dance*
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/vpu3U
<{^_^}> → 77161de4 by @grahamc: nixpkgs docs: format =)
<{^_^}> → eca5c99b by @grahamc: nixos docs: format =)
jackdk has joined #nixos
Sonarpulse_ has joined #nixos