jrolfs has joined #nixos
c74d has joined #nixos
<c74d> I'm on nixos-unstable, which updated a few days ago, yet, despite <https://github.com/NixOS/nixpkgs/pull/31657>, I still have wxmaxima 15.04.0, and I can't think why. What am I forgetting?
jrolfs has quit [(Ping timeout: 248 seconds)]
tekul has quit [(Ping timeout: 260 seconds)]
tekul has joined #nixos
<Ralith> nix-env?
<samueldr> how was it installed? environment.systemPackages or nix-env?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko closed pull request #33154: xfce4-terminal: 0.6.3 -> 0.8.6 (master...xfce4-terminal-0.8.6) https://git.io/vbbcg
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to master: https://git.io/vbbCq
<NixOS_GitHub> nixpkgs/master 87e71f2 Maxwell Huang-Hobbs: glm: 0.9.6.1 -> 0.9.8.4, include built glm.pc
<NixOS_GitHub> nixpkgs/master 02545a6 Robin Gloster: glm: 0.9.8.4 -> 0.9.8.5, clean up build
NixOS_GitHub has left #nixos []
knupfer has quit [(Ping timeout: 240 seconds)]
<globin> Yaniel: ^
ma27 has quit [(Ping timeout: 272 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #24129: glm@0.9.6.1 -> 0.9.8.4, include built glm.pc (master...master) https://git.io/vyb3W
NixOS_GitHub has left #nixos []
<Yaniel> \o/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vbbC3
<NixOS_GitHub> nixpkgs/master a0d3ee9 Robin Gloster: prometheus-blackbox-exporter: 0.10.0 -> 0.11.0
NixOS_GitHub has left #nixos []
jrolfs has joined #nixos
<c74d> Ralith, samueldr: systemPackages; I have nothing installed via nix-env.
orivej has quit [(Ping timeout: 252 seconds)]
jrolfs has quit [(Ping timeout: 252 seconds)]
tekul has quit [(Quit: leaving)]
Tobba has joined #nixos
ambro718 has quit [(Quit: Konversation terminated!)]
vidbina has quit [(Ping timeout: 240 seconds)]
<globin> c74d: did you sudo nix-channel --update?
<c74d> globin: yes
<c74d> well, `nix-channel --update` as root, not with `sudo`
jduan has joined #nixos
<globin> c74d: what does `nix-shell -p nix-info --run nix-info` say?
fragamus has joined #nixos
<c74d> globin: > system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.15, channels(root): "nixos-18.03pre118631.66b63d2f5a", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<samueldr> (you'd need to nixos-rebuild after that, wouldn't you?)
<globin> c74d: your channel is pointing at a commit from "Wed Oct 25 23:08:35 2017"
<c74d> huh
<globin> c74d: so something must have gone wrong while updating the channel
<globin> c74d: what's the output of nix-channel --list as root
<c74d> samueldr: I did
<globin> c74d: could you try re-running nix-channel --update as root?
fragamus has quit [(Client Quit)]
jrolfs has joined #nixos
<c74d> oh, no, I didn't run `nix-channel --update` after all, I just thought I did
<c74d> >_>
<globin> c74d: glad it was this simple :)
<globin> c74d: nixos-rebuild switch --upgrade runs the channel update, too btw :)
<c74d> mhm; that's what I thought I had run, but I forgot the `--upgrade`
<pkill9> damn, worked out why `nix-shell -p nix-info` wouldn't let me run nix-info, i've been making my terminals run the fish shell by putting `exec /usr/bin/fish` at the top of my .bashrc
nuncanada has quit [(Read error: Connection reset by peer)]
jrolfs has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #33131: yEd: 3.17.1 -> 3.17.2 (master...yed) https://git.io/vbFgt
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
ebzzry has joined #nixos
<ebzzry> How do you pronounce NixOS? Niks os or Niks oh es?
otherjrolfs has quit [(Ping timeout: 260 seconds)]
ambro718 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vbblY
<NixOS_GitHub> nixpkgs/master 8640e28 Nick Hu: fdr: 4.2.0 -> 4.2.3
NixOS_GitHub has left #nixos []
bkchr has quit [(Remote host closed the connection)]
jrolfs has joined #nixos
willprice has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] garbas closed pull request #33130: firefox: 57.0.2 -> 57.0.3, firefox-esr: 52.5.2esr -> 52.5.3esr (master...firefox-bin-57.0.3) https://git.io/vbFzk
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
Kingsquee has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to staging: https://git.io/vbbld
<NixOS_GitHub> nixpkgs/staging 8cd2ee9 Lancelot SIX: coreutils: 8.28 -> 8.29...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #30546: Update to Mariadb 10.2 (staging...mariadb-10.2) https://git.io/vdQtJ
NixOS_GitHub has left #nixos []
ambro718 has quit [(Quit: Konversation terminated!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley closed pull request #33120: Xfig update (master...xfig-update) https://git.io/vbFUE
NixOS_GitHub has left #nixos []
tf777 has quit [(Ping timeout: 260 seconds)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a0d3ee9fcec (from 72 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
tmaekawa has quit [(Quit: tmaekawa)]
dan_b has quit [(Ping timeout: 272 seconds)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<pkill9> why does `nix-shell -p blender` seem to download all the blender binary cache again when I already have blender installed?
<pkill9> installed in my user environment*
jrolfs has quit [(Ping timeout: 265 seconds)]
<jeaye> Likely since it updated.
<pkill9> i did `nix-env -u --dry-run` though and blender didn't have any updates
thc202 has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ledif opened pull request #33155: fastpbkdf2: init at version 1.0.0 (master...fastpbkdf2) https://git.io/vbb8R
NixOS_GitHub has left #nixos []
Tuba has joined #nixos
Tobba has quit [(Ping timeout: 265 seconds)]
pkill9 has quit [(Quit: WeeChat 2.0)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pinktrink opened pull request #33156: gdrivefs: 0.14.8 -> 0.14.9 (master...master) https://git.io/vbb8o
NixOS_GitHub has left #nixos []
Tobba has joined #nixos
Tuba has quit [(Ping timeout: 240 seconds)]
Tobba has quit [(Ping timeout: 240 seconds)]
Tuba has joined #nixos
mekeor has quit [(Quit: digital revolution = cryptoanarchism + cybercommunism)]
ottidmes has quit [(Ping timeout: 240 seconds)]
jrolfs has joined #nixos
schaary has quit [(Read error: Connection reset by peer)]
jrolfs has quit [(Ping timeout: 240 seconds)]
schaary has joined #nixos
<jeaye> How can I map a sequence of kv pairs into a set?
<jeaye> Something like (builtins.zipmap my-keys my-vals)
<jeaye> Ah, builtins.listToAttrs, it seems.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markuskowa opened pull request #33157: beegfs: init at 6.17 (master...beegfs-pr) https://git.io/vbb4Z
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
jrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 264 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vbb4Q
<NixOS_GitHub> nixpkgs/master 536d1d3 Maarten Hoogendoorn: dlib: 19.6 -> 19.8
NixOS_GitHub has left #nixos []
lambdamu_ has joined #nixos
lambdamu has quit [(Ping timeout: 264 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #33156: gdrivefs: 0.14.8 -> 0.14.9 (master...master) https://git.io/vbb8o
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #33109: usbguard service: `rules` option should be of type 'lines' (master...usbguard-multiline-rules) https://git.io/vbd2A
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vbbBJ
<NixOS_GitHub> nixpkgs/master 95fde40 Nadrieril: usbguard service: `rules` option should be of type 'lines'
NixOS_GitHub has left #nixos []
jrolfs has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #33101: jbake: init at 2.5.1 (master...master) https://git.io/vbded
NixOS_GitHub has left #nixos []
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vbbB0
<NixOS_GitHub> nixpkgs/master 5908726 Robin Gloster: jbake: cleanup
NixOS_GitHub has left #nixos []
mbrgm has quit [(Ping timeout: 256 seconds)]
mbrgm has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy opened pull request #33158: Revert "Revert "hslib: Function to extract the haskell build inputs of a package."" (master...hslib-haskell-build-inputs-again) https://git.io/vbbBM
NixOS_GitHub has left #nixos []
acarrico has quit [(Quit: Leaving.)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
acarrico has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/vbbRU
<NixOS_GitHub> nixpkgs/master d13d800 Owen Lynch: pjsip: 2.6 -> 2.7.1
NixOS_GitHub has left #nixos []
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 256 seconds)]
otherjrolfs has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
<loke> How does the official nix files get to the main repository? I tried installing the android-studio nix fix, and I got version 2.x, but when I look at the git repository, this file specifies 3.0.1 as I would expect.
Supersonic112_ has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> hey peoples
<fresheyeball> how do I fstab in nixos?
Supersonic112_ is now known as Supersonic112
<samueldr> loke: you installed nixos unstable or 17.09 ?
jrolfs has joined #nixos
<samueldr> fresheyeball: if you mean configure filesystems for mount, https://nixos.org/nixos/options.html#filesystems.
<loke> samueldr: 17.09
<loke> samueldr: I don't mind moving to unstable.
<fresheyeball> samueldr: so I see that
<fresheyeball> but I don't see how it maps to fstab
<samueldr> looks like it's android-studio-preview for 17.09, to get 3.0
<fresheyeball> I need this entry in my fstab specifically
<fresheyeball> /var/cache/gdfs.creds /mnt/gdrivefs gdfs allow_other 0 0
<loke> samueldr: That's an earlier preview package of studio that came out before the official 3.0
<samueldr> ah, actual fstab, hmmmm
<samueldr> loke: often times, the packages in stable are locked at their "stable" versions OR sometimes nobody asked for the updates to cherry-picked
<fresheyeball> samueldr: is there a way I can express that in configuration.nix?
<samueldr> looks like it should map somehow to fstab, looking at my fstab file, my fileSystems are there
<loke> samueldr: I see.
<loke> samueldr: In this case, I wouldn't bind running the downloadable version off the home directory anyway, so I might do that.
<samueldr> fresheyeball: this is how it's mapped to `/etc/fstab` https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/filesystems.nix#L229
<samueldr> loke: you could also do what the penultimate FAQ entry says here: → https://nixos.wiki/wiki/FAQ#How_can_I_install_a_proprietary_or_unfree_package.3F
<samueldr> this would allow you to use anything else form unstable as a systemPackage
<samueldr> though, you'll have to take into consideration updating that channel separately
<fresheyeball> samueldr: that's not good
<fresheyeball> I don't see how I could set fstab the way I need!
jrolfs has quit [(Ping timeout: 256 seconds)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<samueldr> fresheyeball: give me a sec, I need to reboot
<samueldr> but I think I did it
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<fresheyeball> samueldr: what secrets you know?
<samueldr> hmm, not much, I think it may be that I'm more used to nix and nixos
Tuba has quit [(Ping timeout: 240 seconds)]
pie__ has quit [(Ping timeout: 260 seconds)]
<fresheyeball> samueldr: did you figure out how to alter fstab?
<samueldr> no, and I may have misled you, it *maybe* is not working
<samueldr> though, if it can't this should be fixable, but don't know if it's something that would be backported to 17.09, give me a short while, while I sort this out
Tobba has joined #nixos
pie_ has joined #nixos
ghn has joined #nixos
<fresheyeball> samueldr: thank you
* loke decided to switch to unstable for everything, because why not? (is there a reason why I shouldn't?)
dieggsy has joined #nixos
<samueldr> random "breakage" when they change options around, but that's always one rollback away IF it happens
<samueldr> many contributors use unstable
`_ has joined #nixos
<samueldr> unstable isn't THAT unstable since there's an extensive testsuite
<samueldr> BUT, be sure to use __nixos__ unstable and not nixpkgs
<samueldr> the nixos-unstable channel only updates if the test suite passes
<fresheyeball> samueldr: what do you mean?
<samueldr> nixpkgs-unstable channel doesn't check for nixos issues (nixos configuration)
<loke> samueldr: Thanks. That's what I use, I think.
otherjrolfs has quit [(Ping timeout: 256 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
mekeor has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
steshaw has quit [(Quit: Connection closed for inactivity)]
mekeor has quit [(Quit: brb)]
<fresheyeball> samueldr: any progress? I am kind of suprised fstab is hard to alter.
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
<samueldr> it's not fstab that's hard to alter, it's that systemd then (from config) tries to mount it, fails and uhm, goes in failsafe mode
<clever> ah that, thats a pain
<clever> there is a no automount flag you can set for systemd
<`_> I mean for now it'd be easy enough to just put the command in a script that runs on boot
m0rphism has joined #nixos
<`_> I just want to do this right
<samueldr> clever: how do I set that?
<fresheyeball> samueldr: clever: meet my friend `_, who will some day become a nix master
Arcaelyx has joined #nixos
mekeor has joined #nixos
<`_> i'm good at things
<samueldr> oh, I misread, I thought you said "there is a no automount" and not "there is no automount"
<`_> He did
<clever> samueldr: hmmm, to start with, try just adding noauto to the mount flags in the fileSystems entry
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<samueldr> hm, didn't think of using "fstab stuff" in fstab :)
<samueldr> no dice
<samueldr> I thought I could try systemd.mounts, but it's a list instead of an attribute set
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko closed pull request #33098: denemo: init at 2.2.0 (master...denemo) https://git.io/vb5pR
NixOS_GitHub has left #nixos []
<clever> samueldr: what did you try in the nixos config?
<fresheyeball> clever: is there a simple way of having a script that runs on boot?
<fresheyeball> and init script?
<samueldr> one minute, I need to re-reboot :)
<clever> fresheyeball: create a one-shot systemd unit
<fresheyeball> clever: I have no idea what you mean
<samueldr> oh, I'm dumb, I added noauto wrong
<samueldr> I may have it then, once rebooted, I'll know for sure
<`_> Couldn't you just nixos-rebuild build-vm?
otherjrolfs has quit [(Ping timeout: 240 seconds)]
<clever> `_: build-vm doesnt work as well for testing mounting of devices it doesnt emulate
<ghn> Could someone provide some assistance with writing a nixpkgs overlay for the latest docker-compose? I'm trying it out but I'm not making any progress :( I started off using some code that I found in a gist but it was outdated (latest docker-compose will need a python docker module version override too) and the code seemed funny. The I'm talking about is here https://gist.github.com/oscarduignan/6ce341dd02061b7cfd295a8ba7b8b826 and what I
<samueldr> yes, but I'm dumb^W^W I like risks
jrolfs has quit [(Ping timeout: 256 seconds)]
<ghn> error is anon function called with unexpected argument version
<samueldr> clever, fresheyeball, noauto works
<fresheyeball> samueldr: clever: ok, if you will be patient with me
<fresheyeball> I'd like to learn both things
<`_> ;<
<`_> Problem there is I'd have to manually mount it
<fresheyeball> first clever, how would I get that code into my configuration.nix
<fresheyeball> ?
<samueldr> fresheyeball: only if you're patient with others in the future when you'll know more!
<clever> fresheyeball: just put the lines i highlighted into configuration.nix
<fresheyeball> samueldr: this is my eternal goal!
<fresheyeball> clever: what is that doing?
<fresheyeball> is that declaring a new service inline?
<clever> fresheyeball: setting a systemd.service option
<clever> yeah
<`_> Thing is I have all of my bash configs in gdrive
<fresheyeball> what is powertop?
<`_> So ideally it'd be mounted when I'm presented with a shell
<clever> `_: you want to refer to it at compile time, so nixos embeds a snappshot of those scripts into /nix/store/
<`_> Oh hell that makes sense
<`_> I've honestly had intent to rewrite them in nix expressions, but I'm fairly new to this
<clever> is it something you just add to $PATH?
Tuba has joined #nixos
<`_> Not quite, I just symlink a bunch of files and magic
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<`_> This is my .vimrc, my .bashrc, .tmux-config, etc
<clever> vimrc has nixpkgs support
Tobba has quit [(Ping timeout: 240 seconds)]
<`_> What do you mean
<`_> ok
<clever> `_: put the vim equivelent of #include into this vim config
<clever> or just read your vimrc directly with builtins.readFile
<`_> nvim?
Tobba_ has joined #nixos
<clever> not sure how to do nvim with that expression
<`_> I should've mentioned i use nvim
<`_> Not vim
_alice_ has joined #nixos
<`_> I mean builtins.readFile will suffice for nvim
<`_> I was just wondering if it was supported alongside vim
<clever> the tmux config can also be done the same way
<clever> and bashrc
<_alice_> Anyone else have a red bar at the top of their Discord that says "Well, it looks like your Discord installation is corrupt. Let's fix that... together."? I think Nix nuked discord somehow
<`_> My bashrc suite consists of thousands of lines
<`_> I think for now builtins.readFile will have to suffice until I can migrate more towards nix
<clever> `_: you can also just copy all of them into a directory and refer to that directory in the nix expression
<`_> Yeah
<loke> I have a piece of software that I want to build from source. The source does not use the configure&&make dance, but has its own scripts. It also installs into /usr/local by default, but there are some flags I can use to change the install directory. Is there an example nix build file somewhere I can look at that does something similar?
<`_> I think fresheyeball can attest to the robustness of my bash setup
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<`_> I'm the exact opposite of him
<clever> loke: you want to set things like configurePhase, buildPhase, and installPhase to provide commands that do each
Tuba has quit [(Ping timeout: 272 seconds)]
<loke> clever: I see. So bascially the same as a nomral configure&&make solution? Is it as simple as ./configure being the default configurePhase?
<clever> loke: yep
<clever> pretty much
Tobba_ has quit [(Read error: Connection reset by peer)]
<loke> clever: OK, cool. This makes things much more clear.
Tobba has joined #nixos
Dirt[m] has joined #nixos
<loke> clever: In this case, there is no separate configure and build pahses, it's all the same script. Which one should I use, and is there a "correct" way to disable the other?
<loke> Also, is there a vairable that holds the install directory prefix?
<clever> if the configure script cant be found, the default configurePhase does nothing
<clever> and nix expects you to install everything to $out
otherjrolfs has joined #nixos
jrolfs has joined #nixos
drakonis has quit [(Quit: Leaving)]
<loke> clever: The build script requires me to set INSTALL_ROOT to the prefix (defaults to /usr/local). So I should simply use $out in this case?
<clever> yeah
<loke> All right. Let me try this.
<loke> Thanks a lot for your help
<clever> yep
jrolfs has quit [(Ping timeout: 252 seconds)]
otherjrolfs has quit [(Ping timeout: 260 seconds)]
ghn has quit [(Ping timeout: 260 seconds)]
Tobba has quit [(Remote host closed the connection)]
Tobba has joined #nixos
klntsky has quit [(Ping timeout: 272 seconds)]
otherjrolfs has joined #nixos
mizu_no_oto has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
_alice_ has quit [(Remote host closed the connection)]
orivej has joined #nixos
jonafato has joined #nixos
jrolfs has joined #nixos
slack1256 has joined #nixos
<loke> Sorry, but I have one more issue with by build config... I'm using fetchgit in my nix file, but the build script calls git to find things like the version name, but it seems as though fetchgit doesn't leave the ‘.git’ directory intact.
jrolfs has quit [(Ping timeout: 252 seconds)]
<loke> Thus, the build script fails because it can't run ‘git’. What's the workaround?
<loke> I guess I could manually run “git checkout” in the configurePhase?
tmaekawa has joined #nixos
`_ has quit [(Ping timeout: 248 seconds)]
<samueldr> I have to verify, loke, but try adding `leaveDotGit = true;` in your fetchGit call
<samueldr> yep, that should be it
<loke> samueldr: Oh, that would be really neat. Let me try.
tmaekawa has quit [(Quit: tmaekawa)]
tmaekawa has joined #nixos
otherjrolfs has joined #nixos
<loke> samueldr: Still gettting errors telling me it can't run git describe. Is there a way to find the actual directory where this thing is beiong built so that I can check if the .git directory is there or not? (or if there is another error going on)
* AntonLatukha[m] sent a long message: AntonLatukha[m]_2017-12-29_04:37:28.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/JjjsJtnsnstBcFzCoWxlsBbW>
<AntonLatukha[m]> *declaratively
<samueldr> I may look like I know what I'm doing, but I'm still soooo bad at packaging stuff, loke, yes there's a way, but I don't know it off the top of my head
<loke> samueldr: It sure looks like you know what you're doing. :-)
<samueldr> that's my job :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko closed pull request #33107: palemoon: use upstream recommended options (master...palemoon) https://git.io/vbd4v
NixOS_GitHub has left #nixos []
<loke> Thanks for all the help!
<JazzyEagle> Ok, I'm tired of trying to figure this out... Can someone help me figure out the nix-env command to install Haskell's cabal package? I don't know what I'm doing wrong.
<AntonLatukha[m]> I want in fashionable manner add unstable channel to instance.
<samueldr> AntonLatukha[m]: unless I'm mistaken, channels can't be declaratively described using the same mechanism that `nix-channel` uses
<JazzyEagle> I thought it'd be something like nix-env -iA haskellPackages.cabal, but every derivation I can think of is causing one error or another.
<samueldr> AntonLatukha[m]: if it's for using the channel inside the nixos configuration, there's a way in the FAQ on the wiki → https://nixos.wiki/wiki/FAQ#How_can_I_install_a_package_from_unstable_while_remaining_on_the_stable_channel.3F
<samueldr> hm sorry
<samueldr> wrong answer
<loke> samueldr: OK, I can tell you that your recommendation about leaveDotGit was spot-on. The error I'm getting now has a different cause.
<samueldr> :)
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<samueldr> ah, AntonLatukha[m], possibly using this: https://nixos.wiki/wiki/How_to_fetch_Nixpkgs_with_an_empty_NIX_PATH
<samueldr> others here may have other suggestions depending on your use case
<loke> After adding that flag, I can use “git status” (I added it to the buildPhaseto test). However, the script itself is still giving me errors. Time to look at the build script itself methinks.
<samueldr> the CWD may not be what it thinks it should be
<JazzyEagle> Is haskellPackages part of the unstable channel?
tmaekawa has quit [(Quit: tmaekawa)]
<jtojnar> weird, when I use nix-build it fails but nix-shell works
<jtojnar> nix-shell -A flatpak --pure --run "unpackPhase && cd source && patchPhase && configurePhase && buildPhase"
<loke> samueldr: where did you find the information on leaveDotGit? I managed to figure out that th eproblem I have is that the git checkout didn't preserve tags and stuff, which the build script uses to resolve the version ID.
<loke> I was thinking there may be other configuration variables I can use to get the git to behave.
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<samueldr> (I remembered then `grepped` through nixpkgs)
<samueldr> though, the `nixpkgs/pkgs/build-support/fetchgit` folder may be a place to look at loke
fresheyeball has quit [(Ping timeout: 272 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
<loke> samueldr: Found it. Thanks.
<loke> aha! deppclone=true.
<disasm> One of the regular attendees to my devops meetup started using NixOS after my numerous talks :) This is his blog post about contributing to nixpkgs: http://johnmercier.com/2017/12/28/adding-jbake-to-nixpkgs.html
<loke> I mean deepClone=true
schoppenhauer has quit [(Ping timeout: 248 seconds)]
schoppenhauer has joined #nixos
jrolfs has joined #nixos
ebzzry has quit [(Ping timeout: 264 seconds)]
chloe__ has joined #nixos
<chloe__> nick `_
chloe__ is now known as `_
<`_> silly
jrolfs has quit [(Ping timeout: 248 seconds)]
_alice_ has joined #nixos
<_alice_> Anyone know how I can install npm packages globally? I realize it's not nix-y but it makes my life so much easier
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
mekeor has quit [(Ping timeout: 265 seconds)]
<jtojnar> _alice_: You can set `prefix=~/.local/share/npm` in ~/.config/npm/config
<jtojnar> and then just use npm install -g
justan0theruser is now known as justanotheruser
<loke> So I managed to create a nixfile to build SBCL from source. A bit of a mess, but it worked. I'm now trying to figure out how libraries work in nixos. My immediate problem is that SBCL is not linked with all the libraries it needs, instead it dlopen's them on the fly based on the modules I load.
<loke> For example, the SSL module will try to dlopen("libssl.so"), the GSS module will dlopen("libgss.so"), etc...
<loke> Howis this supposed to work in nixos? I can't see a /lib directory with all the libs.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko closed pull request #33040: easyrpg-player: init at 0.5.3 (master...20171225.022736/easyrpg-player) https://git.io/vb7OA
NixOS_GitHub has left #nixos []
Tobba_ has joined #nixos
Tobba has quit [(Ping timeout: 265 seconds)]
jrolfs has joined #nixos
Tobba has joined #nixos
Tobba_ has quit [(Ping timeout: 265 seconds)]
jrolfs has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
la_putin has quit [(Read error: Connection reset by peer)]
pie_ has quit [(Ping timeout: 256 seconds)]
el_putin has joined #nixos
yegortimoshenko has joined #nixos
<yegortimoshenko> is there some way to trigger a sandbox build on system without build-use-sandbox set in nix.conf?
<clever> yegortimoshenko: maybe --option build-use-sandbox true
<yegortimoshenko> clever: i'll try, thanks
dieggsy has quit [(Ping timeout: 252 seconds)]
pie_ has joined #nixos
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<loke> Hmm... It seems my analysis was wrong. There is a lib directory (/run/current-system/sw/lib) but this directory doesn't contain libssl.so, even after I install the openssl package.
<loke> Is there a magic incantation to make it appear there?
<loke> (i'll search some more after lunch)
jrolfs has joined #nixos
deepfire has joined #nixos
<clever> loke: nixos never installs the library component globally, all builds must happen inside nix-build or nix-shell
<yegortimoshenko> is there an easy way to find all packages in nixpkgs that are dependent on some package, by attr?
<yegortimoshenko> nox somehow implements this
jrolfs has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markuskowa opened pull request #33161: minimodem: 0.19->0.24 (master...minimodem-pr) https://git.io/vbbzj
NixOS_GitHub has left #nixos []
_alice_ has quit [(Quit: Konversation terminated!)]
pie_ has quit [(Ping timeout: 265 seconds)]
Tobba has quit [(Ping timeout: 265 seconds)]
deepfire has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markuskowa opened pull request #33162: multimon-ng: 1.0.0->1.1.4 (master...multimon-ng-pr) https://git.io/vbbga
NixOS_GitHub has left #nixos []
lizzeboof has joined #nixos
ebzzry has joined #nixos
lizzeboof has left #nixos ["welp"]
simukis has joined #nixos
tmaekawa has joined #nixos
deepfire has joined #nixos
foo_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko closed pull request #31511: anura: init at 20171110 (master...anura) https://git.io/vFVRt
NixOS_GitHub has left #nixos []
<foo_> hello, i am compiling a tool i wrote on nixos; and i use nix-shell -p requiredLib to do that
vidbina has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko closed pull request #31075: runescape-launcher: init at 2.2.4, fixes #30582 (master...runescape-launcher/init) https://git.io/vFOl6
NixOS_GitHub has left #nixos []
<foo_> i get this warning : ld: warning: ld-linux-x86-64.so.2, needed by /nix/store/g1g31ah55xdia1jdqabv1imf6mcw0nb1-glibc-2.25-49/lib/libc.so.6, not found (try using -rpath or -rpath-link)
<vaibhavsagar> foo_: try nix-shell -p requiredLib gcc
<foo_> vaibhavsagar: what happens to the extra packages that it downloads during nix-shell
<foo_> do they get cleaned up when i run garbage collection
<vaibhavsagar> yes
<foo_> i still get the warning though
<vaibhavsagar> oh, it's a warning
<vaibhavsagar> does your tool compile though?
<foo_> yes, but i don't know why i get this warning
<foo_> why does it say it can't find the interpreter?
<foo_> i am compiling a shared library
<vaibhavsagar> foo_: it's probably because the compilation toolchain expects some things to be in a certain place as per the FHX
<vaibhavsagar> *FHS
<vaibhavsagar> and Nix wreaks havoc on that assumption
<vaibhavsagar> I wouldn't worry about it unless you're getting compilation errors that prevent your build from succeeding
<foo_> makes sense, thanks
Tobba has joined #nixos
asuryawanshi has joined #nixos
ebzzry has quit [(Quit: WeeChat 1.9.1)]
deepfire has quit [(Ping timeout: 248 seconds)]
nallar has joined #nixos
Ross has quit [(Ping timeout: 265 seconds)]
nallar is now known as Ross
<loke> clever: I see. But in this case, the library components needs to be available. Can I force it somehow on a per-library basis?
tmaekawa has quit [(Quit: tmaekawa)]
`_ has quit [(Ping timeout: 252 seconds)]
<clever> loke: why does it need to be available?
<loke> clever: Because the main package is SBCL which is a Common Lisp development runtime. Third-party modules, for example the one that provides TLS, or the SQLite module, or the gzip, or... (well, you get the idea) are often not implemented in pure Lisp. Instead, they dynamically load an underlying .so file and call its functions.
<foo_> i am not clear on what a shell.nix file should return?
<clever> loke: ah, then you need to set LD_LIBRARY_PATH when running the lisp interpreter, to include the path to the libraries
<loke> Some non-insignificant percentage of the libraries available on Quicklisp do this (Quicklisp is like gem for Ruby, or Npm for js)
<clever> foo_: a derivation
asuryawanshi has quit [(Remote host closed the connection)]
<foo_> clever: a derivation of what?
<clever> loke: python has the same problem
<loke> clever: I see. That's OK. But how can I find the proper library path to use?
asuryawanshi has joined #nixos
<clever> foo_: nix-shell will give you an environment suitable to build whatever the derivation would have built
<foo_> clever: i return stdenv.mkDerivation { buildInputs : [ somestuff] }
<foo_> i get an error
<clever> foo_: what is the error?
<foo_> error: illegal name: ‘.drv’
<clever> loke: LD_LIBRARY_PATH=${lib.makeLibraryPath [ openssl ]} i think
<clever> foo_: can you gist the entire shell.nix file and the exact command you ran?
<loke> clever: but that's only available from the nixfile?
<loke> I'd need to find it at runtime.
<clever> loke: yeah, a derivation will need to use that when generating a bash script that wraps the lisp binary
<clever> and the bash script is what gets ran, and handles the runtime stuff
<loke> I see.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko closed pull request #31342: ac - init at 0.1.1 (master...master) https://git.io/vF4cv
NixOS_GitHub has left #nixos []
<clever> foo_: can you screenshot the error?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko pushed 2 new commits to master: https://git.io/vbba7
<NixOS_GitHub> nixpkgs/master ca74d62 Sam Parkinson: eolie: init at 0.9.16
<NixOS_GitHub> nixpkgs/master 76c146c Yegor Timoshenko: Merge pull request #32092 from samdroid-apps/add-eolie...
NixOS_GitHub has left #nixos []
<foo_> clever: it's just this line : error: illegal name: ‘.drv’
<clever> oh
<clever> you need to give a name to the derivation
<clever> name = "something";
ma27 has joined #nixos
<foo_> why the unhelpful error message
<clever> not sure on that
jduan has quit [(Remote host closed the connection)]
<foo_> thanks
<foo_> can i have build steps in the shell file?
<clever> yeah, but they will just become env variables in the shell
<foo_> ah, okay so if i have default.nix, then i can already use that for nix-shell?
<clever> do you want to use the result of default.nix in the shell?
<foo_> clever: isn't the result of default.nix also a derivation?
<clever> yeah, but you can either make a shell suitable for building foo, or you can make a shell that has the finished foo in $PATH
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat deleted mariadb-10.2 at e85e2f5: https://git.io/vbbVe
NixOS_GitHub has left #nixos []
<foo_> okay, one other thing some examples show it as a function like: { pkgs ? import <nixpkgs> {} }: some_expr
<clever> the pkgs argument has a default value of import <nixpkgs> {};
<foo_> right but does it get called automaticallY?
<clever> you still need to call it with a {}
<clever> nix-build and nix-shell auto-call things
<foo_> okay then what's the benefit of using a function?
vidbina has quit [(Ping timeout: 268 seconds)]
<clever> if you load it with callPackage from elsewhere, it will share the instance of nixpkgs
<clever> which helps with many things
<foo_> nice, didn't think of it.
<foo_> why can't i just use the default.nix from nixpkgs without having the whole tree?
dywedir has joined #nixos
<clever> the default.nix file in nixpkgs is just a function that needs to have dependencies passed in
zarel has joined #nixos
<foo_> do you usually clone the tree for maintaining your own packages or just do ad-hoc packaging?
<clever> i tend to just write my own expressions and import <nixpkgs
nix-gsc-io`bot has joined #nixos
<clever> i also tend to make default.nix contain a set of many related packages
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3aec59c99ff (from 20 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
<clever> and then i load each one up with callPackage
ma27 has quit [(Quit: WeeChat 2.0)]
ma27 has joined #nixos
<foo_> thanks for answering the questions.
<clever> yep
<foo_> One last thing: why does nix-* tools take so much time and memory?
<clever> depends heavily on what the expression is doing
<foo_> i was doing a simple nix-env query and it took 3gb of memory and long time i had to interrupt it
<foo_> i was querying the package state with nix-env -qas
<hyper_ch> clever: tried to setup /boot in it's own dataset and just assigne to the whole drive to zfs but couldn't get it to work :(
<clever> `nix-env -i firefox` has to evaluate EVERY SINGLE PACKAGE, and check if the .name attribute matches "*firefox*"
<clever> foo_: -qas does similar, and just prints instead of matching anything
<clever> foo_: but nix-env -iA nixos.firefox, will use very little memory, since it knows exactly which package to eval
<clever> hyper_ch: dang :(
<hyper_ch> we need coreboot to fix all that mess :)
<foo_> but still regexp matching isn't that resource consuming; i can grep my whole home directory in less than that time
<clever> foo_: the problem is executing the nix expressions for 20,000 seperate packages
<clever> foo_: and keeping all of that in ram
<foo_> so how does one go about exploring things
<clever> foo_: i prefer tab-completion in nix-repl
<foo_> right i got to install that; why it's not shipped by default
<foo_> that's all the nix questions for now :)
<clever> in nixUnstable, it has been moved into nix itself now
<foo_> thank you :)
vidbina has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to staging: https://git.io/vbbVM
<NixOS_GitHub> nixpkgs/staging e9aa0d3 Will Dietz: llvm 5: 5.0.0 -> 5.0.1
<NixOS_GitHub> nixpkgs/staging e63b2fb Orivej Desh: Merge pull request #32870 from dtzWill/update/llvm-5.0.1...
NixOS_GitHub has left #nixos []
slack1256 has quit [(Remote host closed the connection)]
ixxie has joined #nixos
<loke> clever: I did what you suggested, and created a wrapper that sets the appropriate LD_LIBRARY_PATH. That mostly works. However, some Common Lisp libraries go even further. They dynamically compile a binary (in order to determine things like structure offsets, etc) and they dynamically invoke GCC with #include <some_lib.h>.
<ixxie> sphalerite, etu - looks like its impossible for me to come to stockholm this week :(
<loke> clever: How can I make the header files available to GCC for a given library?
leat has quit [(Quit: WeeChat 1.9.1)]
<loke> (at runtime, not nix buildtime)
<clever> loke: yuck, lol
<clever> nix does whatever it can to not keep the headers around at runtime
<clever> can you tell lisp to not suck? :P
<loke> clever: Lisp works differently. Ther esimply is no "build step". Compiling, loading, and running is all performed at the same time.
<loke> It's a fully dynamic system.
<hyper_ch> clever: the reason I'd love to use full block device to zfs and have /boot in it as a dataset is, becuase then you can just add another one for mirror and don't have to alter anything else (except adjust configuration.nix to also install grub onto sdb etc)
<loke> Normally, you load a lisp image, and you work in it (doing both development and running) without shutting it down. So all this stuff needs to be availablea t runtime.
<hyper_ch> but I'm confident clever will make that possible :)
<loke> clever: Wouldn't this be a similar to the needs of someone doing C or C++ development? You'd need headers available then, too? How are you supposed to do C or C++ development on nixos? Whatever works for C should be working for Lisp as well.
<clever> loke: you do all c/c++ development inside a nix-shell
<loke> clever: And in the nix-shell you have /usr/include?
<clever> nope
<clever> it sets some special env variables that adjust the default search path of gcc
<loke> thats fine
<clever> so when you try to #include <foo.h> it can still find foo.h
<clever> but it only works when foo.h is inside /nix/store/something/include/foo.h
<loke> OK, so I basically run Emacs and SBCL and everything else inside this nix-shell?
<clever> so all the glib stuff that tries to avoid conflicts and needs -I/usr/include/glib-1.0/ breaks
<loke> clever: That seems workable. Lisp doesn't do that stuff
<clever> though if you try to use glib from lisp, it will have to rely on pkgconfig
foo_ has quit [(Ping timeout: 260 seconds)]
<loke> It just autogenerates a C file on the fly that compiles to a small binary that outputs a datafile with all the struct offsets, that then gets loaded together with the library.
<clever> and there is no way to compile and run that binary ahead of time, and save the results?
nallar has joined #nixos
<loke> clever: glib is never used... It's basically only used for functionality that no one has bothered reimplementing in native Lisp.
<loke> clever: No. Lisp doesn't have a concept of a "binary"
<loke> clever: Smalltalk uses a similar system, when you load an image, and you work inside it.
Ross has quit [(Ping timeout: 240 seconds)]
nallar is now known as Ross
<clever> neither does nodejs, but ive seen people "compile" javascript by replacing some variable references with hard-coded strings and other fun stuff
<loke> (well, you _can_ generate a binary, but that's generally only when deploying an application)
<loke> clever: Oh wow
<loke> I try to stay as far away from JS as I can :-)
asuryawanshi has quit [(Remote host closed the connection)]
olto has joined #nixos
<clever> loke: you might be able to do something with the #!/usr/bin/env nix-shell stuff, so the bash wrapper becomes an entire nix-shell wrapper
Tuba has joined #nixos
<clever> loke: but nix can gc things, and then has to re-download the headers&compiler every time you run it
thaega has joined #nixos
Ross has quit [(Ping timeout: 240 seconds)]
Ross has joined #nixos
* clever heads to bed
<hyper_ch> clever really sleeps
Tobba has quit [(Ping timeout: 240 seconds)]
nallar has joined #nixos
ilyaigpetrov has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] brachiel opened pull request #33163: veracrypt: refactor (master...patch-2) https://git.io/vbbwo
NixOS_GitHub has left #nixos []
Ross has quit [(Ping timeout: 264 seconds)]
nallar is now known as Ross
<loke> clever: Thank you!
<loke> nix-shell was the solution
<loke> clever: I can run SBCL in server mode inside a nix-shell, with Emacs running normally connecting to the SBCL instance.
nallar has joined #nixos
Ross has quit [(Ping timeout: 240 seconds)]
nallar is now known as Ross
asuryawanshi has joined #nixos
phreedom has quit [(Ping timeout: 252 seconds)]
nallar has joined #nixos
Ross has quit [(Ping timeout: 272 seconds)]
nallar is now known as Ross
leat has joined #nixos
klntsky has joined #nixos
yegortimoshenko has quit [(Ping timeout: 260 seconds)]
pikajude has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
pikajude has joined #nixos
Neo-- has joined #nixos
gilligan_ has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
vcunat has joined #nixos
Piece_Maker has joined #nixos
Acou_Bass has quit [(Ping timeout: 248 seconds)]
Piece_Maker is now known as Acou_Bass
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 30 new commits to staging: https://git.io/vbboI
<NixOS_GitHub> nixpkgs/staging 38d8bcd Peter Hoeg: vala: patch releases for 0.23, 0.28, 0.34, 0.36 and 0.38
<NixOS_GitHub> nixpkgs/staging bdc80cd Izorkin: libnftnl: 1.0.7 -> 1.0.8
<NixOS_GitHub> nixpkgs/staging a139613 Vladimír Čunát: glibc: maintenance 2.26-75 -> 2.26-115
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
klntsky has quit [(Ping timeout: 272 seconds)]
Itkovian has quit [(Client Quit)]
Itkovian has joined #nixos
<akfp> Anyone interested in adding support for running a windows VM under Linux in nixpkgs?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vbboK
<NixOS_GitHub> nixpkgs/staging f29000b Vladimír Čunát: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
vidbina has quit [(Ping timeout: 268 seconds)]
WilliButz has quit [(Ping timeout: 250 seconds)]
MP2E has quit [(Remote host closed the connection)]
<zarel> Is there a way to isolate a host without using /etc/hosts? I can use extraHosts but I need to change the conf and rebuild two times a minute...
WilliButz has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<zarel> Yes I know it's like introducing state, but it's only for development, I promise :)
`_ has joined #nixos
Itkovian has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
asuryawanshi has quit [(Remote host closed the connection)]
knupfer has joined #nixos
<hyper_ch> you can make /etc/hosts writeable
Itkovian has joined #nixos
<hyper_ch> #environment.etc."hosts".mode = "0644";
<hyper_ch> then you don't need to rebuild but upon next rebuild it wil be resetted
`_ has quit [(Quit: WeeChat 2.0)]
Itkovian has quit [(Client Quit)]
<loke> hyper_ch: Why did you put "hosts" wiuthin quotes?
<hyper_ch> because I had it like that in my configuration.nix
<loke> :-)
coot_ has joined #nixos
<hyper_ch> feel free to try it without quotes
ma27 has quit [(Quit: WeeChat 2.0)]
ma27 has joined #nixos
<vcunat> It should be equivalent.
klntsky has joined #nixos
<vcunat> but you certainly need it for filenames containing dots, like "host.conf"
<hyper_ch> vcunat: not at 34c3?
<vcunat> those also
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #32946: ocaml: adds an argument to enable flambda (master...ocaml-flambda) https://git.io/vbSaL
NixOS_GitHub has left #nixos []
thc202 has joined #nixos
<zarel> oh, it was that simple, thank you! :-)
ottidmes has joined #nixos
pkill9 has joined #nixos
Ivanych has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbbil
<NixOS_GitHub> nixpkgs/master 1b9f22c Markus Kowalewski: multimon-ng: 1.0.0:1.1.4
<NixOS_GitHub> nixpkgs/master d003553 adisbladis: Merge pull request #33162 from markuskowa/multimon-ng-pr...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbbi6
<NixOS_GitHub> nixpkgs/master a85e23c Markus Kowalewski: minimodem: 0.19->0.24
<NixOS_GitHub> nixpkgs/master 8b7654a adisbladis: Merge pull request #33161 from markuskowa/minimodem-pr...
NixOS_GitHub has left #nixos []
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbbiF
<NixOS_GitHub> nixpkgs/master 9acb07d brachiel: veracrypt: refactor...
<NixOS_GitHub> nixpkgs/master aaea2bf adisbladis: Merge pull request #33163 from brachiel/patch-2...
NixOS_GitHub has left #nixos []
asuryawanshi has joined #nixos
tmaekawa has joined #nixos
cheshircat_ has quit [(Ping timeout: 264 seconds)]
c74d has quit [(Ping timeout: 260 seconds)]
c74d has joined #nixos
cheshircat has joined #nixos
LexLeoGryfon has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vbbPa
<NixOS_GitHub> nixpkgs/staging 0ac5892 Vladimír Čunát: release-notes 18.03: fixup build after 553e8be1
NixOS_GitHub has left #nixos []
nslqqq has quit [(Ping timeout: 240 seconds)]
ssmike has quit [(Ping timeout: 256 seconds)]
phreedom has joined #nixos
ylwghst has joined #nixos
<hyper_ch> vcunat: are there plans to use zfs on the TO?
<vcunat> probably not for official support
<hyper_ch> ok :)
<vcunat> hyper_ch: the devs have invested heavily into btrfs and many use cases of ZFS can be done in there as well
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hrdinka pushed 1 new commit to master: https://git.io/vbbXZ
<NixOS_GitHub> nixpkgs/master d07bc8b Christoph Hrdinka: woff2: init at 1.0.2...
NixOS_GitHub has left #nixos []
<hyper_ch> I just have tons of really bad experience with btrfs :)
qewzee has joined #nixos
<vcunat> off the top of my head, I'd try container with some distro that supports it well
<vcunat> (ZFS)
<vcunat> oh, probably not
<vcunat> hmm, I don't know
<hyper_ch> it's ok :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rickynils pushed 1 new commit to master: https://git.io/vbbXE
<NixOS_GitHub> nixpkgs/master 1de251c Rickard Nilsson: haskellPackages.LDAP: Fix build
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vbbXz
<NixOS_GitHub> nixpkgs/master 7b9c5b4 Franz Pletz: collectd: 5.7.2 -> 5.8.0
<NixOS_GitHub> nixpkgs/master 4ce44d6 Franz Pletz: wireguard: 0.0.20171111 -> 0.0.20171221
<NixOS_GitHub> nixpkgs/master e2fe111 Franz Pletz: nixos/profiles/all-hardware: remove unavailable modules
NixOS_GitHub has left #nixos []
ylwghst has quit [(Remote host closed the connection)]
nslqqq has joined #nixos
nslqqq has quit [(Client Quit)]
m0rphism has quit [(Quit: WeeChat 1.9.1)]
nslqqq has joined #nixos
willprice has joined #nixos
<steveeJ> from wanting to convert my linkedin profile to a CV, I'm now on to patching patchelf because it can't handle go binaries /o\ something must change
<steveeJ> what's the simplest way of getting a shell at the point where unpackPhase is done?
<steveeJ> preferably declarative so that nix-shell can be used to reproduce the environment
<MoreTea> steveeJ: you might be able to use the shellHook that is run if you start a nix-shell
Tobba_ has joined #nixos
Tuba has quit [(Ping timeout: 256 seconds)]
asppsa[m] has joined #nixos
Tobba_ has quit [(Ping timeout: 260 seconds)]
aarvar has quit [(Quit: Leaving.)]
<sphalerite> steveeJ: just nix-shell does that
<sphalerite> Anyone else having trouble with scdaemon? gpg --card-status no longer works for me, just hangs. strace suggests that scdaemon is not accepting connections on its socket
<sphalerite> Oh right. Turns out it's my USB hub's fault, or the kernel's handling of it
<steveeJ> sphalerite: what do you mean it does that? ;-) e.g., if I need all the nativeBuildInputs of patchelf in a nix-shell, how do I set it up?
<sphalerite> yay USB-C support
<steveeJ> sphalerite: scdaemon (and anything to do with GPG works fine here)
<sphalerite> steveeJ: nix-shell '<nixpkgs>' -A patchelf
<steveeJ> sphalerite: doesn't that just install patchelf?
<sphalerite> no, that's nix-shell -p patchelf
Neo-- has quit [(Ping timeout: 252 seconds)]
<sphalerite> nix-shell has two major CLI modes, one is "give me the environment for building a package" and one is "make a dummy package with these inputs and give me the environment for building it"
<sphalerite> the latter is activated by -p
Neo-- has joined #nixos
<steveeJ> `nix-shell '<nixpkgs>' -A patchelf` != `nix-shell -p patchelf` ?
<sphalerite> exactly. The former means "give me the env for building patchelf". The latter means "give me an env with patchelf in it"
<steveeJ> this is absolutely unclear from the manual :-D
<sphalerite> The command nix-shell will build the dependencies of the specified derivation, but not the derivation itself. It will then start an interactive shell in which all environment variables defined by the derivation path have been set to their corresponding values, and the script $stdenv/setup has been sourced. This is useful for reproducing the environment of a derivation for development.
<steveeJ> (man nix-shell)
<sphalerite> Seems pretty clear to me
orivej has quit [(Ping timeout: 268 seconds)]
<steveeJ> now I'm even more confused. why is the patchelf binary in PATH when I execute any of the above commands?
<sphalerite> because it's in stdenv
tmaekawa has quit [(Quit: tmaekawa)]
<sphalerite> that won't be the case for most packages though
<steveeJ> self-dependency, that's interesting
* steveeJ tries hard to resist looking into the bootstrapping mechanism
<sphalerite> 😆
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/76c146c9907 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<sphalerite> So the scdaemon issue is because the kernel doesn't seem to have removed the USB hub correctly, i.e. it thinks some devices that are definitely no longer reachable are still there. Does anyone know if I can poke the kernel in a way to tell it that they are in fact gone, short of rebooting?
<steveeJ> sphalerite: this looks promising https://unix.stackexchange.com/a/306321
<sphalerite> nope, doesn't seem to have helped
<sphalerite> bah, even trying to rmmod the relevant modules hangs
linarcx has joined #nixos
<sphalerite> does anyone know a good place (ideally IRC) to ask about kernel issues like this?
<steveeJ> there's ##kernel
<sphalerite> also, I'm having an issue with a server of mine: I run a tmux session on it, but whenever I disconnect my SSH session /run/user/1000 is umounted (lost) and I have to SIGUSR1 tmux so it recreates the socket. Can I somehow ensure that /run/user/1000 isn't unmounted whenever I disconnect?
ma27 has quit [(Quit: WeeChat 2.0)]
asuryawanshi has quit [(Ping timeout: 240 seconds)]
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
<sphalerite> (gave up on the hang issue, just rebooted)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] the-kenny pushed 1 new commit to master: https://git.io/vbbyq
<NixOS_GitHub> nixpkgs/master 8a5f3ec Moritz Ulrich: btrbk: 0.25.1 -> 0.26.0...
NixOS_GitHub has left #nixos []
<sphalerite> ok, `rmmod xhci_pci` before unplugging the hub works as a workaround. A horrible ugly workaround, but at least it works
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #33165: tmux module: add secureSocket option (master...tmux) https://git.io/vbby0
NixOS_GitHub has left #nixos []
asuryawanshi has joined #nixos
el_putin is now known as el_putin_asleep
raynold has quit [(Quit: Connection closed for inactivity)]
FRidh2 has joined #nixos
iyzsong has joined #nixos
ssmike has joined #nixos
FRidh2 has quit [(Quit: Konversation terminated!)]
FRidh2 has joined #nixos
FRidh2 has quit [(Client Quit)]
FRidh2 has joined #nixos
FRidh2 has quit [(Client Quit)]
LouisDeFunes294 has joined #nixos
FRidh2 has joined #nixos
alexteves has joined #nixos
nslqqq has quit [(Ping timeout: 268 seconds)]
Tobba has joined #nixos
nuncanada has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] FRidh opened pull request #1766: Do not export ASPELL_CONF (master...aspell) https://git.io/vbb92
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vbb9V
<NixOS_GitHub> nixpkgs/master 52c707c adisbladis: subsurface: 4.7.2 -> 4.7.5
NixOS_GitHub has left #nixos []
<pstn> adisbladis: with milk?
<adisbladis> pstn: Black please :)
hiberno has quit [(Quit: WeeChat 1.6)]
sternenseemann has joined #nixos
<Profpatsch> musicmatze: Let’s package patchwork later, k? cc sternenseemann
<Profpatsch> First, fefe
<hyper_ch> fefe? where?
<hyper_ch> he blogged that he's at 34c3
jb55 has joined #nixos
nslqqq has joined #nixos
<musicmatze[m]> First fefe
<hyper_ch> fefe's having a talk?
<musicmatze[m]> Unfortunately I have a lot of talks today
asuryawanshi has quit [(Ping timeout: 250 seconds)]
vcunat1 has joined #nixos
vcunat has quit [(Ping timeout: 252 seconds)]
coot_ has quit [(Quit: coot_)]
linarcx has quit [(Remote host closed the connection)]
<domenkozar> tw
<domenkozar> oops :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #30352: libhttpseverywhere: 0.4.5 -> 0.6.5 (master...master) https://git.io/vd646
NixOS_GitHub has left #nixos []
Neo-- has quit [(Ping timeout: 272 seconds)]
vcunat1 has quit [(Quit: Leaving.)]
vcunat has joined #nixos
nallar has joined #nixos
Ross has quit [(Ping timeout: 240 seconds)]
nallar is now known as Ross
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
nix_newb has joined #nixos
<nix_newb> hello, i am trying to compile emacs from a git tag, so i got the emacs directory from and patched it to use my necessary source.
<nix_newb> now i am trying to make an overlay to use this new emacs package instead of nixos
<nix_newb> anyone can help me how should i do this?
<ixxie> nix_newb: I haven't a clue but have you consulted https://nixos.wiki/wiki/Modifying_a_Package
nichlas has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b74a6ce5964 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<nichlas> Is there a guide to writing generic config files through configuration.nix?
leons[m] has joined #nixos
orivej has joined #nixos
klntsky has quit [(Remote host closed the connection)]
klntsky has joined #nixos
<ixxie> nichlas: hmm not that I know of but there is https://nixos.org/nix-dev/2014-December/015070.html
<ixxie> nichlas: are you managing user specific dotfiles or system config files?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbb7n
<NixOS_GitHub> nixpkgs/master 3c8cff2 Orivej Desh: Revert "collectd: 5.7.2 -> 5.8.0"...
NixOS_GitHub has left #nixos []
<nichlas> ixxie, system config files
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b74a6ce5964 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
klntsky has quit [(Remote host closed the connection)]
klntsky has joined #nixos
<nichlas> I don't suppose it makes a lot of sense for user files
<ixxie> nichlas: well I ask because I would have recommended the home-manager otherwise
<edef> aargh
<edef> just realised i missed the 34c3 nixos meetup yesterday
<nichlas> ixxie, thank you. Didn't really know where to start.
gspia has joined #nixos
<ixxie> nichlas: there are lots of arcane functions in nixpkgs that are poorely or completely undocumented
orivej has quit [(Ping timeout: 248 seconds)]
<ixxie> nichlas: creative searches with https://search.nix.gsc.io/?q=textfile&i=fosho&files=&repos= might help too
<nichlas> ixxie, I figured. I looked at a few config files that did some things with .conf files, but I had a hard time copying some of them.
<> changed the topic of #nixos to: gchristensen has changed topic for #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_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dguibert opened pull request #33166: libelf required by some module compilation (on kernel >= 4.14) (master...fix/modules-require-libelf) https://git.io/vbb7A
NixOS_GitHub has left #nixos []
klntsky has quit [(Remote host closed the connection)]
klntsky has joined #nixos
Tobba has quit [(Ping timeout: 248 seconds)]
rhino has joined #nixos
rhino is now known as Guest32978
<Guest32978> hi!! I'm installing nixos on a virtual machine form insdide OSX. it works fine so far. however, whenever I try to install new packages, most of the time the process is stuck with 'download-from-binary-cache.pl still wating for...' an does not finish..
ma27 has joined #nixos
vidbina has joined #nixos
<gchristensen> Guest32978: I can't help much, but maybe this will get you closer: can you access anything through the net? `ping 4.2.2.2; curl ipv6.icanhazip.com; ping curlipv4.icanhazip.com`
vcunat1 has joined #nixos
vcunat has quit [(Ping timeout: 252 seconds)]
vcunat1 has quit [(Client Quit)]
vcunat has joined #nixos
<ma27> when I try to deploy a node on NixOps to libvirtd I get the following error when trying to build: mknod: /dev/vda1: File exists (config and full output will follow as gist)
nuncanada has quit [(Read error: Connection reset by peer)]
cement has quit [(Ping timeout: 265 seconds)]
<ma27> would be cool if anybody could help %)
nichlas has quit [(Ping timeout: 248 seconds)]
<Guest32978> gchristensen: generally I have internet connection on both the vm and the host. however only the ipv6 curl does not work on both...
<Guest32978> gchristensen: oh, wow.. it was the --option binary-caches-parallel-connections 40 for nix-env that fixed it..
<gchristensen> huh
<MoreTea> Anyone here familiar with Rok Garbas' pypi2nix? I want to build `dlib` with python 3, which requires a boost that is compiled for python 3.
<MoreTea> I tried injecting this overriden boost via the requirements_override.nix, but I don't think that that is used during the the pypi2nix run
<FRidh2> MoreTea: use the -E flag, e.g. -E postgresql
<loke> In my efforts to get my development environment with all its parts working right, I'm now looking at getting Android Studio to run correctly. My problem is that the Android Emulator doesn't start, and it fails because it can't find the library i965_dri.so. This file is available, but it's located in the directory /run/opengl-driver/lib/dri, while LD_LIBRARY_PATH is only set to /run/opengl-driver/lib
<MoreTea> FRidh2: and how would I inject an overriden package then? e.g. boost.override { python = python3; }
<loke> I tried updating LD_LIBRARY_PATH but it only seems to take effect from Android Studio itself, not when the Emulator runs.
<infinisil> ma27: Maybe you could try asking on the mailing list
<loke> Is anyone familiar with the android-studio nixfile?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/3aec59c99ff (from 26 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
<FRidh2> MoreTea: Good question, I don't know. Note you might want to try -E python3.pkgs.boost
nix-gsc-io`bot has quit [(Client Quit)]
asuryawanshi has joined #nixos
<MoreTea> that appears to pass the evaluation of nix code phase, thanks FRidh2
vidbina has quit [(Ping timeout: 240 seconds)]
olto has quit [(Quit: hasta luego)]
<MoreTea> I'll be able to tell if it works in another 15 minutes ;)
drakonis has joined #nixos
<ma27> infinisil: unless I find any kind of solution, I'll do that :)
<viric> will 17.09 receive a built-from-src firefox 57?
<gchristensen> viric: already does have it
<viric> oh does it?
<gchristensen> yep
<viric> I'm outdated
Guest32978 has quit [(Ping timeout: 248 seconds)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vbbFl
<NixOS_GitHub> nixpkgs/master b6d215a Shea Levy: haskell generic-builder: Support installing internal libs....
<NixOS_GitHub> nixpkgs/master 504016f Peter Simons: Merge pull request #32993 from shlevy/haskell-internal-libs...
NixOS_GitHub has left #nixos []
dgpratt has quit [()]
otherjrolfs has quit [(Ping timeout: 260 seconds)]
jrolfs has quit [(Ping timeout: 268 seconds)]
dgpratt has joined #nixos
<nix_newb> i get really long bash startup time;
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bnikolic opened pull request #33167: Mingw_w64 fix to get cross-compilation working again (staging...mingw32-w64-fix) https://git.io/vbbFX
NixOS_GitHub has left #nixos []
<viric> gchristensen: thank you :)
ssmike has quit [(Remote host closed the connection)]
<gchristensen> yep!
ssmike has joined #nixos
<infinisil> nix_newb: #bash
<infinisil> nix_newb: they should be able to help you debug it
the has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vbbFA
<NixOS_GitHub> nixpkgs/master 40a3d77 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
NixOS_GitHub has left #nixos []
<gchristensen> (continued spam problems being reported, the bot's list of ban words has een updated to include what they say)
<nix_newb> infinisil: this is not a bash issue
iyzsong has quit [(Ping timeout: 240 seconds)]
<nix_newb> but my system doesn't have this change
joh[m] has joined #nixos
<nix_newb> do i need to be on unstable channel to get the fix?
jrolfs has joined #nixos
<infinisil> nix_newb: It's probably gonna be in unstable yes, but there's a way to net require using unstable but still get the fix (via git cherry-picking)
otherjrolfs has joined #nixos
<pstn> Sorry, wrong autocomplete
<nix_newb> so i clone the repo and cherry-pick the commit into the stable branch?
contrapumpkin is now known as {-_-}
<infinisil> nix_newb: yeah
{-_-} is now known as contrapumpkin
<infinisil> I'm doing that for all kinds of stuff that i need, or for PR's that aren't merged
<infinisil> yet
<infinisil> hopefully
<nix_newb> infinisil: sounds like lot of work :( is there any problem in just switching to unstable?
jrolfs has quit [(Ping timeout: 248 seconds)]
<infinisil> it's really not that hard work, but yeah just using unstable is easier
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<infinisil> you need to use nixos-unstable though (/not/ nixpkgs-unstable)
<nix_newb> what's the difference?
<infinisil> !which channel
the has quit [(Remote host closed the connection)]
the has joined #nixos
the has quit [(Remote host closed the connection)]
Guest6184 has joined #nixos
Guest6184 has quit [(Remote host closed the connection)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
nix-build has joined #nixos
nix-build has quit [(Changing host)]
nix-build has joined #nixos
otherjrolfs has quit [(Ping timeout: 252 seconds)]
jrolfs has quit [(Ping timeout: 252 seconds)]
klntsky has quit [(Remote host closed the connection)]
alexteves has quit [(Quit: My Mac Mini has gone to sleep. ZZZzzz…)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] psychon opened pull request #33169: Awesome search (master...awesome-search) https://git.io/vbbNW
NixOS_GitHub has left #nixos []
asuryawanshi has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
Mateon3 has joined #nixos
otherjrolfs has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon2
Mateon1 has quit [(Ping timeout: 263 seconds)]
Mateon2 is now known as Mateon1
<adisbladis> Mic92: Did you actually book the room for today? https://events.ccc.de/congress/2017/wiki/index.php/Session:Intro_to_Qubes_OS is claiming to be in the same room.
<Mic92> adisbladis: oh, I though makefu did
<Mic92> *thought
<Mic92> makefu: how did you book the room?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] schneefux opened pull request #33170: wallabag: 2.2.3 -> 2.3.1 (master...pkg.wallabag) https://git.io/vbbAl
NixOS_GitHub has left #nixos []
leat has quit [(Quit: WeeChat 1.9.1)]
<makefu> via the wiki, not sure if there was some caching issue again ...
<makefu> let me check this
<makefu> oh oh ... https://events.ccc.de/congress/2017/wiki/index.php?title=Session:Intro_to_Qubes_OS&action=history https://events.ccc.de/congress/2017/wiki/index.php?title=Session:Packaging_in_Nixpkgs&action=history
<makefu> when i checked it looked empty at least :\
<Isorkin> globin: galera plugin need add to sql/mariadb/default.nix ?
<Mic92> adisbladis: could you checkout out hive stage, if somebody is there?
<makefu> the planning tool (wiki) is really sub-optimal it seems ....
coot_ has joined #nixos
otherjrolfs has joined #nixos
<Mic92> makefu: do we want to get out now?
Acou_Bass has quit [(Ping timeout: 248 seconds)]
<makefu> yes
pie_ has joined #nixos
<adisbladis> Wikipedia is still going on at hive stage
<pie_> hey guys im running nix-shell -E '(with import <nixpkgs> {}; callPackage ./default.nix {})' on https://pastebin.com/h9bYqmEx , but i dont have access to the z3 command in the nix-shell, what am i supposed to add?
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<adisbladis> Supposed to have ended 30 minutes ago
<adisbladis> Mic92: makefu:
Acou_Bass has joined #nixos
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
<adisbladis> Komona looks empty
<adisbladis> Mic92: makefu:
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<Mic92> adisbladis: we go hive stage
<adisbladis> Mic92: Check. Sure it wont be double booked?
<Mic92> adisbladis: do you have an account?
<Mic92> adisbladis: my one does not work atm
<adisbladis> Mic92: Wiki account or what
<Mic92> to change the location, yes
<adisbladis> Will do
<adisbladis> Mic92: Can you put up a note at the other room saying where we moved
<infinisil> pie_: you need to use -p instead of -E
<infinisil> pie_: -E puts you into an environment to build z3, -p puts you into an environment where z3 is built and available
<adisbladis> Wiki updated
<Mic92> adisbladis: makefu is talking with qubesos people to reroute our session
<pie_> infinisil, but i cant pass an expression to -p ...
<pie_> oh wtf you can? :O
<infinisil> yup :)
<pie_> mind blown and life is easier
<zarel> oh, you can? I was about to pass you a shell.nix that creates an env with z3 in the build inputs
<infinisil> Also amazed me the first time I found that out
<zarel> infinisil: I still don't get how to call it, "nix-shell -p default.nix" ?
<infinisil> zarel: nix-shell -p '(with import <nixpkgs> {}; callPackage ./default.nix {})'
jb55 has quit [(Ping timeout: 272 seconds)]
bkchr has joined #nixos
<zarel> oh, thank you
<bkchr> Hi, can I get the path for a derivation, without building the derivation?
asuryawanshi has quit [(Remote host closed the connection)]
i-am-the-slime has joined #nixos
asuryawanshi has joined #nixos
otherjrolfs has quit [(Ping timeout: 268 seconds)]
jrolfs has quit [(Ping timeout: 268 seconds)]
<i-am-the-slime> My laptop's fans like to start spinning and then keep spinning.
<i-am-the-slime> So one workaround that sometimes works is to put it to sleep and wake it back up.
<i-am-the-slime> I just did that, and now, I don't have sound output anymore.
<ixxie> i-am-the-slime: what model?
bigvalen has quit [(Quit: ZNC by prozac - http://znc.sourceforge.net)]
<i-am-the-slime> It's a Thinkpad T470s
oida has quit [(Ping timeout: 276 seconds)]
<i-am-the-slime> The version with the shitty screen.
<i-am-the-slime> Not sure if that matters.
<infinisil> bkchr: nix-instantiate instead of nix-build
<bkchr> infinisil: I would need that while building a derivation :D
<bkchr> And not the path to the derivation, either the path to the "out" folder of the derivation
temporaryuser122 has joined #nixos
knupfer1 has joined #nixos
<infinisil> bkchr: Ah i see, you mean the $out variable, but in nix?
<bkchr> infinisil: yeah
<temporaryuser122> At 34c3 someone is giving a selforganized session on nixos. Where is that happening?
<infinisil> bkchr: hold on, putting together an example
<bkchr> infinisil: perfect :)
bigvalen has joined #nixos
knupfer has quit [(Ping timeout: 250 seconds)]
knupfer1 is now known as knupfer
<infinisil> bkchr: well you can just go <some-derivation>.outPath actually
<bkchr> ahh nice
<bkchr> and that will not trigger building it?
<infinisil> bkchr: hmm good question
<bkchr> The plugins require that the main program is build before
<bkchr> and the main program needs to know the path to the plugins beforehand :/
<infinisil> oh boy, hmm
<bkchr> So I thought that I could build the main program and give him the output path of the plugins
<infinisil> bkchr: So the plugins will have the main's $out in their output and the main program will have the plugins $out in their output?
asuryawanshi has quit [(Remote host closed the connection)]
<bkchr> infinisil: the plugins only require to find the main program. And the main program just needs to know where to look for the plugins.
<bkchr> But I have another idea
<bkchr> I could patch the configure of the plugins
<nixy> :q
<bkchr> to skip searching for the main program
asuryawanshi has joined #nixos
<infinisil> bkchr: how about an env var?
<infinisil> bkchr: or just not use separate derivations
<i-am-the-slime> ixxie: Does that help?
temporaryuser122 has quit [(Ping timeout: 260 seconds)]
<bkchr> infinisil: you mean like the current derivation?
<infinisil> bkchr: yeah
<bkchr> infinisil: I wanted to add a patch for the plugins, but I failed
<ixxie> i-am-the-slime: I only ask because this happened to me once recently with my XPS
<ixxie> not that I know the problem or solution
<ixxie> but it may have helped find a pattern if they were both XPSs
<infinisil> bkchr: I think making the 2 sources arguments would be the easiest solution to that
<i-am-the-slime> ah I see
<i-am-the-slime> what processor do you have?
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<bkchr> infinisil: do you have an example?
<i-am-the-slime> i have an i7 7th generation, maybe it's related to that
<ixxie> i7 but not sure which generation
<infinisil> bkchr: something like { audaciousSrc ? fetchurl { ... }, audaciousPluginsSrc ? fetchurl { ... }, mkDerivation, lib, ... }
<bkchr> infinisil: can the src attribute of a derivation hold a list?
drakonis has quit [(Read error: Connection reset by peer)]
<infinisil> bkchr: i don't think it can, but srcs may be able to, why do you want that though?
leat has joined #nixos
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 252 seconds)]
dieggsy has joined #nixos
<infinisil> I found this as an example of srcs being a list: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/science/electronics/kicad/default.nix bkchr
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] medovuxa opened pull request #33173: kde2-decoration: init at 2017-03-15 (master...kde2) https://git.io/vbNvF
NixOS_GitHub has left #nixos []
jrolfs has joined #nixos
vidbina has joined #nixos
oida has joined #nixos
johnsonav has quit [(Ping timeout: 265 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #33174: python3Packages.pythonix: init at 0.1.0 (master...pythonix) https://git.io/vbNfZ
NixOS_GitHub has left #nixos []
jrolfs has quit [(Ping timeout: 260 seconds)]
dieggsy has quit [(Remote host closed the connection)]
<bkchr> infinisil: ahh nice, ty
vidbina has quit [(Ping timeout: 248 seconds)]
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33174: python3Packages.pythonix: init at 0.1.0 (master...pythonix) https://git.io/vbNfZ
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Ping timeout: 252 seconds)]
jrolfs has joined #nixos
i-am-the-slime has quit [(Ping timeout: 246 seconds)]
asuryawanshi has joined #nixos
orivej has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
dieggsy has joined #nixos
toppler is now known as jstevewhite`
jstevewhite` is now known as toppler
<boegel> Is the count of "nearly 6,500 packages" at https://nixos.org/nixpkgs/ still accurate? What's the best way to tell how many different software packages Nix currently supports?
Arcaelyx has joined #nixos
nuncanada has joined #nixos
<samueldr> hmm, one might think that the count in the packages explorer is better → https://nixos.org/nixos/packages.html#
<samueldr> but some packages are duplicated (see kernel packages)
<samueldr> and some aren't present (see most language-specific dependencies like ruby gems)
<lejonet> Can I use the mkIf function to optionally create users/groups too? E.g. users.extraUsers = mkIf config.services.<service>.<some option> singleton { <user/group stuff> };
dieggsy has quit [(Remote host closed the connection)]
<boegel> samueldr: I'd like to exclude different versions of packages in the count (so Python 2.x & 3.x should count as one for example)
<samueldr> exactly
<samueldr> sorry, if it wasn't clear, I was sharing failures to get an actual count :)
<boegel> samueldr: np :)
<infinisil> boegel: Oh I think I got a good estimate
<infinisil> nix-instantiate --eval -E 'builtins.length (builtins.attrNames (import <nixpkgs> {}))'
<infinisil> Gives me 8167, I'm on nixos-unstable
* boegel is still a huge n00b when it comes to Nix
<boegel> infinisil: any idea how that compares with the stable set of pkgs?
<infinisil> this counts the number of packages defined in nixpkgs/top-level/all-packages.nix
<FRidh2> boegel: what is to you a package? If different builds of the same source are not different packages, then I suppose the amount of unique source packages would be a better estimate for you?
<boegel> FRidh2: I guess so, yes
<boegel> context: I'm working on a comparison between different installation tools (conda, EasyBuild, Nix, Guix, Spack)
<infinisil> boegel: nix-instantiate --eval -E 'with builtins; length (attrNames (import (fetchTarball "github.com/NixOS/nixpkgs-channels/archive/nixos-17.09.tar.gz") {}))'
<infinisil> counts the number of packages in nixos-17.09 stable channel
<infinisil> which is 7887
<infinisil> doing the same for nixos-unstable (the latest one, I'm a bit behind), gives 8185
<boegel> infinisil: OK, that seems like a reasonable count
<boegel> so, about 8k
<infinisil> under this definition of package :P
<infinisil> I mean, it having all haskell packages could in theory be counted too
alexteves has joined #nixos
<boegel> for now, this is roughly same ballpark as conda (3.5k) and EasyBuild (2k), so I'll go with 8k
<FRidh2> boegel: something like https://repology.org/ ?
<boegel> FRidh2: wow, that's new to me, looks interesting
<boegel> FRidh2: no, more like a talk comparing those projects in several ways, see https://fosdem.org/2018/schedule/event/installing_software_for_scientists/
jrolfs has joined #nixos
<FRidh2> boegel: very interesting. I've been doing a little comparising myself as well (when I was still a scientist myself :) )
leat has quit [(Quit: WeeChat 1.9.1)]
vcunat has quit [(Ping timeout: 252 seconds)]
<infinisil> boegel: I'd
<FRidh2> boegel: you forgot to include the modules system which is used almost everywhere (unfortunately)
<infinisil> (Ignore what i accidentally sent)
* lejonet does a /ignore infinisil ;)
Avaq has joined #nixos
<bkchr> Mic92: online? :D
jrolfs has quit [(Ping timeout: 256 seconds)]
leat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] johbo opened pull request #33175: pelican: Disable pandoc support for now (master...pelican-without-pandoc) https://git.io/vbNkJ
NixOS_GitHub has left #nixos []
<Mic92> bkchr: yes
<Mic92> Sitting in a play
<bkchr> Mic92: sorry for annoying you again :D
ma27 has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #33175: pelican: Disable pandoc support for now (master...pelican-without-pandoc) https://git.io/vbNkJ
NixOS_GitHub has left #nixos []
<Mic92> bkchr: can you remind me in two hours?
<Mic92> I currently have no laptop
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
vcunat has joined #nixos
Avaq has quit [(Ping timeout: 248 seconds)]
stepcut has quit [(Ping timeout: 240 seconds)]
<boegel> infinisil: someone in #guix told me that command produces a huge undercount, due to stuff like TeX not being counted, etc.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Izorkin opened pull request #33176: mariadb galera: init at 25.3.22 (staging...mariadb-galera) https://git.io/vbNkb
NixOS_GitHub has left #nixos []
<bkchr> Mic92: I will not be at a pc, but if you want, I write a comment and link you
<gchristensen> boegel: hydra builds shows 40,000, but that includes multiple architectures
stepcut has joined #nixos
jrolfs has joined #nixos
<infinisil> boegel: yeah
<infinisil> Also haskellpackages aren't included and other stuff like that
<Mic92> bkchr yes
jb55 has joined #nixos
<infinisil> nix-env -qaP digs down through some attributes so It'll have a more complete set, but then there's duplicates with different python versions
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann closed pull request #25432: barony: init at 2.0.5 (master...barony) https://git.io/v9401
NixOS_GitHub has left #nixos []
<infinisil> And haskellPackages aren't included in nix-env still
<gchristensen> boegel: why do you ask?
<gchristensen> boegel: https://nixos.org/nixos/packages.html# shows 13,778
klntsky has joined #nixos
LouisDeFunes294 has quit [(Quit: Textual IRC Client: www.textualapp.com)]
jrolfs has quit [(Ping timeout: 250 seconds)]
<FRidh2> gchristensen: [18:05] <boegel> I'd like to exclude different versions of packages in the count (so Python 2.x & 3.x should count as one for example)
<gchristensen> sure, then I go back to "why do you ask" :P
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vbNIC
<NixOS_GitHub> nixpkgs/staging a1a3e54 Vladimír Čunát: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
ma27 has joined #nixos
zarel_ has joined #nixos
zarel has quit [(Disconnected by services)]
zarel_ is now known as zarel
jrolfs has joined #nixos
stepcut has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbNIX
<NixOS_GitHub> nixpkgs/master 4026ea9 volth: collectd: 5.7.2 -> 5.8.0...
NixOS_GitHub has left #nixos []
<infinisil> Also there's stuff like imagemagick, imagemagickBig, imagemagick_light, imagemagick7, imagemagick7Big, imagemagick7_light
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #32811: collectd: 5.7.2 -> 5.8.0 (master...patch-81) https://git.io/vbiuY
NixOS_GitHub has left #nixos []
jrolfs has quit [(Ping timeout: 265 seconds)]
<infinisil> bennofs[m]: you here?
<infinisil> wait never mind, I figured it out
<infinisil> I wondered why nix-locate also knows about haskellPackages, but i see it just queries it manually (haskellPackages, nodePackages, and a couple others)
<globin> Isorkin: are you sure we need the galera plugin, quoting mariadb website:
<globin> There are no longer separate MariaDB Galera Cluster releases for MariaDB 10.1 and above. Simply download MariaDB (10.1 or above) and configure your cluster as normal.
johnsonav has joined #nixos
ssmike has quit [(Remote host closed the connection)]
<sphalerite> I'm having an issue with a server of mine: I run a tmux session on it, but whenever I disconnect my SSH session /run/user/1000 is umounted (lost) and I have to SIGUSR1 tmux so it recreates the socket. Can I somehow ensure that /run/user/1000 isn't unmounted whenever I disconnect?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mounium opened pull request #33177: dash-to-panel: init at v11 (master...gnome-ext) https://git.io/vbNLz
NixOS_GitHub has left #nixos []
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<sphalerite> also does anyone know how to find out what pts an open instance of ptmx is connected to? I want to debug a problem with tmux but don't know how to find which application is causing the issue
<boegel> gchristensen: I'm trying to come up with a count that can be used in fair way to compare pkgs counts between Nix, Guix & other projects (conda has 3.5k, EasyBuild has 2k)
ssmike has joined #nixos
<gchristensen> that seems like a not useful thing to compare, but I see
<boegel> gchristensen: I think it is, it gives an idea about the scope of the project
<boegel> so, would a statement like "> 10k" make sense for Nix?
<gchristensen> yes
<pstn> adisbladis: Did you document your touchpad entirely for scrollng adventure somewhere?
<boegel> infinisil: any idea how to count without ignoring TeX & Haskell stuff?
<infinisil> boegel: I was doing some nixpkgs modifications to get a more accurate count: https://gist.github.com/Infinisil/5ca4e243fb5d6f1b77b671a8252a19d9
<infinisil> This makes it so nix-env digs into haskellPackages, doesn't dig 3 times into pythonPackages, and some other minor things
<infinisil> With these modifications I get a package count of 25288
<boegel> wow
<boegel> ok :)
<boegel> infinisil: so, does that count include TeX stuff as separate pkgs?
<infinisil> boegel: Hold on, rebasing on master and checking again
<pstn> Nice! Thanks!
<adisbladis> I think you can skip AreaTopEdge
<adisbladis> Sadly its not libinput but synaptics
<infinisil> boegel: It doesn't look like it, I'm not sure where the latex packages are even defined
<pstn> Yeah, we talked about that. Also still using synaptics here.
jrolfs has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/40a3d775a58 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
raynold has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
<FRidh2> boegel: infinisil: pkgs/tools/typesetting/tex/texlive For an estimate you could do wc -l pkgs/tools/typesetting/tex/texlive/fixedHashes.nix
<infinisil> another 7617 :D
<boegel> I'm heavily included to count that as one :)
<boegel> it would skew the count way too much
<gleber_> Is there a way to load current NixOS configuration into nix-repl?
<LnL> nix-repl '<nixos/nixos>'
<infinisil> boegel: I guess it all depends on the definition of 'package'
alexteves has quit [(Quit: My Mac Mini has gone to sleep. ZZZzzz…)]
<gleber_> LnL: thanks!
orivej has quit [(Ping timeout: 255 seconds)]
klntsky has quit [(Ping timeout: 272 seconds)]
romildo has joined #nixos
klntsky has joined #nixos
<boegel> infinisil: well, I'm aiming for counting each tool/app once
<boegel> which is not easy
<infinisil> boegel: Hmm, so python modules shouldn't count either?
<boegel> infinisil: I think those should count, libraries should be counted too
<boegel> but not extension packages like TeXLive stuff, that's different imho... anyway, it's a thin line
<boegel> or a squigly one, maybe :)
<sphalerite> whoopee, getting different results every time I run nix-store --verify --check-contents
<sphalerite> (it's bad RAM)
<FRidh2> boegel: Why present package counts? Especially, considering what is considered a package is subjective.
<boegel> FRidh2: mainly to give an idea about scope; it's just a tiny part of my talk, I'm definitely not focusing on it
ssmike has quit [(Remote host closed the connection)]
<FRidh2> boegel: then I would keep it to order of magnitudes, in which case Nix and Debian have 10^3
<vcunat> Maybe 10^4, it really depends what you count.
<vcunat> (e.g. haskellPackages)
<FRidh2> vcunat: since boegel wants to count multiple builds of a package as only a single package, I think the amount of source packages is the best indicator. I don't think we get to 10^4 then anymore
<infinisil> Repeating what I said earlier, I modified nixpkgs like this: https://gist.github.com/Infinisil/5ca4e243fb5d6f1b77b671a8252a19d9 and then counted packages with nix-env -qaP, which results in 25254 (latest master this time) cc boegel
<boegel> infinisil: thanks, I think 25k is a fair number to use...
<infinisil> This does count every haskellPackage, which are about 12k, and it doesn't count pythonPackages 3 times, only once
<boegel> here's what I have now: conda: 3.5k, EasyBuild: 2k, Guix: 6.5k, Nix: 25k, Spack: 2.3k
<boegel> that kind of matches my expectations w.r.t. scope
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
<Ralith> I mean, calling multiple distinct builds of the same project different packages isn't wrong
<Ralith> it's just unreasonably difficult for non-Nix systems to do very much of
<LnL> heh
<vcunat> boegel: you might be interested in repology.org
ssmike has joined #nixos
jrolfs has joined #nixos
<infinisil> boegel: Here is a curlable list of all these 25254 packages: https://infinisil.com/pkgs.txt
<infinisil> (list is too big for gist.github.com :P)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vbNmu
<NixOS_GitHub> nixpkgs/master d8490e3 Frederik Rietdijk: python.pkgs.numexpr: 2.6.2 -> 2.6.4
NixOS_GitHub has left #nixos []
ok2``` has quit [(Ping timeout: 250 seconds)]
ok2``` has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
<vcunat> kernelPackages (and luaPackages) get counted multiple times, vim plugins are perhaps questionable, and some other packages counted in multiple variants. Fair comparisons are difficult. (and quality is very important, too)
linarcx has joined #nixos
knupfer has quit [(Quit: knupfer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #33178: feh: 2.22.2 -> 2.23 (master...feh) https://git.io/vbNYF
NixOS_GitHub has left #nixos []
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
Avaq has joined #nixos
ssmike has quit [(Ping timeout: 252 seconds)]
<elvishjerricco> Hm. I added an `x86_64-darwin` machine to my `nix.buildMachines` and turned `nix.distributedBuilds`, but I'm still not able to build darwin derivations.
<elvishjerricco> Is there something else I have to configure?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #33179: libresolv: fix library version (master...darwin-libresolv) https://git.io/vbNOK
NixOS_GitHub has left #nixos []
jrolfs has joined #nixos
<infinisil> elvishjerricco: what is the value of $NIX_BUILD_HOOK ?
<elvishjerricco> infinisil:
<elvishjerricco> infinisil: /nix/store/br9pr4npwp4lqyzafpq9chvmzvganj0j-nix-1.11.15/libexec/nix/build-remote.pl
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbNOQ
<NixOS_GitHub> nixpkgs/master c8c5b02 dywedir: feh: 2.22.2 -> 2.23
<NixOS_GitHub> nixpkgs/master bc167e6 adisbladis: Merge pull request #33178 from dywedir/feh...
NixOS_GitHub has left #nixos []
<elvishjerricco> Oh I missed a line of output
<elvishjerricco> `Unable to connect to '...'`
<elvishjerricco> `Unable to open SSH connection to '...'`
<infinisil> that would explain it :)
jb55 has quit [(Ping timeout: 268 seconds)]
<elvishjerricco> But I'm able to open such an SSH connection myself
<infinisil> elvishjerricco: did you specify the correct keys in buildMachines?
<elvishjerricco> Yea. What permissions does the key need?
AluisioASG has quit [(Remote host closed the connection)]
<infinisil> sshKey and sshUser properties
<elvishjerricco> I've got 644
<infinisil> and correct user i guess, not sure what else
AluisioASG has joined #nixos
<elvishjerricco> infinisil: Who needs to be the owner of the key file?
jrolfs has quit [(Ping timeout: 265 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tiramiseb opened pull request #33180: gnomeExtensions.mediaplayer: init at 3.5 (master...master) https://git.io/vbN3Z
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
<infinisil> elvishjerricco: maybe check out the source directly
<infinisil> elvishjerricco: this build-remote.pl is what does the ssh build thing
stepcut has joined #nixos
randomstrangerb has joined #nixos
Ivanych has joined #nixos
<LnL> elvishjerricco: something in here might help https://gist.github.com/LnL7/248b0e2ab53ba01ac93b062a5f29b459
jrolfs has joined #nixos
<LnL> most notably the authorized_keys in your case, the nix commands are probably not in your path when you do something like ssh mac1 -- nix-store
randomstrangerb has quit [(Remote host closed the connection)]
<elvishjerricco> LnL: It seems like it's failing to open the SSH connection at all, given the `unable to open SSH connection to '...'`, no?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from b501422 to 85c7dc4: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable 20b83f3 Frederik Rietdijk: python.pkgs.pluggy: 0.3.1 -> 0.6.0
<NixOS_GitHub> nixpkgs/python-unstable 0674eaf Frederik Rietdijk: python.pkgs.pytest: 3.2.5 -> 3.3.1
<NixOS_GitHub> nixpkgs/python-unstable ddcf886 Frederik Rietdijk: python.pkgs.attrs: 17.2.0 -> 17.3.0
NixOS_GitHub has left #nixos []
jrolfs has quit [(Ping timeout: 240 seconds)]
drakonis has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<LnL> known_hosts is also a common pitfall
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<elvishjerricco> LnL: If I do `ssh ... nix-store --help`, I get `command not found`... Hm...
<LnL> yeah, the bash on darwin only sources ~/.bashrc for non-interactive sessions
linarcx has quit [(Remote host closed the connection)]
<elvishjerricco> LnL: What's the right way to fix that here?
kp__ has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
<LnL> I use a separate key for builds that's only allowed to run nix-store like in that gist
asuryawanshi has joined #nixos
kp__ has quit [(Client Quit)]
kp__ has joined #nixos
oida has quit [(Ping timeout: 272 seconds)]
randomstrangerb has joined #nixos
<LnL> but using . /etc/bashrc probably also works
Tobba has joined #nixos
Avaq has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
oida has joined #nixos
otherjrolfs has quit [(Ping timeout: 252 seconds)]
bkchr has quit [(Remote host closed the connection)]
<elvishjerricco> LnL: I used bashrc, but I'm still getting the unable to connect error
<elvishjerricco> (though bashrc did solve the nix-store command issue)
jrolfs has joined #nixos
otherjrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 2 new commits to master: https://git.io/vbNsX
<NixOS_GitHub> nixpkgs/master 961907d Shea Levy: Add haskell-ide-engine
<NixOS_GitHub> nixpkgs/master 89e882f Shea Levy: Merge branch 'haskell-ide-engine'
NixOS_GitHub has left #nixos []
<LnL> did you check everything I mentioned in the comment?
<sphalerite> Anyone using veracrypt or tcplay? I want to open an old truecrypt container I made some backups onto a long time ago, not had any luck with veracrypt yet (`veracrypt -tc Backup.crypt /backup`)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #32947: Add haskell-ide-engine. (master...haskell-ide-engine) https://git.io/vbSor
NixOS_GitHub has left #nixos []
<sphalerite> Getting "Error: mount: /crypt: wrong fs type, bad option, bad superblock on /dev/mapper/veracrypt1, missing codepage or helper program, or other error"
<sphalerite> nothing relevant in the journal
<elvishjerricco> LnL: Derp, it was the known_hosts thing
<elvishjerricco> Alright so now I can connect, but I'm getting "lacks a signature" errors
<elvishjerricco> Despite having `trusted-users = *` on the build machine
otherjrolfs has quit [(Ping timeout: 240 seconds)]
<LnL> don't think I've seen that before
jrolfs has quit [(Ping timeout: 264 seconds)]
<elvishjerricco> Oh! Just had to restart this nix-daemon
<elvishjerricco> I think it's working now! :)
<elvishjerricco> LnL: infinisil: Thanks for your help!
<LnL> great :)
yegortimoshenko has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vbNG0
<NixOS_GitHub> nixpkgs/master 1ee61d8 Shea Levy: Revert "Revert "hslib: Function to extract the haskell build inputs of a package.""...
<NixOS_GitHub> nixpkgs/master 4a01a17 Peter Simons: Merge pull request #33158 from shlevy/hslib-haskell-build-inputs-again...
NixOS_GitHub has left #nixos []
jrolfs has joined #nixos
otherjrolfs has joined #nixos
romildo has quit [(Quit: Leaving)]
klntsky has quit [(Remote host closed the connection)]
klntsky has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vbNGb
<NixOS_GitHub> nixpkgs/master eaf2877 Eelco Dolstra: Finance::Quote: 1.38 -> 1.47
NixOS_GitHub has left #nixos []
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 252 seconds)]
FRidh2 has quit [(Quit: Konversation terminated!)]
Tobba has quit [(Ping timeout: 240 seconds)]
averell has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vbNZ8
<NixOS_GitHub> nixpkgs/master 039cb62 Bastian Köcher: renderdoc: Fixes build with missing SWIG_PACKAGE
<NixOS_GitHub> nixpkgs/master 56518ff Joachim F: Merge pull request #32230 from bkchr/renderdoc...
NixOS_GitHub has left #nixos []
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<gleber_> LnL: `nix-repl <nixos/nixos>` doesn't work as it can't find a path. My $NIX_PATH is `/etc/nixos:nixos-config=/etc/nixos/configuration.nix` and I pin my NixOS onto a checked out repo at /etc/nixos/nixpkgs
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kierdavis opened pull request #33181: hugo: 0.29 -> 0.30.2 (master...hugo-0.30.2) https://git.io/vbNZK
NixOS_GitHub has left #nixos []
<sphalerite> gleber_: nix-repl '<nixpkgs/nixos>'
JosW has joined #nixos
<hyper_ch> unstable small still fails on busybox
<gleber_> sphalerite: hmm... ah, so this effectively loads nixpkgs/nixos/default.nix file?
<sphalerite> yes
<LnL> yeah, the channel name is nixos by default
<gleber_> hmm... and <nixpkgs> or <nixos> are names of a channel or of a directory somewhere on NIX_PATH, right?
<sphalerite> of something on NIX_PATH
<sphalerite> channels are on NIX_PATH by default, in your case they aren't because of your custom settings
randomstrangerb has quit [(Ping timeout: 260 seconds)]
<gleber_> sphalerite, LnL: these were the bits I was missing! thanks for explaining
randomstrangerb has joined #nixos
* gleber_ will boot up a clean NixOS and see how these are set up by default there
<LnL> the default is nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<sphalerite> Anyone know a good way to recover data from a somewhat broken HFS+ filesystem, ideally on linux?
vidbina has joined #nixos
<LnL> so <nixpkgs> is basically aliased to <nixos>
<sphalerite> but nixpkgs is the one to prefer generally speaking because it'll work on non-nixos systems too
<gleber_> so... why do we have these two names in the first place? is there any reason to have both configured on the same system?
otherjrolfs has quit [(Ping timeout: 260 seconds)]
jrolfs has quit [(Ping timeout: 272 seconds)]
<LnL> no idea
ma27 has quit [(Ping timeout: 252 seconds)]
<LnL> I thought the nixos tools used <nixos> so that it could be different, but I guess not
pie_ has quit [(Ping timeout: 246 seconds)]
<LnL> might be something from the time nixos was in a separate repo
kp__ has quit [(Quit: WeeChat 2.0.1)]
<sphalerite> ooooh yeah probably
kp__ has joined #nixos
<hyper_ch> sphalerite: you're at 34c3?
<sphalerite> no
vidbina has quit [(Ping timeout: 264 seconds)]
<edef> welp
<edef> still haven't made it to the assembly
sary has joined #nixos
vidbina has joined #nixos
otherjrolfs has joined #nixos
jrolfs 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/afac8c61e95 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
pie_ has joined #nixos
otherjrolfs has quit [(Ping timeout: 256 seconds)]
jrolfs has quit [(Ping timeout: 256 seconds)]
pie_ has quit [(Ping timeout: 250 seconds)]
<yegortimoshenko> gleber_: previously, nixos lived in a separate repo
<yegortimoshenko> i think that <nixpkgs> vs <nixos> is because of that
dywedir has quit [(Remote host closed the connection)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
pie_ has joined #nixos
jb55 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #33167: Mingw_w64 fix to get cross-compilation working again (master...mingw32-w64-fix) https://git.io/vbbFX
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Ping timeout: 263 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 1 new commit to staging: https://git.io/vbNcr
<NixOS_GitHub> nixpkgs/staging 7ede347 John Ericson: Merge #33167 into staging
NixOS_GitHub has left #nixos []
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
jb55 has quit [(Ping timeout: 272 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
jb55 has joined #nixos
<gleber_> yegortimoshenko: makes sense
Tobba has joined #nixos
aminb has joined #nixos
orivej has joined #nixos
otherjrolfs has quit [(Ping timeout: 260 seconds)]
jrolfs has quit [(Ping timeout: 260 seconds)]
pie_ has quit [(Ping timeout: 240 seconds)]
<NickHu> Are images working for anyone else in w3m?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mstarzyk opened pull request #33183: miller: init at 5.2.2 (master...miller) https://git.io/vbNCT
NixOS_GitHub has left #nixos []
<stepcut> I updated from Yesomite -> Sierra, Upgraded to a newer version of virtualbox, and upgraded from nixops-1.3 to nixops-1.5. Now when I try to nixops deploy to a virtual box it fails with 'error: string index out of range'. Though it builds with --build-only. nixops check also fails.
<stepcut> this is the --debug out for nixops check, http://lpaste.net/361199
<NickHu> It's not working in xterm for me even
Tobba has quit [(Ping timeout: 272 seconds)]
ma27 has joined #nixos
<sphalerite> Nick Hu: it uses the framebuffer and as such will only work outside X
<NickHu> Linus: That doesn't seem to be true from the internet
<sphalerite> you probably also need to be in the video group for it to work (check permissions on /dev/fb*
<stepcut> oh -- I guess this is fixed, forgot to check the bug tracker first, https://github.com/NixOS/nixops/issues/791
<NickHu> And I tried it in tty1 and it didn't work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbNC3
<NixOS_GitHub> nixpkgs/master 77cc639 Orivej Desh: wxmaxima: build with cmake...
NixOS_GitHub has left #nixos []
<NickHu> Linus: I'll try the permissions thing
<sphalerite> Nick Hu: no that's not the right solution if you're trying to get it to work within X I'm pretty sure
<sphalerite> I don't know how it's supposed to work in X, but it might also be writing straight to the framebuffer there too. If so you'll need to make sure you're not running a compositor for it to work, and even that doesn't guarantee it'll work.
<sphalerite> Why do you want this?
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<NickHu> Well I added myself to the video group and it doesn't seem to work
<NickHu> I saw that other people have it working and I was curious tbh
<NickHu> Could be useful to have images inside neovim
<sphalerite> it's definitely not very reliable
<sphalerite> if you want fancy graphics terminal stuff you may want to look into sixels
<sphalerite> Or terminal emulators with graphics support like terminology
averell has joined #nixos
<pkill9> i wondered how terminals like urxvt displayed images in w3m with the images support added to w3m
<NickHu> Hmm, there are rw perms on /dev/fb0 for the video group, but fbi fails with "Inappropriate ioctl for device"
<sphalerite> did the group change actually take effect? You probably need to log out and back in
<sphalerite> oh wait inappropriate ioctl isn't a permission error
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vbNCp
<NixOS_GitHub> nixpkgs/master 1e77d0b David Guibert: kernel 4.14 require libelf to compile modules....
NixOS_GitHub has left #nixos []
<NickHu> I did a newgrp video and then checked the output of groups
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #33166: libelf required by some module compilation (on kernel >= 4.14) (master...fix/modules-require-libelf) https://git.io/vbb7A
NixOS_GitHub has left #nixos []
aminb has quit [(Quit: WeeChat 2.0.1)]
aminb has joined #nixos
<sphalerite> I haven't tried fbi but jfbview worked for me last time I tried it
jrolfs has quit [(Ping timeout: 268 seconds)]
otherjrolfs has quit [(Ping timeout: 272 seconds)]
<NickHu> jfbview seems to display garbage for me
<sphalerite> maybe your graphics driver's fbdev is broken
<sphalerite> idk
<NickHu> Hmm, no wonder you said it was unreliable haha
<NickHu> Should be on the intel driver, so it's not like a niche piece of hardware
JosW has quit [(Quit: Konversation terminated!)]
<sphalerite> works on my intel graphics :/
<sphalerite> Wait, are you running this from within X?
<NickHu> Yes
<sphalerite> yeah that's very unlikely to work
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<NickHu> Could you tell me more about sixel? Seems kinda hard to find information on it
<NickHu> Apparently it's ancient
<sphalerite> afaik https://github.com/saitoha/libsixel is the "cutting edge" on sixel. I don't know that much though
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 260 seconds)]
<NickHu> Can you see if alacritty works for you?
ssmike has joined #nixos
<NickHu> Oh that was for some reason caused by the newgrp
<NickHu> Doesn't seem to support w3m images though
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vbNWd
<NixOS_GitHub> nixpkgs/master 5997b4f Vladimír Čunát: linuxPackages.rtlwifi_new: fix missing libelf...
NixOS_GitHub has left #nixos []
ssmike has quit [(Ping timeout: 240 seconds)]
Myrl-saki has quit [(Ping timeout: 252 seconds)]
<sphalerite> last time I tried it did
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vbNlc
<NixOS_GitHub> nixpkgs/master 1fb0d3d Franz Pletz: Fix some instances of #33166 correctly
NixOS_GitHub has left #nixos []
LexLeoGryfon has quit [(Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)]
steshaw has joined #nixos
jrolfs has joined #nixos
vidbina has quit [(Ping timeout: 240 seconds)]
coot_ has quit [(Read error: Connection reset by peer)]
jrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vbN8s
<NixOS_GitHub> nixpkgs/master 84d8ef6 Franz Pletz: linuxPackages.spl: simplify expression...
<NixOS_GitHub> nixpkgs/master 6b74d2c Franz Pletz: linuxPackages.zfs: use correct kernel module build flag...
NixOS_GitHub has left #nixos []
hiratara has quit [(Ping timeout: 240 seconds)]
hiratara has joined #nixos
jrolfs has quit [(Ping timeout: 272 seconds)]
<das-g[m]> Can someone here answer https://unix.stackexchange.com/q/413710/161209 ?
<nixy> What is /etc/nixos/result?
<samueldr> errrr, how do you rebuild?
<samueldr> I'm not getting a /etc/nixos/result
<samueldr> `readlink -f /etc/nixos/result` to see what it points to
<nixy> That may be an artifact of some nix operation you performed from that directory yourself
<samueldr> ^ nixy is probably right, a nix-build you happened to do in that directory
<LnL> nix-build and nixos-rebuild build create a 'result' symlink when the build is done for convinience
el_putin_asleep is now known as el_putin
<samueldr> (I've never had a result symlink from nixos-rebuild??)
<nixy> samueldr: Only when you use the `build` option
<samueldr> oh ah!
<nixy> das-g[m]: TL;DR is you wouldn't have to track that
<LnL> yeah, same with build-vm but switch skips that
coot_ has joined #nixos
<LnL> you can even just remove it
roberth has left #nixos []
jtojnar has quit [(Ping timeout: 252 seconds)]
jrolfs has joined #nixos
nix-build has quit [(Ping timeout: 255 seconds)]
marzzzello has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vbN45
<NixOS_GitHub> nixpkgs/master 722295f Tuomas Tynkkynen: openblas: Support ARMv6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] iamale opened pull request #33184: waterfox-bin: init at 56.0.1 (master...master) https://git.io/vbN4p
NixOS_GitHub has left #nixos []
<nix_newb> hello, is it possible to write a package derivation such that it auto updates when a new version available(assuming this information can be acquired from some update http query)
dan_b has joined #nixos
<nixy> I don't know if that is possible but it doesn't seem very in the spirit of Nix derivations
<nixy> (It wouldn't be reproducible because it would change as updates become available)
<infinisil> nix_newb: you'll have to invoke a nix command to update it, which could be done by a systemd unit, so I guess it's possible
<nix_newb> nixy: i am not after reproducibility of such a package; e.g. say i don't care about browser versions
<samueldr> which has update.sh, which generates upstream-info.nix
<samueldr> but it still needs to be called manually, afaik
<sphalerite> nix_newb: you can also use nasty stateful stuff like builtins.fetchurl. But it's nasty and stateful
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 3 new commits to staging: https://git.io/vbNB3
<NixOS_GitHub> nixpkgs/staging 8b04971 John Ericson: Merge branch 'alt-stdenv' into ericson2314-cross-base
<NixOS_GitHub> nixpkgs/staging 5db559f John Ericson: Merge branch 'mingw32-w64-fix' into ericson2314-cross-base
<NixOS_GitHub> nixpkgs/staging 4d3282f John Ericson: Merge branch 'ericson2314-cross-base' into staging
NixOS_GitHub has left #nixos []
<sphalerite> but that does match your "acquired from some update http query" thing
<nix_newb> so i need to override the previous package with the new src right?
dpren has left #nixos []
<nix_newb> so nix-env -i foo when called next time would update itself to new version
<nixy> Doesn't fetchurl require a matching hash?
<infinisil> not the builtin one
<nix_newb> yeah
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #33185: treewide: A few misc cross changes from #26805 (staging...cross-simple) https://git.io/vbNBE
NixOS_GitHub has left #nixos []
<nix_newb> but the updater also provides the hash information in my case; so it's not a problem
hiratara has quit [(Remote host closed the connection)]
<infinisil> nix_newb: You'll still need to fetch that updater somehow
<infinisil> which is what builtins.fetchurl can be used for
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 5 new commits to staging: https://git.io/vbNB2
<NixOS_GitHub> nixpkgs/staging 6f4cfe0 Ben Gamari: gawk: Enable cross-compilation
<NixOS_GitHub> nixpkgs/staging 946c1b2 Ben Gamari: diffutils: Enable cross-compilation
<NixOS_GitHub> nixpkgs/staging e73d805 John Ericson: libelf: Fix cross compilation...
NixOS_GitHub has left #nixos []
<infinisil> oh you mean to run a script that updates the nix expression, then yeah
hiratara has joined #nixos
phreedom has quit [(Ping timeout: 246 seconds)]
stepcut has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33183: miller: init at 5.2.2 (master...miller) https://git.io/vbNCT
NixOS_GitHub has left #nixos []
stepcut has joined #nixos
cement has joined #nixos
c74d has left #nixos []
<nix_newb> okay i find the rust overlay is doing it as another example
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbNBF
<NixOS_GitHub> nixpkgs/master 19175d4 Katona László: dash-to-panel: init at v11
<NixOS_GitHub> nixpkgs/master 612e1ac adisbladis: Merge pull request #33177 from Mounium/gnome-ext...
NixOS_GitHub has left #nixos []
stepcut has quit [(Read error: Connection reset by peer)]
stepcut has joined #nixos
oida has quit [(Ping timeout: 264 seconds)]
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #33186: binutils: Fix cross, again (staging...cross-binutils) https://git.io/vbNRs
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NickHu opened pull request #33187: llvm-hs: fix llvm-config dependency (master...llvm-hs) https://git.io/vbNRl
NixOS_GitHub has left #nixos []
Tobba has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbNRu
<NixOS_GitHub> nixpkgs/master 901fa26 Kier Davis: hugo: 0.29 -> 0.30.2...
<NixOS_GitHub> nixpkgs/master 99b4959 adisbladis: Merge pull request #33181 from kierdavis/hugo-0.30.2...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 4 new commits to staging: https://git.io/vbNR2
<NixOS_GitHub> nixpkgs/staging c15c449 Ben Gamari: binutils: Always search DT_RPATH
<NixOS_GitHub> nixpkgs/staging 1cde06a John Ericson: stdenv cross adapter: Get rid of extra propagatation of buildInputs...
<NixOS_GitHub> nixpkgs/staging cc44e04 John Ericson: bintools-wrapper: Define fallback default emulation...
NixOS_GitHub has left #nixos []
randomstrangerb has quit [(Ping timeout: 264 seconds)]
randomstrangerb has joined #nixos
jrolfs has quit [(Ping timeout: 265 seconds)]
ma27 has quit [(Quit: WeeChat 2.0)]
dieggsy has joined #nixos
zarel has quit [(Quit: Leaving)]
pxc has joined #nixos
<gleber_> is anyone running docker images built with nixpkg's dockerTools on kubernetes in production?
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #33188: boost: Clean , reducing duplication (staging...clean-boost) https://git.io/vbNRj
NixOS_GitHub has left #nixos []
John__ has joined #nixos
aarvar has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
cement has quit [(Ping timeout: 265 seconds)]
jb55 has quit [(Ping timeout: 265 seconds)]
<sphalerite> Does anyone know some sort of "idiot-proof encryption" tool? I want it to generate a key from a passphrase and encrypt a file for me sensibly.
<sphalerite> and more on-topic: can I disable use of remote builders on a per-build basis, i.e. using a command-line flag for nix-build or something?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] dtzWill opened pull request #1768: use brotli API instead of external command (master...feature/brotli) https://git.io/vbN0w
NixOS_GitHub has left #nixos []
oida has joined #nixos
<nix_newb> sphalerite: gpg not good enough for you? ;)
<nix_newb> you are looking for -c btw
<sphalerite> nix_newb: it could be. Just not sure how to use it correctly for this.
jrolfs has joined #nixos
<sphalerite> So just `gpg -c file`? That looks easy enough. Thanks :D
<nix_newb> yep
otherjrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 260 seconds)]
jrolfs has quit [(Ping timeout: 260 seconds)]
randomstrangerb has quit [(Ping timeout: 252 seconds)]
pxc has quit [(Ping timeout: 268 seconds)]
yegortimoshenko has quit [(Ping timeout: 252 seconds)]
randomstrangerb has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33189: brotli: 1.0.1 -> 1.0.2 (master...update/brotli-1.0.2) https://git.io/vbNuG
NixOS_GitHub has left #nixos []
John__ has quit [(Quit: Leaving)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
yegortimoshenko has joined #nixos
otherjrolfs has quit [(Ping timeout: 260 seconds)]
jrolfs has quit [(Ping timeout: 256 seconds)]
Tobba has quit [(Ping timeout: 250 seconds)]
<makefu> to the one asking for how to build coreboot on NixOS https://nixos.wiki/wiki/Coreboot
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley opened pull request #33191: melpaPackages: match version of magit-popup to magit (master...magit-popup-version) https://git.io/vbNzW
NixOS_GitHub has left #nixos []
Tobba has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko pushed 1 new commit to master: https://git.io/vbNz0
<NixOS_GitHub> nixpkgs/master f497999 Yegor Timoshenko: linuxPackages.spl: eval, 84d8ef6e2fc869b5405a9a2590d848283a48a10b
NixOS_GitHub has left #nixos []
gilligan_ has quit [(Remote host closed the connection)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
vcunat has quit [(Quit: Leaving.)]
* Dirt[m] sent a long message: Dirt[m]_2017-12-29_23:50:58.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/dOjRMVPzMFYgTammcJHBsYJO>
jrolfs has quit [(Ping timeout: 240 seconds)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kierdavis opened pull request #33192: hugo: update dependencies (master...hugo-deps) https://git.io/vbNzb
NixOS_GitHub has left #nixos []
<sphalerite> Dirt: long messages and messages containing newlines don't get relayed to IRC properly: https://botbot.me/freenode/nixos/msg/95174299/ so you may want to avoid that
Faster-Fanboi has joined #nixos
<sphalerite> Anyway, to answer your question: I use nix-env to manage my user profile, but always with the -r option and with a custom expression — so my user env is declarative, and nix-env essentially takes on a similar role to nixos-rebuild
<sphalerite> there's also home-manager which brings nixos-like config to the user level: https://github.com/rycee/home-manager
<sphalerite> declarative is definitely nicer than installing packages imperatively, but nix-env can be part of that process :)
m0rphism has joined #nixos
<sphalerite> what's nice about nix-env (but an advantage shared by home-manager) is that it can be used without root privileges