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
matthewbauer has quit [Ping timeout: 256 seconds]
jperras has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #42576 → make-bootstrap-tools-cross: remove broken i686-musl variant → https://git.io/f4H3q
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/f4Qfj
andymandias has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 4.18-rc1 -> 4.18-rc2 »: https://git.io/f4QJw
andymandias has joined #nixos
Sonarpulse has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko closed pull request #42438 → wireguard: 0.0.20180613 -> 0.0.20180620 → https://git.io/f4SqI
<Myrl-saki> hydraz: Not an answer, but what kind of hardware issues?
<hydraz> bad blocks
<Myrl-saki> Ah. :/
<Myrl-saki> hydraz: FWIW, you can always verify your /nix/store.
<hydraz> I did, that's one of the paths that disappeared but still had valid referrers
<hydraz> interestingly while whatever I did seemed to fix it, --repair didn't
<Myrl-saki> A second pass won't fix it?
<Myrl-saki> Oh lol
<Myrl-saki> hydraz: Well, if it works, it works! Don't question it. :P
ryantrinkle has quit [Ping timeout: 240 seconds]
freeman42x[nix] has quit [Ping timeout: 240 seconds]
dnovosel has joined #nixos
viric has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5a3fdf27d3f (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
ryantrinkle has joined #nixos
worldofpeace has quit [Quit: Konversation terminated!]
phreedom has quit [Remote host closed the connection]
worldofpeace has joined #nixos
phreedom has joined #nixos
Jason_Grossman has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
ericsagnes has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
ryantrinkle has quit [Ping timeout: 240 seconds]
silver has quit [Read error: Connection reset by peer]
andreabe_ has joined #nixos
<{^_^}> [nixpkgs] @colemickens opened pull request #42596 → ksonnet: init at v0.11.0 → https://git.io/f4Qk9
<Lisanna> clever++
<{^_^}> clever's karma got increased to 7
<{^_^}> [nixpkgs] @worldofpeace opened pull request #42597 → typora: don't set XDG_RUNTIME_DIR → https://git.io/f4Qkh
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
kyren has joined #nixos
<Myrl-saki> Uhh
<Myrl-saki> Oh wait, I can just change the release branch.
<Myrl-saki> Android N has 4.1, I guess that should be able to run most Nix programs easily.
<Myrl-saki> (under chroot)
<infinisil> fresheyeball: Around now
smallville7123 has joined #nixos
<infinisil> fresheyeball: There's nixops show-option
smallville7123 has quit [Remote host closed the connection]
smallville7123 has joined #nixos
andreabe_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smallville7123 has quit [Quit: rosa]
andreabe_ has joined #nixos
astsmtl has quit [Ping timeout: 240 seconds]
Jason_Grossman has quit [Ping timeout: 240 seconds]
fragamus has joined #nixos
Drakonis has joined #nixos
markus1189 has joined #nixos
markus1199 has quit [Ping timeout: 245 seconds]
rprije has quit [Ping timeout: 264 seconds]
rprije has joined #nixos
fragamus has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #42399 → xcode: add xcodeVer to system → https://git.io/f4ywq
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/f4QLg
justanotheruser has quit [Quit: WeeChat 2.0]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @IvanMalison opened pull request #42598 → clipit-gtk3: init at 20180725 → https://git.io/f4QLD
Jason_Grossman has joined #nixos
alexteves has quit [Remote host closed the connection]
jbboehr has quit [Remote host closed the connection]
<andreabe_> has anyone used nix for rails app development / deployment?
<Lisanna> is there a pretty way to say that the build of some derivation depends on another, even if it functionally doesn't?
<samueldr> andreabe_: deployment not yet, but developement yes
<samueldr> though, if you have any question, always follow up with a more specific question :)
<Lisanna> if I just want to enforce an ordering between, for example, tests
<andreabe_> samueldr: did you use bundix?
<samueldr> for a non-rails ruby project I did, yes, BUT
<samueldr> I'm not developing using bundix
<samueldr> I nix-shell into an environment with ruby (and bundler), use bundler as usual
<samueldr> then, when preparing for deployment, I use bundix
<andreabe_> my problem is that I have some gems vendored in ./vendor
<Lisanna> worst case I guess I could just add them to the nativeBuildInputs
<andreabe_> and bundix doesn't seem to like it
<samueldr> :/ couldn't really say
<andreabe_> :-/
<samueldr> andreabe_: something like this I presume https://github.com/manveru/bundix/issues/17
<andreabe_> basically I need to understand how to put in gemset.nix a gem vendored locally
<{^_^}> [nixpkgs] @matthewbauer opened pull request #42599 → xcode: add xcodePlatform to system → https://git.io/f4Qtw
<andreabe_> oh crap, I didn't see that :)
<andreabe_> silly me :D
<samueldr> looks like there is a manual fix, at least
newhoggy has quit [Ping timeout: 260 seconds]
<andreabe_> yep, I'm giving it a go thanks samueldr
newhoggy has joined #nixos
<worldofpeace> once again an angel :)
roconnor_ has quit [Ping timeout: 248 seconds]
roconnor_ has joined #nixos
<Myrl-saki> I installed LineageOS, to install Ubuntu(Linux Deploy) to install Nix.
<Myrl-saki> This is so many levels deep lol
roconnor_ has quit [Ping timeout: 256 seconds]
<andreabe_> samueldr: is your top level derivation defined with bundlerEnv?
<waynr> howdy folks, i'm a nix noob and i'm beginning to suspect i have the wrong idea of how nix is intended to work
<andreabe_> samueldr: <3 thanks
<samueldr> I wouldn't call it the best, but it's working and runs here on this channel
<waynr> i am running nix on top of debian rather than full-blown NixOS and so far i've been having a good time just adding ~/nix-profile/bin to my PATH and using the packages i've installed in that way
<waynr> but it doesn't seem to work as well for python packages, particularly pipenv
grantwu has joined #nixos
rprije has quit [Ping timeout: 256 seconds]
<waynr> whenever i try to use pipenv installed using `nix-env -i pipenv`, i get stack traces related to either missing imports or related to erroneous values for variables used to construct binary paths
rprije has joined #nixos
justbeingglad has joined #nixos
<grantwu> Does anyone here use zsh who is willing to help me try to reproduce a bug?
<waynr> is the only way to effectively use python in a setup like mine by using nix-shell?
<worldofpeace> grantwu: Yeah, go ahead
<grantwu> Can you launch "zsh -f" (ignores your current rc files), then set your prompt using this line https://github.com/grantwwu/Dotfiles-homeshick/blob/master/home/.zshrc#L65
<grantwu> Then, type "cd" and immediately hit TAB
<samueldr> waynr: while I don't have experience with the python side of nixpkgs, I'm pretty confident that what you see isn't related to nix on non-nixos vs. nix on nixos
<grantwu> I'm getting a duplicated "cd"; current theory is that it's due to an assumption that every character is a single byte
<grantwu> Someone in #zsh couldn't reproduce
<worldofpeace> grantwu: yeah I can't. I hope me using home-manager for zsh won't affect this at all. It could be your teminal.
<grantwu> worldofpeace: out of curiosity, what version of zsh are you running?
andymandias has quit [Ping timeout: 268 seconds]
<worldofpeace> grantwu: zsh 5.5.1; i'm using konsole as terminal
matthewbauer has joined #nixos
<worldofpeace> grantwu: I works fine in xterm for me also
<samueldr> grantwu: give the full nix store path to your zsh
<samueldr> worldofpeace: `nix-store --realise that full path` would allow you to try it (assuming it's not customized)
<grantwu> samueldr: /home/grantwu/.nix-profile/bin/zsh: symbolic link to /nix/store/c3syc3dvdiz96566gc3d09v89xji4ifi-zsh-5.5.1/bin/zsh
<grantwu> I'm using Nix on Ubuntu
roconnor_ has joined #nixos
<samueldr> so, "cd[tab]" here looks fine
<worldofpeace> home-manager btw; /nix/store/n4wlix6j7yb039nsv4vr85h2wimnsffv-zsh-5.5.1/bin/zsh
<andreabe_> samueldr: bundlerEnv { name = "abcdef"; gemdir = ./.; } still doesn't evaluate for me, "cannot coerce null to a string"
<samueldr> copied the prompt only from your zshrc
justbeingglad has quit [Quit: Leaving.]
andymandias has joined #nixos
<andreabe_> the line that gives the error is `name = attrs.name or "${namePrefix}${gemName}-${version}";` but I am passing a name ...
roconnor_ has quit [Remote host closed the connection]
roconnor_ has joined #nixos
<worldofpeace> grantwu: Your using this build of zsh https://hydra.nixos.org/build/73004909#tabs-details
<samueldr> worldofpeace, grantwu, you both can try (using nix-store --realise) with each other's zsh
<samueldr> though, I'm half expecting reproduction to not work right
<samueldr> grantwu: did you test the same zsh build, but built for ubuntu?
<grantwu> Sorry, the same zsh build but as what?
<grantwu> er, sorry, the which zsh build
<samueldr> from an ubuntu package instead of nix
<samueldr> if it's easy to try
<grantwu> Oh, uh
<samueldr> though I'm not sure why I'm proposing this, other than rejecting blame from nix ;)
<grantwu> Yeah, y'all pinged me when in the middle of writing about it
<grantwu> I tried a 5.5.1 package from Debian Testing; it didn't have this issue
<Myrl-saki> Oh god.
<Myrl-saki> The last glibc is 2.23.
<Myrl-saki> That supports my kernel
<Myrl-saki> And that's 2 years ago.
<samueldr> yay for android and outdated kernels :/
<grantwu> oh right; I should also say that I tried worldofpeace's zsh using nix-store realise, samueldr
<Myrl-saki> samueldr: Ikr. :/
<Myrl-saki> Dammit.
<grantwu> And I also have the issue.
<Myrl-saki> samueldr: Kinda pissed since I used up a lot of time for this.
<samueldr> :/ maybe an interaction with something from ubuntu that gets loaded along the way
<Myrl-saki> samueldr: There was an Ubuntu desktop port for Android devices, but seems like only the Nexus 7 (2012) was properly supported.
<samueldr> don't know if it could be caused by something like terminfo, inputrc or something else
<Myrl-saki> Then Ubuntu Touch.
<samueldr> Myrl-saki: I did investigate "normal linux on android devices"
<samueldr> and most efforts are one-off efforts
<samueldr> well, they were
<samueldr> Myrl-saki: what was your endgoal?
<Myrl-saki> samueldr: Nix.
<Myrl-saki> Not even NixOS. Just Nix.
<samueldr> I mean, on a still-usable day-to-day device or experimental?
<samueldr> and which device?
<Myrl-saki> samueldr: Ah. An emergency laptop replacement.
<Myrl-saki> Samsung Galaxy Tab 2 7.0
<samueldr> oh, emergency
<Myrl-saki> samueldr: Since my laptop's display connector died.
<Myrl-saki> samueldr: Other times, this will mostly be a PDF reader.
<samueldr> yeah, I have nothing to propose hat would be expedient enough
<samueldr> because otherwise, I'm shamelessly plugging this here https://github.com/samueldr/mobile-nixos
<samueldr> almost got it working with cross-compiling
<samueldr> (though it's far from usable)
<Myrl-saki> Your shameless plug is appreciated. :P
<worldofpeace> ^
<Myrl-saki> Though, it's AARCH64.
<Myrl-saki> samueldr: Oh right. My other use for this is an ARMv7 testbench.
<samueldr> :) it already boots stage-1 on AArch64 native-builds
<Myrl-saki> Though, I forgot about that because getting it to even boot anything is already a pain lol.
<samueldr> Myrl-saki: misunderstood you
<samueldr> it's not strictly aarch64
<Myrl-saki> samueldr: Oh good.
<samueldr> once cross-compilation works, I'll be porting to my nexus 7 2013
<samueldr> I don't have any kind of firepower available to natively build armv7l
<samueldr> though with cross I should be fine
<Myrl-saki> samueldr: TBF, there's practically no firepower to natively build to ARMv7. :P
<Myrl-saki> I guess there's the Banana Pi?
<samueldr> that's not firepower, it's bananapower
<samueldr> a raspi 3 would be comparable I guess to the banana pis
<Myrl-saki> I think there was a talk about banana and potassium here a few months or so ago.
<samueldr> a good chunk of AArch64 SBCs are also armv7 compatible
<Myrl-saki> s/talk/conversation/
justbeingglad has joined #nixos
<Myrl-saki> Oh god.
hiroshi- has joined #nixos
<Myrl-saki> If I downgrade to Nixpkgs 16, I wouldn't have overlays, would I?
<vaibhavsagar> Myrl-saki: 17.03 is the first release with overlays IIRC
<samueldr> I don't think so
<Myrl-saki> Well...
justbeingglad has left #nixos [#nixos]
lassulus_ has joined #nixos
<Myrl-saki> I guess I can try a custom Nixpkgs with a horribly outdated glibc.
hiroshi has quit [Ping timeout: 240 seconds]
hiroshi- is now known as hiroshi
<vaibhavsagar> does that have any of the ARM support you want though?
<Myrl-saki> vaibhavsagar: ohgod
<Myrl-saki> vaibhavsagar: Hmm
<Myrl-saki> I know that ARMv7 doesn't have a bincache either way.
roconnor_ has quit [Remote host closed the connection]
<worldofpeace> lol, I really was interested in what you had to say about bananas https://logs.nix.samueldr.com/nixos/2018-04-21#;banana
roconnor_ has joined #nixos
<Myrl-saki> worldofpeace: Lmao
<samueldr> oh, that conversation about bananas, for the record a banana was physically obstructing their webcam at the moment
lassulus has quit [Ping timeout: 256 seconds]
lassulus_ is now known as lassulus
<Myrl-saki> Oh right. I remember now.
<Myrl-saki> It was a RasPi bitflip.
<worldofpeace> lmao
<Myrl-saki> Yep.
<Myrl-saki> A RasPi bitflip went from alpha radiation, to pottasium, to bananas.
<Myrl-saki> Nice.
<worldofpeace> apparently a popular talk here at the #nixos irc https://searx.me/?q=banana%20site%3Abotbot.me/freenode/nixos&categories=general&language=en-US
<Myrl-saki> Glibc. Why. Why would you do this.
<Myrl-saki> * The minimum Linux kernel version that this version of the GNU C Library
<Myrl-saki> can be used with is 3.2, except on i[4567]86 and x86_64, where Linux
<Myrl-saki> kernel version 2.6.32 or later suffices (on architectures that already
sbdchd has quit [Remote host closed the connection]
<Myrl-saki> I guess I can try --enable-kernel?
<worldofpeace> samueldr: just realized that you host the logs for the irc
<Myrl-saki> "--enable-kernel=3.2.0" # can't get below with glibc >= 2.26
<Myrl-saki> Time to blame that.
aarvar has joined #nixos
<Myrl-saki> Oh wait. I guess first thing I'll try is check 2.25.
<samueldr> worldofpeace: that was at a moment botbot.me was almost lost, and I host it for *any* nix-related channel
<samueldr> as small as it is
<Myrl-saki> Oh okay. I haff good news.
<Myrl-saki> Glibc 2.25, Nixpkgs.
<Myrl-saki> "--enable-kernel=2.6.0"
<grantwu> Oh, hrm, using the Debian Testing zsh also fixed the issue with Japanese getting escaped
<samueldr> augh, I'm so close to the goal, I know it, but I don't know how to achieve my result
<samueldr> I need, when cross-compiling, an `ldd` that will work on AArch64 binaries :/
<worldofpeace> readelf?
fresheyeball has quit [Quit: WeeChat 2.0]
fresheyeball has joined #nixos
<grantwu> worldofpeace: are you on NixOS?
<grantwu> It might be a Nix on non-NixOS thing
<fresheyeball> lets say I wanted to add a systemd unit to my build, inline in configuration.nix
<fresheyeball> what do I do
<fresheyeball> ?
<fresheyeball> reading nixpkgs on github is not proving illuminating
rprije has quit [Ping timeout: 276 seconds]
<worldofpeace> grantwu: yeah it most likely is a non-NixOS thing, because that I'm using NixOS
rprije has joined #nixos
<worldofpeace> fresheyeball: I have help for this!
<fresheyeball> worldofpeace: WOO!
<fresheyeball> worldofpeace: how does it look?
<fresheyeball> I want to setup options and all that
<worldofpeace> fresheyeball: https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E
<worldofpeace> fresheyeball: home-manager has a direct translation of systemd service stuff too
<fresheyeball> so...
<fresheyeball> systemd.services.foo = mystuff;
<fresheyeball> and then later in the same Set
<samueldr> fresheyeball: you may need to read systemd's manpages for the keys under the sections
<fresheyeball> services.foo = {myoptions};
<fresheyeball> yes?
<samueldr> as IIRC it's a wildcard, you can put anything in the set that would be fine into a service file
<fresheyeball> samueldr: I got that part from examples in nixpkgs on github
<samueldr> and yes
<grantwu> Does anyone here use zsh through Nix on non-NixOS, that's willing to help me reproduce an issue?
<samueldr> services.your-beautiful-software = {...}; and/or even services = { your-beautiful-software = {...}; };
<fresheyeball> I love you guys
<fresheyeball> nix has been changing my life every day since I switched
<samueldr> hah, nix and nixos always sounds so cultish from the outside :)
<samueldr> see also: the see also section at the bottom
<fresheyeball> nah, I strongly believe in the meta-theory that software engineering should have theory.
<worldofpeace> we all love nix here I think
<grantwu> I also believe that it should have engineering >_>
* grantwu slowly switching away
<fresheyeball> grantwu: haha
<worldofpeace> I remember the day i discovered nix...
<samueldr> oh, just meant that if you copy that line out of context, it sounds like indoctrination propaganda
<worldofpeace> oh my it does
<samueldr> I'm still sad it took me 2 years after dipping a toe in to actually switch :/
<fresheyeball> sure. I have no problem with that. Indoctrination into theory would be great for most programmers.
<worldofpeace> When I discovered it i switched completely that evening :)
<fresheyeball> any of you use GitLab?
roconnor_ has quit [Remote host closed the connection]
roconnor_ has joined #nixos
<worldofpeace> yeah
<grantwu> So my current working theory is that zsh from Nix on non-NixOS is not respecting locales properly, and thinks that I'm on a non-Unicode locale
jmeredith has quit [Quit: Connection closed for inactivity]
<grantwu> Based on an additional symptom of the issue, which is that Japanese text is getting escaped
<worldofpeace> ding(makes sound), bug report
<grantwu> Is that directed at me? It's just a hypothesis; I have no proof
<samueldr> grantwu: try this nix-shell -p pkgs.glibcLocales --run 'export LOCALE_ARCHIVE="${buildInputs}/lib/locale/locale-archive"; exec zsh'
<samueldr> it's a total hack
<worldofpeace> sounds very plausable
<samueldr> buildInputs should only have glibcLocales
<worldofpeace> your hackcellent
<samueldr> I know that for some issues with locales, LOCALE_ARCHIVE is the solution
<samueldr> so, here's a hammer
<samueldr> you problem looks like a nail ;)
<samueldr> now, finger nail or building nail, I don't care :D
<worldofpeace> :D
<samueldr> worldofpeace: readelf looks good, though `ldd` resolves the libraries
<grantwu> samueldr: That seems to work... somewhat
<samueldr> for my issue I need th resolved path
<samueldr> grantwu: somewhat?
<grantwu> Well, it fixes the original issue.
<worldofpeace> samueldr: there's a flag for that, it's actually preferable for your usecase
<fresheyeball> worldofpeace: so I am looking at the jenkins example of a service
<grantwu> It's adding single quotes around each item in ls output that contains Japanese text.
<fresheyeball> it's a lambda that takes config, and lib
<fresheyeball> how does that work?
<mjrosenb> grantwu: that is a feature of ls.
<grantwu> This happens when I run it: "bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)"
<fresheyeball> what is `config`?
<grantwu> mjrosenb: Well, I've never seen it before
<samueldr> I believe it's kinda new
<mjrosenb> grantwu: it puts quotes around things that would otherwise need escaping.
<grantwu> It might be because nix has a newer ls?
<mjrosenb> so that you can just copy it into the terminal, and not worry about word splitting or other fancy stuff.
justbeingglad has joined #nixos
<grantwu> Okay, yes, ls inside nix-shell is coreutils 8.29 vs 8.25
<samueldr> so, grantwu, it may be an issue wrt locale if setting LOCALE_ARCHIVE changes how things behave
<fresheyeball> worldofpeace: where does it config and lib from?
<mjrosenb> grantwu: -Q and --quoting-style are the two arguments to ls that you want to play with.
<grantwu> I am fine with ls doing that
<grantwu> It's not interesting to me, as long as it's not a function of zsh behavior, which is what I'm trying to fix right now
<samueldr> fresheyeball: module files (in <nixpkgs/nixos/modules/>) work like your configuration files
justbeingglad has quit [Remote host closed the connection]
<samueldr> in fact, you could take a file from there, drop it next to configuration.nix and add it to `imports` in configuration.nix
Jason_Grossman has quit [Ping timeout: 255 seconds]
<samueldr> so, `config` and `lib` are the same than in configuration.nix
<worldofpeace> fresheyeball: I was wondering what domain that question belonged to. I was like, jenkins?
<fresheyeball> worldofpeace: I was just reading it as an example of a service
<samueldr> worldofpeace: maybe I'm too boneheaded tonight, how would I make readelf resolve .so file paths?
reinzelmann has joined #nixos
<worldofpeace> fresheyeball: this is worth a read https://nixos.org/nixos/manual/index.html#sec-writing-modules
<grantwu> samueldr: Where do I go from here, now that I know that setting LOCALE_ARCHIVE fixes it?
<samueldr> grantwu: sadly, I don't know
<worldofpeace> samueldr: readelf -d displays the dynamic section of elf.
<samueldr> worldofpeace: yeah, but no resolved paths to the .so files, I thought I missed an option
<samueldr> there's no manpage though
<grantwu> samueldr: Should I open a bug?
<fresheyeball> worldofpeace: how did I not find that already
<fresheyeball> omg
<samueldr> grantwu: probably, with as much details as available
<grantwu> https://github.com/NixOS/nixpkgs/issues/38991 argh what the fuck is this
<worldofpeace> samueldr: you can use lsof if it's running
<worldofpeace> aargh
<grantwu> Looks like Nix on non-NixOS users are second class again
<fresheyeball> worldofpeace: https://lpaste.net/428734699322474496
<fresheyeball> look rightish?
<fresheyeball> I don't think it will work because I am not passing `config` or `lib`
<samueldr> worldofpeace: it's for cross-compiling, no lsof ah, I'll figure it out eventually
<worldofpeace> fresheyeball: ish is the word
<grantwu> Is peti in this channel?
<samueldr> not sure if peti IRCs
<samueldr> ARGH, I thought I was looking at `master`, but I was looking at `18.03` I have a solution probably then
<adisbladis[m]> peti is in #nixos-dev
rprije has quit [Ping timeout: 248 seconds]
rprije has joined #nixos
<fresheyeball> worldofpeace: what can I pass for config, and lib?
matthewbauer has quit [Ping timeout: 264 seconds]
<samueldr> ah, and patchelf seems to be the magic sauce
<fresheyeball> worldofpeace: The option `services.kassir' defined in ... does not exist.
andrewrk has quit [Ping timeout: 240 seconds]
<samueldr> YES, cross-compiled mobile-nixos
andreabe_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<worldofpeace> fresheyeball: yeah I think you should maybe give the doc a good read. did you just discover this now?
<fresheyeball> worldofpeace: the doc? yes. systemd services in nixos? no, but I never wrote my own.
<fresheyeball> I also struggle with that style of learning
<fresheyeball> most of the time if I can get to hello world, I can grow it into a thing
<worldofpeace> yeah it's actually kinda of mean to tell someone 'read the manual' if they're just starting.
<fresheyeball> worldofpeace: the manual is also a document that has misslead me more than a few times.
<fresheyeball> For example, my nixops journey started with a belief that we have a working digital ocean backend.
<fresheyeball> which is far from the case
andrewrk has joined #nixos
<worldofpeace> fresheyeball: Perhaps a really bare bones example would help? one sec.
<fresheyeball> worldofpeace: yes please
<fresheyeball> barest of bones would be best for my learning
<worldofpeace> i hope you're not actually trying to use this btw https://lpaste.net/428734699322474496
<fresheyeball> worldofpeace: I think you sent me back my paste from earlier
<worldofpeace> yeah i know, that won't work.
<fresheyeball> worldofpeace: well that was my actual attempt to get a hello world thing
<fresheyeball> I was trying to be bare bones
<worldofpeace> barer service https://hastebin.com/cunihifawe.vbs
<fresheyeball> ok
<fresheyeball> how does that get consumed?
<worldofpeace> aye https://hastebin.com/irehokugis.vbs borked a character
<worldofpeace> well we've already consumed it because we've ate all the meat off the bones. but if your vegan you opted to starve :)
<worldofpeace> it has to be imported you know.
<fresheyeball> worldofpeace: right
<fresheyeball> I don't understand how to import this
<fresheyeball> because I dont have `config` or `lib` in my hand
<worldofpeace> i hope this helps https://nixos.org/nixos/nix-pills/functions-and-imports.html . nix people need to be less wordy
<fresheyeball> I mean, I get how imports and functions work
<fresheyeball> I dont know how I aquire the arguments
<fresheyeball> if I `import ./myservice.nix`
<fresheyeball> its going to fail because it didn't pass a set no?
jackdk has quit [Ping timeout: 256 seconds]
<worldofpeace> you mean because you didn't declare it false?
<fresheyeball> I need to `import ./myservice.nix { config = config, lib = pkgs.lib }`
<fresheyeball> no?
<fresheyeball> or is `systemd.services.myservice = <<lambda>>`
<fresheyeball> the expected type?
<fresheyeball> I guess it must be
<elvishjerricco> fresheyeball: Usually, people just use `imports = [./myservice.nix];` in their `configuration.nix`, which tells the module system to load that module as well
<elvishjerricco> Oh or maybe you're trying to deal with submodules?
<worldofpeace> they're not
<elvishjerricco> Ok, forget I mentioned submodules :P
<elvishjerricco> Anyway, the `imports` option tells the module system to extend your configuration with another file of exactly the same form as your main configuration file; i.e. it can create and set options.
<elvishjerricco> The `lib` and `config` are passed automatically
<elvishjerricco> `imports` is better than manually `import`-ing and using `//` because the module system has a robust merging system, in case both modules set a nested option in the same top level option, i.e. `foo.bar` and `foo.baz`.
<worldofpeace> wait i get what you want now
<fresheyeball> I mean I set systemd.services.kassir to the import
<fresheyeball> but it still says services.kassir does not exist
karlguy has quit [Remote host closed the connection]
karlguy has joined #nixos
<elvishjerricco> fresheyeball: Yea, `services.xyz` options are not automatically created for any `systemd.services.xyz`. Generally you create the options and use them to control the way you set `systemd.services.xyz`
<fresheyeball> elvishjerricco: now I am totally confused
<worldofpeace> fresheyeball: i have a working example for you coming
<fresheyeball> sweet, expressing myself on this one is hard for some reason
<fresheyeball> wait what
<fresheyeball> that really doesn't make sense to me
<fresheyeball> so if I write a custom systemd service I dont use services.foo but rather use systemd.services.foo?
<fresheyeball> imperative brain reads that hastebin as the service getting redefined by `enable = true`
<fresheyeball> what is going on there?
<worldofpeace> your were trying to make a systemd service right
<fresheyeball> yes
<fresheyeball> I want to use nixops to deploy a thing
<fresheyeball> and it seems like the write way is to make it a systemd service
<fresheyeball> I just expected different I guess
<fresheyeball> since all other systemd things I have seen
<fresheyeball> are like services.foo.enable and not systemd.services.foo.enable
<elvishjerricco> fresheyeball:
<elvishjerricco> Note in the second file how we have to segregate `config` and `options`.
<worldofpeace> what i gave you can just go in the config section of the nixos module
<worldofpeace> `options = { }; ` defines options, and `config = {};` is where all the actual configuration will go.
<elvishjerricco> fresheyeball: Refresh. Fixed some typos :P
<worldofpeace> yeah keep that enable in the configuration.nix
<fresheyeball> elvishjerricco: OK! This I understand
<elvishjerricco> worldofpeace: `systemd.services.foo.enable = true;` I thought they were enabled by default? Hence using mkIf to only create the service if another option is enabled
Rusty1_ has quit [Quit: Konversation terminated!]
<worldofpeace> oh no there's an enable option in systemd.services.
<elvishjerricco> worldofpeace: Right, but I think it's `true` by default, isn't it?
<worldofpeace> it's default to true though
<elvishjerricco> From the description: "If set to false, this unit will be a symlink to /dev/null. This is primarily useful to prevent specific template instances (e.g. serial-getty@ttyS0) from being started."
<elvishjerricco> Huh
<worldofpeace> it would be really confusining if it were default to false though :)
orivej has quit [Ping timeout: 240 seconds]
<elvishjerricco> Lol "Why is my service /dev/null?"
andreabe_ has joined #nixos
<fresheyeball> worldofpeace: how are you using hastebin?
<fresheyeball> do you have the cli tool?
<fresheyeball> ALSO IT'S EVALUATING
MercurialAlchemi has joined #nixos
<fresheyeball> thanks to worldofpeace and elvishjerricco I have been empowered with systemd
<fresheyeball> MUAHAHAHA
<worldofpeace> lolz
<worldofpeace> and hastebin.com
<elvishjerricco> Haha nice
<fresheyeball> worldofpeace: so not cli tool?
<worldofpeace> but it looks really dumb if you don't set the file type. like all the pastes i send you...
<worldofpeace> it has a webeditor
<fresheyeball> the cli functionality looks stupid handy though
<fresheyeball> we should add that to nixpkgs
<fresheyeball> looks like an easy one
<fresheyeball> lol, that how I learned about it!
<worldofpeace> ohh don't trigger my nix itch. i will nix all the things
* infinisil is using `gist`
<worldofpeace> Every nix dev should spend an evening trying to explain nix to someone starting out :P
<worldofpeace> gitlabs snippets are better!
<fresheyeball> worldofpeace: I want to trigger it
<worldofpeace> this has alot of meat on it https://gist.github.com/ElvishJerricco/fedfd0df1e0e7e191013af691fba7876 --> should be more barebones https://hastebin.com/ucicoqequr.json
<worldofpeace> you don't have to learn how to import anything because there is nothing
<elvishjerricco> worldofpeace: Yea, I thought fresheyeball wanted the service configurable with a top level `services.myservice` thing
<elvishjerricco> Made it seem like it was supposed to be a module meant to be imported by others
<fresheyeball> I like what you did there elvishjerricco
kreetx has joined #nixos
Drakonis has quit [Remote host closed the connection]
<elvishjerricco> I kinda don't like systemd philosophically. But man the way we get to configure systems with NixOS because of it is so much better than the old ways I used to do it with Ubuntu and no systemd.
<elvishjerricco> So it's a net win :P
<worldofpeace> just reminise on when you first met nix...
<MichaelRaskin> Well, I liked NixOS with upstart more.
rprije has quit [Ping timeout: 268 seconds]
dnovosel has quit [Ping timeout: 265 seconds]
<worldofpeace> fresheyeball: i have to package haste-client now :P
<fresheyeball> elvishjerricco: what is path = doing in there?
<fresheyeball> worldofpeace: lol
<fresheyeball> worldofpeace: I will use it!
<MichaelRaskin> Like, I actually used mainline NixOS…
<fresheyeball> path = [pkgs.haskellPackages.hserv];
<fresheyeball> why do that?
<fresheyeball> elvishjerricco: why not (cd ${pkgs.valgrind.doc}/share/doc/valgrind/html && ${pkgs.haskellPackages.hserv})
<worldofpeace> MichaelRaskin: mainline?
<MichaelRaskin> Well, I still use some pieces of NixOS code
<MichaelRaskin> (Rather large pieces)
<MichaelRaskin> And I follow most of NixOS file placement conventions
<worldofpeace> fresheyeball: see https://nixos.org/nixos/options.html#systemd.services+path
robstr has joined #nixos
<fresheyeball> I see
<fresheyeball> worldofpeace: ok, so it worked when I manual started the service with systemctl
<elvishjerricco> fresheyeball: Either way is fine. I kinda default to `path` in case I need to do stuff with shell scripts or something
<fresheyeball> elvishjerricco: gotcha
<fresheyeball> I thought it would start when the box starts
<elvishjerricco> fresheyeball: Oh, you probably want `wantedBy = ["multi-user.target"];` Systemd units are not started at boot by default.
<worldofpeace> ^
<elvishjerricco> `systemd.services.myservice.serviceConfig.wantedBy = ["multi-user.target"];`
<elvishjerricco> I think
<elvishjerricco> or maybe there shouldn't be a `serviceConfig` there...
<fresheyeball> omg this is awesome
<worldofpeace> anything that would normally go under '[Service]` in a unit will go there
<fresheyeball> oh wait
<fresheyeball> yeah
<fresheyeball> elvishjerricco: worldofpeace: unreasonably awesome
<fresheyeball> this rocks
<fresheyeball> I get it
<fresheyeball> now I can read the docs and have a hello world
<fresheyeball> path to learning engaged!
<worldofpeace> ahh music to my ears, people should refer back to this
<elvishjerricco> Does `nixos-option` also describe the custom options in your nixos config? If so, fresheyeball you can even see the docs for any imported services not from NixOS using `nixos-option`
<fresheyeball> oh nice!
<worldofpeace> fresheyeball: here's haste-client(i think) for yah https://gist.github.com/worldofpeace/022f2fbd4f34ff49217d2b4f4bb0fe50
Jason_Grossman has joined #nixos
mariatsji has joined #nixos
blonkhart has quit [Quit: WeeChat 1.9.1]
<fresheyeball> night everyone
<{^_^}> [nixpkgs] @fpletz merged pull request #42516 → nvidia-x11: pass kernel.modDirVersion → https://git.io/f4Sr1
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/f4QZV
<worldofpeace> nix is international, so 'good morning' too
<fresheyeball> Good night from me, where it is night, and I need to sleep
<fresheyeball> also, its intertimezonal
<fresheyeball> :P
<worldofpeace> fresheyeball: thank you for being vulnerable enough to ask for help :)
myshoe has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #42491 → hwinfo: 21.53 -> 21.55 → https://git.io/f4SgB
<{^_^}> [nixpkgs] @fpletz pushed commit from R. RyanTM to master « hwinfo: 21.53 -> 21.55 »: https://git.io/f4QZS
<{^_^}> [nixpkgs] @fpletz merged pull request #42482 → mbedtls: 2.10.0 -> 2.11.0 → https://git.io/f4SzO
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « mbedtls: 2.10.0 -> 2.11.0 »: https://git.io/f4QZ7
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @fpletz merged pull request #42479 → neomutt: 20180512 -> 20180622 → https://git.io/f4SuX
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « neomutt: 20180512 -> 20180622 »: https://git.io/f4QZA
<{^_^}> [nixpkgs] @fpletz merged pull request #42443 → syslogng: 3.15.1 -> 3.16.1 → https://git.io/f4SmP
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « syslogng: 3.15.1 -> 3.16.1 »: https://git.io/f4QZj
<{^_^}> [nixpkgs] @fpletz merged pull request #42441 → xmrig-proxy: 2.6.2 -> 2.6.3 → https://git.io/f4Sqg
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « xmrig-proxy: 2.6.2 -> 2.6.3 »: https://git.io/f4Qnf
fresheyeball has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @fpletz merged pull request #42437 → urh: 2.1.0 -> 2.1.1 → https://git.io/f4Sqf
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « urh: 2.1.0 -> 2.1.1 »: https://git.io/f4QnT
jackdk has joined #nixos
andymandias has quit [Ping timeout: 260 seconds]
andymandias has joined #nixos
hyper_ch2 has joined #nixos
hyper_ch2 has quit [Client Quit]
hyper_ch2 has joined #nixos
mariatsj_ has joined #nixos
mariatsji has quit [Remote host closed the connection]
Ariakenom has joined #nixos
Have-Quick has joined #nixos
kreetx has quit [Ping timeout: 240 seconds]
mariatsj_ has quit [Ping timeout: 256 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
derchris_ has joined #nixos
coot has joined #nixos
derchris1 has quit [Read error: Connection reset by peer]
Izorkin_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
hamishmack has joined #nixos
derchris1 has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
derchris_ has quit [Ping timeout: 264 seconds]
<Orbstheorem> Hi, how can I filter a set in nix?
<Orbstheorem> loosly, I'm trying to `map readfile $ tolist filter (path: type: type == "regular") $ readDir "/path..."`
<Orbstheorem> I don't think there's a lib function for that
<clefru> Orbstheorem: filterAttrs?
<gchristensen> Orbstheorem: what do you want to do after that?
<Orbstheorem> put that in my authorized keys configuration
<Orbstheorem> clefru: thanks
cw789 has joined #nixos
mariatsji has joined #nixos
roberth has quit [Ping timeout: 264 seconds]
Izorkin has joined #nixos
<Orbstheorem> This is the line I came up with
<Orbstheorem> `lib.mapAttrsToList (p: _: builtins.readFile ("/tmp/dsa/" + p)) (lib.filterAttrs (path: type: type == "regular") (builtins.readDir "/tmp/dsa"))`
Ariakenom has quit [Quit: Leaving]
sorixelle has joined #nixos
Tobba_ has quit [Remote host closed the connection]
Tobba_ has joined #nixos
cw789 has quit [Quit: cw789]
michiell2 has joined #nixos
<Lisanna> I've finally finished wrangling our hardware simulation platform to run inside a nix-build sandbox, and finished scripting everything up to generate and batch submit testing jobs as nix builds. It's so cool watching this thing go. Nix makes me really happy.
orbekk has quit [Ping timeout: 256 seconds]
<gchristensen> !!! so cool!
<Lisanna> A huge thank you to everyone in this channel who has given me a tremendous amount of help in debugging the various problems I've run into.
<Lisanna> clever++
<{^_^}> clever's karma got increased to 8
<Lisanna> gchristensen++
<{^_^}> gchristensen's karma got increased to 8
<Lisanna> infinisil++
<{^_^}> infinisil's karma got increased to 9
<Lisanna> MichaelRaskin++
<{^_^}> MichaelRaskin's karma got increased to 7
<ldlework> Lisanna: now you gotta do a write up of course
<Lisanna> sphalerite++
<{^_^}> sphalerite's karma got increased to 7
<Lisanna> ldlework I think the first thing I need to do is find the time to upstream as much of my stuff as possible :p
<sphalerit> ❤
civodul has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
testuser_ has joined #nixos
Lisanna has quit [Quit: Lisanna]
realrokka has quit [Ping timeout: 260 seconds]
<worldofpeace> Why does the installer start the graphical env as root? Which is different to what people not familar would expect(a less privileged 'live' user)
mojjo has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #42589 → openmvg: 1.1 -> 1.3 → https://git.io/f4Hpm
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/f4QW6
<{^_^}> [nixpkgs] @fpletz merged pull request #42489 → libpfm: 4.10.0 -> 4.10.1 → https://git.io/f4Sgk
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « libpfm: 4.10.0 -> 4.10.1 (#42489) »: https://git.io/f4QWP
Ariakenom has joined #nixos
<mojjo> hi.. anyon an idea why neither of this lines work in my nixos/xmonad config: `("<XF86AudioMute>", spawn "${pkgs.pulseaudioLight}/bin/pactl set-sink-mute 0 toggle")` .. `.. "${pkgs.alsaUtils}/bin/amixer -D pulse set Master toggle"`
roberth has joined #nixos
jackdk has quit [Ping timeout: 268 seconds]
<Orbstheorem> 20
newhoggy_ has joined #nixos
toby1851 has joined #nixos
philippD has joined #nixos
<adisbladis[m]> worldofpeace: Does it matter?
<adisbladis[m]> It's just install media
Have-Quick has quit [Quit: Have-Quick]
<adisbladis[m]> We could have a passwordless sudo but what difference does it make
mojjo has quit [Ping timeout: 276 seconds]
<worldofpeace> Specifically for a live session, they're programs that cannot be run as root and other things as well.
newhogg__ has joined #nixos
<adisbladis[m]> worldofpeace: Which programs are those? :S
newhoggy has quit [Ping timeout: 276 seconds]
<adisbladis[m]> Huh. Dolphin does not run as root. TIL.
<worldofpeace> File managers, text editors, wayland will never i think. Many other well established programers cannot find a justification for any gui app to be ran as root.
newhoggy_ has quit [Ping timeout: 260 seconds]
rprije has joined #nixos
<worldofpeace> It can be 'a massive, gaping security hole' according to Emmanuele Bassi, a gnome dev.
goibhniu has joined #nixos
<adisbladis[m]> Sure, if used as a desktop system
<adisbladis[m]> If used as install media that's not true
newhogg__ has quit [Ping timeout: 256 seconds]
<worldofpeace> I'm actually only concerned about the graphical installation medias. Anything else is fine.
<adisbladis[m]> worldofpeace: Seems like dolphin has decided to change the behaviour though and allow running as root again
<worldofpeace> adisbladis[m]: Yeah I saw that. But for the sake of new users, I think we should adopt some familiarity, because I think new users will opt for the graphical media much more.
obadz- has joined #nixos
reinzelmann has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @bjornfor pushed commit from @joachifm to release-18.03 « tor-browser-bundle-bin: 7.5.4 -> 7.5.5 »: https://git.io/f4Q8c
obadz has quit [Ping timeout: 265 seconds]
obadz- is now known as obadz
<worldofpeace> It appears that this is being done with the virtualbox appliance. I wonder why this was seen needed for that and not the gui install media.
<adisbladis[m]> worldofpeace: I think it's a good change actually
<worldofpeace> Seems the important this already being done for plasma here https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/profiles/demo.nix . Some logical name changes and it'll be better.
palo has quit [Ping timeout: 268 seconds]
orivej has joined #nixos
<worldofpeace> I don't get why graphical.nix at profiles is being imported to virtualbox and parts of the same config are there too :) Refactoring is needed
asuryawanshi has joined #nixos
palo has joined #nixos
andreabe_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @pmyjavec opened pull request #42605 → Add saml2aws package → https://git.io/f4Q4q
reinzelmann has joined #nixos
justbeingglad has joined #nixos
justbeingglad has quit [Client Quit]
pie_ has joined #nixos
<worldofpeace> yeah everything at nixos/modules/installer/cd-dvd just needs some work :P
<adisbladis[m]> worldofpeace: I'm like 90% done with the change :)
<adisbladis[m]> There is quite a lot of duplication going on in the graphical isos
thc202 has joined #nixos
<worldofpeace> sure is! That didn't look up to production standards :D
<worldofpeace> adisbladis[m]: better give me credit for eating my idea, lol
logzet has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<worldofpeace> adisbladis[m]: while you're at it put some sane gui editors per de, https://github.com/NixOS/nixpkgs/blob/41c05a72a745d1d0ef897a1427157c2f0f4a5b22/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix#L40 <-- Like so not DRY that's around like 3 times
agander has joined #nixos
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
__Sander__ has joined #nixos
lopsided98_ has joined #nixos
lopsided98 has quit [Ping timeout: 276 seconds]
<adisbladis[m]> worldofpeace: Yeah I added a new graphical base file
<adisbladis[m]> Then for KDE I've added kate, for gnome we should probably add gedit
tzemanovic has quit [Remote host closed the connection]
asuryawanshi has quit [Remote host closed the connection]
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
<adisbladis[m]> Maybe it's already included?
<worldofpeace> It is I think for gnome. I've used that media two months ago i think.
<adisbladis[m]> Ahh cool
<adisbladis[m]> Kate is not included with KDE
<worldofpeace> Actually It isn't for either.
<adisbladis[m]> Probably synaptics should go away too
<worldofpeace> Hmm, you can't use both right?
tzemanovic has joined #nixos
<worldofpeace> yeah no synaptics.
<{^_^}> [nixpkgs] @pandaman64 opened pull request #42606 → qiskit: fix build → https://git.io/f4QBg
<adisbladis[m]> worldofpeace: No, and synaptics has been deprecated in nixpkgs for some time
<adisbladis[m]> Libinput is the supported option
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
<{^_^}> [nixpkgs] @aszlig pushed to master « nixos/strongswan-swanctl: Fix build of manual »: https://git.io/f4QBj
orbekk has joined #nixos
cw789 has joined #nixos
<gchristensen> aszlig: hmm building the manual automatically would be nice :/
<adisbladis[m]> worldofpeace: Yeah. I suspect the install media just hasn't had some love in a while :)
<aszlig> gchristensen: mhm, probably every time something in nixos/ was changed
<worldofpeace> almost a decade in some spots
<adisbladis[m]> Well it mostly just works
tzemanovic has quit [Ping timeout: 256 seconds]
asuryawanshi has joined #nixos
<cw789> Dear nix people. Once again my question. I'm building docker images with nix (dockerTools). But my images are ending with too much runtime dependencies (/nix/store) in it. I've found the solution to use patchelf to minimize it a bit, but still don't get to the point where I need to be. Is there any other way to remove runtime dependencies from my final image?
<etu> emacs with nix-mode would be nice to have in the installer... :)
<gchristensen> aszlig: my problem is I'm not comfortable automatically building unreviewed stuff. hmmm!
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/f4QRg
<worldofpeace> that's the thing with nix. it just works then coderot can happen because your having a nice time
<aszlig> gchristensen: maybe we should add an entry to the pull-request template like "Tested building the NixOS manual"
m0rphism has quit [Quit: WeeChat 1.9.1]
<adisbladis[m]> etu: Imho only DE default editors + very lightweight ones belong in the installer
asuryawanshi has quit [Ping timeout: 256 seconds]
<adisbladis[m]> It's super easy to make your own installer anyway :)
<adisbladis[m]> etu: https://ptpb.pw/ynPL
orivej has quit [Ping timeout: 260 seconds]
<gchristensen> aszlig: it is getting a bit long already, I'd rather find a way to feel comfortable automaticlly building stuf :)
<worldofpeace> gchristensen: https://discourse.nixos.org/t/making-the-pull-request-template-more-beginner-friendly-nixpkgs/388 <--- Here's someone's detailed list of issues with it :P
<aszlig> gchristensen: hm, maybe move the "untrusted builds" to another host?
<adisbladis[m]> cw789: Which runtime deps do you want to get rid of and from what?
<gchristensen> aszlig: yeah, or ideally, a VM I can throw away a lot :)
<cw789> adisbladis[m]: I think most of them came from installing node_modules (phyton2 for bcrypt, ...). But the are only needed for building - not in the final image.
periklis has joined #nixos
<adisbladis[m]> cw789: I have some experience with that. I ended up not running patchSheBangs on the full code but only what I link as bin outputs
tzemanovic has joined #nixos
andymandias has quit [Ping timeout: 256 seconds]
viric has joined #nixos
<cw789> adisbladis[m]: That sounds quite useful. I'll try that.
andymandias has joined #nixos
tzemanovic has quit [Ping timeout: 256 seconds]
tzemanovic has joined #nixos
orbekk has quit [Quit: WeeChat 2.0]
kiloreux has joined #nixos
knupfer has joined #nixos
<kiloreux> Nix's Glibc is leaking into my local installation of curl and I get this error "relocation error: /nix/store/s7dw1yngwiskqa2ac1bkc6m9g7740agg-glibc-2.25/lib/libpthread.so.0: symbol __libc_vfork, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference"
wirew0rm has quit [Quit: WeeChat 2.1]
<kiloreux> Any idea how I can stop that from leaking to my ubuntu installation ?
asuryawanshi has joined #nixos
tzemanovic has quit [Ping timeout: 248 seconds]
<kiloreux> anyone ?
<gchristensen> what does `nix-env -q` list?
wirew0rm has joined #nixos
asuryawanshi has quit [Ping timeout: 260 seconds]
tzemanovic has joined #nixos
<kiloreux> That one is behaving even weirder https://pastebin.com/4rPrU0wH
periklis has quit [Read error: Connection reset by peer]
<gchristensen> I'm not sure what has happened, nix-env isn't written in javascript
<gchristensen> it must be something about your shell?
periklis has joined #nixos
<gchristensen> `type nix-env` ?
<kiloreux> nix-env is hashed (/home/ubuntu/.nix-profile/bin/nix-env)
<gchristensen> ;/home/ubuntu/.nix-profile/bin/nix-env
<gchristensen> oops
<gchristensen> try: /home/ubuntu/.nix-profile/bin/nix-env -q
<kiloreux> 'You need to specify an incident key and description, in that order.'
<kiloreux> I get this return
<gchristensen> lol, what :)
<gchristensen> ls -la /home/ubuntu/.nix-profile/bin/nix-env
tzemanovic has quit [Ping timeout: 245 seconds]
<kiloreux> "lrwxrwxrwx 1 ubuntu ubuntu 66 Jan 1 1970 /home/ubuntu/.nix-profile/bin/nix-env -> /nix/store/4ssykr786d0wp7y6m4xd4qwqs4nrry1z-nix-1.11.7/bin/nix-env"
<cocreature> which terminal and shell are you using?
<kiloreux> The bash shell from ubuntu
<cocreature> wtf
<cocreature> I would have expected some electron-terminal that does weird stuff maybe
<cocreature> *electron-based
<gchristensen> what does this output? sha1sum /nix/store/4ssykr786d0wp7y6m4xd4qwqs4nrry1z-nix-1.11.7/bin/nix-env
<kiloreux> 1cc50b7caae864a3426d4b275a7fd0a6d5dd602d /nix/store/4ssykr786d0wp7y6m4xd4qwqs4nrry1z-nix-1.11.7/bin/nix-env
<gchristensen> something seems to be very wrong with your system
tzemanovic has joined #nixos
asuryawanshi has joined #nixos
<aszlig> kiloreux: hm, what does "set" give you?
<kiloreux> aszlig, do you want me to put that on a pastebin ?
<aszlig> can you pastebin that?
<aszlig> yep
<gchristensen> also maybe strace nix-env -q 2>&1 | curl -F 'f:1=<-' ix.io
tzemanovic has quit [Remote host closed the connection]
<gchristensen> aszlig: `set` is nice!
tzemanovic has joined #nixos
philippD has joined #nixos
odel has joined #nixos
<{^_^}> [nixpkgs] @krav closed pull request #42560 → nixos/ceph: ensure services are started, allow osd to access devices → https://git.io/f49rw
asuryawanshi has quit [Ping timeout: 264 seconds]
testuser_ has quit [Remote host closed the connection]
qewzee has quit [Ping timeout: 240 seconds]
<kiloreux> gchristensen, just sent it
<aszlig> kiloreux: okay, that looks fine for nix-env itself, so i'd suspect it's something in your shell
<kiloreux> aszlig, how can I investigate what's wrong ?
<aszlig> kiloreux: as said, the output of "set" would be helpful, as it shows all shell variables
freeman42x]NixOS has joined #nixos
<kiloreux> Ohh
<kiloreux> I pasted secrets there
<kiloreux> now i can't delete them
<kiloreux> :(
<cw789> adisbladis[m]: Hi again. I now have tried to set "dontPatchShebangs = true;" before my builder. But it doesn't change my runtime dependencies. Any other suggestions?
<{^_^}> [nixpkgs] @Mic92 pushed to master « wireguard: 0.0.20180613 -> 0.0.20180625 »: https://git.io/f4QaW
mariatsji has quit [Remote host closed the connection]
<aszlig> kiloreux: you had secrets in your shell environment?
mariatsji has joined #nixos
<kiloreux> Yes
<roberth> cw789: have you tried nix why-depends?
odel has left #nixos ["Leaving"]
mariatsj_ has joined #nixos
mariatsji has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1b3111e4361 (from 83 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mariatsj_ has quit [Ping timeout: 260 seconds]
agander_ has joined #nixos
agander is now known as Guest99264
Guest99264 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
agander_ is now known as agander
klntsky has quit [Ping timeout: 250 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<gchristensen> ^ should fix this so the ')' isn't in the link for bad URL parsers...
klntsky has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d1cd6c432f1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<mgttlinger> What is the purpose of e.g. mvnBuild in https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/release/default.nix is this a new way for writing nix derivations for projects relying on maven? Because searching on github reveals no usages of that.
hotfuzz_ has quit [Ping timeout: 264 seconds]
<joepie91> kiloreux: make sure to rotate any credentials right away
<gchristensen> (I've been working with kiloreux in private to this effect)
<srhb> mgttlinger: It's certainly not new, having been last touched in 2014.
<gchristensen> srhb: haha, I was just `git log`ing it. It has been hardly touched since Thu Mar 11 14:44:17 2010 +0000
<srhb> Indeed.
<mgttlinger> Well then ignorethat "new" part 😂
<gchristensen> mgttlinger: it should probably be deleted :X
<roberth> mgttlinger: it seems to require impure network access
<srhb> I think most jar build systems do that. It's really messy to purify.
<srhb> (looking at you, sbt...)
<srhb> It's a great idea, but in practice you end up resolving a ton of things by hand that sbtix doesn't pick up at first, at least for non-trivial projects.
<gchristensen> yea
<teozkr> yup :(
agander has quit [Ping timeout: 256 seconds]
<srhb> But it's great that it's being worked on. It's a hard project, the java ecosystem is just downright hostile to purity. :)
<gchristensen> teozkr: <3 thank you for doing the good work :)
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
<teozkr> frankly, trying to purify Node stuff at work makes me realize that maybe SBT isn't so bad after all :p
<srhb> teozkr: That sounds really scary. :P
<joepie91> teozkr: hm, what issues are you running into with Node stuff? node-pre-gyp?
__monty__ has joined #nixos
acarrico has quit [Ping timeout: 265 seconds]
<teozkr> joepie91: mostly that yarn2nix isn't very happy about workspaces, and that people aren't patient for yarn to reassemble stuff
<joepie91> ah, no idea about that
cw789 has quit [Ping timeout: 245 seconds]
<teozkr> https://github.com/moretea/yarn2nix/pull/58 brought some initial support, but it's pretty manual at the moment
<{^_^}> [nixpkgs] @xeji merged pull request #42587 → perl-packages.nix: duplicate packages -> aliases → https://git.io/f4Hx2
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/f4Qos
agander has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42591 → perlPackages.PathTools: 3.47 -> 3.74 → https://git.io/f4Hha
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « perlPackages.PathTools: 3.47 -> 3.74 (#42591) »: https://git.io/f4Qog
asuryawanshi has joined #nixos
ericsagnes has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42593 → perlPackages.MHonArc: fix build → https://git.io/f4QeA
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « perlPackages.MHonArc: fix build (#42593) »: https://git.io/f4Qor
<{^_^}> [nixpkgs] @xeji merged pull request #42595 → perlPackages: add meta.broken = true; → https://git.io/f4Qvt
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « perlPackages: add meta.broken = true; (#42595) »: https://git.io/f4Qod
xy2_ has joined #nixos
goibhniu has quit [Ping timeout: 268 seconds]
acarrico has joined #nixos
freeman42]NixOS has joined #nixos
<mupf> Is there any way to limit bandwith when installing packages?
<mupf> I don't want my gf to be angry. )
<mupf> ;)
tzemanovic has quit [Remote host closed the connection]
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
freeman42]NixOS has quit [Ping timeout: 245 seconds]
simukis has joined #nixos
tzemanovic has joined #nixos
jensens has joined #nixos
goibhniu has joined #nixos
tzemanovic has quit [Ping timeout: 248 seconds]
kisik21 has joined #nixos
<srhb> mupf: Maybe use tc before and after.
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
goibhniu has quit [Ping timeout: 264 seconds]
<mupf> srhb: thanks, I will look it up
<steveeJ> I've created a custom python environment which is installed in my PATH. when I run it manually the installed modules work fine. however, when vscode uses is the modules aren't found. any idea what could be wrong?
<srhb> steveeJ: can you get vscode to emit its own environment? Could be it's wrapped with a different pythonpath
kisik21 has quit [Remote host closed the connection]
<steveeJ> srhb: seems like it is *not* the same python interpreter. I can actually verify the issue with the one that vscode uses
kisik21 has joined #nixos
sir_guy_carleton has joined #nixos
Guest1138 is now known as korv
andymandias has quit [Ping timeout: 256 seconds]
<steveeJ> srhb: seems like it doesn't pull in python from PATH but from some dependency
agander has quit [Quit: Leaving]
deepfire` has quit [Ping timeout: 276 seconds]
<steveeJ> srhb: sorry for the fuss :) it had set a previous python interpreter in the workspace settings in vscode
cw789 has joined #nixos
kisik21 has quit [Ping timeout: 245 seconds]
tzemanovic has joined #nixos
<srhb> steveeJ: :)
andymandias has joined #nixos
<cw789> roberth: Wasn't aware of that before, but that was the tool I've needed. Thank you very very much.
ericsagnes has joined #nixos
goibhniu has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41876 → Add git sync → https://git.io/vhwgc
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/f4QXi
deepfire` has joined #nixos
deepfire` has quit [Ping timeout: 260 seconds]
deepfire` has joined #nixos
<__monty__> clever: Toxvpn seems to work flawlessly on two linux boxes : ) I'm not on nixos so I can't install the service module, could you pastebin the resulting service file somewhere, easier than piecing it back together from the derivation?
numerobis has quit [Ping timeout: 256 seconds]
iyzsong has joined #nixos
newhoggy has joined #nixos
sbdchd has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d1cd6c432f1 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
xy2_ has quit [Ping timeout: 256 seconds]
newhoggy has quit [Remote host closed the connection]
newhoggy has joined #nixos
sbdchd has quit [Remote host closed the connection]
tzemanovic has quit [Remote host closed the connection]
periklis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji closed pull request #42418 → xcircuit: 3.9.73 -> 3.10.10 → https://git.io/f4Se3
<{^_^}> [nixpkgs] @uri-canva opened pull request #42609 → bazel: fix darwin → https://git.io/f4QyW
periklis has joined #nixos
reinzelmann has quit [Ping timeout: 255 seconds]
coot has quit [Quit: coot]
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
agander has joined #nixos
hyper_ch2 has quit [Ping timeout: 260 seconds]
kiloreux has quit [Ping timeout: 268 seconds]
reinzelmann has joined #nixos
numerobis has joined #nixos
cw789 has quit [Quit: cw789]
<{^_^}> [nixpkgs] @adisbladis opened pull request #42610 → installer: Don't run graphical installer ISOs as root → https://git.io/f4Q9m
<adisbladis[m]> worldofpeace: https://github.com/NixOS/nixpkgs/pull/42610
tzemanovic has joined #nixos
Mateon3 has joined #nixos
ajs124 has joined #nixos
Mateon1 has quit [Ping timeout: 248 seconds]
Mateon3 is now known as Mateon1
bongsun has joined #nixos
hiratara has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
kiloreux has joined #nixos
Jason_Grossman has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @7c6f434c opened pull request #42611 → clisp-tip: allow build on Darwin → https://git.io/f4QHW
<grantwu> What is the default channel for Nix on non-NixOS?
<cocreature> grantwu: this one :)
<grantwu> ? No, I'm not referring to IRC channel...
<cocreature> oh
<cocreature> nixpkgs-unstable afaik
pie_ has quit [Ping timeout: 255 seconds]
martingale has quit [Quit: Textual IRC Client: www.textualapp.com]
freeman42x]NixOS has joined #nixos
alexteves has joined #nixos
martingale has joined #nixos
<{^_^}> [nixpkgs] @PierreR opened pull request #42612 → configuration-hackage2nix: language-puppet → https://git.io/f4Q7T
orbekk has joined #nixos
mariatsji has joined #nixos
rprije has quit [Ping timeout: 260 seconds]
mariatsji has quit [Remote host closed the connection]
npmccallum has joined #nixos
<MasseR> I have some weird problem with nix on a debian system. Whenever I do 'nix-store --gc' or 'nix-collect-garbage' it will remove everything from all generations
<MasseR> nix-env -q is empty afterwards
<MasseR> I can switch between generations, but they're all empty
mkaito has quit [Read error: Connection reset by peer]
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
<andi-> Anyone reasoably good at writing erlang? I have been trying to fix the hex2nix tool to handle errors (to be specific tls errors) well enough but my erlang is so little :/ (nix-shell -p hex2nix --run hex2nix to reproduce...)
hiratara has quit [Quit: ZNC - http://znc.in]
mkaito has quit [Client Quit]
Florian___ has joined #nixos
toby1851 has quit [Ping timeout: 260 seconds]
<srhb> MasseR: Someone described how this can (easily) happen on the nix issue tracker recently.
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
obadz- has joined #nixos
<MasseR> srhb: There's quite a few of issues, do you have any keywords?
winem_ has joined #nixos
obadz has quit [Ping timeout: 260 seconds]
obadz- is now known as obadz
<MasseR> https://github.com/NixOS/nix/issues/2070 this seems likely
MercurialAlchemi has quit [Ping timeout: 240 seconds]
andreabedini has quit [Ping timeout: 265 seconds]
<srhb> MasseR: I was thinking of this:https://github.com/NixOS/nix/issues/2175 and this: https://github.com/NixOS/nix/pull/2247
<winem_> hi, we do have some customers who are really... paranoid about there firewall rules. is it safe to use 54.217.220.47 as dst IP for the nix installation and the communication with the default nix channel?
<srhb> MasseR: Sorry, my network is very unstable today for some reason...
<MasseR> srhb: 'network' is the theme for me as well, no worry :)
<srhb> winem_: You mean for cache.nixos.org? Presumably amazon could change those at any time. Guess you'll need to check cloudfronts ip ranges if you want to whitelist specifically.
__Sander__ has quit [Ping timeout: 245 seconds]
__Sander__ has joined #nixos
Florian___ has quit [Ping timeout: 260 seconds]
pie_ has joined #nixos
<MasseR> I think I got it fixed
<MasseR> thanks for the hint
FloK_ has joined #nixos
reinzelmann has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Profpatsch closed pull request #42611 → clisp-tip: allow build on Darwin → https://git.io/f4QHW
<FloK_> Hi! Is this the right place to ask when I'm having trouble to install a Haskell package? :)
<Profpatsch> FloK_: Sure
xy2_ has joined #nixos
knupfer has quit [Ping timeout: 276 seconds]
andymandias has quit [Ping timeout: 256 seconds]
<FloK_> Ok, so I'm trying to install diagrams-pandoc via Nix 2.0 on macOS...
orivej has joined #nixos
fendor has joined #nixos
<FloK_> However, it complains about missing dependencies. Full output: https://gist.github.com/FlorianKoegler/b8638e2f3628fbbc4189c8f963a2466b
<pstn> Where can I find the armv6 nixos images? They are mentioned in the wiki, but not linked.
xy2_ has quit [Ping timeout: 240 seconds]
pie_ has quit [Ping timeout: 240 seconds]
<LnL> FloK_: might be version bounds, you could try using haskell.lib.doJailbreak
<FloK_> I should have warned that I might be a noob regarding Nix - where would I have to put this?
Lears has quit [Ping timeout: 260 seconds]
andymandias has joined #nixos
<LnL> an overlay, but you can use nix repl to check if it actually helps first
<LnL> nix repl '<nixpkgs>'
szicari has joined #nixos
blankhart has quit [Ping timeout: 265 seconds]
<winem_> srhb: yes exactly. thank you
<LnL> :b haskell.lib.doJailbreak haskellPackages.diagrams-pandoc
xorkle_ has quit [Quit: ZNC 1.7.0 - https://znc.in]
<pstn> samueldr: Cheers!
<samueldr> the link is in the third paragraph of the main "NixOS on ARM" page
<samueldr> any tips on making it more obvious?
<samueldr> also, I'm curious: for which device?
asuryawanshi has quit [Ping timeout: 240 seconds]
endformationage has joined #nixos
<FloK_> LnL: Ok, so nix repl answers with "«derivation /nix/store/kscs3cycglsjwffhpshl5xkrwgy34qd0-diagrams-pandoc-0.3.drv»" .__.
<LnL> add the :b prefix to build it
<FloK_> oh, sorry.... i thought that was a smiley
<LnL> that's like nix-build but inside the repl
<samueldr> if you're curious, `:help` to see the commands
<FloK_> Interesting. Nix repl is totally new to me....
hotfuzz has joined #nixos
<pstn> samueldr: Me no being sleep deprived could have helped... Maybe put the Link in the Installation section?
<FloK_> Ok, it failed though, with multiple "Variable not in scope: (<>) :: t7 -> InfoMod a10 -> InfoMod Opts" errors - apparently about "<>"s
<samueldr> pstn: not a bad idea
<{^_^}> [nixpkgs] @Hodapp87 opened pull request #42613 → yafaray-core: init at v3.3.0 → https://git.io/f4QAf
<pstn> samueldr: Sleeping? Yep! :-D
obadz- has joined #nixos
tzemanovic has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 240 seconds]
agander has quit [Ping timeout: 276 seconds]
obadz has quit [Ping timeout: 256 seconds]
obadz- is now known as obadz
<FloK_> Could the package be broken in a way?
<LnL> hmm, looks like it won't work with our current version of ghc
<LnL> you could try another version if you know which is supported
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<LnL> don't know what version has base<4.9
<FloK_> Hm, I already suspected this, but only tried newer versions. Maybe I should try older ones....
<{^_^}> [nixpkgs] @xeji merged pull request #42565 → lief: init at 0.9.0 → https://git.io/f49bd
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f4QxO
philippD has joined #nixos
betaboon has joined #nixos
<betaboon> hello #nixos, i have a question regarding nixops+virtualbox: when deploying a virtualbox with several containers and services, sometimes the deployment gets stuck. does anyone experience simliar issues ?
coot has joined #nixos
<rizary> hi all..for who interested in give me some insight here https://discourse.nixos.org/t/understand-how-overlays-feature-used-to-build-haskell-project/396/7 :)
<rizary> very much appreciated.
jmiven has quit [Quit: co'o]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42563 → [staging] [security] perl524: 5.24.3 -> 5.24.4; perl526: 5.26.1 -> 5.26.2 → https://git.io/f49yR
<{^_^}> [nixpkgs] @xeji pushed 3 commits to staging: https://git.io/f4QpH
<rizary> well i have googling it all day, but I'm not sure how to solved it. I'v tried overriding `config`.
jmiven has joined #nixos
szicari has quit [Quit: Leaving.]
<ma27> does anybody know why `pip3 install --user tensorflow` results in "No matching distribution found for tensorflow"
<ma27> I'm quite confused as it works perfectly fine e.g. when building a container with a different package manager
newhoggy has quit [Remote host closed the connection]
szicari has joined #nixos
<hodapp> why are you installing tensorflow via pip3 rather than via what's already in Nixpkgs?
<ma27> hodapp: I work with folks who don't use nix
<goibhniu> does pip find any packages?
<ma27> I observed slight differences between the nixpkgs tensorflow and the one installed in a debian container
<goibhniu> did you try running it in a virtualenv?
<ma27> goibhniu: yes, pillow, numpy pika and some more work perfectly fie
<ma27> fine*
<hodapp> I know Tensorflow's packages are sort of an abomination, but I don't know much else here :|
phdoerfler has joined #nixos
<hodapp> but pip should be giving some reasoning why it can't find it (though you may have to run in verbose mode)
<ma27> goibhniu: virtualenv doesn't help unfortunately
<ma27> hodapp: true, it's not the first time I experience issues with it :D
<ma27> until now it was fine for me to use tensorflow from stable nixpkgs, but after observing different results in comparison to a debian setup (the results on debian and nixos are reproducible though) I have to debug that again^^
<joepie91> so, I'm currently trying to install NixOS on a new server, but bizarrely, while IPv6 is working out of the box, IPv4 seems totally broken
<joepie91> help?
<joepie91> :P
phdoerfler has quit [Read error: Connection reset by peer]
<joepie91> server includes a /29 but the only IPv4 showing up in ifconfig was a 169.x address
simukis has quit [Quit: simukis]
<joepie91> possibly no DHCP server to talk to? but then I wonder why IPv6 *did* work out of the box
<hodapp> weird...
<srk> for ipv6 neighbor discovery might work
<srk> without dhcpv6
* joepie91 has no idea how that works
<joepie91> anyhow, what should be my next step to get it to work? I'm fairly clueless here
<LnL> what happens if you run dhclient manually?
<joepie91> LnL: dhclient doesn't appear to be an existing command at all? in the minimal image
blankhart has joined #nixos
<srk> host will try to locate routers on the link automatically via router solicitation
<LnL> hmm, maybe just not in systemPackages
pie_ has joined #nixos
knupfer has quit [Ping timeout: 265 seconds]
<LnL> joepie91: echo /nix/store/*-dhcp-*/bin/dhclient
<joepie91> LnL: I guess you meant `ls`, rather than `echo`?
<joepie91> echo just echoes it literally
<joepie91> anyway, nothing found
<srk> Mic92: needs some work tho - chmod: cannot access '@SPL_SYMBOLS@': No such file or directory
<joepie91> LnL: what's the package name? IPv6 works so I can see if it can install over that
sorixelle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<srk> echo expands it if it's present
<joepie91> ah
matthewbauer has joined #nixos
<LnL> just dhcp
spear2 has joined #nixos
<joepie91> DNS errors :/
<joepie91> I don't think I even have a DNS server configured
<srk> now if you can just remember one of the well known IPv6 addresses of a DNS server
<joepie91> I still have no idea how to set them in the live CD
<joepie91> :p
<LnL> but this is weird, pretty sure dhcp should be on there
<joepie91> LnL: may be because it's minimal image, not graphical?
<LnL> try 2a02:1800:100::42:1
<joepie91> as the DNS server? how do I configure that in the live CD?
<srk> LnL: systemd has its own dhcp, not sure if that's actually used
<LnL> dunno, you don't need networking with a minimal iso? :p
<srk> echo 'nameserver 2a02:1800:100::42:1' >> /etc/resolv.conf
<joepie91> ah, I assumed that to be immutable
<srk> even if that would be the case you can just re-mount rw in such cases
hyper_ch2 has joined #nixos
<joepie91> still failing to resolve
<joepie91> let me double-check that IPv6 is actually really truly working
<joepie91> yep, I can ping another server of mine
<joepie91> maybe I've typoed the DNS IP...
<joepie91> aha, seems I have :)
alexteves_ has joined #nixos
<LnL> no need to remount, /etc itself isn't immutable just where the symlink is pointing to
<joepie91> still broken, even after fixing the typo
<joepie91> no DNS resolution
FloK_ has left #nixos [#nixos]
Drakonis has joined #nixos
periklis` has joined #nixos
Ariakenom has quit [Ping timeout: 264 seconds]
alexteves has quit [Ping timeout: 256 seconds]
dbmikus_ has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
deepfire` has quit [Ping timeout: 260 seconds]
<joepie91> okay, I'm now at least SSHed in over IPv6 so I can copypaste stuff :P
<joepie91> instead of going through crappy IPMI
periklis has quit [Ping timeout: 240 seconds]
Jason_Grossman has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/f47Jq
<{^_^}> [nixpkgs] @FRidh merged pull request #42606 → qiskit: fix build → https://git.io/f4QBg
Drakonis has quit [Remote host closed the connection]
Drakonis has joined #nixos
frank87_ has quit [Remote host closed the connection]
frank87 has joined #nixos
tzemanovic has joined #nixos
<joepie91> srk: LnL: aha, dhcpcd is available
<joepie91> logs suggest that it ran already, and asked for a lease, and then it suddenly tried to acquire a link-local address
Sonarpulse has joined #nixos
<LnL> isn't that the same package?
<Taneb> I'm trying to nix-copy-closure from a computer running a slightly older version of nix to one that's running a newer version of nix and getting "error: import archive of '/nix/store/blah' lacks a signature"
<joepie91> but there's no indication of a timeout or anything
<Taneb> How can I work around this?
<joepie91> LnL: that package does not contain a dhclient
deepfire` has joined #nixos
<LnL> huh? ls $dhcp/bin # => dhclient dhclient-script dhcpd
tzemanovic has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42551 → ocamlPackages.re: 1.7.1 -> 1.7.3 → https://git.io/f49Ym
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/f47Tl
hyper_ch2 has quit [Quit: Page closed]
<LnL> oh, dhcpcd
<LnL> my bad
<Mic92> srk: @SPL_SYMBOLS@ is usually replaced by autotools
<joepie91> trimmed down version of the dhcp package?
<joepie91> LnL: anyway, if it helps any, I now have SSH access
<joepie91> (over IPv6)
<srk> Mic92: yeah. looks like SPL is now part of the repo and it also says that --with-spl is not recognized
<srk> ah, that's part of the patch, I see
<LnL> joepie91: what's the interface name?
<__monty__>  /lastlog clever
<__monty__> Ups
<joepie91> LnL: I have eno1 and eno2; eno1 is the one used for IPv6 and where the link-local address was assigned, eno2 seems to just... exist
<Mic92> srk: the external spl needs to be disabled then for newer zfs versions.
<srk> yeah, gonna try
<Mic92> can be replaced by null
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
__monty__ has quit [Quit: leaving]
<Mic92> we can probably also remove splLegacyCrypto
<srk> is removing --with-spl enough?
TrentP has quit [Quit: ZNC - http://znc.in]
TrentP has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #42599 → xcode: add xcodePlatform to system → https://git.io/f4Qtw
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/f47kc
TrentP has quit [Client Quit]
igo95862 has joined #nixos
TrentP has joined #nixos
ryantrinkle has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42567 → ocamlPackages.psmt2-frontend: init at 0.1 → https://git.io/f49xC
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f47kb
jperras has quit [Ping timeout: 256 seconds]
sgraf has joined #nixos
jperras has joined #nixos
<joepie91> LnL: so, any ideas on where to go from here? :P
<LnL> I'm not sure if it's an issue with the iso or the dhcp server
<joepie91> how do I find out?
jperras has quit [Quit: WeeChat 2.1]
<joepie91> seems like there might just not be DHCP by design
jperras has joined #nixos
xy2_ has joined #nixos
<{^_^}> [nixpkgs] @ikervagyok opened pull request #42615 → wine: stable 3.0.1 -> 3.0.2, unstable: 3.9 -> 3.11 → https://git.io/f47Lm
earldouglas has joined #nixos
<joepie91> well, static addressing works, so \o/
davidak_ has joined #nixos
<winem_> is it correct that nix always asks the nix channel for the derivation and just downloads the required binaries from the binary cache if I run `nix-env -i clickhouse-1.1.54385 -- option extra-binary-caches ssh://myserver`=
<winem_> ?
Ariakenom has joined #nixos
<clever> winem_: with just -i, it will check the .name of every derivation in every channel, and install the matching packages
<clever> ,-iA
<clever> ,-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<clever> and that
<winem_> clever: is there any way that I do not rely on the nix channel and it just checks the server specified as extra-binary-caches?
<clever> it needs to be given nix expressions that match what was used to build that cache
<winem_> ah, yes, the -A thingy came to my mind a few minutes ago and I put it to my list of stuff to test already :)
<clever> nix-env -f /path/to/nixpkgs -iA hello
rardiol1 has quit [Ping timeout: 248 seconds]
<winem_> ok, this works if I clone the nixpkgs repo but not with just the derivation file because stdenv is not defined. and I would actually like to keep the final solution as close to the public nix channel and nixpkgs as possible
<winem_> the problem is that we might not have access to the nix channels in some customer environments and this is really a pain in the ass :/
<clever> you often want to fetch a specific version of nixpkgs in your own expressions
<clever> import (builtins.fetchTarball https://github.com/nixos/nixpkgs/archive/gitrev.tar.gz) {}
erasmas has joined #nixos
szicari has quit [Quit: Leaving.]
szicari has joined #nixos
<winem_> hmm.. I think I really have to become more familiar with nix than I am at the moment..
<Taneb> So, I've accidentally installed nix 2 here, but some of our internal tools only work with nix 1.*. Is it easy to downgrade?
<winem_> it works fine for our own applications but becomes a bit tricky with the nix-channel now
<Taneb> (not a question I want to be asking...)
<symphorien> how did you install it ?
<winem_> curious if a nix rollback to a previous generation works in this case as well...
<{^_^}> [nixpkgs] @volth reopened pull request #28353 → [staging] perl: 5.24.1 -> 5.26.0 → https://git.io/v7p8i
<symphorien> with a single user install, nix-env -iA nixpkgs.nixStable1 should be enough
<Taneb> symphorien: I followed these instructions:
<Taneb> (it's multiuser)
<joepie91> oof, installing NixOS from a redirected ISO is sloooooow.
<symphorien> then it's the same principle but you have to do it in the profile where the nix-daemon is installed
<symphorien> and then restart the nix-daemon
<winem_> clever: we have one server we use as "nix repository" (it actually just serves the nix store via ssh) for our own applications and I have built clickhouse on this server with the derivation file as served in the nixpkgs repository. is there any other way to "pull" this clickhouse installation than using nix-env -i /nix/store/9r8wwb14rzz8lpk95qhsqs92g7zha996-clickhouse-1.1.54385 ... ? I am really struggling at this point and I am sure that there must be a
<winem_> smart way to do it
<symphorien> winem_: nix copy ?
<winem_> nix-copy-closure?
<{^_^}> [nixpkgs] @volth closed pull request #28353 → [staging] perl: 5.24.x -> 5.26.x → https://git.io/v7p8i
<symphorien> nix copy is a nix 2 command
<symphorien> but nix-copy-closure might also work
<winem_> I just dropped that during the installation of our own applications. but it might help here. I will have a look at it:)
<symphorien> Taneb: how are you tools incompatable with nix 2 ? try with "export NIX_REMOTE=daemon"
<symphorien> this makes a lot of nix 1 apps work
<Taneb> symphorien: package signing, I think
<symphorien> ah ok
<Taneb> "error: attribute 'nixStable1' in selection path 'nixpkgs.nixStable1' not found"
<{^_^}> [nixpkgs] @dtzWill opened pull request #42616 → glibc: remove unused 2.26 patch series → https://git.io/f47Ye
<Taneb> nix1 works though
<Taneb> symphorien: thanks a lot :)
<symphorien> ah I misremembered :)
tbone has joined #nixos
shad has joined #nixos
<Taneb> You remembered enough to help
<winem_> symphorien: nix copy also requires always the full path and does not simply work with clickhouse for example, right? not sure if I miss any option or param
<tbone> having problems with my hydra server, doesn't seem to want to finish evaluating a jobset
periklis` has quit [Ping timeout: 240 seconds]
<tbone> can't see anything wong on the server itself
<tbone> the queue runner is reporting
<tbone> status: {"status":"up","time":1530027781,"uptime":28,"pid":20576,"nrQueuedBuilds":20,"nrUnfinishedSteps":148,"nrRunnableSteps":7,"nrActiveSteps":0,"nrStepsBuilding":0,"nrStepsCopyingTo":0,"nrStepsCopyingFrom":0,"nrStepsWaiting":0,"bytesSent":0,"bytesReceived":0,"nrBuildsRead":20,"buildReadTimeMs":2683,"buildReadTimeAvgMs":134.15,"nrBuildsDone":0,"nrStepsStarted":0,"nrStepsDone":0,"nrRetries":0,"maxNrRetries":0,"nrQueueWakeups":0,"
<tbone> nrDispatcherWakeups":6,"dispatchTimeMs":0,"dispatchTimeAvgMs":0,"nrDbConnections":2,"nrActiveDbUpdates":0,"memoryTokensInUse":0,"nrNotificationsDone":0,"nrNotificationsFailed":0,"nrNotificationsInProgress":0,"nrNotificationsPending":0,"nrNotificationTimeMs":0,"nrNotificationTimeAvgMs":0,"machines":{"localhost":{"enabled":true,"currentJobs":0,"idleSince":0,"nrStepsDone":0,"disabledUntil":0,"lastFailure":0,"consecutiveFailures":0}},"jobsets":
<tbone> {"ccpkgs:ccpkgs-18.03":{"shareUsed":8.26,"seconds":826}},"machineTypes":{"builtin:local":{"runnable":7,"running":0,"waitTime":182,"lastActive":0}},"store":{"narInfoRead":0,"narInfoReadAverted":0,"narInfoMissing":0,"narInfoWrite":0,"narInfoCacheSize":0,"narRead":0,"narReadBytes":0,"narReadCompressedBytes":0,"narWrite":0,"narWriteAverted":0,"narWriteBytes":0,"narWriteCompressedBytes":0,"narWriteCompressionTimeMs":0,"narCompressionSavings":0,"
<tbone> narCompressionSpeed":0}}
<tbone> on a regular basis but not running anything
<symphorien> winem_: to get the drv from a nix file, nix-instantiate file.nix
<symphorien> for example nix-instantiate "<nixpkgs>" -A hello
<winem_> oh, really? this would be awesome!
igo95862 has quit [Quit: igo95862]
<{^_^}> [nixpkgs] @volth reopened pull request #28353 → [staging] perl: 5.24.x -> 5.26.x → https://git.io/v7p8i
<winem_> then I get this one again "cannot auto-call a function that has an argument without a default value ('stdenv')" - is there a smart way to solve it without modifying the default.nix from nixpkgs?
<joepie91> tbone: moment
pie_ has quit [Ping timeout: 256 seconds]
<winem_> I think I might even get the result I want with nix-store --export and --import as well. but would like to follow the current approach first
dbmikus_ has quit [Ping timeout: 256 seconds]
<symphorien> go to the root of your clone, and "nix-instantiate . -A clickhouse"
<symphorien> winem_: nix copy can copy to a file
<symphorien> then you can transfer the file the way you want
<symphorien> and nix copy --from "file:///sdfsdfsd" path
<joepie91> tbone: likely some supportedFeatures are missing
<joepie91> see also the linked issue
__Sander__ has quit [Quit: Konversation terminated!]
<tbone> joepie91: thanks for the heads up, I'll look into that
matthewbauer has quit [Read error: Connection reset by peer]
dbmikus_ has joined #nixos
<tbone> joepie91: sounds like I'm most likely missing the builtin feature on localhost (recently upgraded to nixos 18.03)
asuryawanshi has joined #nixos
dbmikus_ has quit [Client Quit]
matthewbauer has joined #nixos
sgraf has quit [Remote host closed the connection]
dbmikus has joined #nixos
<winem_> symphorien: ok, will try it now
pie_ has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
sgraf has joined #nixos
goibhniu has quit [Ping timeout: 256 seconds]
<tbone> joepie91: it's building again now, thanks you very very much! :)
cobbal has joined #nixos
dbmikus_ has joined #nixos
fendor has joined #nixos
blankhart has quit [Ping timeout: 265 seconds]
dbmikus has quit [Ping timeout: 256 seconds]
<winem_> symphorien: what would the path be? /nix/store/ + filename of the .drv?
<joepie91> tbone: np, good to hear :)
simukis has joined #nixos
<{^_^}> [nixpkgs] @nyanloutre opened pull request #42619 → Python packages.block io: init at 1.1.6 → https://git.io/f47Gh
fendor has quit [Ping timeout: 256 seconds]
<winem_> ah my fault.. ignore the q
roconnor_ has quit [Remote host closed the connection]
roconnor_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42586 → phonon-backend-vlc: use qt5 by default → https://git.io/f4HAR
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/f47ZE
mmercier has joined #nixos
<winem_> holy this will create a 777mb file... that's the moment hwere I know that I do something wrong
ajs124 has left #nixos ["Machine going to sleep"]
<symphorien> winem_: either that or the path shown in the outputs section of "nix show-derivation blah.drv"
<symphorien> nix-store -qR path will show its dependencies
<{^_^}> [nixpkgs] @jfrankenau opened pull request #42620 → tvbrowser-bin: init at 4.0.1 → https://git.io/f47ZX
<symphorien> to know what takes space
<winem_> ok, I think I confuse 2 of your statements above. the nix instantiate thingy is not related to the nix copy --to file... and copying the file to the target and extract it, right?
<symphorien> its just to get the drv filename
<symphorien> (nix-instantiate)
<winem_> ok ok, then I got my mistake. will check what takes the space now
blankhart has joined #nixos
xorkle has joined #nixos
ajs124 has joined #nixos
mmercier has quit [Client Quit]
jperras has quit [Ping timeout: 256 seconds]
<winem_> ok ,boost, binutils and gcc are the real big ones
jperras has joined #nixos
<winem_> so it sounds valid
<symphorien> mmh maybe copying the drv copies the build time dependencies and copying the real path only copies runtime deps
<symphorien> I can't remember
jensens has quit [Ping timeout: 248 seconds]
<winem_> ok, then I will try copying the drv as well
<{^_^}> [nixpkgs] @xeji merged pull request #42616 → glibc: remove unused 2.26 patch series → https://git.io/f47Ye
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/f47nV
szicari has quit [Quit: Leaving.]
iyzsong has quit [Ping timeout: 245 seconds]
jmeredith has joined #nixos
boothead has joined #nixos
<boothead> hi all, i'm having a bit of trouble re-enabling my xserver... I've got lightdm and xmonad, but X is failing to start - not sure what I need to run to get journalctl to give me a clue
<winem_> I get a syntax error when I install from the generated .drv file. and get a warning that I did not specify add-root
orivej has joined #nixos
<winem_> I think this is really the last thing I'll do for today.. need some sleep after 13 hours of work..
<averell> boothead: anything in /var/log/X.0.log ?
<{^_^}> [nixpkgs] @Infinisil opened pull request #42621 → idrisPackages.bi: 2018-01-17 -> 2018-06-25 → https://git.io/f47cW
Drakonis has quit [Remote host closed the connection]
Drakonis has joined #nixos
<boothead> Ah - seems I have an nvidia problem averell... No device detected
<boothead> I only have a terminal log in - so hard to paste
<averell> do you have videoDrivers = [ "nvidia" ]; ?
<averell> in services.xserver.
<boothead> yes that's what I've switched to
<averell> switched? because that might have to load a kernel module, which will have to be binary compatible
<averell> if you mean you didn't reboot in a while maybe
<boothead> averell: the back story here is that i tried to upgrade about 6 weeks ago and completely hosed the whole machine. I've been rebuilding it since then on and off
btbytes has joined #nixos
tzemanovic has joined #nixos
<boothead> I'm currently on generation 28 since I managed to get it booting at all (had to keep jumping back into the set up usb stick)
<boothead> :-)
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
drakonis_ has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<averell> ok, that's cool, and you got there, nobody can take 28 away from you then :) but you'll probably have to reboot now to get a matching running kernel
Drakonis has quit [Ping timeout: 245 seconds]
<boothead> I've been rebooting after almost every one..
drakonis_ has quit [Client Quit]
<averell> one with this nvidia line?
<boothead> Yep
<averell> if you do lsmod|grep nvidia, is there anything?
Drakonis has joined #nixos
<averell> or modprobe nvidia?
<boothead> I get to the log starting the x server and then it stops and I have to switch virtual console
tzemanovic has quit [Ping timeout: 248 seconds]
<boothead> averell: yes several matching module nvidia nvidia_drm nvidia_modset
xy2_ has quit [Read error: No route to host]
<averell> how old is the graphics card? maybe you need a legacy driver?
xy2_ has joined #nixos
<boothead> I'm on an XPS 15.. not sure how old, maybe a year
<{^_^}> [nixpkgs] @Gerschtli opened pull request #42622 → atom-beta: fix build → https://git.io/f47C0
<averell> sounds rather new. can you run nvidia-smi?
<boothead> averell: roughly this setup was what I had before: https://grahamc.com/blog/nixos-on-dell-9560 and it was working fine up until I tried to upgrade to 18.03. I'm not really sure what relevant things have changed
<boothead> yup
<boothead> GeForce GTX 1050 aparently
<boothead> (says Off next to that though)..
cobbal has left #nixos [#nixos]
foldingcookie has quit [Ping timeout: 245 seconds]
<averell> are you using bumblebee? not sure how these dual setups work, but maybe only onboard intel is working?
<averell> try giving videoDrivers "intel" as well
<boothead> intel wouldn't work at all. I just got lots of messages in all my terminals saying stuff about rcu_shed which In ever got to the bottom of
<boothead> Not using bumblebee as far as I know
<averell> you could try nouveau driver (open source, but worse performance), see if that finds anything
<averell> bumblebee will be mentioned in your configuration.nix if you have it probably
<boothead> Ok can give nouveau a try
<boothead> rebuild switch seems to have tried and failed to restart display-manager averell, do I need to reboot?
<averell> would be safest, unless you can see anything definitive in the X log
<boothead> x log looks exactly the same as last time
<boothead> will try a reboot, thanks
realrokka has joined #nixos
hotfuzz_ has joined #nixos
<boothead> Nope that has hosed it again averell - my rcu_sched detected stalls on CPUs/tasks messages are back
<boothead> although when I powered off it seems to be claiming that X was running (I got a stopping X server message in the console)
<averell> does that come with a stacktrace?
<boothead> No not really
<{^_^}> [nixpkgs] @tadfisher opened pull request #42623 → jd-gui: 0.3.5 -> 1.4.0 → https://git.io/f47lC
<averell> maybe something in dmesg?
<boothead> how do I ask journalctl to only show me stuff from the last boot?
hotfuzz has quit [Ping timeout: 260 seconds]
<averell> -b
<{^_^}> [nixpkgs] @Gerschtli opened pull request #42624 → dwm-status: 0.5.1 -> 1.0.0 → https://git.io/f47lz
patrl has joined #nixos
<boothead> nouveau 0000:01:00.0 DRM: Pointer to TMDS table invalid
<boothead> I've found a backtrace in the journal by the looks
<boothead> but I haven't got the first clue what it all means :-)
jb55 has joined #nixos
dhess has joined #nixos
<boothead> something about clocking node structures on CPU 2
<averell> maybe find some rest paste service to upload. but could be the same, that only the intel card is active, so the nouveau driver doesn't work either
<boothead> rcu_node structures I mean
<nyanloutre[m]> hi, I just submitted a pull request with a new Python library (BlockIO API bindings). I had to fix a small bug with a patch, can someone tell me if I did the right choice ?
roconnor_ has quit [Ping timeout: 256 seconds]
<boothead> I get the same type of messages when I have videoDrivers = [ "intel"] as well :-(
winem_ has quit [Remote host closed the connection]
blankhart has quit [Remote host closed the connection]
blankhart has joined #nixos
andymandias has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « libsecurity_generic: fix apple_sdk lookup »: https://git.io/f478A
jensens has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6c0427e8ec9 (from 59 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<tmplt> How would I add another package to the path of a systemd unit? I tried `nixpkgs.config.services.libvirtd.path = [ pkgs.bash ];`, but to no result.
<{^_^}> [nixpkgs] @dtzWill pushed to release-18.03 « editline: init at 1.15.3 »: https://git.io/f478j
Izorkin has quit [Ping timeout: 245 seconds]
andymandias has joined #nixos
ajs124 has left #nixos ["Machine going to sleep"]
numerobis has quit [Ping timeout: 256 seconds]
hotfuzz has joined #nixos
freeman42x[nix] has joined #nixos
Cale has quit [Ping timeout: 255 seconds]
hotfuzz_ has quit [Ping timeout: 256 seconds]
<averell> no result meaning you can't see bash in the PATH in the service file? cause that works for me.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #42609 → bazel: fix darwin → https://git.io/f4QyW
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/f47BB
<averell> wait, config.systemd.services...
<tmplt> averell: that's what I mean. I tried `systemd.services.libvirtd.path = [ pkgs.bash ];` in configuration.nix instead of the previous line in an imported file instead. Now it works.`
matthewbauer has quit [Ping timeout: 264 seconds]
Guanin has joined #nixos
patrl has quit [Ping timeout: 268 seconds]
Rusty1_ has joined #nixos
szicari has joined #nixos
roberth has quit [Ping timeout: 256 seconds]
Cale has joined #nixos
reinzelmann has joined #nixos
<tmplt> I'm confused. `{ systemd.services.libvirtd.path = [ pkgs.bash ]; }` in configuration.nix works, but not in a custom module. What gives?
<clever> tmplt: what error does it fail with?
<tmplt> clever: no error, bash just isn't in the systemd unit path
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
silver has joined #nixos
silver has quit [Max SendQ exceeded]
silver has joined #nixos
npmccallum has quit [Quit: npmccallum]
<tmplt> clever: is it somehow incorrectly set in the module? http://ix.io/1f0Z
<tmplt> This file is added to `imports` in configuration.nix
bollu has quit [Quit: Ping timeout (120 seconds)]
bollu has joined #nixos
Mr_Keyser_Soze has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42538 → agedu: init at 20180522.5b12791 → https://git.io/f4Sjc
<{^_^}> [nixpkgs] @xeji pushed commit from @symphorien to master « agedu: init at 20180522.5b12791 (#42538) »: https://git.io/f470i
matthewbauer has joined #nixos
ihar has joined #nixos
tmaekawa has joined #nixos
__monty__ has joined #nixos
blankhart has quit [Ping timeout: 265 seconds]
tmaekawa has quit [Client Quit]
<{^_^}> [nixpkgs] @jfrankenau opened pull request #42625 → streamlink: 0.13.0 -> 0.14.0 → https://git.io/f47Er
kreetx has joined #nixos
<mupf> Hey guys
<mupf> I get alot of errors like this:
<mupf> install_link /nix/store/csbbafxx33rn1dv1iq7gg83h3ax8janr-texlive-combined-2017/bin/uplatex -> euptex failed: file already exists.
<mupf> install_link /nix/store/csbbafxx33rn1dv1iq7gg83h3ax8janr-texlive-combined-2017/bin/xmltex -> pdftex failed: file already exists.
<mupf> install_link /nix/store/csbbafxx33rn1dv1iq7gg83h3ax8janr-texlive-combined-2017/bin/pdfxmltex -> pdftex failed: file already exists.
<mupf> Any idea?
<{^_^}> [nixpkgs] @xeji pushed commit from @Gerschtli to master « atom-beta: fix build (#42622) »: https://git.io/f47ul
<{^_^}> [nixpkgs] @xeji merged pull request #42622 → atom-beta: fix build → https://git.io/f47C0
<{^_^}> [nixpkgs] @dotlambda merged pull request #42052 → pythonPackages.python-forecastio: init at 1.4.0 → https://git.io/vhP4t
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/f47uB
<clever> tmplt: how exactly are you using bash, that its not available in the unit?
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
mmercier has joined #nixos
<__monty__> clever: Getting timeouts for ssh over toxvpn (while trying to connect). Misconfiguration likely or is the network just too slow?
<samueldr> clever: I'm pretty sure this thread here is relevant https://discourse.nixos.org/t/libvirt-installing-qemu-hook/385/5
<mupf> Alright, I removed torbrowser from the list. It seems to be the cause of my issue
<{^_^}> [nixpkgs] @jonafato opened pull request #42626 → albert: 0.14.15 -> 0.14.21 → https://git.io/f47zC
<{^_^}> [nixpkgs] @jb55 opened pull request #42627 → trezord: 2.0.12 -> 2.0.14 → https://git.io/f47zH
jbgi has joined #nixos
<clever> __monty__: check the status in `list` under `toxvpn-remote`
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<__monty__> clever: Ah, does say offline. Is there anything I need to do in toxvpn to initiate the connection?
mmercier has quit [Quit: mmercier]
btbytes has joined #nixos
alexteves_ has quit [Remote host closed the connection]
<clever> __monty__: there are some bugs in toxcore that make it DC sometimes, just restart the systemd service
alexteves_ has joined #nixos
<__monty__> clever: Don't have a service. Could you share your service file, easier than recreating it from the nixos module?
bongsun has quit [Quit: Connection closed for inactivity]
<clever> __monty__: all pre-start does is make /run/toxvpn with the right owner
<clever> exec toxvpn -i 192.168.123.11 -l /run/toxvpn/control -u toxvpn -p 33445
<clever> __monty__: and start is just that
fendor has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
<__monty__> clever: Thanks. How do you run toxvpn commands with this? Just run toxvpn like usual?
mmercier has joined #nixos
matthewbauer has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e560aaff986 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
fendor has quit [Ping timeout: 260 seconds]
<clever> __monty__: the start script for the unit runs toxvpn
matthewbauer has quit [Read error: Connection reset by peer]
<__monty__> clever: Yeah, but how do you access the "console", i.e. where you can issue list and add and remove...
<clever> __monty__: toxvpn-remote
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #42628 → atom, atom-beta: nicer fix for #42618 → https://git.io/f47aj
flyx|znc has joined #nixos
btbytes has joined #nixos
btbytes has quit [Client Quit]
phdoerfler has joined #nixos
matthewbauer has joined #nixos
mmercier has quit [Quit: mmercier]
mmercier has joined #nixos
reinzelmann has quit [Quit: Leaving]
<cocreature> how do I force a package to be built from source even if it is in the cache?
rardiol1 has joined #nixos
cheater has quit [Ping timeout: 260 seconds]
agander has joined #nixos
<infinisil> cocreature: --check should do it
<cocreature> infinisil: thanks!
karltk has joined #nixos
agander has quit [Ping timeout: 256 seconds]
fendor has quit [Ping timeout: 264 seconds]
Tehnix has quit [Remote host closed the connection]
Tehnix2 has joined #nixos
xy2_ has quit [Ping timeout: 260 seconds]
cheater has joined #nixos
chessai has joined #nixos
agander has joined #nixos
<Sonarpulse> spacemacs tries to uninstall packages I have installed with emacs-with-packages
<Sonarpulse> anyone have a workaround?
flyx has quit [Quit: ZNC - http://znc.in]
flyx|znc is now known as flyx
flyx has quit [Quit: ZNC - http://znc.in]
flyx has joined #nixos
asuryawa_ has joined #nixos
asuryawanshi has quit [Read error: Connection reset by peer]
<ldlework> If I have this nixos module import, and somewhere else, I enable config.mine.docker, how can I also, say, override the storage driver?
cheater has quit [Ping timeout: 260 seconds]
i0-dfn has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #42624 → dwm-status: 0.5.1 -> 1.0.0 → https://git.io/f47lz
<{^_^}> [nixpkgs] @xeji pushed commit from @Gerschtli to master « dwm-status: 0.5.1 -> 1.0.0 (#42624) »: https://git.io/f47r5
i0-dfn has joined #nixos
<ldlework> pls
<ldlework> is it just config.virtualization.docker.storageDriver = mkForce "something else"; ?
<clever> ldlework: yeah, that should work
<ldlework> clever: what if two things use mkForce (curious)
<ldlework> probably something sensible
<LnL> same as foo = bar, depends on the type
<{^_^}> [nixpkgs] @PierreR opened pull request #42629 → Update configuration-common.nix → https://git.io/f47oO
<clever> ldlework: mkForce is an alias /home/clever/apps/nixpkgs/lib/modules.nix: mkForce = mkOverride 50;
<clever> /home/clever/apps/nixpkgs/lib/modules.nix: mkDefault = mkOverride 1000; # used in config sections of non-user modules to set a default
<clever> ldlework: the lower the number, the higher the priority
<clever> ldlework: and i think all values of the lowest priority then get merged acording to the type based rules
mariatsji has joined #nixos
matthewbauer has quit [Read error: Connection reset by peer]
<__monty__> clever: Hmm, toxvpn-remote doesn't seem to start.
<clever> __monty__: run it under strace and see what the error is
matthewbauer has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e560aaff986 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
civodul has joined #nixos
roberth has joined #nixos
btbytes has joined #nixos
mmercier has quit [Ping timeout: 255 seconds]
fragamus has joined #nixos
mariatsji has quit [Remote host closed the connection]
robstr has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @xeji merged pull request #42626 → albert: 0.14.15 -> 0.14.21 → https://git.io/f47zC
<{^_^}> [nixpkgs] @xeji pushed commit from @jonafato to master « albert: 0.14.15 -> 0.14.21 (#42626) »: https://git.io/f476U
_cyril_ has quit [Ping timeout: 245 seconds]
_cyril_ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #42628 → atom, atom-beta: nicer fix for #42618 → https://git.io/f47aj
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/f476H
Izorkin has joined #nixos
<__monty__> clever: This keeps repeating: select(4, [0 3], NULL, NULL, {tv_sec=0, tv_usec=1000000}) = 0 (Timeout)
<__monty__> Don't really see any errors in the strace output so I think it's just an infinite loop?
kreetx has quit [Ping timeout: 256 seconds]
<clever> __monty__: and if you run `help` in toxvpn-remote?
<glasserc> Is there a way to run NixOS unstable but run one or two packages inside a stable release like 18.03?
<__monty__> clever: But it doesn't start...
<clever> __monty__: does it just drop you to a shell after running or just hang?
<__monty__> It seems to hang.
<clever> __monty__: type help while its hung and hit enter
<{^_^}> [nixpkgs] @xeji pushed commit from @Infinisil to master « idrisPackages.bi: 2018-01-17 -> 2018-06-25 (#42621) »: https://git.io/f47i1
<{^_^}> [nixpkgs] @xeji merged pull request #42621 → idrisPackages.bi: 2018-01-17 -> 2018-06-25 → https://git.io/f47cW
<tilpner> ,unstable glasserc
<tilpner> That, just in reverse
<glasserc> Thanks
<__monty__> clever: Oh... Thanks : ) Was expecting a prompt of some sort.
<clever> __monty__: yeah, it needs more work
<clever> __monty__: a > and maybe some readline+tab-completion
<clever> or curses
ariutta has joined #nixos
cheater has joined #nixos
<fragamus> how do I get a 32 bit executable to run on my 64 bit nixos
doyougnu has joined #nixos
chessai has quit [Ping timeout: 248 seconds]
<tilpner> Built with Nix?
<__monty__> clever: Either would be good, yeah. A good curses-less cli is always nice though.
<__monty__> clever: It's working now, thanks.
<__monty__> clever: Do whitelisted peers always maintain an active connection?
<clever> __monty__: yeah
<{^_^}> [nixpkgs] @vbgl opened pull request #42630 → ocamlPackages.ocp-index: 1.1.5 -> 1.1.6 → https://git.io/f47PV
wchresta has joined #nixos
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tzemanovic has joined #nixos
xy2_ has joined #nixos
doyougnu has quit [Quit: WeeChat 2.0]
tzemanovic has quit [Ping timeout: 265 seconds]
<fragamus> how do I get a 32 bit executable (not built with nix) to run on my 64 bit nixos
<ariutta> I've tried "nix-channel --add https://nixos.org/channels/nixpkgs-unstable" "nix-channel --update" "nix-env -u" "nixos-rebuild switch --upgrade"
chessai has joined #nixos
<clever> ariutta: nixos-rebuild only uses the channel called nixos, and if you check `nix-channel --list` youll see 2 channels
<clever> ,-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<fragamus> I am trying to write a wrapper package for a math utility
<clever> > pkgs_i686.hello
<{^_^}> undefined variable 'pkgs_i686' at (string):150:1
<clever> > pkgsi686.hello
<{^_^}> undefined variable 'pkgsi686' at (string):150:1
<clever> > pkgsi686Linux.hello
<{^_^}> "<derivation /nix/store/6yinada4hck1bskg1kw5vzqc2978qcik-hello-2.10>"
<clever> fragamus: that set has the 32bit versions of everything
<fragamus> ok I am just learning so I will have a look at that and see
<{^_^}> [nixpkgs] @dotlambda pushed to master « home-assistant: 0.72.0 -> 0.72.1 »: https://git.io/f47XF
<ariutta> clever: can I just use nixpkgs-unstable for one dependency?
wchresta has quit [Ping timeout: 248 seconds]
<glasserc> Do applications like e.g. Rhythmbox not typically put themselves in e.g. the GNOME applications menu?
<matthewbauer> ariutta: something like (import (fetchTarball "channel:nixpkgs-unstable") {}).hello ?
spear2 has quit [Remote host closed the connection]
<clever> ariutta: if using nix-env, you can just give a channel name, nix-env -iA channelname.packagename
<ariutta> mattherbauer: this worked as a proof of concept: nix-build -E 'with import (fetchTarball "channel:nixpkgs-unstable") {}; callPackage ./default.nix {}'
Mr_Keyser_Soze has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #42184 → pasystray: add libappindicator-gtk3 for appindicator support → https://git.io/ffCSx
<{^_^}> [nixpkgs] @xeji pushed commit from @IvanMalison to master « pasystray: add libappindicator-gtk3 for appindicator support (#42184) »: https://git.io/f471E
Lears has joined #nixos
<ariutta> clever, mattherbauer: any suggestions for installing this in a declarative manner? https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/sqlint/default.nix
<ariutta> It's not part of 18.03 yet
<ariutta> I could use nix-env, but I'd like to just specify it once in a file.
blankhart has joined #nixos
<clever> ariutta: (import (builtins.fetchTarball "https://github.com/nixos/nixpkgs/archive/GITREV.tar.gz) {}).sqlint
szicari has quit [Quit: Leaving.]
<clever> ariutta: insert the gitrev of a commit where that package exists
wchresta has joined #nixos
jbgi has quit [Ping timeout: 260 seconds]
Ariakenom has quit [Quit: Leaving]
<ariutta> clever, mattherbauer: thanks!
spietz has joined #nixos
spietz has quit [Remote host closed the connection]
pie_ has quit [Quit: Leaving]
logzet has quit [Remote host closed the connection]
Mr_Keyser_Soze has joined #nixos
btbytes has joined #nixos
<Ralith> why does my /boot/kernels have three different kernels in it
<Ralith> my partition is full
<infinisil> It needs to store the ones of all the generations you have
Mr_Keyser_Soze99 has joined #nixos
Mr_Keyser_Soze has quit [Read error: Connection reset by peer]
agander has quit [Quit: Leaving]
<infinisil> > nix.name
<{^_^}> "nix-2.0.4"
wchresta has quit [Ping timeout: 256 seconds]
wchresta has joined #nixos
<ldlework> infinisil: is GC the proper way forward for something like that?
<infinisil> To free space on /boot?
<tmplt> is there something alike setupHook but for non-hook files? Some function that substitutes @variable@s in the file with their values?
m0rphism has joined #nixos
<infinisil> Yeah, delete generations/garbage collect, and activate the thing that sets up /boot
Mr_Keyser_Soze99 has quit [Ping timeout: 268 seconds]
<samueldr> for the record, there is an entry on the wiki with example commands https://nixos.wiki/wiki/Bootloader#How_do_I_remove_older_generations_from_the_bootloader.3F
<infinisil> tmplt: You mean `substitute*` in <nixpkgs/pkgs/stdenv/generic/setup.sh>?
<samueldr> (though I'm not sure of the tone for the introducing sentence of the following topic)
<{^_^}> bootfull defined
<infinisil> Thanks samueldr :)
<tmplt> infinisil: thanks!
iitalics has joined #nixos
<tmplt> infinisil: substituteAll is what I'm looking for, but I want to use it in a pre-start script for a systemd unit. Is that possible?
<infinisil> Ah, you can do that by sourcing ${stdenv}/setup
<tmplt> cheers
<infinisil> Well source it to get the functions
<ldlework> I need to get good at writing systemd units
* ldlework adds that to the docket
<infinisil> I need to get good at tracking things I need to get good at
<ldlework> org-mode
wchresta has quit [Remote host closed the connection]
wchresta has joined #nixos
<iitalics> i need to get good at org-mode ;)
<infinisil> I'm still not entirely comfortable in emacs, but I just fixed tasknc again and set up a taskserver, so I'll try to use this more
simukis has quit [Ping timeout: 268 seconds]
<ldlework> iitalics: I use it for everything https://i.imgur.com/s5YXyX4.png
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<infinisil> ldlework: Btw, systemd tip:
* ldlework perks up
<infinisil> systemd has a ton of man pages and it can be hard to find the one with the thing you need
<ldlework> how sexist
<infinisil> For that there is `man systemd.directives`, which acts as an index for all other systemd man pages
<ldlework> ah cool
<infinisil> Search for what you need there and it will tell you the manpage with more info on it
<ldlework> neat thanks
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ldlework> just wrote that down in my org file ;)
<tmplt> Sourcing ${pkgs.stdenv}/setup the unit fails with "_assignFirst found no valid variant!". Wrong stdenv?
pie_ has joined #nixos
sbdchd has joined #nixos
<infinisil> Hmm no idea. I've never actually sourced this just for these functions
<clever> what about just using sed?
<Orbstheorem> Hi, how do you store and reference your staic file from your nixos configuration? I have the following: https://paste.gnugen.ch/raw/gIx3 but that means that the builder needs to have the `/usr/local/systech` path available. That is, I not only have to track two different repos, but I also have to install it in a hardcoded place. Any better ideas?
<clever> Orbstheorem: ${/path/to/file}
<tmplt> clever: then I'd have to write that too. I'll postpone that for when I clean stuff up
<clever> Orbstheorem: or just dont quote the paths
btbytes has joined #nixos
<clever> Orbstheorem: but then nix will usually copy them into /nix/store/ and make them world-readable
Drakonis has quit [Remote host closed the connection]
wchresta has quit [Ping timeout: 248 seconds]
alter-schjetne has joined #nixos
<Orbstheorem> (regarding copying to a world readable location, I don't have any choice right?. They are going to be shipped in the package anyways)
<Orbstheorem> s/package/closure/
roconnor_ has joined #nixos
iitalics has quit [Quit: WeeChat 2.1]
<clever> Orbstheorem: then just unquote them and you should be good, and try to avoid readFile when you can
dbmikus_ has quit [Ping timeout: 255 seconds]
newhoggy has joined #nixos
sbdchd has quit [Ping timeout: 248 seconds]
<Orbstheorem> is there any way not to hardcode paths?
<{^_^}> [nixpkgs] @matthewbauer pushed to master « ghcjs-ng: Move to $out/lib/ghcjs-8.4 »: https://git.io/f47Ht
<clever> Orbstheorem: you can also use relative paths, ./file
<Orbstheorem> but then I'd had to ship keys in a git repository :/
schjetne has quit [Ping timeout: 240 seconds]
<Orbstheorem> At least the nix store is only readable by the server users, but my repos are public :/
<infinisil> You could also make some script generate the path at runtime
coot has quit [Quit: coot]
<infinisil> Or require the user to provide it some way
Drakonis has joined #nixos
<infinisil> Or work on nix#8 :P
<{^_^}> https://github.com/NixOS/nix/issues/8 (by edolstra, open): Support private files in the Nix store
tzemanovic has joined #nixos
ison111 has joined #nixos
tzemanovic has quit [Client Quit]
Drakonis has quit [Remote host closed the connection]
<Orbstheorem> :o
Drakonis has joined #nixos
<tmplt> In leiu of getting substituteAll to work, is it possible to combine derivations? The PATH I'm giving to the systemd unit is too long.
<gchristensen> you can use pkgs.buildEenv
myshoe has quit [Quit: Lost terminal]
<tmplt> ah, nice. thanks
<ison111> I'm having some trouble testing out the Sway wm which uses wayland. If I try to launch it from tty it says "Couldn't exec sway-pcap: Permission denied" and I also can't seem to launch it through eith slim or gdm display managers because the only session available seems to be "xterm". (Even if I use gdm and set gdm.wayland=true)
<ison111> Not sure what I'm missing.
__monty__ has quit [Quit: leaving]
<judson> A while ago, there was a presentation about the efforts to get nixpkgs working on Macs...
<gchristensen> by daniel peebles
<judson> That sounds right. Maybe enough to google for myself now...
jperras has quit [Ping timeout: 260 seconds]
<bpye> Hm, how do I configure the zfs-zed service on NixOS? I want it to send emails to me
jperras has joined #nixos
<Orbstheorem> clever: infinisil thanks, I'll take a look at #8
<infinisil> bpye: Relevant and just recently merged: #41928
<{^_^}> https://github.com/NixOS/nixpkgs/pull/41928 (by woffs, closed): nixos/zfs: enable zfs services
slyfox has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @andir opened pull request #42631 → Firefox 61 → https://git.io/f47QL
<infinisil> bpye: I'd think it would be the default location /etc/zfs/zed.d
<infinisil> bpye: See man zed
Lisanna has joined #nixos
<tmplt> Is it known that a long PATH supresses the actual error message from a systemd unit when run, or is this just with my libvirtd unit?
<bpye> infinisil: I know how to configure it that way, is that my only option? I was hoping something was exposed in configuration.nix
<infinisil> bpye: Well there's environment.etc
<infinisil> I've been meaning to write a better zed module though
<infinisil> A module at all I mean
<bpye> I wish monitoring/alerting was easier on.. well any Linux distro, it seems whatever I do I'm going to end up with some duplicate configuration however hard I try
<infinisil> duplicate config?
<bpye> So zfs-zed needs to know to use msmtp, the email to send, etc, as will any other monitoring service pretty much
<bpye> For example I'd want alerts if an rclone backup didn't work, or if my disk health was poor
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> The nixos module could support that in a modular fashion
<infinisil> The nixos module system*
alexteves_ has quit [Remote host closed the connection]
<bpye> It would definitely be nice if it did heh
<infinisil> rycee is experimenting with something like this for home-manager: https://github.com/rycee/home-manager/pull/295
<rycee> Yeah, I'm sitting and cleaning it up at the moment and trying to merge together the other mail related modules.
<rycee> Hopefully in a way that makes it all sort of coherent and sane :-)
isHavvy has joined #nixos
<glasserc> So how does buildPythonPackage work? I don't see the package named by src in PYTHONPATH
<infinisil> rycee: Nice!
knupfer has joined #nixos
Havvy has quit [Ping timeout: 256 seconds]
ison111 has quit [Quit: WeeChat 2.1]
matthewbauer has quit [Read error: Connection reset by peer]
matthewbauer has joined #nixos
asuryawa_ has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
roconnor_ has quit [Remote host closed the connection]
slyfox has joined #nixos
roconnor_ has joined #nixos
<tmplt> rycee: It'll be high time switching from Thunderbird when that's merged. Thanks for working on it!
asuryawanshi has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dotlambda opened pull request #42632 → esptool: 2.3.1 -> 2.4.1 → https://git.io/f477j
palo has quit [Quit: ZNC 1.6.5 - http://znc.in]
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
hamishmack has joined #nixos
drakonis_ has joined #nixos
drakonis_ has quit [Remote host closed the connection]
<Ralith> what's the proper place to stick an assert inside a package definition?
matthewbauer has quit [Ping timeout: 265 seconds]
knupfer has quit [Ping timeout: 265 seconds]
matthewbauer has joined #nixos
tzemanovic has joined #nixos
ihar has quit [Quit: WeeChat 2.0]
kiloreux has quit [Remote host closed the connection]
matthewbauer has quit [Ping timeout: 260 seconds]
newhoggy has quit [Remote host closed the connection]
philippD has joined #nixos
<rycee> tmplt: Nice. Yeah, I'd also like to move away from Thunderbird. Hopefully it won't take too long to get this into a usable state. But it'll be pretty opinionated for now. There are so insanely many ways to configure a mail setup :-)
<rycee> I'm heading to bed.
newhoggy has joined #nixos
<rycee> Ralith: Typically I think they are put after the arguments to the function producing the derivation. For example, see `pkgs/tools/networking/ntp/default.nix`.
justbeingglad has joined #nixos
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jensens has quit [Ping timeout: 255 seconds]
btbytes has joined #nixos
newhoggy has quit [Remote host closed the connection]
newhoggy has joined #nixos
tzemanovic has quit [Remote host closed the connection]
xy2_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #42633 → palp: fix runtime error introduced by #28029 → https://git.io/f47Fd
<{^_^}> [nixpkgs] @volth closed pull request #28353 → [staging] perl: 5.24.x -> 5.26.x → https://git.io/v7p8i
tzemanovic has joined #nixos
tzemanovic has quit [Read error: Connection reset by peer]
<glasserc> What do I have to depend on/install to get pg_config? Is there a Nix equivalent of -devel or -dev?
tzemanovic has joined #nixos
raynold has joined #nixos
freeman42x[nix] has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #42634 → python2Packages.rpy2: fix python2 compatibility → https://git.io/f47bq
<maurer> glasserc: Usually there isn't a -devel/-dev style package except in odd cases - in the case of pg_config, I think it should be installed as part of the postgresql package by default
<maurer> Is it missing?
ericsagnes has quit [Ping timeout: 256 seconds]
<samueldr> also: `nix-locate` can be used to search for files in packages you don't have installed
<samueldr> looks like it's part of `postgresql`
<maurer> (It's present on my system, as part of postgresql)
<samueldr> `nix-shell -p postgresql --run pg_config`
<maurer> (but since you're asking the question, I'm guessing you're experiencing something involving it not being there)
hph^ has joined #nixos
steell_ has joined #nixos
<worldofpeace> Is `...libinput.enable = true;` a default for plasma5 in nix? I know it is for gnome.
patrl has joined #nixos
rprije has joined #nixos
steell_ has quit [Ping timeout: 256 seconds]
erasmas has quit [Quit: leaving]
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
btbytes has joined #nixos
Sonarpulse has quit [Ping timeout: 276 seconds]
btbytes has quit [Client Quit]
btbytes has joined #nixos
<Jason_Grossman> Does anyone happen to have a recommendation for a program that has a Nix package that will show me a menu of snippets, to be pasted anywhere in X11? (I know how to do this with stumpwm and with Emacs, but neither of those shows a nice system-wide menu. I can do it with ROFI if necessary but I suspect there's something better.) Thanks!
btbytes has quit [Client Quit]
btbytes has joined #nixos
btbytes has quit [Client Quit]
btbytes has joined #nixos
ericsagnes has joined #nixos
jackdk has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Ralith> is there an environment variable in checkPhase that contains the build root e.g. used for cmake?
<Ralith> nvm
sbdchd has joined #nixos
newhoggy has quit [Remote host closed the connection]
justbeingglad has left #nixos [#nixos]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
newhoggy has joined #nixos
thc202 has quit [Ping timeout: 255 seconds]
sbdchd has quit [Ping timeout: 264 seconds]
newhoggy has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 256 seconds]
ericsagnes has quit [Ping timeout: 240 seconds]
<glasserc> maurer: samueldr: Thanks for your response. Hmm, yes, it is there. I'm trying to build a shell.nix file for a Python program which depends on psycopg using pypi2nix, and it keeps failing with the error that pg_config is missing
<glasserc> I didn't even check whether it was there before asking because I assumed it wouldn't complain if it was :)
alexteves has joined #nixos
fragamus has joined #nixos
btbytes has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<maurer> (e.g. the "-E postgresql" portion)
jperras has quit [Ping timeout: 264 seconds]
dbmikus_ has joined #nixos
newhoggy has joined #nixos
<glasserc> maurer: Ugh, thanks! I had read that once but forgotten about it in the midst of trying something else
andersk has joined #nixos