gchristensen changed the topic of #nixos to: 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://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c52254b500c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nico202 opened pull request #34211: enchive: 3.3 -> 3.4 (master...master) https://git.io/vNoTi
NixOS_GitHub has left #nixos [#nixos]
alexteves_ has quit [Ping timeout: 256 seconds]
jrolfs_ has joined #nixos
glenn_ has quit [Remote host closed the connection]
hydraz has quit [Quit: ZNC 1.6.5 - http://znc.in]
hydraz has joined #nixos
hydraz has quit [Changing host]
hydraz has joined #nixos
vidbina has joined #nixos
stepcut has joined #nixos
MP2E has quit [Remote host closed the connection]
infinisil has quit [Quit: ZNC 1.6.5 - http://znc.in]
stepcut has quit [Remote host closed the connection]
infinisil has joined #nixos
glenn_ has joined #nixos
hakujin has joined #nixos
Mateon1 has quit [Quit: Mateon1]
glenn_ has quit [Ping timeout: 268 seconds]
erasmas has quit [Quit: leaving]
MP2E has joined #nixos
stanibanani has joined #nixos
infinisil has quit [Quit: ZNC 1.6.5 - http://znc.in]
infinisil has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #34197: vultr: 1.13.0 -> 1.15.0 (master...vultr-1.15.0) https://git.io/vNrm4
NixOS_GitHub has left #nixos [#nixos]
verite has joined #nixos
infinisil has quit [Client Quit]
infinisil has joined #nixos
<Olgierd> hello, can i modify a config file generated by a nixos module without forking nixpkgs? the use case is libvirtd config file
<samueldr> most configuration options have an "escape hatch" named extraConfig, looks like libvirtd does too, Olgierd
orivej has quit [Ping timeout: 240 seconds]
<samueldr> though, this won't allow modifying existing options, only appending
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #34211: enchive: 3.3 -> 3.4 (master...master) https://git.io/vNoTi
NixOS_GitHub has left #nixos [#nixos]
<Olgierd> thank you!
stepcut has joined #nixos
<Olgierd> and is there a nicer way to sed-patch some xml in /var/lib/libvirt than using activationScripts?
the-kenny has quit [Ping timeout: 268 seconds]
<samueldr> this I don't know :/
digitus has quit [Quit: digitus]
the-kenny has joined #nixos
srid_ has quit [Changing host]
srid_ has joined #nixos
srid is now known as srid_irccloud
srid_ is now known as srid
stepcut has quit [Remote host closed the connection]
stanibanani has quit [Ping timeout: 268 seconds]
glenn_ has joined #nixos
glenn_ has quit [Remote host closed the connection]
glenn_ has joined #nixos
dan_b has quit [Ping timeout: 240 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mekeor has quit [Remote host closed the connection]
<srid> can the nix-shell prompt be customized (to include hostname)?
<infinisil> srid: it's just a normal bash
ssmike has quit [Ping timeout: 256 seconds]
<rnhmjoj[m]> something like `export PS1="$USER@$HOSTNAME"` to .profile should work
xcmw has joined #nixos
stepcut has joined #nixos
<Olgierd> nix-shell sets the IN_NIX_SHELL=1 environment variable, too
<Olgierd> so you can if on that
the-kenny has quit [Ping timeout: 256 seconds]
<srid> What I meant was that nix-shell overrides whatever was set to PS1 before. But it looks like I need to manually modify PS1 in nix-shell
phdoerfler has quit [Quit: Leaving.]
goibhniu has quit [Ping timeout: 240 seconds]
the-kenny has joined #nixos
sigmundv__ has quit [Ping timeout: 255 seconds]
verite has quit [Ping timeout: 240 seconds]
thc202 has quit [Ping timeout: 255 seconds]
thaega has left #nixos ["ERC (IRC client for Emacs 25.2.2)"]
swayf has quit [Remote host closed the connection]
swayf has joined #nixos
swayf has quit [Remote host closed the connection]
<srid> It seems I can do that through `shellHook`. cf. https://wizzup.github.io/posts/nix-vim-haskell/
swayf has joined #nixos
nkpart has joined #nixos
quam6246 has joined #nixos
<Acou_Bass> hey everyone, im wondering about the viability of changing the system.autoUpgrade command to be 'nixos-rebuild boot --upgrade' instead of nixos-rebuild switch (so it doesnt switch to the new version until i reboot)? i realise it may end up with me not booting into new versions as often, but sometimes if i upgrade i get a bit of desktop breakage that requires a reboot that id rather avoid until i am ready to
<Acou_Bass> reboot
swayf has quit [Ping timeout: 265 seconds]
<infinisil> Acou_Bass: yeah seems reasonable
hakujin has quit [Quit: WeeChat 2.0.1]
<Acou_Bass> sould that be as simple as adding 'boot' to system.autoUpgrade.flags or would i have to do something else to edit the unit file, any idea? :P
quam6246 has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vNomg
<NixOS_GitHub> nixpkgs/master 8c88168 Franz Pletz: atlassian-confluence: 6.5.1 -> 6.6.0
<NixOS_GitHub> nixpkgs/master 9f16756 Franz Pletz: atlassian-jira: 7.5.2 -> 7.7.0
<NixOS_GitHub> nixpkgs/master 2ac833d Franz Pletz: youtubeDL: 2018.01.14 -> 2018.01.21
NixOS_GitHub has left #nixos [#nixos]
<Acou_Bass> might have a proper look into this tomorrow, i suppose i could just turn autoUpgrade off and do it myself when i remember :P
<infinisil> Acou_Bass: yeah you'll have to edit the file, flags doesn't work
the-kenny has quit [Ping timeout: 248 seconds]
stepcut has quit [Remote host closed the connection]
<iqubic> gchristensen: My end goal is to install this: http://www.luna-lang.org/
the-kenny has joined #nixos
<iqubic> the download link just downloads an executable in a zip file.
<iqubic> And I'm struggling to get it to run properly.
Rusty1_ has joined #nixos
rodgort has quit [Quit: Leaving]
vidbina has quit [Ping timeout: 263 seconds]
quam6246 has joined #nixos
<Acou_Bass> no worries thanks :D ill have a look into it soon
aarvar has quit [Ping timeout: 260 seconds]
stepcut has joined #nixos
quam6246 has quit [Ping timeout: 268 seconds]
rodgort has joined #nixos
<iqubic> So I'm really not sure what to do with this program. It's really weird that this won'y just work right out of the box.
<iqubic> It was made to work on linux, and it doesn't.
<rnhmjoj[m]> i'm updating a package that uses fetchgit but it's failing with: `fatal: '9ab2117c5bac2f376f8da4a4b25e183137bcec0' is not a commit and a branch 'fetchgit' cannot be created from it`
<rnhmjoj[m]> do you know what it is?
stepcut has quit [Ping timeout: 276 seconds]
<rnhmjoj[m]> this hash is not the "rev" argument of fetchgit so I suppose it comes from a submodule
jrolfs_ has quit [Ping timeout: 260 seconds]
jrolfs_ has joined #nixos
stepcut has joined #nixos
hellrazo1 has joined #nixos
hellrazor has quit [Ping timeout: 248 seconds]
<infinisil> iqubic: nixos is different than most other distros
<infinisil> iqubic: you can't expect anything downloaded from a random website to Just Work on NixOS
jrolfs_ has quit [Ping timeout: 240 seconds]
<infinisil> actually you could use steam-run, which might make it work just like that, but that's not really nice to use on nixos
hellrazor has joined #nixos
<iqubic> infinisil: So how do people usually go about doing things like that?
hellrazo1 has quit [Ping timeout: 260 seconds]
<infinisil> iqubic: best would be to compile from source
<iqubic> Why is that any better?
<infinisil> iqubic: oh, well they have the sources: https://github.com/luna/luna
<infinisil> iqubic: because nix uses /nix/store for everything and such, compiling from source is always preferred
<infinisil> (am too tired to explain it in detail)
<iqubic> It's fine
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #34085: samba: 4.6.11 -> 4.7.4 (master...samba) https://git.io/vNgk9
NixOS_GitHub has left #nixos [#nixos]
<iqubic> What's the right way to set system variables in NixOS?
<infinisil> iqubic: environment.variables or environment.sessionVariables
<iqubic> infinisil: Building it from source seems to work, because it uses stack. (Haskell build tool).
<iqubic> Which NixOS is good at dealing with.
<infinisil> not in my experience
<iqubic> What do you mean?
<iqubic> Oh, actually I see what you mean.
<iqubic> Turns out I don't have happy installed.
Fare has quit [Ping timeout: 248 seconds]
alexteves has joined #nixos
Fare has joined #nixos
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
infinisil has joined #nixos
Supersonic112 has quit [Disconnected by services]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
<iqubic> How lon does haskellPackages.happy take to compile? And does it use rust? Or am I somehow compiling the wrong thing?
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
infinisil has joined #nixos
mizu_no_oto has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nixos
mizu_no_oto has quit [Client Quit]
jrolfs_ has joined #nixos
stepcut has quit [Remote host closed the connection]
jtojnar_ has joined #nixos
jrolfs_ has quit [Ping timeout: 264 seconds]
jtojnar has quit [Ping timeout: 256 seconds]
jtojnar_ is now known as jtojnar
nuncanada has quit [Read error: Connection reset by peer]
quam6246 has joined #nixos
quam6246 has quit [Ping timeout: 256 seconds]
spietz has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
infinisil has quit [Quit: Configuring ZNC, sorry for the join/quits!]
xcmw has joined #nixos
s33se_ has joined #nixos
xcmw has quit [Client Quit]
s33se has quit [Ping timeout: 240 seconds]
infinisil has joined #nixos
<iqubic> How long does Firefox takes to rebuild?
mmlb has quit [Read error: Connection reset by peer]
<rnhmjoj[m]> depends highly on the hardware, might takes from 20min to 2hours
mmlb has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
<iqubic> Why does NixOS want to rebuild firefox from source when there is an update?
alexteves has quit [Quit: Leaving]
mbrgm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] eqyiel opened pull request #34213: flow: 0.63.1 -> 0.64.0 (master...flow-0.64.0) https://git.io/vNoZi
NixOS_GitHub has left #nixos [#nixos]
<rnhmjoj[m]> it should fetch the package from the binary cache unless you modified it somehow
<iqubic> I have not modified it at all.
<rnhmjoj[m]> no overrides?
<iqubic> None at all.
rcshm has joined #nixos
<iqubic> All I did was add haskellPackage.happy to my systemPackages.
<iqubic> And then I did a rebuild.
<rnhmjoj[m]> uhm, that's pretty strange
<iqubic> Yeah, I know.
<iqubic> I'm not sure if I should terminate this right now.
<iqubic> If it is important, then I want to let this continue. But I'm really not sure what I should do.
<rnhmjoj[m]> there is another user that just reported a similar issue: ghc being built from source for no apparent reason
<iqubic> I'm not rebuilding ghc *yet*.
<iqubic> It could be that once firefox is done rebuilding ghc gets rebuilt too.
<rnhmjoj[m]> are you running NixOS 17.09?
<iqubic> Yes.
<rnhmjoj[m]> maybe something is wrong with the cache
<iqubic> Not only that, but I have "firefox-bin" in my systemPackages
<iqubic> Seems like the bin part should mean that it doesn't rebuild.
<iqubic> And the rebuild is done.
<iqubic> Firefox failed to install.
<samueldr> does it actually compile?
<iqubic> samueldr: No. Building the derivation fails.
<samueldr> firefox-bin will need a "build", since it cannot be redistributed as-is as it's unfree by nixos' definition
<rnhmjoj[m]> yeah, the -bin is the binary straight from mozilla
<samueldr> that is, the upstream mozilla firefox build has a restriction
<samueldr> what was the reason for the failure iqubic?
<iqubic> All I'm told is that a running make failed
<iqubic> Or actually, "thread main panicked at assertion failiure."
<iqubic> I should not have told this to run the rebuild in a tty. It makes it hard to get the output of the program.
<rnhmjoj[m]> the firefox build failed directly or one of its dependency?
<samueldr> hopefully (or not?) it should fail the same way if you rebuild
<iqubic> I can't tell.
<samueldr> but yeah, it sounds weird that firefox-bin would fail building
<iqubic> I ran the rebuild command in a tty so I can't access scrollback.
<iqubic> Are there any logs I can look at?
<rnhmjoj[m]> don't think so. run it again, it should fail the same way.
<samueldr> to ensure you get only the firefox failure, nix-build "<nixpkgs>" -A firefox-bin`
<iqubic> Yes, but it will take a while to do get to the point of failiure.
<samueldr> oops, stray backtick at the end there
<samueldr> iqubic: that was during a nixos-rebuild?
<iqubic> Yes.
<samueldr> if something else in nixos-rebuild fails it could look like it was firefox
<samueldr> nix-build would specifically build firefox-bin
<samueldr> you'd be able to see quickly if it's looking like it's going to take a while or not
<iqubic> I checked htop while the rebuild was running. It said that firefox was being compiled.
rcshm has quit [Ping timeout: 268 seconds]
<rnhmjoj[m]> anyway I don't understand how installing haskellPackages.happy causes firefox to be build from source
* samueldr just updated a nixpkgs checkout to channels/nixos-17.09 to verify whether firefox-bin does something weird
<iqubic> Package ‘firefox-release-bin-unwrapped-57.0.4’ in /nix/store/pg8z2i9f4pn3rras4xidi2gvbrrra518-nixos-17.09.2852.4ea23e7f1db/nixos/pkgs/applications/networking/browsers/firefox-bin/default.nix:179 has an unfree license (‘unknown’), refusing to evaluate.
<iqubic>
<iqubic> So that's really cool.
<iqubic> Not sure how to get that to work.
<samueldr> oh, iqubic, export NIXPKGS_ALLOW_UNFREE=1
duckwho has joined #nixos
<samueldr> that's one way, the other would be configuring at nixpkgs at user-level for unfree https://nixos.wiki/wiki/FAQ/unfree
<samueldr> okay, 57.0.4 built on a clean checkout of nixpkgs 17.09 up-to-date with the current channel
<iqubic> nix-build "<nixpkgs>" -A firefox-bin gives the output:
<iqubic> /nix/store/paqadc6ykph41bybzpyl3zhvlz2ifmbc-firefox-bin-57.0.4
<samueldr> and the build was almost instant, as instant as the tar.bz2 could extract once downloaded
<iqubic> Not sure what that means.
<samueldr> that's a good sign, if the only output you have is a path, firefox-bin was already built and working
<samueldr> (nix won't rebuild if it's already built)
<samueldr> that means that it's something else in your nixos-rebuild that's taking time and failing
<rnhmjoj[m]> so firefox is not the issue, something else was failing in the rebuild
<iqubic> I'm going to try running the rebuild in a graphical terminal wher I can read the output.
<samueldr> depending your settings, nixos-rebuild may be building multiple things in parallel
<samueldr> which may make it harder to spot which build is logging out as their build outputs are sadly interleaved
<samueldr> one way to help figure out the issue is to add --keep-going to nixos-rebuild, it will build *everything it can* and not bail out at the first issue
<samueldr> then the next rebuild should be only for the things that didn't build
<iqubic> building path(s) ‘/nix/store/7xm9hpkvzljiaskb9z37s0qvczmafzvk-rustc-1.17.0-man’, ‘/nix/store/9070b613acgsbsf23hwpni0aaxw63rsd-rustc-1.17.0’, ‘/nix/store/knc885fvfyls1c2z0bpl6z2jdhm99qnv-rustc-1.17.0-doc’
<iqubic> Alright, ignore the thing I just posted. Not sure if that's the error.
duckwho has quit [Client Quit]
duckwho has joined #nixos
<iqubic> I'd like to point out that I have nothing related to rust in my configuration.nix.
<iqubic> Also, what is this message:
<iqubic> waiting for locks or build slots... ??
iqubic has quit [Remote host closed the connection]
mizu_no_oto has joined #nixos
quam6246 has joined #nixos
quam6246 has quit [Ping timeout: 246 seconds]
<catern> a most pleasing error message http://ix.io/EAM
stepcut has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] gnidorah closed pull request #33624: [WIP] Nvidia Prime (Bumblebee alternative) (master...nvidia) https://git.io/vNL17
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
ivanivan has joined #nixos
ivanivan has quit [Client Quit]
<fearlessKim[m]> anyone interested in merging fcitx fixes https://github.com/NixOS/nixpkgs/pull/29558 ? I have trouble with the current version switching between the different keyboards
Myrl-saki has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #34214: rhash: cleanup, 1.3.3 -> 1.3.5 (staging...update/rhash-1.3.5) https://git.io/vNoCb
NixOS_GitHub has left #nixos [#nixos]
pie_ has joined #nixos
stepcut has quit [Remote host closed the connection]
contrapumpkin has quit [Ping timeout: 240 seconds]
iqubic has joined #nixos
<iqubic> So I ran the rebuild with the --keep-going flag.
<iqubic> then I ran the rebuild again.
<iqubic> I now know what is failing.
propumpkin has joined #nixos
<iqubic> And I did it not in a tty so I can read the scrollback.
<iqubic> if anyone wants to help me debug why my rebuild fails, I love help with that.
quam6246 has joined #nixos
<iqubic> Looks like it is ripgrep that is failing to build.
<iqubic> in order to recompile ripgrep Nix has to rebuild a whole lot of rust libraries.
quam6246 has quit [Ping timeout: 248 seconds]
rauno_ has quit [Remote host closed the connection]
<disasm> manveru: is it possible to specify non-ruby dependencies in a gemset.nix generated by bundix? My use case is gpgme won't compile on osx because ld: library not found for -lobjc (which is darwin.libobjc)
<disasm> iqubic: are you on the mailing list?
<iqubic> disasm: No I'm not.
<iqubic> I don't know how to join a mailing list.
<iqubic> Here is the long list of things that fail when trying to install ripgrep.
<iqubic> It's not that long.
<disasm> nah, I was just going to point you to the recent discussion on the mailing list if you hadn't seen it yet.
<iqubic> Oh. I see.
<iqubic> yeah, I guess I can comment out ripgrep until this is fixed.
verite has joined #nixos
<iqubic> disasm: How do I apply that fix?
<disasm> iqubic: you'd need to apply that commit to nixpkgs
<iqubic> So I'd have to fetch the entire nixpkg repo just for this one fix?
<disasm> I'd probly recommend the commenting route if you don't want to get into the nitty gritty of glibc and rustc :)
<disasm> there's a hack... lemme see if I can find it from nixcon
<iqubic> Yeah, I'm going to comment out ripgrep, until this is fixed.
<iqubic> But if you want to find the fix, you are certainly welcome to look for it.
iqubic` has joined #nixos
schoppenhauer has quit [Ping timeout: 256 seconds]
<iqubic`> So ripgrep was the thing being a pain in the butt.
iqubic has quit [Ping timeout: 276 seconds]
schoppenhauer has joined #nixos
iqubic` has left #nixos [#nixos]
rauno has joined #nixos
iqubic has joined #nixos
<iqubic> Why is it that this stack build is failing?
<iqubic> Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2: The program 'happy' is required but it could not be found.
<iqubic>
<iqubic> That's stupid. I have just finished installing happy to make this work, and it still doesn't.
<iqubic> "which happy" returns "/run/current-system/sw/bin/happy"
hamishmack has quit [Quit: hamishmack]
hamishmack has joined #nixos
hamishmack has quit [Client Quit]
rauno has quit [Ping timeout: 246 seconds]
<iqubic> Trying to install this right now:
<disasm> do you need happy in buildInputs?
<iqubic> I haven't actually put this into a derivation.
<iqubic> I'm just trying to install this by runnning stack install in the right place, just as the readme of the repo says to.
<iqubic> So, that might be my issue.
<iqubic> Even adding --nix flag fails to make this thing work.
<iqubic> Why is NixOS so far away the normal linux path.
<disasm> that's the cost of having the benefits of nix. The *normal* way of doing things just doesn't support things easily like multiple package versions, rollbacks, etc...
<iqubic> Oh, I understand that.
<simpson> iqubic: TBF Stack advertises quite tight Nix integration, and it should all Just Work, according to their propaganda.
<simpson> So I wouldn't really blame Nix for this particular frustration.
rauno has joined #nixos
<iqubic> But it isn't working for me.
<simpson> Stack's never worked for me either. Sorry.
<iqubic> I tried adding a nix section to the package.yaml, and adding a package feild there. And then I added happy as a dep.
<iqubic> I get this error:
<iqubic> Warning: Ignoring unknown field "nix" in package description
<infinisil> i have spent a bit of time with stack + nix
<infinisil> and the builtin nix integration works well if you don't require your stuff to be in the nix store
<infinisil> if you want it to be in the nix store (as you'd want if you want to package something for nixpkgs), you'll have to either use haskell.lib.buildStackProject (which is super simple, but dead slow and a single change rebuilds every single dependency), or stack2nix (which is fast after initial setup, but generates a huge nix expression)
<infinisil> Here is an example of the former: https://github.com/DSEPSFNSCG/ClashOfMinions/blob/master/Server (note the default.nix file and the last lines in stack.yaml)
<iqubic> infinisil: I'm building a thing for myself. I'm not trying to add something t othe nix store.
<infinisil> iqubic: then you should be able to build any stack project easily with `stack build --nix`
<iqubic> I know. Except that's not working.
<infinisil> what's the error?
<iqubic> I keep getting an error about happy not being found.
<iqubic> Configuring pretty-show-1.6.13... Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2: The program 'happy' is required but it could not be found.
<infinisil> what did you do to install it?
<infinisil> ah, it probably needs to be added to the packages section of the stack.yaml file
<iqubic> I first tried adding haskellPackages.happy to my systemPackages.
<infinisil> yeah that's not gonna work
<infinisil> nix:
<iqubic> Then I tried "stack install happy" in the same place.
<iqubic> Both failed.
<infinisil> packages = [ haskellPackages.happy ]
<infinisil> probably
Rusty1_ has quit [Quit: Konversation terminated!]
<iqubic> Yes, that does work.
hamishmack has joined #nixos
<iqubic> I wonder why "stack install happy" doesn't seem to eork.
quam6246 has joined #nixos
<infinisil> Because stack --nix does everything in its own (i think even pure) nix shell
<infinisil> Or maybe what's being installed with stack isn't on your PATH
quam6246 has quit [Ping timeout: 268 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34213: flow: 0.63.1 -> 0.64.0 (master...flow-0.64.0) https://git.io/vNoZi
NixOS_GitHub has left #nixos [#nixos]
ma27 has joined #nixos
<iqubic> Yes. that's certainly an option
<iqubic> Is there a quick way to know what the dependencies of a stack program is?
rauno has quit [Ping timeout: 260 seconds]
vincent_vdk has joined #nixos
dkao has quit [Ping timeout: 240 seconds]
ma27 has quit [Ping timeout: 246 seconds]
dkao has joined #nixos
rauno has joined #nixos
<iqubic> Alright, how do I add another filepath to $PATH?
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vNoRn
<NixOS_GitHub> nixpkgs/master 3b6b52b Jörg Thalheim: python.pkgs.astor: fix python 3.6 tests
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vNoRl
<NixOS_GitHub> nixpkgs/master 976d17f Jörg Thalheim: python.pkgs.astor: also disable some test on python2
NixOS_GitHub has left #nixos [#nixos]
<fearlessKim[m]> hum is it just me or vim on nixos doesn't set $MYVIMRC ?
<iqubic> I don't think it does.
dbe_ has joined #nixos
<fearlessKim[m]> according to the help "The $MYVIMRC environment variable is set to the file that was first found" and my $HOME/.vimrc seems loaded so that's a bug
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
mk-fg has quit [Ping timeout: 256 seconds]
dbe_ has quit [Ping timeout: 240 seconds]
<iqubic> this seems like a vim bug, and not a nixos bug
mk-fg has joined #nixos
mk-fg has quit [Changing host]
mk-fg has joined #nixos
ssmike has joined #nixos
<fearlessKim[m]> it's a popular feature so I would think that nixos has a part in it, maybe because of some wrapper
glenn_ has quit []
leat has quit [Ping timeout: 264 seconds]
<fearlessKim[m]> vim is launched via `exec /nix/store/g685kmsw5hxicqxpm87sx8a4bmfj0amr-vim_configurable-8.0.1257/bin/vim -u /nix/store/xrxwirnx1xkn0hv3pjy03w4fa9m1nd6m-vimrc` so it skips or set $MYVIMRC to null. I believe nixos should set VIMINIT instead I'll file an issue
rauno has quit [Remote host closed the connection]
<fearlessKim[m]> hum it was installed by home-manager so that may be the culprit. Might be worth checking out nixpkgs too
<sphalerite> I haven't looked but I think home-manager probably uses nixpkgs's vimConfigurable stuff
<sphalerite> So it would be a nixpkgs problem bubbling up to home-manager
<fearlessKim[m]> yeah
ssmike has quit [Read error: Connection reset by peer]
ssmike has joined #nixos
MercurialAlchemi has joined #nixos
hyphon81 has joined #nixos
glenn_ has joined #nixos
<hyphon81> Nobody uses azure with NixOps?
orivej has quit [Ping timeout: 268 seconds]
hyper_ch2 has joined #nixos
<iqubic> What is NixOps?
<hyphon81> iqubic: https://nixos.org/nixops/
<iqubic> How does on add an entry to $PATH on NixOS?
<hyper_ch2> Mic92: since booting with Nixos in ro mode didn't work, I created a new custom ISO with stability patch, booted up from there. Then I created a new encrypted DS tank/encNEW and just zfs send/recv tank/encZFS/Nixos to tank/encNEW/Nixos... once finished, I renamed both encZFS to encOLD und encNEW to encZFS, then I rebooted and it works :) Still migrating other data though but it's already booted up
dkao has quit [Ping timeout: 240 seconds]
<Mic92> hyper_ch2: Can you summarize the commands need for migration, if you make a pull request?
Mateon2 has joined #nixos
dkao has joined #nixos
<hyper_ch2> Mic92: I'll do so once I tested it more... the good thing is that I used like tank/encZFS/Nixos
<Mic92> hyper_ch2: this is also what I have proposed in the wiki
<hyper_ch2> (because I'm still hoping to have on day /boot also in ZFS and just make a full disk for zfs)
<hyper_ch2> Mic92: yeah, I followed your wiki entry :)
<hyper_ch2> Mic92: but what do yu think about that: for zfs you currently can use "normal" and "unstable" - how about adding a third option for migration to new format?
<hyphon81> I met this issue's problem. https://github.com/NixOS/nixops/issues/766
<hyper_ch2> so people could already now use the patch if they want to and have more time to migrate than when it will be merged to zfs master and then they are forced to
<Mic92> might be an option
ylwghst has joined #nixos
Isorkin_ has quit [Ping timeout: 248 seconds]
<hyper_ch2> otoh - I don't think too many people use zfs encryption already... but I might be mistaken
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #33626: pythonPackages.rx: init at 1.6.0 (master...rxpy-init) https://git.io/vNLDB
NixOS_GitHub has left #nixos [#nixos]
glenn_ has quit [Ping timeout: 276 seconds]
<Mic92> our zfs article on the wiki was pretty popular
<hyper_ch2> s/was/is/
Isorkin has joined #nixos
leat has joined #nixos
ssmike1 has joined #nixos
Itkovian has joined #nixos
ssmike has quit [Ping timeout: 256 seconds]
ssmike1 is now known as ssmike
<hyphon81> At least, in nixops/azure_common.py, looks to me, it is wrong adal usage. And this code has not been updated since 2016 Apr. So, nobody uses azure with NixOps?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34146: Fix epkowa (master...fix-epkowa) https://git.io/vNark
NixOS_GitHub has left #nixos [#nixos]
<hyphon81> I tried to fix. However, it is difficult for me...
reinzelmann has joined #nixos
glenn_ has joined #nixos
<Mic92> hyphon81: I tried once, but I think it did not work for me, since where required to use 2-factor-Auth in the company, so authentication probably failed for different reason.
<Mic92> I don't have that account anymore though.
<hyphon81> Hmm. At least, there are wrong in the code.
<hyphon81> "adal.acquire_token_with_username_password" is wrong. For example, "context = adal.AuthenticationContext(self.authority_url); context.acquire_token_with_username_password" is right.
<hyphon81> However, if only this fix did, error occur since lacks required arguments.
MichaelRaskin has left #nixos [#nixos]
rauno has joined #nixos
thc202 has joined #nixos
rauno has quit [Ping timeout: 265 seconds]
knupfer has joined #nixos
<hyphon81> I made AWS GPU instances cluster with NixOps. So, I trying same by azure. However, I stuck.
duckwho has quit [Ping timeout: 248 seconds]
johann__ has joined #nixos
zzamboni has joined #nixos
<hyphon81> The GPU instace fee is expensive. So, I thought to use azure's free trial account. I was optimistic.
Mateon2 has quit [Ping timeout: 248 seconds]
<simpson> hyphon81: People *do* use the Azure support, but I think that they're only online during the USA day.
rauno has joined #nixos
<sphalerite> I want to grep the emails in a maildir for a certain string, but a bunch of them have their bodies base64-encoded. Anyone know an easy way to do this?
<hyphon81> simpson: I think that it's a problem in the NixOps's code but not azure. However, I couldn't fix it.
Mateon2 has joined #nixos
<jmorriss[m]> Where can I learn the skills to contribute to nix, and after that what can I contribute to?
Mateon2 has quit [Client Quit]
<Guest71418> Hey there
<Guest71418> I have a question that is kinda in between systemd networking and nixos
<hyphon81> jmorriss[m]: Is this? https://nixos.org/nixpkgs/manual/
Guest71418 is now known as d4g
Mateon2 has joined #nixos
<srhb> jmorriss[m]: Nix specifically, or nixpkgs and nixos?
<sphalerite> rauno: I don't want to have to write an awk script or whatever, just use a tool that already exists. It looks like pkgs.mu does what I want though
Mateon2 has quit [Client Quit]
<rauno> sure, just you used word grep :)
Mateon2 has joined #nixos
Mateon2 has quit [Client Quit]
<sphalerite> funits: typically when using nix/nixpkgs/nixos you'll find gaps in functionality/bugs/stuff that you can fix and then PR to nixpkgs :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34196: abcm2ps: 8.13.18 -> 8.13.19 (master...abcm2ps) https://git.io/vNrL4
NixOS_GitHub has left #nixos [#nixos]
<jmorriss[m]> srhb: I can't write C++, so probably nixpkgs or something like that
<srhb> jmorriss[m]: Writing and fixing simple packages helps a lot
<d4g> I have laptop. I want to connect the external ethernet interface of the docking station to a bridge, so that I can use it via qemu-kvm/libvirt. This works just fine, but after I disconnect the laptop, the bridge disappears and does not reappear when I dock the laptop. Also I cannot restart a VM when the laptop is undocked, because the bridge is "gome" and qemu can't initialize the depending network intgerface.
<srhb> jmorriss[m]: Then you can slowly advance through more complicated topics.
<sphalerite> funits: I think my first contribution was packaging endless sky
Mateon2 has joined #nixos
<d4g> I configured the bridge and via nixos.
<jmorriss[m]> srhb: Where can I learn to do that
<jmorriss[m]> Should I just rtfm
<srhb> jmorriss[m]: I'd start by checking out nixpkgs and read the nixpkgs manual :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34200: siege: 4.0.2 -> 4.0.4 (master...update/siege-4.0.4) https://git.io/vNrWD
NixOS_GitHub has left #nixos [#nixos]
<sphalerite> funits: yeah the nixpkgs manual. If you want an in-depth introduction I'd recommend the nix pills
<sphalerite> !pills
<jmorriss[m]> Okay thanks Linus srhb hyphon81
<jmorriss[m]> :)
<d4g> Is there a way that I can tell systemd-networkd to restore the interface as soon as the ethernet adapter reappears?
<sphalerite> d4g: yeah I've had vaguely related issues with nixos's bridges as well, the setup isn't really ideal.
<sphalerite> d4g: I don't think the bridges are handled by networkd
<d4g> ah ok
<d4g> I thought so
<d4g> because nixos is relying on systemd so heavily
<d4g> What does create the virtual interfaces then?
ckauhaus has joined #nixos
<sphalerite> I think it's just a shell script running as a systemd unit. Hang on
<d4g> Oh
<hyper_ch2> you can make systemd handling network bridges
<d4g> how would I do that? I don't see a configuration option for that
<sphalerite> systemctl cat network-link-<name>.servie
<sphalerite> s/vie/vice/
<sphalerite> to see the service file
<sphalerite> wait no
<d4g> No this is just the interface itself. Not the bridge.
<sphalerite> <name>-netdev.service
<d4g> ah thanks
<d4g> this helps
<d4g> So i coudl just restart the services when I dock the laptop
<d4g> Which would help at least.
<sphalerite> yeah… certainly not ideal but it's a start I guess
<sphalerite> you can dig into nixpkgs/nixos/modules/tasks/network-interfaces-scripted.nix if you dare
<d4g> Seems a little bit to essential for me to mess around with, yet
<sphalerite> which is where that stuff is generated. There's also a networkd-based implementation at nixpkgs/nixos/modules/tasks/network-interfaces-systemd.nix but I think it's not as complete as the scripted stuff.
<sphalerite> You can use the networkd-based one with network.useNetworkd = true;
<d4g> Ah ok.
<sphalerite> There's no risk with messing around with it since you have rollbacks ;)
<d4g> I could give this one a try
<d4g> Yeah :)
markus1199 has joined #nixos
<d4g> Experimental and "use on own risk" is less scary, when you can just switch back :)
markus1189 has quit [Ping timeout: 248 seconds]
dywedir has joined #nixos
<d4g> Playing around with this, I think I found a bug
<d4g> When an interface which is configured to be ignored by network-manager is not available, the network manager does not start
<d4g> And then the whole user systemd crashes and does not start
<d4g> I think of this a little bit as an unexpected behavior, as USB ethernet or wireless adapters aren't that uncommon
M666[m] has joined #nixos
ambro718 has joined #nixos
goibhniu has joined #nixos
<d4g> Ths sphalerite
<d4g> *thx
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vNoVr
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master a75160e adisbladis: firefox-devedition-bin: 59.0b2 -> 59.0b3
<NixOS_GitHub> nixpkgs/master cba4038 adisbladis: firefox-beta-bin: 58.0b16 -> 59.0b3
ylwghst has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rinaldus opened pull request #34218: terminator: 1.0 -> 1.91 (master...master) https://git.io/vNowU
NixOS_GitHub has left #nixos [#nixos]
jtojnar_ has joined #nixos
jtojnar has quit [Ping timeout: 240 seconds]
<ij> How do I downgrade a couple channel updates back, so I can rebuild without compiling rust?
<tilpner> Guessing you could call nix-channel --rollback a few times
<tilpner> But I don't know how to list generation numbers or rollback individual channels
<sphalerite> d4g: ouch
<ij> /o/ it works
jtojnar_ has quit [Ping timeout: 256 seconds]
aarvar has joined #nixos
<rauno> is there a way to make temporarily one file in nix/store writable ?
<rauno> want to debug somethign
<LnL> you really don’t want that
akapav has quit [Ping timeout: 240 seconds]
akapav has joined #nixos
ambro718 has quit [Ping timeout: 260 seconds]
<tilpner> rauno - Why do you need it to be writable? Maybe there's a workaround
<rauno> i want to try one fix for a package without really patching it yet :D
ericnoan has quit [Ping timeout: 240 seconds]
dbe_ has joined #nixos
nmikhailov has quit [Ping timeout: 255 seconds]
nmikhailov has joined #nixos
<tilpner> rauno - You want to edit a .nix file? Just copy it to a writable location, make your changes, and then test them with nix-build/nix-shell
<rauno> hoped i can edit one python file under a package in /nix/store ..
dan_b has joined #nixos
<fearlessKim[m]> rauno you can mount the store writable see FAQ (though it's not advised)
a6a3uh has joined #nixos
ylwghst has joined #nixos
<rauno> i think thats what i need :)
mmlb has quit [Ping timeout: 248 seconds]
<sphalerite> rauno: what you should do instead is modify the expression that resulted in the path containing the python file
mmlb has joined #nixos
ericnoan has joined #nixos
<rauno> hum
quam6246 has joined #nixos
lonokhov has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [Ping timeout: 240 seconds]
quam6246 has quit [Ping timeout: 240 seconds]
fyuuri has joined #nixos
glenn_ has quit [Remote host closed the connection]
glenn_ has joined #nixos
<sphalerite> rauno: while it's certainly possible to mount the nix store read-write and modify files in it, it's not a good idea because it breaks the guarantees that nix provides you
ylwghst has quit [Ping timeout: 240 seconds]
<sphalerite> e.g. stuff built from that package will no longer be reproducible
<rauno> mhm, was just thinking about it, but patching the package and debugging will be problably painful, i need it fast :D
ylwghst has joined #nixos
<sphalerite> nix-store --verify --check-contents will check all the paths in the store against their expected contents and complain if anything's changed, to account for accidental store corruption caused by any number of other things
<sphalerite> as a quick-n-dirty one-off solution, remounting the nix store read-write does work. I'd recommend running nix-store --verify --check-contents --repair to have nix repair all the damage you've done to the integrity of the store afterwards
<sphalerite> for anything that's going to be used more than once, you should fix it properly ;)
<Dezgeg> I think one way of hacking up stuff is to bind-mount the fixed file on top of the original
<Dezgeg> haven't tried though
glenn_ has quit [Ping timeout: 265 seconds]
<infinisil> tbh modifying nix expressions is quiet fast too once you know how
Fare has quit [Ping timeout: 268 seconds]
<infinisil> and infinitely nicer
<rauno> indeed, if u once know them all :D
Naughtmare[m] has joined #nixos
<rauno> anyway, i'll try to do it the right and hard way
ylwghst has quit [Ping timeout: 246 seconds]
<infinisil> and knowing how to edit the nix files is required if you want your quick patch to actually work in the future and not be a hack
kim0 has joined #nixos
fxr has joined #nixos
a6a3uh has quit [Quit: Bye]
<tilpner> What happened to nixpkgs#33624 ? O.o
<infinisil> (my bot would've linked this if it wouldn't stop working after a day or so running)
<tilpner> Yeah, I was hoping for it :/
<hyper_ch2> infinisil: I successly converted my Nixos installation (not all media stuff yet but Nixos itself) to the new encryption format
<lejonet> infinisil: bribe it with tastier electrons? :P
ckauhaus has quit [Remote host closed the connection]
<infinisil> hyper_ch2: nice :)
ckauhaus has joined #nixos
<infinisil> lejonet: I think it's a memory leak
<lejonet> infinisil: oh noes, its has dementia
<infinisil> (using haskell..)
<lejonet> That is quite impressive
verite has quit [Quit: Live long and prosper.]
fuyuuri has joined #nixos
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
asuryawanshi has joined #nixos
<infinisil> i actually screwed up my haskell development environment by updating nixpkgs..
<infinisil> i thought about converting from using ghc-mod (which is very shaky) to haskell-ide-engine which should be better and the new thing. But I didn't know how to set it up exactly
oida has joined #nixos
* lejonet has never even touched haskell
<infinisil> it's really nice
<lejonet> Thats not what I've heard... ;)
<infinisil> you must've heard from the wrong people then. the benefits of functional programming are awesome
<alanz> infinisil, I have heard rumours that there is a haskell-ide-engine config in the nix stuff somewhere
<tilpner> Has anyone tried using nixops on Hetzner Cloud yet?
<infinisil> alanz: just the package got added recently
<infinisil> that's my main reason for wanting to try it out
<lejonet> infinisil: I'm partly joking, I have some friends that do or have done haskell and they like it a lot, and I myself like funtional programming a lot too, the bad parts I've heard is mainly the typical "I have a hard time adjusting my imperative/object-oriented knowledge to apply in functional ways", kindof the same problems you've seen me having with the ceph module :P
<simpson> lejonet: Haskell's got many flaws which add up to it being Just Another Programming Language. The other members of the ML family are interesting and some are more practical.
spear2 has quit [Quit: Leaving]
fuyuuri has quit [Ping timeout: 268 seconds]
<rauno> if patchPhase is already overridden in package, how to still add a code patch to a package ?
<rauno> or with what logic are the .patches added ?
quam6246 has joined #nixos
<lejonet> simpson: Oh, care to point out some?
<lejonet> simpson: both flaws in haskell and other in the ML family
<infinisil> alanz: Yeah, although I didn't know about the multiple packages
<simpson> lejonet: The ideal category Hask isn't the computational category for Haskell, typeclass composition is a little awkward and monad transformers are really awkward, Num is sadness, GHC's created a bit of a monoculture, and there's a lot of misleading memes.
<simpson> Definitely check out Haskell. Also check out OCaml though, and maybe SML or 1ML or CakeML or F#, all of which have interesting things to offer.
<infinisil> simpson: I'd argue that haskell is probably the most practical despite its flaws, due to it's decently big ecosystem
<hyper_ch2> tilpner: hetzner has a cloud?
<tilpner> hyper_ch2 - As of... recently, it does
<tilpner> hyper_ch2 - And I don't know how to nixops against it :/
<simpson> infinisil: Maybe. OCaml's got a better story for native code. Laziness is hard to compile well in general.
<lejonet> simpson: the only hate I have against haskell is the pain it can be to package... but that might have just been how ganeti was built and not haskell in general, but the version requirements were laughably narrow and damn near impossible to fullfill
<simpson> lejonet: Oh man, I actually worked in the Ganeti ecosystem on GWM and assorted tooling while I was at OSUOSL. Ganeti upstream is not really great at making packages which are easy to manage and deploy.
vincent_vdk has left #nixos [#nixos]
quam6246 has quit [Ping timeout: 260 seconds]
<infinisil> Idris is also really nice in the language aspect (but it's super slow currently, and pretty much no ecosystem)
* infinisil would like to help with idris development efforts eventually
<hyper_ch2> so hetzner also became victim of that "cloud" hype :)
asuryawanshi has quit [Remote host closed the connection]
rardiol1 has joined #nixos
fxr has quit [Ping timeout: 276 seconds]
pie_ has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34218: terminator: 1.0 -> 1.91 (master...master) https://git.io/vNowU
NixOS_GitHub has left #nixos [#nixos]
glenn_ has joined #nixos
johann__ has quit [Quit: Leaving.]
johann__ has joined #nixos
johann__ has quit [Client Quit]
johann__ has joined #nixos
johann__ has quit [Client Quit]
nkpart has quit [Quit: Connection closed for inactivity]
jtojnar has joined #nixos
jensens has joined #nixos
christiaanb has joined #nixos
orivej has joined #nixos
<christiaanb> Is anyone else having problems connecting to cache.nixos.org?
ssmike has quit [Ping timeout: 248 seconds]
hamishmack has quit [Quit: hamishmack]
tmaekawa has joined #nixos
hamishmack has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg force-pushed unstable-aarch64 from dab334d to 01941c5: https://git.io/vSSlm
NixOS_GitHub has left #nixos [#nixos]
tmaekawa has quit [Client Quit]
<tilpner> Does anyone maybe have an example of terraform and nixops cooperating? :/
sigmundv__ has joined #nixos
sigmundv_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #34219: googlemaps: Move the .so to the right location (master...googlemaps_fix_plugin_dir) https://git.io/vNoDY
NixOS_GitHub has left #nixos [#nixos]
sigmundv__ has quit [Ping timeout: 256 seconds]
rauno has quit [Remote host closed the connection]
glenn_ has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vNoyF
<NixOS_GitHub> nixpkgs/master b309103 Ioannis Koutras: skrooge: 2.9.0 -> 2.10.5...
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has joined #nixos
swayf has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34163: skrooge: 2.9.0 -> 2.10.5 (master...u/skrooge-2.10.5) https://git.io/vNVW6
NixOS_GitHub has left #nixos [#nixos]
quam6246 has joined #nixos
<hyphon81> OK, I understood. If we use Azure with NixOps, we should prepare the web app server for authentication...
ckauhaus has quit [Remote host closed the connection]
asuryawanshi has quit [Ping timeout: 240 seconds]
<rnhmjoj[m]> can someone merge nixpkgs#34144?
quam6246 has quit [Ping timeout: 264 seconds]
92AACRD98 has joined #nixos
<92AACRD98> [nixpkgs] Mic92 closed pull request #34219: googlemaps: Move the .so to the right location (master...googlemaps_fix_plugin_dir) https://git.io/vNoDY
92AACRD98 has left #nixos [#nixos]
17SAAMFR1 has joined #nixos
<17SAAMFR1> nixpkgs/master b0dd3a1 Jörg Thalheim: Merge pull request #34219 from bkchr/googlemaps_fix_plugin_dir...
<17SAAMFR1> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vNoSb
<17SAAMFR1> nixpkgs/master bf14737 Bastian Köcher: googlemaps: Move the .so to the right location...
17SAAMFR1 has left #nixos [#nixos]
orivej has quit [Ping timeout: 240 seconds]
pie_ has joined #nixos
<Mic92> tilpner: I think gchristensen wanted to give it a try.
<Mic92> I am also interested
<tilpner> I thought so too, but my logs didn't agree :/
vidbina has joined #nixos
<Mic92> tilpner, one thing, you could do is to create nix files with ip addresses in https://www.terraform.io/docs/provisioners/file.html
<Mic92> (might be wrong page, but there was something that could create local files from templates)
<tilpner> Wouldn't a terraform targetEnv be better? With your idea, one would still have to use terraform on the original template to e.g. destroy stuff
<tilpner> I don't know anything about implementing nixops targetEnvs though, and I'm not yet desperate enough to find out how :/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] erictapen opened pull request #34222: rustc: adjust broken test src/test/run-pass/out-of-stack.rs (release-17.09...34189-rustc-fix) https://git.io/vNo9H
NixOS_GitHub has left #nixos [#nixos]
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
MercurialAlchemi has quit [Ping timeout: 264 seconds]
ThatDocsLady has joined #nixos
<sudoreboot[m]> I'm having some trouble with a nix-derivation; somehow, even though I specified a git commit rev, during the build phase I get compiler error messages that do not correspond to the source code at that commit, but an older one. Does this sound familiar to anyone else?
<lejonet> simpson: haha, yeah, you don't say? xD
dan_b has quit [Ping timeout: 240 seconds]
<tilpner> sudoreboot[m] - You need to change the hash, otherwise Nix will look into the store, say "Oh, I already have something that fits your hash", and give you that
<sudoreboot[m]> tilpner: Ahhh, maybe that's the issue. I was waiting for it to complain about hash mismatch but then I shrugged it off and forgot about it when it never did.
<sudoreboot[m]> How can I find out the hash before building?
<tilpner> sudoreboot[m] - Use nix-prefetch-git, or change one character of the hash, and then pick the correct hash from the error message
<sudoreboot[m]> I could leave it null or something and wait for the error?
<tilpner> I don't know what null does here
<lejonet> simpson: needless to say, I gave up and started researching alternative, SANE, solutions xD
ckauhaus has joined #nixos
<sudoreboot[m]> tilpner: Thanks, nix-prefetch-git does the job
fuyuuri has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
ckauhaus has quit [Ping timeout: 255 seconds]
dan_b has joined #nixos
orivej has joined #nixos
asuryawanshi has joined #nixos
<hyphon81> Now, I'm interested in how to build GPU cluster with Infrastructure as Code.
<hyphon81> The NixOps, it can use same OS, same driver, same packages, those are in nixpkgs. Additionally, it need not to use virtual machines or containers, so no those overheads. I think so.
Ivanych has quit [Ping timeout: 240 seconds]
<hyphon81> However, I practicing on AWS....
asuryawanshi has quit [Ping timeout: 248 seconds]
simukis has joined #nixos
FRidh2 has joined #nixos
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
fendor has joined #nixos
asuryawanshi has joined #nixos
<fendor> good morning, i wanted to ask, what the recommended nix setup is for c developement
M666[m] has left #nixos ["User left"]
<fendor> my problem is for example, that i want to use the google gmock test suite but when comppiling with cmake, nixos complains that it does not know the library "<limits>" but as far as i know, according to find, it should be installed somewhere on the system
Ivanych has joined #nixos
<sphalerite> fendor: use nix-shell
<sphalerite> fendor: for one-off stuff, just do nix-shell -p gcc foo bar (where foo and bar are any additional dependencies)
<sphalerite> If you're going to be using the same environment often, it often makes sense to write a nix-shell expression or a full-on expression for building your software
<fendor> sphalerite, so, gcc will find this way the specified libraries?
<sphalerite> I'm on my phone right now so I can't provide an example easily just now but I'm sure someone else in here can help you with that, otherwise I can do so later if you want
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vNodf
<NixOS_GitHub> nixpkgs/master 5569851 Daiderd Jordan: R: fix dylib install_name on darwin
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 9ffaa69 Peter Simons: Merge pull request #34209 from LnL7/darwin-libR...
<fendor> sphalerite, there are enough resources on how to write nix-shell expressions, thanks!
<sphalerite> fendor: yes, nix-shell spawns a shell where you have GCC wrapped with the appropriate variables to find the deps
<sphalerite> Including the standard C++ library and stuff
hyphon81 has quit [Quit: Konversation terminated!]
<fendor> sweet, just gonna find out where the limits library is located
quam6246 has joined #nixos
ckauhaus has joined #nixos
glenn_ has joined #nixos
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
ThatDocsLady_ has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
rauno has joined #nixos
ThatDocsLady has quit [Ping timeout: 265 seconds]
a6a3uh has joined #nixos
la_putin has quit [Read error: Connection reset by peer]
la_putin has joined #nixos
fuyuuri has quit [Ping timeout: 248 seconds]
ThatDocsLady_ has quit [Ping timeout: 268 seconds]
rauno has quit [Ping timeout: 240 seconds]
coot has joined #nixos
<fendor> hm, error persists, can someone point me how to find out which packages i need? in this case, still cant find the c++ library <limits>
<Taneb> fendor: that's odd, <limits> is a C++ standard library
TweyII has joined #nixos
<Taneb> Have you spelt it correctly in your source?
<TimePath> It should just work?
<Tucky> Hello, I just installed NixOs yesterday and in my config I add environment.systemPackages = [firefox] but when I opened it it said it was the nightly version (57.0.4). I expected to have the quantum version.
TweyII is now known as Guest94608
<tilpner> Tucky - It says nightly for legal reasons, it's actually standard Firefox
<leons> Tucky: Can you send the output of 'nix-channel --list' as root?
<tilpner> Tucky - And 57 already has/is/? quantum
ssmike has joined #nixos
<fendor> Taneb, i am using the gmock framework, so it would be difficult for it to be my fault
<Taneb> Hmm, yeah
<Taneb> Good point
<Taneb> This is a mystery that's beyond my not-very-much nix knowledge.
<fendor> :/
<leons> tilpner: Can you explain? I always thought Iceweasel was called that way because of legal reasons. Nightly should just be the firefox nightly build, right?
<tilpner> Tucky, leons - https://nixos.wiki/wiki/Firefox
kim0 has quit [Quit: Connection closed for inactivity]
<mbrock> is there a way to use `callPackage x` while "recursively" overriding a specific package `y`? kind of like a local overlay
<leons> tilpner: Oh, I didn't know that, thanks. Is it just the nightly build of the same codebase that eventually got into the release? Thats the only way I would consider it stable...
xcmw has joined #nixos
<tilpner> mbrock - Not really. You can use callPackageWith to override an argument for x, but it will not automatically override arguments of dependencies
<leons> tilpner: Nevermind, I've just noticed that it downloads the official firefox binary. So I guess it's just a rebranding. Thanks for the link though!
<tilpner> mbrock - If you really wanted that, you could let callPackage = lib.callPackageWith (import <nixpkgs> { overlays = [ ... ]; }); in ...
<hyper_ch2> Tucky: are you on Nixos 17.09 or Unstable?
<mbrock> tilpner: yeah, was just thinking about that option. thanks! (I'll do the surgery by hand though, to avoid such a heavy operation)
<tilpner> But that's expensive, and not foolproof. You will lose existing config arguments, and <nixpkgs> should probably be pkgs.path
<leons> tilpner: s/binary/release source code/
<mbrock> actually I have a pinned nixpkgs to point out, but still
<tilpner> leons - You're talking about firefox-bin, but Tucky was asking about firefox
<mbrock> another issue -- it seems that I have to run `systemctl restart hydra-queue-runner` nearly every time my Hydra runs my jobset, because it will just "get stuck" :(
<leons> tilpner: actually, I looked at firefox (the one built from source). But you're totally right, it just removes the official branding during build time, but uses the release codebase
rauno has joined #nixos
<Tucky> leons: sorry I am not in front of the said machine
gfixler has quit [Quit: WeeChat 1.4]
<Tucky> leons: but normaly I use 17.09
<hyper_ch2> ah, quantum is FF58
<Tucky> hyper_ch2: Yeah I saw this this morning, I was not aware there were a new version
<joepie91> quantum is indeed FF58 onwards; and 'quantum' just describes the new components and architecture, so anything FF-derived has it (so long as they follow upstream)
<hyper_ch2> seems quantum isn't in unstable either
<joepie91> fwiw, I run firefox-bin instead of firefox
<leons> Tucky: No Problem. But as tilpner said, the name Nightly is just used for legal reasons. I just checked, 57.0.4 now is the correct version for both the 17.09 and unstable channel. So I guess if you didn't change anything, you are on 17.09
<joepie91> which is how I have FF58 :P
<tilpner> joepie91 - Huh, I thought it was FF57+
<joepie91> 58, wasn't it?
<joepie91> let me double check
<joepie91> oh
<joepie91> no, it was indeed 57
<joepie91> why did I remember it as 57? o_O
rauno has quit [Ping timeout: 256 seconds]
<joepie91> why did I remember it as 58? o_O *
<joepie91> okay I clearly haven't had enough sleep tonight, time for me to stop talking I think :P
<tilpner> :)
jensens has quit [Ping timeout: 248 seconds]
jensens has joined #nixos
<hoverbear> How do I get the executable location of a nixpkg I have installed?
quam6246 has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<FRidh2> readlink -f $(which mypkg)
<hoverbear> Danke
<hyper_ch2> tilpner: still using your write file nix expression happily :)
civodul has joined #nixos
asuryawanshi has joined #nixos
rauno has joined #nixos
a6a3uh has quit [Quit: Bye]
spietz has quit [Ping timeout: 268 seconds]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
ylwghst has joined #nixos
ylwghst has quit [Ping timeout: 268 seconds]
knupfer has quit [Ping timeout: 255 seconds]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
glenn_ has quit [Ping timeout: 255 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from ba11352 to 323b48f: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable 901ece4 Frederik Rietdijk: python.pkgs.backports_ssl_match_hostname: set disabled
<NixOS_GitHub> nixpkgs/python-unstable d4f798c Frederik Rietdijk: python.pkgs.tornado: fix optional dependency
<NixOS_GitHub> nixpkgs/python-unstable 3ffc188 Frederik Rietdijk: python.pkgs.backport_functools_lru_cache: set disabled
NixOS_GitHub has left #nixos [#nixos]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zzamboni has quit [Quit: Leaving.]
iyzsong has joined #nixos
zzamboni has joined #nixos
ckauhaus has quit [Remote host closed the connection]
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/staging 769342b Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vNojC
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 5 new commits to staging: https://git.io/vNoj4
<NixOS_GitHub> nixpkgs/staging e9794d5 Frederik Rietdijk: python.pkgs.backports_ssl_match_hostname: set to null conditionally
<NixOS_GitHub> nixpkgs/staging a6bb228 Frederik Rietdijk: python.pkgs.backport_functools_lru_cache: set to null conditionally
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging 18275c6 Frederik Rietdijk: python.pkgs.tornado: fix optional dependency
jensens has quit [Remote host closed the connection]
jensens has joined #nixos
zzamboni has quit [Quit: Leaving.]
ckauhaus has joined #nixos
<Tucky> Still about firefox, how can I change the application language?
ssmike has quit [Quit: ssmike]
a6a3uh has joined #nixos
Myrl-saki has joined #nixos
Fare has joined #nixos
himmAllRight17_ has quit [Remote host closed the connection]
zzamboni has joined #nixos
Myrl-saki has quit [Read error: Connection reset by peer]
leat1 has joined #nixos
knupfer has joined #nixos
ma27 has joined #nixos
leat has quit [Ping timeout: 248 seconds]
m712 has joined #nixos
ma27 has quit [Client Quit]
orivej has quit [Ping timeout: 248 seconds]
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] P-E-Meunier opened pull request #34225: Pyrseas: init at 0.8.0 (master...pyrseas) https://git.io/vNKv5
NixOS_GitHub has left #nixos [#nixos]
<m712> i can't find any docs on changing my session on nixos. I set up an .xinitrc but that didn't do anything, i still get a single xterm. how can i change it?
<infinisil> m712: .xsession
<m712> okay, will check it out
<infinisil> if you have this in your $HOME, nixos will use this instead of the default wm/de in the configuration
a6a3uh has quit [Quit: Bye]
alexteves_ has joined #nixos
Myrl-saki has joined #nixos
LouisDeFunes294 has joined #nixos
LouisDeFunes294 has quit [Client Quit]
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
ckauhaus has quit [Remote host closed the connection]
ckauhaus_ has joined #nixos
zzamboni has quit [Quit: Leaving.]
ckauhaus_ has quit [Remote host closed the connection]
ckauhaus has joined #nixos
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
zzamboni has joined #nixos
glenn_ has joined #nixos
ylwghst has joined #nixos
dan_b has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] thefloweringash opened pull request #34227: rustc: Fix corrupted .rlib files caused by stripping on Darwin (master...rust-darwin-dont-strip) https://git.io/vNKUg
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Quit: Leaving.]
magnetophon has joined #nixos
szicari has joined #nixos
<magnetophon> emacs won't build on the latest unstable: https://hastebin.com/irekaloged.sql
<magnetophon> any ideas? I don't see an error I can work with in there
zzamboni has joined #nixos
peacememories has joined #nixos
<tilpner> Both nixos-unstable and master have binary substitutes here
MP2E has quit [Remote host closed the connection]
ylwghst has quit [Remote host closed the connection]
zzamboni has quit [Ping timeout: 248 seconds]
peacememories has quit [Quit: Textual IRC Client: www.textualapp.com]
zzamboni has joined #nixos
<ij> How does nix-shell choose its channel if I'ven't overriden it via NIX_PATH or -I?
<tilpner> It picks it from NIX_PATH
<tilpner> <nixpkgs> specifically
<ij> Oh, right I've a default one. :/
<ij> forgot that
<magnetophon> tilpner: I have package = (emacs.override { imagemagick = pkgs.imagemagickBig; } );
* tilpner builds
dywedir has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] P-E-Meunier opened pull request #34228: Carnix: adding new crate overrides (master...rust-libsodium) https://git.io/vNKLu
NixOS_GitHub has left #nixos [#nixos]
<Baughn> Is bandwidth on NixOS.org a concern at all?
<Baughn> I'm working on a Hetzner Cloud module for NixOps, and the easiest way to do it would be nixos-in-place, but it uses the installation CD image.
glenn_ has quit [Ping timeout: 276 seconds]
<tilpner> :o
ckauhaus_ has joined #nixos
<tilpner> Baughn - I looked at if their terraform plugin allowed a custom ISO, but there's no docs yet
<tilpner> Baughn - Apparently, you can just ask them to upload an ISO for you, but they haven't answered my ticket yet
duckwho has joined #nixos
<tilpner> That would solve the bandwidth problem though
ckauhaus has quit [Ping timeout: 256 seconds]
ckauhaus_ has quit [Read error: Connection reset by peer]
xcmw has joined #nixos
<Baughn> tilpner: I've asked them if snapshots can be made public, which would be more maintainable. We'll see.
<Baughn> I bet they're flooded right now.
<tilpner> I refrained from critising that in my ticket, hoping they will notice how much support overhead this adds
himmAllRight17 has joined #nixos
waleee has joined #nixos
<magnetophon> tilpner: is it building?
peacememories has joined #nixos
<tilpner> Oh, sorry, forgot about it. Yes, it finished fine
<magnetophon> tilpner: what could cause it to fail here?
xcmw has quit [Ping timeout: 256 seconds]
<tilpner> I have no idea, considering they even have the same hash
<tilpner> It built /nix/store/074wycdl5nkg43y1k36sv9q9fka9lybs-emacs-25.3 here
<gchristensen> Baughn: it isn't a concern
<tilpner> And for you it says building path(s) ‘/nix/store/074wycdl5nkg43y1k36sv9q9fka9lybs-emacs-25.3’
xcmw has joined #nixos
<magnetophon> tilpner: odd
zzamboni has quit [Quit: Leaving.]
reinzelmann has quit [Quit: Leaving]
<magnetophon> Anyone have an idea how a build of the same hash could fail on one system but work on the other?
glenn_ has joined #nixos
<tilpner> Sandboxing can do that, but I don't think it's the case here
<magnetophon> tilpner: I assume you are on x86_64 too? I'll try without sandboxing, thanks.
<tilpner> Yes
<tilpner> Baughn - Do you have a branch somewhere I could look at?
phdoerfler has joined #nixos
<gchristensen> magnetophon: should always go _to_ sandboxing if there are problems with reproducibility
<waleee> Is it possible to use CUnit as a system-wide installed C-library or are you forced to use eg. nix-shell -p cunit?
<magnetophon> tilpner, gchristensen: same result with and without sandboxing... :(
<tilpner> waleee - Possible, but not supported or practical outside Nix tools
glenn_ has quit [Ping timeout: 246 seconds]
<Baughn> tilpner: I literally started playing with this yesterday. :P
ThatDocsLady_ has joined #nixos
zzamboni has joined #nixos
* tilpner too
<Baughn> tilpner: I haven't written anything yet. Though, even if I had, I couldn't without first checking with my workplace.
<tilpner> Well, technically just today, my account needed verification
<waleee> tilpner: I'm using nixos, but are sometimes offline when coding C
<tilpner> Baughn - Just got a reply: "Additional ISO images will be possible in a few days. Thank you for your patience."
<Baughn> Ah, cool.
Tucky has quit [Ping timeout: 240 seconds]
fuyuuri has joined #nixos
<tilpner> Ironically the CS reps last name is "Schade" c.c
orivej has joined #nixos
xcmw has quit [Ping timeout: 240 seconds]
propumpkin is now known as contrapumpkin
iyzsong has quit [Ping timeout: 246 seconds]
zzamboni has quit [Quit: Leaving.]
iyzsong has joined #nixos
dywedir has joined #nixos
zzamboni has joined #nixos
mkoenig_ has joined #nixos
<gchristensen> garbas: ping?
mkoenig has quit [Ping timeout: 260 seconds]
zzamboni has quit [Client Quit]
alanz has quit [Quit: ZNC - http://znc.in]
alanz has joined #nixos
zzamboni has joined #nixos
<d4g> hyper_ch2: I switched to systemd-networking
<d4g> seems to work as I expected
<tilpner> !m jeaye
<[0__0]> You're doing good work, jeaye!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master f7dd695 adisbladis: go: 1.9.2 -> 1.9.3
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vNKOh
rardiol1 has left #nixos [#nixos]
<d4g> Is anybody interested in a consistency issue regarding uniqueness and unique derivations?
<d4g> I found kind of a loophole, that results in disturbing errors
<tilpner> Easily reproducable?
<d4g> relatively yes
<d4g> I already know why it happens
* infinisil is interested
<d4g> I also opened a bug regarding this issue
<d4g> It's regarding the USB images
<d4g> they try to resolve them selves via /dev/disk/by-label
<d4g> and try to find a non-unique label
<d4g> so the label is the same on every stick
<d4g> I had an issue where $someone flashed a nixos installer to a secondary internal drive
<d4g> then a few days later he tried to install nixos via a newer version of the image
<hyper_ch2> d4g: can you post your configuration as well?
<d4g> that he downloaded and flashed to a usb drive
zzamboni has quit [Ping timeout: 240 seconds]
<d4g> nixos crashes on boot because there seems to be some kind of race condition, which disk is the one linked by /dev/disk/by-label
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #34231: python37: init at 3.7.0a4 (master...python37) https://git.io/vNK3X
NixOS_GitHub has left #nixos [#nixos]
cement has joined #nixos
<d4g> So the loarder from the usb drive looks for its kernel on the according nix store path but accesses the wrong disk
magnetop` has joined #nixos
erasmas has joined #nixos
<d4g> end of story :)
magnetophon has quit [Ping timeout: 268 seconds]
iqubic has quit [Ping timeout: 276 seconds]
<infinisil> i actually had trouble with something very similar: 3 partitions containing a luks key all with the same label (so i could use any of the three). But when trying to unlock the disk, i got an error that the password was wrong, but only if more than 1 such key partition was connected
<infinisil> disconnecting everything but one made it work
<hyper_ch2> d4g: can you post me your systemd networking?
<d4g> One solution would be to generate a unique disk label in the build job that creates the image
<d4g> hyper_ch2: on it, need some sonetisation ...
Tucky has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #34232: nix-prefetch-git: fix extraction of submodule hashes on latest git (master...fix/nix-fetchgit-hash-extraction) https://git.io/vNKs3
NixOS_GitHub has left #nixos [#nixos]
<dtz> ^ please merge that soon, barring any objections
<pmeunier> Hi! How can I make a path relative (or absolute) in nix?
<dtz> nix-prefetch-git needs to not be broken, is all :)
nuncanada has joined #nixos
<infinisil> pmeunier: path expressions (such as ./.) expand to an absolute path
<hyper_ch2> d4g: thx
Itkovian has quit [Ping timeout: 246 seconds]
<d4g> infinisil tilpner still interested?
<d4g> ;)
<infinisil> semi-interested
<hodapp> ugggh, why is hcitool missing from 'bluez' but not 'bluez_28'...
<tilpner> Not very, it seems like an obscure condition that you have to try to trigger. It also doesn't affect installed NixOS, right?
<d4g> True, but it should be easy to fix?
<hyper_ch2> d4g: thx
<d4g> It is probably more likely if you have more than one USB stick inserted or something like that
<d4g> hyper_ch2: you're welcome.
<hyper_ch2> d4g: I don't know really anything how bridging works etc... I just setup mine as in the example I've given but I'm sure there's plenty that could be optimized :)
<d4g> hyper_ch2: I use it mainly for libvirtd, to attach different VMs to different nets and my host only to some of those.
<d4g> host meaning laptop in this case ;)
adamt has joined #nixos
<typetetris> Hi there! Are there options to make nixos prefer an ethernet connection if both cable and wifi are present?
<hyper_ch2> d4g: I also need it for qemu/kvm :)
ckauhaus has joined #nixos
<hyper_ch2> typetetris: hmmm, add a route?
<adisbladis[m]> typetetris: Thats the default behaviour if you use networkmanager
iyzsong has quit [Ping timeout: 260 seconds]
<adisbladis[m]> Or am I wrong? I have always had that impression anyway
<hyper_ch2> adisbladis[m]: I think it prefers by default ethernet over wifi
<d4g> But only if the ethernet is also managed by network manager
<hyper_ch2> and probably wifi over mobile internet (3g/4g/5g)
<d4g> which is not the case, if you have it on a bridge
<typetetris> I just noticed that both routes are set for both devices in my actual config.
leat1 has quit [Ping timeout: 248 seconds]
<typetetris> as soon as i plug in the cable of course.
Drakonis has joined #nixos
thomassgn has quit [Ping timeout: 256 seconds]
<typetetris> ah, ok. So it will use the route with the lowest metric and that actually is the cable. All fine then.
vidbina has quit [Ping timeout: 264 seconds]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hodapp> possibly dumb question: in a shell.nix how would I refer to nixpkgs.bluez rather than nixos.bluez? where does one bring 'nixpkgs' into scope?
<d4g> is there a way i can override the metric using nixos?
peacememories has joined #nixos
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
stepcut has joined #nixos
<hodapp> because for whatever reason nixos.bluez is a newer version than nixpkgs.bluez, but the newer version is missing hcitool.
thomassgn has joined #nixos
ckauhaus has quit [Remote host closed the connection]
<hodapp> and I don't even know where to start looking for how to resolve this because guess what I get when I search for the attributes "nixos" and "nixpkgs"...
ckauhaus has joined #nixos
a6a3uh has joined #nixos
<d4g> hyper_ch2: ?
<hyper_ch2> d4g: [16:33] <d4g> is there a way i can override the metric using nixos? --> you should be able to add your own route commands
<infinisil> hodapp: what's the output of nix-info?
JosW has joined #nixos
<d4g> yeah, but this is not "the nix way to do it" :)
<d4g> I'd prefer not to run arbitary console commands but to use a config option
<hyper_ch2> it is the nix way -- adding things to configuration.nix is the nix way :)
<hodapp> maybe I should just figure out why bluez decided to fuck things up for the 1,372nd time and remove useful tools
<hodapp> because my problems with it didn't start with NixOS
<hodapp> infinisil: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.15, channels(root): "nixos-17.09.2055.c19136c4c9", channels(hodapp): "", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
<infinisil> hodapp: hmm, no idea, having used nix for a while now I still don't know the full thing about nixpkgs and nixos names and channels
<infinisil> seems you only have one channel which i find weird
<infinisil> I feel like nix/nixos could really benefit from getting rid of this confusing channel naming thing and stuff
<hyper_ch2> how about "beginner" "intermediate" and "expert" channels? :)
<infinisil> hodapp: how did you verify they're a different version?
<hodapp> well, guess I am gonna go try to remember how to split apart parts of a build into steps so I can figure out what BlueZ fucked up
glenn_ has joined #nixos
<hyper_ch2> hodapp: what does hcitools do? I tread on the weekend to connect my new wireless earbuds to the notebook BT but the notebook couldn't even detect them
<hyper_ch2> s/tread/tried/
ThatDocsLady_ has quit [Remote host closed the connection]
<hodapp> hyper_ch2: gives various bits of functionality that I need for some Bluetooth Low Energy development
ThatDocsLady_ has joined #nixos
<hodapp> and for whatever reason bluez-5.47 either doesn't build these, or they're not visible
<manveru> was `nix search` removed from unstable?
<hyper_ch2> hodapp: ok... well, the earbuds were in pairing mode.... lineageos cellphone and tablet recognized them immediately but not my notebook with nixos... so now I wonder whether it's because of what you wrote
<hodapp> it's just a userspace tool that afaik isn't needed much for what you describe
<hyper_ch2> ok
<infinisil> manveru: works for me
<d4g> alias nix ?
<manveru> infinisil: i'm on 1.12pre5849_74f75c85
<infinisil> d4g: nixUnstable
<hyper_ch2> manveru: what is "nix search" for?
<infinisil> manveru: 1.12pre5732_fd10f6f2 for me
<manveru> lemme check their repo
raynold has joined #nixos
glenn_ has quit [Ping timeout: 255 seconds]
<tilpner> manveru - nis -p master.nixUnstable --run 'nix search --help' works here
<manveru> well, it works now...
<disasm> manveru: did you see my question last night about bundix and how to specify non-ruby dependencies for a gem?
<samueldr> hmmm, I forgot all about BLE and how it works entirely differently with bluez... a mention should be added to the wiki page about bluetooth
<hodapp> other dumb question: what is the correct magical incantation to use so that "nix-shell -A bluez" properly drops me into an environment where I could build bluez?
<manveru> disasm: nope
<hodapp> it just gives "error: attribute ‘bluez’ in selection path ‘bluez’ not found" presently
elurin has joined #nixos
<hodapp> likewise for nixos.bluez
<samueldr> nix-shell -p bluez ?
ckauhaus_ has joined #nixos
ckauhaus has quit [Remote host closed the connection]
rauno has quit [Remote host closed the connection]
<disasm> manveru: is it possible to specify non-ruby dependencies in a gemset.nix generated by bundix? My use case is gpgme won't compile on osx because ld: library not found for -lobjc (which is darwin.libobjc)
Sonarpulse has joined #nixos
<infinisil> hodapp: tip: use `nix-env -qaP | fzf` to search for packages
<samueldr> if it's for a particular nixpkgs checkout, possibly using -I ?
magnetop` has quit [Ping timeout: 240 seconds]
<infinisil> hodapp: ahh, and you want nix-shell '<nixpkgs>' -A bluez
<infinisil> (disregard what i said above)
periklis has joined #nixos
oida has quit [Quit: WeeChat 1.6]
<hodapp> thanks, that's the magical incantation I was looking for that I would have no way of ever discovering on my own nor finding via a search engine except by pure luck
<manveru> disasm: no, you usually add them to the gem configuration instead of modifying the gemset.nix
orivej has quit [Ping timeout: 248 seconds]
<disasm> manveru: so, in the default.nix?
<manveru> disasm: like `bundlerEnv { name = ...; gemdir = ./.; gemConfig = defaultGemConfig // { gpgme = attrs: { buildInputs = [ darwin.libobjc ]; }; }`
<manveru> yeah
adamt has quit [Ping timeout: 240 seconds]
<manveru> defaultGemConfig is in nixpkgs as well
<manveru> you can add your gemConfig override there if you want others to use the gem without specifying this :)
<disasm> yeah, that's exactly what I tried first: https://gist.github.com/2b3282e1343e3f10610500b2bc6335a7
a6a3uh has quit [Quit: Bye]
<manveru> then you have to check how the gem tries to find that library
vidbina has joined #nixos
<manveru> see for example the nokogiri config
<disasm> ah, I might need buildFlags
<ij> Is there some channel in which enableWideVine works?
<ij> That isn't also trying to compile rust... :D
<manveru> disasm: sorry, i gotta go... next meeting :(
<disasm> thanks for the help!
<typetetris> Did somebody get this stuff working? https://blog.typeable.io/posts/2017-08-24-stackage2nix.html
hyper_ch2 has quit [Quit: Page closed]
orivej has joined #nixos
* infinisil did not know about stackage2nix, only stack2nix. Interesting
glenn_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vNK44
<NixOS_GitHub> nix/master 479692a Eelco Dolstra: Merge pull request #1811 from dtzWill/update/json-3.0.1...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nix/master f7c2636 Will Dietz: nlohmann-json: 2.1.1 -> 3.0.1
<hodapp> why in the bloody hell must BlueZ keep deprecating tools that work fine...
<hodapp> first they did it with gatttool a few years ago, now hcitool/hciconfig
eisbaer has joined #nixos
<brodul> how to figure out why package is not in last unstable nixos channel?
<brodul> e.g.
<brodul> Last hydra build is on 01-17
<hoverbear> So I have an overlay I made for nixpkgs which adds a `configured.neovim` which is defined in `overlay/neovim/default.nix` and calls `builtins.readFile ./init.vim`, but it seems to not be getting this file. Is this because the path semantics are different than if I just do `import ./overlay/neovim`?
<brodul> last commit in this package is 31-12-2017
<brodul> *2017-12-31
knupfer has quit [Ping timeout: 256 seconds]
johnw has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vNKBg
<NixOS_GitHub> nix/master 98f3c75 Eelco Dolstra: Merge pull request #1797 from dezgeg/userns-tests-fix...
<NixOS_GitHub> nix/master 59086e4 Tuomas Tynkkynen: Fix tests using user namespaces on kernels that don't have it...
NixOS_GitHub has left #nixos [#nixos]
nkaretnikov has joined #nixos
<infinisil> hoverbear: ~/.config/nixpkgs/overlays
<hoverbear> infinisil: nixos =D
<infinisil> hoverbear: (that works on nixos too), so you used nixpkgs.overlays?
<hoverbear> infinisil: Yes but I just realized that it was actually read fine I just only had an empty file 😊
<hoverbear> infinisil: Thank you very much for thinking of me
<infinisil> :P
<hoverbear> Next task is figure out how to bake a custom ZSH package with a portable config
johnw has joined #nixos
fyuuri has quit [Ping timeout: 246 seconds]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 2 new commits to master: https://git.io/vNK0q
<NixOS_GitHub> nixpkgs/master cd2e740 Tuomas Tynkkynen: nixos/sd-image-aarch64.nix: Set avoid_warnings in RPi config.txt...
<NixOS_GitHub> nixpkgs/master d02c2d6 Tuomas Tynkkynen: nixos/sd-image-*.nix: Bring back high consoleLogLevel...
NixOS_GitHub has left #nixos [#nixos]
ckauhaus_ has quit [Remote host closed the connection]
duckwho has quit [Ping timeout: 240 seconds]
ckauhaus has joined #nixos
simendsjo has joined #nixos
<tilpner> hoverbear - You're going in a good direction, do you have your config visible anywhere?
orivej has quit [Ping timeout: 264 seconds]
leat1 has joined #nixos
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 264 seconds]
<hoverbear> tilpner: yes I plan to once I learn to do it :)
<tilpner> Do you require the "wrapping over installation" approach, or does it just feel more appropriate to you?
ryanartecona has joined #nixos
<hoverbear> tilpner: I don't know what the difference is. 🤔
<hoverbear> tilpner: I mostly just want to be able to define a zsh config/plugins like I do with neovim
Drakonis has quit [Read error: Connection reset by peer]
<tilpner> The easy way is to just write a file into your home directory. Why is that approach not enough? (I agree it feels wrong, but it's so much less effort)
ryanartecona has quit [Ping timeout: 268 seconds]
<infinisil> I really want more packages like vim that allow you to create a package that includes a config
dkao has quit [Ping timeout: 268 seconds]
<infinisil> not how most of stuff is handled today with a nixos module
<infinisil> having such pkg+config packages also means they're usable from other distros and in nixos/home-manager
hotfuzz has joined #nixos
duckwho has joined #nixos
hotfuzz_ has quit [Read error: Connection reset by peer]
Tucky has quit [Quit: WeeChat 2.0.1]
<tilpner> Yes, I understand what you want, I'm just curious why you want it. You appear to be on NixOS, so you can use the modules
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #34235: ipvsadm: init at 1.29 (master...feature/ipvsadm) https://git.io/vNKzs
NixOS_GitHub has left #nixos [#nixos]
swayf has quit [Remote host closed the connection]
lonokhov has quit [Quit: Lost terminal]
ryanartecona has joined #nixos
elurin` has joined #nixos
peacememories has joined #nixos
elurin has quit [Read error: Connection reset by peer]
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
<gchristensen> chris|: did you PM me? (grahamc)
pie_ has quit [Ping timeout: 256 seconds]
ckauhaus_ has joined #nixos
<chris|> gchristensen: I did :)
<gchristensen> it seems it didn't come through. wannt to try again, but here? :)
<chris|> I was wondering what that status of the odroid-c2 support was, since the wiki mentions grahamc as the maintainer
<gchristensen> I think some people have it working, try #nixos-aarch64 :)
ckauhaus has quit [Ping timeout: 256 seconds]
ixxie has joined #nixos
detran has quit [Remote host closed the connection]
<dtz> ooooooooo
<chris|> okay, thanks :)
<infinisil> tilpner: it just feels wrong to use nixos modules for package configuration
ckauhaus_ has quit [Ping timeout: 256 seconds]
<infinisil> package config belongs to the packages
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> A reason I want this is because I'm also using home-manager, which currently would need to duplicate all relevant nixos modules. By being able to create a pkg+config package, nixos and HM could share a single definition (and all other distros)
<tilpner> infinisil - I've been agreeing with that this entire time, I was just hoping for "I have an actual multi-user machine, so modules don't cut it" or "I want to make it easier for non-NixOS users to define their entire configuration with Nix"
<infinisil> well the home-manager argument is the most relevant one for me
periklis has quit [Ping timeout: 256 seconds]
elurin` has quit [Remote host closed the connection]
a6a3uh has joined #nixos
<infinisil> but then again, I'm not sure how to do the configuration without the module system, as being able to use option descriptions, types, etc. are really nice
fendor has quit [Remote host closed the connection]
<dtz> we need to hire some full-time maintainers haha, so many PR's so little time :D
<superN00b> ^^
fendor has joined #nixos
Itkovian has joined #nixos
<FRidh2> and a code review bot
<gchristensen> or figure out how to make better use of the maintainers we have and improve their ability to review
<infinisil> hmm, a code review bot sounds nice..
<gchristensen> FRidh2: does a code review bot use magical algorithms (if rand() == 4) to approve PRs?
<gchristensen> (what is a code review bot?)
davidcl has quit [Quit: The Lounge - https://thelounge.github.io]
ambro718 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34116: Update hy to latest version (master...patch-1) https://git.io/vN2Zj
NixOS_GitHub has left #nixos [#nixos]
<dtz> (oblig xkcd: https://xkcd.com/221/)
<FRidh2> gchristensen: I think 90% of my review comments are just repeating things over and over again
davidcl has joined #nixos
<infinisil> gchristensen: Hmm maybe just check the formatting for starters. Then maybe also check that meta is set. (Talking specifically about pkgs PRs)
<FRidh2> which is getting rather frustrating
<infinisil> FRidh2: Such as?
dbe_ has quit [Ping timeout: 240 seconds]
<gchristensen> FRidh2: can you help me define some rules here that could be detected?
szicari_ has joined #nixos
<FRidh2> gchristensen: sure, where would you like to collect these?
<srhb> In most cases where I leave alone a PR it's because I don't feel confident about the topic and I don't know who to refer it to (or whether there's a process for that)
MP2E has joined #nixos
<gchristensen> FRidh2: it could be an issue here: nixos/ofborg or even just in chat
<FRidh2> In its simplest form it would be sufficient if it would simply point to certain predefined "comments" based on what files are touched
<srhb> Somewhat alleviated by githubs auto detection, but could maybe also be helped by a "maintainer catalog" with self-descriptions of topics of interest.
<infinisil> +1 to that, I don't know 95% of the packages of the PR's
<FRidh2> simply because guidelines vary per part of Nixpkgs and are updated all the time as well
<dtz> infinite build power and many more tests, might make reviewing things easier. Doesn't replace using your brain of course but it helps :)
<gchristensen> FRidh2: if it is that simple, of map files touched -> static comment, this is easy
<FRidh2> gchristensen: yes, such a bot has been on my todo list :)
pie_ has joined #nixos
<gchristensen> FRidh2: define some rules, I'll build it
szicari has quit [Ping timeout: 255 seconds]
szicari_ is now known as szicari
<FRidh2> alright
dkao has joined #nixos
mizu_no__ has joined #nixos
ckauhaus has joined #nixos
a6a3uh has quit [Quit: Hi]
datakurre has quit [Ping timeout: 265 seconds]
pie__ has joined #nixos
knupfer has joined #nixos
Dezgeg has quit [Ping timeout: 246 seconds]
pie_ has quit [Ping timeout: 268 seconds]
mizu_no__ has quit [Quit: Computer has gone to sleep.]
ent has quit [Ping timeout: 248 seconds]
<FRidh2> gchristensen: https://github.com/NixOS/ofborg/issues/41 I'll add more, but have to go now
<gchristensen> yep, thanks!
ent has joined #nixos
<gchristensen> I'm in the middle of retooling how ofborg comments on PRs, so this is a perfect time to get this sort of idea in :)
<FRidh2> great
<FRidh2> I do think this kind of tool on its own is extremely useful for other projects as well
<gchristensen> yeah
datakurre has joined #nixos
Dezgeg has joined #nixos
oida has joined #nixos
<gchristensen> I have a bit of an ecosystem / framework the tools fit in to... other people could set that framework up on their own, or pull out the logical bits, or someone else could build it in such a way that doesn't use the framework I've been working i
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
burgdorfer has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/931a0b8be80 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [Client Quit]
oida has quit [Quit: WeeChat 1.6]
<dtz> \o/
<infinisil> gchristensen: i got it to crash though!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] P-E-Meunier opened pull request #34238: Carnix: 0.5.0 -> 0.5.3 (master...carnix-0.5.3) https://git.io/vNKob
NixOS_GitHub has left #nixos [#nixos]
<gchristensen> infinisil: yeah, it isn't crash-proof :)
<tilpner> infinisil - You don't need the merging functionality of the module system. So you're just missing type checking, right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 13 new commits to staging: https://git.io/vNKKU
<NixOS_GitHub> nixpkgs/staging fffd72c Will Dietz: lsof: fix for cross
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging b62864a Ben Gamari: e2fsprogs: Enable cross-compilation
<NixOS_GitHub> nixpkgs/staging 3fe8e61 Will Dietz: e2fsprogs: depsBuildBuild
<infinisil> Well i can't really say anything since my backend'y been (probably) memory leaking for this whole time and i haven't fixed it
<infinisil> tilpner: yeah, only part of it would be required
<infinisil> Guess some new functions are required for it to work nicely
peacememories has joined #nixos
ckauhaus has quit [Remote host closed the connection]
<tilpner> Just some way to check an attrset against a structure, complain on type mismatch, complain on missing required argument, fill in missing optional arguments as default, right?
peacememories has quit [Client Quit]
detran has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34144: cataclysm-dda{,-git}: fix share directory (master...cdda-fix-share-dir) https://git.io/vNago
NixOS_GitHub has left #nixos [#nixos]
<manveru> disasm: got it working?
magnetop` has joined #nixos
magnetop` is now known as magnetophon
<infinisil> tilpner: hmm yeah, plus some way to generate docs would be nice
<tilpner> Oh, right
mekeor has joined #nixos
rihards has joined #nixos
ckauhaus has joined #nixos
<infinisil> tilpner: i guess it's pretty much a function invocation wich checked types, which would be generally useful, not just for this
mekeor has quit [Ping timeout: 255 seconds]
nextos has joined #nixos
musicmatze has quit [Ping timeout: 248 seconds]
<hodapp> "cannot find -lboost_python-py34" bluuuuuuugh, why is something insisting on... python 3.4 bindings for boost?
<hodapp> is this even a thing I can install?
musicmatze has joined #nixos
Myrl-saki has quit [Ping timeout: 240 seconds]
dkao has quit [Ping timeout: 260 seconds]
Rusty1_ has joined #nixos
ckauhaus has quit [Remote host closed the connection]
<nextos> hi, im using nixos and there's a little thing that annoys me but haven't figured out. "nixpkgs.git" maps to "git-minimal" but I'm getting an ugly x11 password popup everytime I need to enter credentials when I push to some repo. Theoretically git-minimal builds with gui=false, so im a bit puzzled
Guest94608 has quit [Ping timeout: 246 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hoverbear> nextos: Are you using gpg signing or something maybe?
mekeor has joined #nixos
<hoverbear> nextos: Nevermind me I don't know what I'm talking about, I just realized you mean the https auth which I've never used. xD
<hodapp> ugh, fetchFromBitbucket is hard-coded to assume .tar.gz when the repo I'm looking at is providing only .zip
ckauhaus has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
alexteves has joined #nixos
<nextos> hoverbear: it seems like a tcl/tk dialog. i get this by simply pushing to a github repo, which asks username/pass credentials.
<nextos> And by inspecting git derivation, i see that git-minimal makes gui=false
<nextos> which disables tcl/tk, so i must be missing something
<nextos> yeah its https auth
<cransom> nextos: is it possible you have another git in your path/profile that isn't minimal and it's overriding the system?
jensens has quit [Ping timeout: 264 seconds]
<hodapp> there is https://bitbucket.org/OscarAcena/pygattlib/get/a858e8626a93.zip, there is likewise for tip.tar.gz, but no a858e8626a93.tar.gz... not sure what the deal is here
<hodapp> in any case no idea why someone thought it was a great idea to hard-code this
goodwill has joined #nixos
alexteves_ has quit [Ping timeout: 240 seconds]
<nextos> cransom: im running s2cn5jmkywlv7ar4l05l52gasimzy0c8-git-2.15.0
<nextos> and the dialog seems to come from a call to x11-ssh-askpass
<nextos> seems like a runtime thing as nix why-depends nixpkgs.git nixpkgs.x11_ssh_askpass returns false
fyuuri has joined #nixos
<hoverbear> nextos: Is your ssh key password protected? It might be coming from the ssh agent
ckauhaus has quit [Remote host closed the connection]
<nextos> hoverbear: i think it's explained well here https://github.com/NixOS/nixpkgs/issues/25290
<nextos> hoverbear: im not using any key, its just github asking for username and pass when i git push
fyuuri has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #34232: nix-prefetch-git: fix extraction of submodule hashes on latest git (master...fix/nix-fetchgit-hash-extraction) https://git.io/vNKs3
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #34239: slack: 3.0.0 -> 3.0.5 (master...update/slack-3.0.5) https://git.io/vNKMv
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 2d57426 Benjamin Staffin: linux-steam-integration: Append "Settings" to settings launcher menu item (#34020)
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] benley pushed 1 new commit to master: https://git.io/vNKMa
<dtz> gchristensen: are you using my PR
<gchristensen> what PR?
<dtz> *PR's as testing PR's? :D
<dtz> sorry I didn't mean to hit enter
nextos has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
dejanr has joined #nixos
<gchristensen> not specifically _your_ prs... :)
<dtz> and it's very okay that you are :)
<dtz> ...nevermind, carry on.
<dejanr> hello, anyone using nixops with hetzner cloud?
<gchristensen> dtz: I'm testing on a lot of PRs :P trying to debug a deadlock :(
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c52254b500c (from 21 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [Client Quit]
<dejanr> i know nixops supports hetzner via robot, haven't found anything regarding hetzner cloud, maybe i would just try nixops infect
ckauhaus has joined #nixos
ckauhaus has quit [Ping timeout: 240 seconds]
mekeor has quit [Quit: gotta go]
MichaelRaskin has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
kitemikaze has quit [Ping timeout: 264 seconds]
alasi has joined #nixos
tmaekawa has joined #nixos
<catern> Are there any materials I could use for teaching a class on Nix?
<tilpner> On using Nix, writing Nix, doing what?
<tilpner> There was an interactive Nix tutorial at nixcloud.io/tour
<tilpner> But it seems to be offline
Drakonis has joined #nixos
morenoh149 has joined #nixos
<catern> Using Nix, but that generally requires a basic knowledge of the Nix language too
<morenoh149> does nix work with mac os running zsh?
<catern> tilpner: hmm yeah that's a bit disappointing, that tour was really nice
<tilpner> It's probably just server maintenance, it was online earlier today
<catern> There is a package in Nixpkgs for it anyway :)
<tilpner> morenoh149 - It should
tmaekawa has quit [Quit: tmaekawa]
<morenoh149> tilpner: yeah, reading through the issues suggests upgrading osx to 10.13
yegortimoshenko has quit [Remote host closed the connection]
<catern> tilpner: I'm tempted to just tell people to read the manual
<catern> The Nix manual is really excellent :)
<catern> Or at least, it's adequate :)
<tilpner> Except that they'll get confused because they found one of the other dozen manuals instead :/
yegortimoshenko has joined #nixos
<catern> I'll send them the link :)
<hoverbear> catern: It is adequate. It has lots of content but it's a bit challenging to consume I find.
<raynold> ahh it's a wonderful day
<hoverbear> raynold: It really is =D
<hoverbear> Tomorrow will be better, because I am dog-sitting.
fuyuuri has quit [Ping timeout: 255 seconds]
reinzelmann has joined #nixos
zarel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #34185: gnome-shell-extension-pixel-saver: init at 1.10 (master...gnome-shell-extension-pixel-saver) https://git.io/vNwvu
NixOS_GitHub has left #nixos [#nixos]
zzamboni has joined #nixos
digitalmentat has joined #nixos
<digitalmentat> I'm really curious, does anyone know if we generate manual pages for functions found in the `nixpkgs/lib` directory?
nonethejewels has joined #nixos
zzamboni has quit [Quit: Leaving.]
<LnL> no, but there have been some ideas like https://github.com/NixOS/nixpkgs/pull/27394 to generate it
rauno has joined #nixos
<digitalmentat> ah okay, in evangelising Nix to other people in my company, the complaint that lib functions aren't in the manual comes up a lot (that it's hard to search github for the word "version" when what you're looking for is in `nixpkgs/lib/*`)
<digitalmentat> I will look at that PR and see if there's anything I can do to help
<digitalmentat> thanks LnL
orivej has joined #nixos
Olgierd has quit [Quit: WeeChat 1.9.1]
morenoh149 has quit [Ping timeout: 248 seconds]
Olgierd has joined #nixos
<hodapp> weird... keep running into issues because something wants to link against boost_python-py34 (which is missing as I'm on Python 3.6). I applied a patch from a PR to make that boost_python-py36 - but that too is not present, however, libboost_python is; can I rely on this being present and being the correct version?
jrolfs_ has joined #nixos
<hodapp> I guess I could get the correct library name somehow and put that in the patch...
mkoenig_ has quit [Ping timeout: 265 seconds]
burgdorfer_ has joined #nixos
morenoh149 has joined #nixos
burgdorfer_ has quit [Client Quit]
fendor has joined #nixos
mkoenig has joined #nixos
zzamboni has joined #nixos
Itkovian has joined #nixos
zzamboni has quit [Quit: Leaving.]
<disasm> manveru: not yet
zarel has quit [Ping timeout: 240 seconds]
asuryawa_ has joined #nixos
<hoverbear> Huh, for some reason my nixos install is building rustc from scratch
asuryawa_ has quit [Remote host closed the connection]
<srid> hoverbear I have the same issue on 17.09 (not on unstable though)
<tilpner> LnL - ^?
asuryawa_ has joined #nixos
<LnL> hmm?
<nonethejewels> i'm new to nixos and looking at the example config and online manual i see one can search for packages with `nix-env -qaP`. i tried that but searching for "xmobar" i don't see anything. looking at another person's config i see `haskellPackages.xmobar` but why isn't that among the results of `nix-env -qaP` ? is there some option somewhere that would allow more results (albeit much slower, i'm
<LnL> ah yes, a fix will be on it's way soon
<nonethejewels> guessing)?
<LnL> nix-env won't search everything like haskell stuff by default
<hoverbear> srid: I think it's ripgrep, hydra might be building i
<hoverbear> it
<LnL> nix-env -f '<nixpkgs>' -qaP -A haskellPackages
morenoh149 has quit [Ping timeout: 252 seconds]
<srid> Yup, ripgrep.
<LnL> also take a look at nix-index
<srid> I ripped it away and went back to ag.
<tilpner> hoverbear - The issue is a few days old, LnL says it'll be fixed soon. For now you can try another channel or not use rustc for now
asuryawanshi has quit [Ping timeout: 256 seconds]
<taktoa> jeez, I guess it's been a while; `nix-collect-garbage --delete-older-than 45d` just freed up 35 GiB of space
<disasm> manveru: I tried adding --use-system-libraries and it complained about xcode being required
<tilpner> hoverbear - Try nixos-unstable, it has prebuilt rustc
<hoverbear> tilpner: =D Danke
<LnL> tilpner: hoverbear: well we have the other rustc version that's used by firefox
<hoverbear> LnL: I am not complaining. :)
<LnL> tilpner: hoverbear: (self: super: { ripgrep = super.ripgrep.override { rust = super.rust119bin; }; })
<disasm> err You have to install development tools first.
<LnL> probably works
<tilpner> LnL - Did you figure out why this happens? Is rustc not a requirement for channel advancement?
<tilpner> Well, maybe not, if firefox uses another package
<LnL> tilpner: exactly what I just posed, firefox needs a newer version of rust so that didn't stop the channel update
<tilpner> LnL - I didn't know about the version pin for FF, so I assumed normal rustc would be covered by Hydra checks. Thanks :)
<tilpner> (Maybe it should be?)
<hoverbear> Ripgrep builds fine on nightly so it's fine =D
<tilpner> s/nightly/unstable/
<tilpner> Oh, you mean Rust nightly
<tilpner> Oops
<hoverbear> tilpner: No I mean rustc nightly. I happen to be a rustdev and usually just use nightly lol
<catern> nonethejewels: just grepping your local copy of nixpkgs can also work well
<tilpner> And I know you are! :/
<hoverbear> tilpner: =D
<hoverbear> tilpner: Did we meet at a rust conf? I can't remember. :(
<catern> nonethejewels: nix-index is faster though
lonokhov has joined #nixos
<tilpner> hoverbear - No, we talked about Rust a few times in 2014/2015(?), and your name is catchy
<hoverbear> Hahaha
<tilpner> My logs don't reveal what about though
zarel has joined #nixos
alex`` has joined #nixos
<tilpner> hoverbear - Earliest thing still in my logs is when we talked about cooperating on an RFC for item references for rustdoc. Which still didn't happen, right?
srdqty1 has joined #nixos
<hoverbear> tilpner: Actually it just landed on nightly
<tilpner> :o
<tilpner> Do you have a link? c.c
kreetx has joined #nixos
<hoverbear> tilpner: Literally yesterdat
<tilpner> Sweet :D
simendsjo has quit [Remote host closed the connection]
ryanartecona has quit [Quit: ryanartecona]
acarrico has quit [Ping timeout: 246 seconds]
jensens has joined #nixos
<magnetophon> Could someone remind me of the name of the website that shows which pkgs you maintain and lets you find which are outdated?
<MichaelRaskin> I think you mean monitor.nixos.org, and I separately think it is down
<magnetophon> MichaelRaskin: Thanks, but there was also another one, not related to nixos, with a name that's a variation on repo or pkg or something
<MichaelRaskin> repology?
<MichaelRaskin> https://repology.org/
<magnetophon> MichaelRaskin: bingo! thanks!
<MichaelRaskin> Didn't know it tracks maintainers.
<MichaelRaskin> Yes, now I have found it.
<MichaelRaskin> I have seen mass-fixes for repology-tracked problems but didn't look at the site per se.
orivej has quit [Ping timeout: 252 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 4c36d7e Will Dietz: brotli: run tests
<NixOS_GitHub> [nixpkgs] grahamc pushed 3 new commits to master: https://git.io/vN6e1
<NixOS_GitHub> nixpkgs/master c403410 Will Dietz: brotli: install man pages
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master b8419d5 Graham Christensen: Merge pull request #34191 from dtzWill/fix/brotli-misc...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #34121: parallel: 20171022 -> 20180122 (master...parallel) https://git.io/vN2Vt
NixOS_GitHub has left #nixos [#nixos]
reinzelmann has quit [Quit: Leaving]
jensens has quit [Ping timeout: 240 seconds]
jb55 has joined #nixos
ma27 has quit [Ping timeout: 255 seconds]
digitalmentat has quit [Quit: Leaving]
coot has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34239: slack: 3.0.0 -> 3.0.5 (master...update/slack-3.0.5) https://git.io/vNKMv
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #34206: moe: fix build w/libc++ using touchup from mailing list (master...fix/moe-libcxx) https://git.io/vNrMk
NixOS_GitHub has left #nixos [#nixos]
Myrl-saki has joined #nixos
jensens has joined #nixos
dan_b has joined #nixos
duckwho has quit [Quit: WeeChat 2.0.1]
hamishmack has quit [Quit: hamishmack]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34081: gobjectIntrospection: use absolute path for cairo GIR (staging...gir-abs-cairo) https://git.io/vNzj4
NixOS_GitHub has left #nixos [#nixos]
dan_b_ has joined #nixos
dan_b has quit [Read error: Connection reset by peer]
zzamboni has joined #nixos
cole has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #34242: citra: 2017-07-26 -> 2018-01-24 (master...citra) https://git.io/vN6JI
NixOS_GitHub has left #nixos [#nixos]
JosW has quit [Quit: Konversation terminated!]
burgdorfer is now known as burgdorfer-
magnetop` has joined #nixos
<cole> Hi all, I'm trying to install nix from source and I get an error generating the documentation. Does anyone know if there is a way to compile without generating the documentation?
magnetophon has quit [Ping timeout: 246 seconds]
burgdorfer[m] has joined #nixos
<simpson> cole: It should be taken care of automatically if you're using Nix to run the build. Is this Nix unstable or from a release?
<LnL> any particular reason you don't want to use nix to build it?
<cole> I'm using the master branch, so I guess unstable?
jb55 has quit [Ping timeout: 252 seconds]
<cole> LnL I am trying to install nix package manager on RedHat OS, so I can't use nix to build it unfortunately
<simpson> Hm. Doesn't the single-user installer work on RHEL?
jensens has quit [Ping timeout: 240 seconds]
<LnL> the installer should work, but if you really want an rpm: https://hydra.nixos.org/eval/1427242?filter=rpm
FRidh2 has quit [Quit: Konversation terminated!]
coot has joined #nixos
asuryawa_ has quit [Ping timeout: 240 seconds]
<cole> simpson it would, but I don't have root privleges so I need to set a custom locations for the prefix, state, and store
<simpson> cole: Oh yikes.
<simpson> I mean, yes, that *can* be done, but every single package must be rebuilt, and you're basically doing Gentoo or LFS at that point.
<MichaelRaskin> And user namespaces are not enabled, I guess
<simpson> Maybe just don't use Nix on this machine? It doesn't sound like it's your machine, so it's really not up to you whether it has Nix.
<MichaelRaskin> Well, if you compare to LFS, it is still A/B LFS
rihards has quit [Quit: rihards]
<MichaelRaskin> It might still be less annoying to build everything using Nix than update hand-compiled stuff≤
<simpson> Oh, yeah, the one great thing is that once that Nix build gets started, it'd probably gonna Just Work. But you can't get meaningful sandboxing without the Nix daemon, right?
<maurer> simpson: One of the nice use cases for non /nix/ located nix-stores _is_ for personal environments where you don't have control over the system
<maurer> tbh that's how I found it in the first place
<MichaelRaskin> No sandboxing, that's true.
<simpson> maurer: Yeah, I know, but it's just at such a high cost... I'd rather just not use those machines.
<MichaelRaskin> On the other hand, no-sandboxing-only bugs do get fixed if found in Nixpkgs…
<cole> simpson you have a valid point, but our use case _is_ as a personal environment like maurer
burgdorfer[m] is now known as burgdorfer
<simpson> cole: I'm not saying that you can't do it. I'm saying that the situation you're finding yourself in is a stupid one, and there's pain in all of the directions.
Myrl-saki has quit [Ping timeout: 265 seconds]
<MichaelRaskin> If you have more than one machine like that, make sure you set up some way of sharing at least between them
<simpson> cole: So, to double-check, you're reading the directions at https://nixos.org/nix/manual/#sec-building-source right?
<maurer> cole: As a warning though, if you don't have root, you're either going to need to engage in shenanigans, or the nixos cache won't work for you (in which case everything will be built locally)
<hoverbear> tilpner: I think zsh will be quite an interesting project to allow customizations on
alpounet has joined #nixos
<tilpner> hoverbear - How so? Challenging-interesting?
<hoverbear> tilpner: I think I will learn a lot, still puzzling how the neovim stuff works
<cole> simpson correct, I am following those directions. I think I can get it installed if I can somehow skip building the documentation
ryanartecona has joined #nixos
samae has quit [Remote host closed the connection]
alp has quit [Ping timeout: 248 seconds]
alpounet is now known as alp
<maurer> cole: --disable-doc-gen
yegortimoshenko has quit [Remote host closed the connection]
<maurer> cole: Be sure to override localstatedir and with-store-dir as well, unless you magically have write access to /nix
yegortimoshenko has joined #nixos
<cole> maurer thank you! I will try out that option. And I am overriding the store directory as well, thanks.
nico202 has joined #nixos
<tilpner> hoverbear - You need a wrapper, but I don't know how featured it has to be. All I would need is a wrapper that allows me set a custom zshrc
<nico202> do you remember the name of the nix-based static blog engine?
<hoverbear> tilpner: I think that some of it I can copy from the programs.zsh thing
<maurer> styx
<nico202> maurer: thanks!
<maurer> Though, tbh I'm not convinced that styx is any better than just writing your own default.nix script around e.g. hakyll inovcation on your source dir or something
<maurer> Maybe there's some benefit I'm not seeing though
fendor has quit [Quit: Leaving]
<tilpner> hoverbear - Yes, all of that seems doable with a custom entrypoint. I guess we do need those checked function calls after all...
waleee has quit [Quit: WeeChat 2.0]
hamishmack has joined #nixos
<hoverbear> tilpner: I don't really see where things get configured though
<tilpner> hoverbear - Are you looking for nixpkgs/nixos/modules/programs/zsh/zsh.nix ?
* tilpner .oO( Where is the bot when we need it? :/ )
acarrico has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
knupfer1 has joined #nixos
<tilpner> hoverbear - Look at pkgs/misc/vim-plugins/vim-utils.nix
hamishmack has quit [Client Quit]
<tilpner> hoverbear - That provides the vimUtils.vimrcFile function. Maybe that's what you're looking for
zarel has quit [Quit: Leaving]
knupfer1 is now known as knupfer
<hoverbear> I wish i understood what the heck that is all doing lol
coot has quit [Quit: coot]
<tilpner> That's where it's used
lonokhov has quit [Quit: Lost terminal]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #34243: gitlab-runner: 10.3.0 -> 10.4.0 (master...gitlab-runner-10.4.0) https://git.io/vN6tJ
NixOS_GitHub has left #nixos [#nixos]
spear2 has joined #nixos
orivej has joined #nixos
jensens has joined #nixos
hiratara has quit [Ping timeout: 276 seconds]
Thra11 has joined #nixos
hiratara has joined #nixos
kreetx has quit [Ping timeout: 240 seconds]
Itkovian has quit [Remote host closed the connection]
<catern> hey #nixos
<catern> can someone check, on their NixOS system
<catern> in /etc/profile.d, is there both nix.sh and nix-daemon.sh?
Itkovian has joined #nixos
<simpson> catern: I don't have an /etc/profile.d/
<simpson> HTH
<catern> thanks
alexteves has quit [Ping timeout: 252 seconds]
<tilpner> We do have /nix/store/*-nix-*/etc/profile.d/{nix.sh,nix-daemon.sh} though
athan has quit [Ping timeout: 255 seconds]
<catern> tilpner: yeah, but they aren't automatically sourced, right?
<catern> I need to go ahead and actually set up a NixOS system :)
<hoverbear> tilpner: I will bother with it more later. :)
<hoverbear> catern: Going from nixos -> nix for something things I've been quite disappointed. Eg no way to configure zsh via override
<tilpner> hoverbear - Now is a good time, I'll not be here in a few hours. Or tomorrow...
<hoverbear> catern: Hopefully going from nix->nixos will be very pleasant.
Itkovian_ has joined #nixos
<hoverbear> tilpner: Sleeping is a better plan. 💤
<catern> well, I still can't actually use NixOS :)
<catern> I just need one to tinker with
<tilpner> It is :)
<hoverbear> catern: Fire up a vm then =D
<tilpner> catern - You can get free nixos VPS' for 2 hours at dply.co
<tilpner> Kind of...
Itkovian has quit [Ping timeout: 240 seconds]
cement has quit [Ping timeout: 240 seconds]
cole has quit [Ping timeout: 264 seconds]
acarrico has quit [Ping timeout: 252 seconds]
cement has joined #nixos
athan has joined #nixos
<catern> Well, I also want to set up the logic for
<catern> installing a NixOS system from a running Linux on another partition or in a subdirectory, and then chrooting or container-ing into it
<MichaelRaskin> With two partitions this should actually be pretty easy
<MichaelRaskin> nixos-install doesn't really care whether it is called from a true NixOS
acarrico has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #34244: rust: disable another fragile test (master...rust-skip-test) https://git.io/vN631
NixOS_GitHub has left #nixos [#nixos]
ixxie has joined #nixos
hamishmack has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
magnetop` has quit [Ping timeout: 260 seconds]
derchris has quit [Read error: Connection reset by peer]
derchris_ has joined #nixos
derchris_ has quit [Read error: Connection reset by peer]
jensens has quit [Ping timeout: 256 seconds]
<catern> MichaelRaskin: I mean, it's not that easy
<catern> for some reasons
simukis has quit [Ping timeout: 248 seconds]
<catern> but yes it's possible
<MichaelRaskin> I basically use a half of it.
<MichaelRaskin> The half that is supposed to be the hard part.
<catern> what part is that?
magnetop` has joined #nixos
<cransom> 💤
<cransom> oops. apparently lots of double clicking in iterm eventually pastes?
<MichaelRaskin> nixos-prepare-root. Empty filesystem(s) mounted → /nix/store with specified closure pushed with basic stuff in /etc for having a chance to build
jluttine has quit [Ping timeout: 260 seconds]
magnetop` is now known as magnetophon
swayf has joined #nixos
<MichaelRaskin> cransom: eventually you hit the wheel/middle button/two-finger-tap
tlotze has joined #nixos
<cransom> that could be too.
szicari has quit [Quit: szicari]
derchris has joined #nixos
jluttine has joined #nixos
ryanartecona has joined #nixos
<tlotze> hi, I have the following problem while trying to nix-env -u --leq:
<tlotze> Package ‘binutils-wrapper-2.28.1’ in /nix/store/mn2p9awcq3s9xcmys7jdhs8yg4vj6ihy-nixpkgs-18.03pre126020.931a0b8be80/nixpkgs/pkgs/build-support/bintools-wrapper/default.nix:300 is not supported on ‘x86_64-linux’, refusing to evaluate.
<tlotze> What could this be?
<tlotze> Surely, binutils should be supported. (And it doesn't give me this kind of trouble on another machine with the same nixpkg version.)
<tlotze> Any more precise information needed?
swayf_ has joined #nixos
swayf has quit [Ping timeout: 265 seconds]
hiratara has quit [Quit: ZNC - http://znc.in]
ryanartecona has quit [Ping timeout: 260 seconds]
hiratara has joined #nixos
<LnL> can you paste the --show-trace somehwere
mpickering has quit []
mpickering has joined #nixos
burgdorfer- has quit [Ping timeout: 260 seconds]
ambro718 has quit [Ping timeout: 260 seconds]
<LnL> hmm reexport-hack, are you on darwin?
swayf_ has quit [Read error: Connection reset by peer]
swayf has joined #nixos
<tlotze> LnL: I'm on x86_64-linux, using nix on top of another distribution.
<tlotze> (Same setup as on the machine where it does work, actually.)
<LnL> oh!
<LnL> you have stdenv in nix-env -q?
<tlotze> yes
<tlotze> ah, I don't on that other machine
swayf has quit [Client Quit]
<LnL> that doesn't really do anything afaik
<tlotze> let's try
<LnL> there are multiple variants of the stdenv and nix-env -u is getting confused about what variant to upgrade to
<tlotze> tadaa, it breaks the same way on the other machine if I try to install stdenv there
<tlotze> or install in the first place, as it seems
<LnL> yes, without -iA you'll run into the same thing while installing
<tlotze> thanks a lot for finding this so quickly, wouldn't have expected it
cement has quit [Ping timeout: 240 seconds]
<tlotze> so I've got to find out now why I installed it here...
swayf has joined #nixos
dbe_ has joined #nixos
<tlotze> probably left-overs from rying out stuff
nico202 has quit [Quit: Leaving]
<tlotze> might be so it kept some stuff from being gc'ed that would otherwise be pulled over and over again
glenn_ has quit [Ping timeout: 265 seconds]
knupfer has quit [Ping timeout: 260 seconds]
<tilpner> Hmm, does deadlock: trying to re-acquire self-held lock '/nix/store/7vrk0w2sm13nr2lylbmdmm8i1fkwh222-mounts.sh.lock' seem familiar to anyone?
<clever> tilpner: is localhost a buildslave?
<tilpner> I didn't configure anything related, so no
dkao has joined #nixos
<tilpner> I don't think there's a single non-daemon nix process running
<tilpner> :/
<tilpner> Oh, and of course it magically vanishes
<tilpner> Problem "solved" :(
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
acarrico has quit [Ping timeout: 240 seconds]
erasmas has quit [Quit: leaving]
<tilpner> I don't really expect there to be, but is there a way for Nix expression to change what <foo> resolves to? Super unsafe is okay
pingveno_ has quit [Quit: leaving]
<MichaelRaskin> I think there could be if you want the change to apply locally. Globally… there was actually some PR about that.
<MichaelRaskin> Basically builtins.nixPath is also __nixPath and it is a bit more of a normal variable than one could assume.
vidbina has joined #nixos
dbe_ has quit [Ping timeout: 240 seconds]
<tilpner> Oh, maybe even that won't be enough :/
quam6246 has joined #nixos
iqubic has joined #nixos
<tlotze> While I'm here, I have another question. I hope it's not too basic but I didn't find anything relevant-looking in the manual... nix-env -qc gives me a line like this: "libreoffice-5.3.6.1 < 5.4.1.2" But nix-env -u doesn't upgrade libreoffice. What could be keeping it from doing so?
<tilpner> I've overridden <nixpkgs> and <nixpkgs/nixos>, but now I can't get <nixpksg/nixos/modules/profiles/qemu-guest.nix> to work. I'll try something horrible
<iqubic> How hard is it for me to write a derivation of my own to install an out of tree package?
<tilpner> That depends entirely on what you want to package, ranging from "5 minutes" to "nearly impossible"
<tlotze> iqubic: it certainly depends on the software's build requirements but I found it easy enough for a simple case, it's very well documented.
<iqubic> This particular software has a list of depedencies on their github page.
<LnL> depends a lot on the package
<iqubic> Yeah, I get it.
<LnL> but for the usual ./configure && make install it's pretty streightforward
<iqubic> Actually, the install is not that simple.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #34245: addPassthru: fix argument order (master...addPassthru) https://git.io/vN6lH
NixOS_GitHub has left #nixos [#nixos]
<iqubic> But the project's github page details exactly how to install it.
<iqubic> So all I need to do is learn how to write a derivation, and how to specify the deps.
<iqubic> I want to use a different install script than "./configure && make install"
glenn_ has joined #nixos
<LnL> the stdenv is described in the manual https://nixos.org/nixpkgs/manual/#sec-using-stdenv
cole has joined #nixos
quam6246 has quit [Ping timeout: 268 seconds]
<LnL> there's also the nix pills that gives a pretty nice introduction to nix expressions
Thra11 has quit [Quit: IRC for Sailfish 0.9]
<iqubic> Are there any emacs packages for writing nix derivations?
Sonarpulse has quit [Ping timeout: 268 seconds]
Itkovian_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Acou_Bass> yeah there's a nix mode ( in fact i think there's a couple)
<iqubic> Is it built in, or do I need to fetch it from Melpa?
<Acou_Bass> don't remember to be honest hehe it's been a while, i think it's in melpa
<iqubic> Cool, I go loog for it.
<tlotze> hm, any ideas about my question about not upgrading packages that have newer versions available?
morenoh149 has joined #nixos
<iqubic> I'm just gonna use this:
<Acou_Bass> ive got this installed in my emacs
yegortimoshenko has quit [Remote host closed the connection]
<iqubic> How well does that work fot you.
<Acou_Bass> BUT that being said
<Acou_Bass> https://github.com/NixOS/nix-mode that one is forked off of the nixos github
<iqubic> I'm just going to take whatever's on MELPA and easy to install.
<Acou_Bass> ive got the one from matthew installed, it works fine for me hehe
<Acou_Bass> (i found it on melpa)
fuyuuri has joined #nixos
dejanr has quit [Ping timeout: 264 seconds]
<iqubic> Yeah, that's cool.
<iqubic> What is this: https://melpa.org/#/nix-buffer
<iqubic> I'm not sure if that is useful, but I can get it.
<Acou_Bass> no idea to be honest i dont use it hehe
srdqty1 has quit [Quit: WeeChat 1.9.1]
<iqubic> Yeah. I'm not sure if I should use this or not.
<iqubic> I use emacs daily, but I'm not sure if this is actually all that helpful.
zzamboni has quit [Quit: Leaving.]
<tlotze> bye
tlotze has left #nixos [#nixos]
morenoh149 has quit [Ping timeout: 252 seconds]
duckwho has joined #nixos
duckwho has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vdemeester opened pull request #34246: dep: 0.3.1 -> 0.4.0 (master...update-dep) https://git.io/vN6Rf
NixOS_GitHub has left #nixos [#nixos]
leat1 has quit [Ping timeout: 248 seconds]
jb55 has joined #nixos
quam6246 has joined #nixos
quam6246 has quit [Ping timeout: 252 seconds]