gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
justan0theruser has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40849 → srtp: 2.1.0 -> 2.2.0 → https://git.io/vpj3q
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to staging « srtp: 2.1.0 -> 2.2.0 (#40849) »: https://git.io/vhvI6
<{^_^}> [nixpkgs] @xeji merged pull request #40846 → mutt: 1.9.5 -> 1.10.0 → https://git.io/vpjOI
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « mutt: 1.9.5 -> 1.10.0 (#40846) »: https://git.io/vhvIy
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #40899 → lxqt: 0.12.0 -> 0.13.0 [WIP] → https://git.io/vhvIF
adamt has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #40900 → oracle-instantclient: simplify a lot, use autoPatchelfHook → https://git.io/vhvLG
<{^_^}> [nixpkgs] @xeji merged pull request #40833 → rust-bindgen: 0.36.1 -> 0.37.0 → https://git.io/vpjUy
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « rust-bindgen: 0.36.1 -> 0.37.0 (#40833) »: https://git.io/vhvLn
<hoshineko> oh my god
eqyiel has quit [Changing host]
eqyiel has joined #nixos
<hoshineko> well now i want to commit sudoku
<hoshineko> turns out i only had to wait for about 2 minutes
<iqubic> 1) Don't do that.
<iqubic> 2) It's called sepuku.
griff_ has quit [Ping timeout: 245 seconds]
pxc1 has joined #nixos
burton__ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @zx2c4 opened pull request #40901 → wireguard-go: remove from tree → https://git.io/vhvLg
burton_ has joined #nixos
<hoshineko> seppuku, actually
pxc1 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40892 → Stop requiring the nixpkgs symlink in NixOS channel tarballs → https://git.io/vhe7N
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhvLD
<{^_^}> → 05986523 by @copumpkin: Stop requiring the nixpkgs symlink in NixOS channel tarballs
<{^_^}> → 5da85431 by @yegortimoshenko: Merge pull request #40892 from NixOS/no-more-nixpkgs-symlink
<{^_^}> [nixpkgs] @yegortimoshenko closed pull request #40016 → nix-daemon: strip /nixpkgs from nixpkgs channel → https://git.io/vprvJ
burton_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @yegortimoshenko pushed 0 commits to no-more-nixpkgs-symlink: https://git.io/vhvLQ
<{^_^}> [nixpkgs] @zx2c4 opened pull request #40902 → wireguard: bump version and limit platforms → https://git.io/vhvLh
<{^_^}> [nixpkgs] @yegortimoshenko pushed 0 commits to yegortimoshenko-patch-3: https://git.io/vhvtJ
zx2c4 has joined #nixos
<zx2c4> grahamc: hey
<zx2c4> around?
zx2c4 has left #nixos [#nixos]
hoshineko has left #nixos [#nixos]
<{^_^}> [nixpkgs] @Ericson2314 pushed 97 commits to staging: https://git.io/vhvtt
<{^_^}> → 421ac698 by @LnL7: libcommuni: fix darwin build
<{^_^}> → 99d56c54 by @LnL7: communi: fix darwin build
<{^_^}> → 2b7fe3bf by @corngood: xorg: replace edits to generated script
<iqubic> Actually, what I should do is just use this compose key I have. LOL.
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40902 → wireguard: bump version and limit platforms → https://git.io/vhvLh
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhvt3
<{^_^}> → 0f2de933 by @zx2c4: wireguard: bump version and limit platforms
<{^_^}> → 643462ae by @yegortimoshenko: Merge pull request #40902 from zx2c4-forks/do-people-actually-use-nix-for-darwin
bennofs has quit [Ping timeout: 260 seconds]
<iqubic> I have given one key the ability to send the compose keysym. How do I set what characters are sent?
<{^_^}> [nixpkgs] @xeji merged pull request #40889 → kakoune-unstable: 2018-03-22 -> 2018-05-21, debug mode disabled → https://git.io/vheyW
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vhvtl
<{^_^}> → e4ed1d34 by @GrigoriyDmitriev: Kakoune version updated 2018-03-22 -> 2018-05-21, debug mode disabled
<{^_^}> → 8b29ccb3 by @xeji: Merge pull request #40889 from GrigoriyDmitriev/kakoune20180521
<{^_^}> [nixpkgs] @yegortimoshenko closed pull request #40901 → wireguard-go: remove from tree → https://git.io/vhvLg
hotfuzz has quit [Ping timeout: 248 seconds]
fxr has joined #nixos
<Ralith> is there a documented procedure anywhere for transferring a NixOS image to new hardware?
Sonarpulse has quit [Ping timeout: 245 seconds]
alex`` has quit [Ping timeout: 248 seconds]
<iqubic> Ralith: What are you trying to do?
<Ralith> move my hard drive to a new laptop
<iqubic> Oh, I see.
<iqubic> I'm sure there must be a clean way to do that.
<iqubic> I just don't know it. Sorry.
<clever> Ralith: i would just move the drive, boot it, and see what happens
<{^_^}> [nixpkgs] @yegortimoshenko pushed to master « wireguard-go: fix hash »: https://git.io/vhvqJ
<Ralith> are disk UUIDs stable between machines?
<Ralith> I'll probably need to install the bootloader, at least, won't I?
<fxr> Ralith: If your hard drive already has a bootloader, you don't need to install it again.
<clever> Ralith: the UUID is part of the filesystem and partition table
<clever> s
<Ralith> doesn't UEFI involve frobbing some non-volatile memory on the mobo?
<clever> some firmware lets you manually pick a .efi file from the drive
baconicsynergy has quit [Quit: Leaving]
dbmikus has joined #nixos
jasongrossman has joined #nixos
dispanser has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #40725 → autojump: rework → https://git.io/vpxw2
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vhvqX
<{^_^}> → 47aceb0a by @yurrriq: autojump: rework
<{^_^}> → b72a8a41 by @xeji: Merge pull request #40725 from yurrriq/update/autojump
dispanser has joined #nixos
<{^_^}> [nixpkgs] @zx2c4 opened pull request #40903 → wireguard: fix up text, maintainer, and version → https://git.io/vhvq9
<{^_^}> [nixpkgs] @matthewbauer pushed 6 commits to master: https://git.io/vhvqh
<{^_^}> → 3dc8328b by @matthewbauer: sfml: support darwin
<{^_^}> → 50c158de by @matthewbauer: enet: supports darwin
<{^_^}> → f2dc1970 by @matthewbauer: spidermonkey_38: add darwin support
<{^_^}> [nixpkgs] @matthewbauer opened pull request #40904 → Freeciv: enable on darwin → https://git.io/vhvmv
hotfuzz has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40903 → wireguard: fix up text, maintainer, and version → https://git.io/vhvq9
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhvmq
<{^_^}> → 8d575415 by @zx2c4: wireguard: fix up text, maintainer, and version
<{^_^}> → ed826749 by @yegortimoshenko: Merge pull request #40903 from zx2c4-forks/wireguard-fixes
ericsagnes has joined #nixos
<johnw> is there any reason why overrideScope takes a function with argument order super: self: while overrides and extends want functions taking self: super: ?
contrapumpkin has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d775dc91608 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
acarrico has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Pneumaticat opened pull request #40905 → kubernetes-dashboard: raise memory limit to 250MB → https://git.io/vhvm2
olto has quit [Ping timeout: 248 seconds]
oltoAltn has joined #nixos
Rusty1_ is now known as Rusty1
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm has joined #nixos
kim0 has quit [Quit: Connection closed for inactivity]
<iqubic> Can I just add a .Xcompose file to my ~/ dir? How would I go about sourcing that and putting it into the currect scope?
<iqubic> I.E. making the bindings work in the way I want them to?
acarrico has joined #nixos
<{^_^}> [nixpkgs] @knedlsepp opened pull request #40906 → db dependees: fix regression from introducing multiple outputs → https://git.io/vhvYq
<azazel> anyone knows how to calculate the sha256 parameter in function pullImage?
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #40907 → wireguard-tools: clean up, wrap w/ wireguard-go on Darwin → https://git.io/vhvYs
<gchristensen> !tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<azazel> gchristensen: mmm
simpson has joined #nixos
<azazel> gchristensen: thanks, I'll try tomorrow
<simpson> Oh ew, Ember insists on having a global NPM: "Ember CLI is now using the global npm, but was not able to find it."
<simpson> What do?
<simpson> dash: Lesson: Ambient authority to the package manager is a Bad Idea.
<azazel> gchristensen: so I have to enable that module, let it install, fail because of the wrong sha and then fix it? there isn't a way to get it berfore doing the fail step, so avoiding it?
<simpson> It appears to be okay with *an* npm binary, even if it's not global. Okay.
<azazel> simpson: "global" means it's in the path?
silver_ has quit [Quit: rakede]
<azazel> i mean... $PATH
<simpson> azazel: Apparently! I thought it meant `npm -g` or writing to the Nix store or something like that, but I am lucky today and it just wants npm and node on the $PATH.
<azazel> i think npm -g means to install a /package/ in the "global" space, i.e. /usr/local/lib/node/somewhere in traditional distros... you were luck, anyway ;-)
<azazel> /s/luck/lucky/
markus1199 has joined #nixos
markus1189 has quit [Ping timeout: 260 seconds]
fxr has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « ammonite: 1.1.0 -> 1.1.2 »: https://git.io/vhvYF
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « ammonite: 1.1.0 -> 1.1.2 »: https://git.io/vhvYN
romildo has joined #nixos
<romildo> What tools are available in nixpkgs to help updating packages?
<johnw> for Emacs I wrote nix-update.el
<johnw> to make it easier to update fetch* statements in place
sigmundv__ has quit [Ping timeout: 260 seconds]
sbdchd has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
* acowley +1's nix-update.el
<dash> nice, i need that
sigmundv_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40907 → wireguard-tools: clean up, wrap w/ wireguard-go on Darwin → https://git.io/vhvYs
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhvO1
<{^_^}> → e9e044ab by @yegortimoshenko: wireguard-tools: clean up, wrap w/ wireguard-go on Darwin
<{^_^}> → 5cd1e345 by @yegortimoshenko: Merge pull request #40907 from yegortimoshenko/20180522.041617/wireguard-tools-cleanup
spear2 has quit [Quit: Leaving]
agile has quit [Quit: v]
agile has joined #nixos
Ralith_ has quit [Remote host closed the connection]
Supersonic has quit [Ping timeout: 260 seconds]
dbmikus has quit [Ping timeout: 252 seconds]
Supersonic has joined #nixos
toby1851 has quit [Remote host closed the connection]
toby1851 has joined #nixos
romildo has quit [Quit: Leaving]
<andreabedini> what is the difference between `nix-env -f "<nixpkgs>" -qaP -A haskellPackages` and `nix-env -qaP -A nixpkgs.haskellPackages`
baconicsynergy has joined #nixos
<elvishjerricco> andreabedini: I don't think there is a difference. Mainly it's just that `nix-env` by default operates on the NIX_PATH, which is identical to operating on <nixpkgs> if you start your attrpath with nixpkgs.
<clever> andreabedini: the first loads the nixpkgs entry from $NIX_PATH, the 2nd loads the nixpkgs entry from ~/.nix-defexpr/
<elvishjerricco> oh, I'm wrong :P
<andreabedini> elvishjerricco clever: thanks
<andreabedini> ah, my ~/.nix-defexpr and $NIX_PATH point to the same path (channels)
griff_ has joined #nixos
griff__ has joined #nixos
pxc1 has joined #nixos
griff_ has quit [Ping timeout: 245 seconds]
griff__ is now known as griff_
pxc1 has quit [Ping timeout: 245 seconds]
MP2E has joined #nixos
sanscoeur has joined #nixos
fooz has joined #nixos
<fooz> how can i get the path of `systemctl` in a services definition?
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 245 seconds]
lassulus_ is now known as lassulus
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/58f02f269f7 (from 48 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<Ralith> rerunning nixos-install on an existing system is safe, right?
<gchristensen> yea
pxc1 has joined #nixos
burton__ has joined #nixos
fogbugz has quit [Remote host closed the connection]
fogbugz has joined #nixos
<Ralith> does 17.09 media have a convenient wifi setup tool?
drakonis has joined #nixos
ilyaigpetrov has joined #nixos
fooz has quit [Ping timeout: 260 seconds]
pxc1 has quit [Ping timeout: 256 seconds]
<gchristensen> nmtui i think
Synthetica has quit [Quit: Connection closed for inactivity]
<Ralith> man, I really should've made an 18.03 stick, this is going to take ages to download one request at a time
pxc1 has joined #nixos
pxc1 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40869 → maven: 3.5.2 -> 3.5.3 → https://git.io/vpjl6
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhvG3
<{^_^}> → 5aa53cc9 by R. RyanTM: maven: 3.5.2 -> 3.5.3
<{^_^}> → c68996f1 by @yegortimoshenko: Merge pull request #40869 from r-ryantm/auto-update/apache-maven
<Ralith> almost went off on a huge thing to EFI-ify my existing legacy image but then I remembered I'm replacing this hard drive in the near future anyway
fooz has joined #nixos
<fooz> help! i'm locked out of my nixos system
<fooz> i did `systemctl stop display-manager` and got into a state where there's no way for me to input anything
<fooz> if i hit the power button, it hibernates and resumes to this state
<fooz> i'm afraid i'll have to take the laptop apart to cause a hard-reset (shut down w/o hibernate)
<sir_guy_carleton> you can't remove the battery?
<fooz> sir_guy_carleton: yes, i'm sure i can.. but i was wondering if maybe somebody could tell me how to get out of the state which i entered by doing `systemctl stop display-manager`
<fooz> it's not a virtual-console; it's displaying the last line of boot text
blankhart has joined #nixos
<gchristensen> what about alt-F1/2/3?
<simpson> fooz: Oh! Ctrl+Alt+F2 ?
<fooz> simpson: no lock
<fooz> no luck *
<fooz> ctl+alt+ f[1-6] doesn't switch to a vconsole
<simpson> Perhaps holding the power button down for four-five seconds will hard halt?
<gchristensen> how about Ctrl-L
<fooz> it seems that consistently initiates a hibernate
<fooz> i'll try ctl-l
<fooz> no response
<fooz> just "[ OK ] Started powertop tunings" and a blinking cursor
<simpson> It might *initiate* a hibernate, but many firmwares will also respond to a held power button like that by fully powering off, even if the kernel is trying to do a hibernate.
<fooz> simpson: well, that worked.. but i tried it several times before coming on irc
<fooz> not sure what happened this last time, but it didn't resume thankfully
<simpson> fooz: You weren't trying it with the certainty and knowledge of some strangers' advice on IRC.
<fooz> simpson: clearly that was the missing ingredient! it so often is
<fooz> alright, updated the config so that the power button just shuts down..
<fooz> i can reproduce this issue easily
<bhipple[m]> The patient's always healthy when the doctor's around!
<simpson> I haven't been a GPU doctor ever since GPU 'Nam.
<fooz> 1. log in to a v-console, 2. systemctl stop display-manager 3. try switching v-consoles (you are now locked out)
<simpson> fooz: Do you know your GPU make? One GPU or is it hybrid?
<fooz> it's a Intel UHD 620 GPU
<simpson> Hm. Yes, I see. I'm sorry, but there's nothing I can do.
<fooz> don't tell me, we're going to have to amputate?
<simpson> No, just don't try switching back to text mode or turning off the display manager. Get your setup figured out, and then stick with it.
<simpson> I mean, yes, we must amputate~
pxc has joined #nixos
<sir_guy_carleton> how do you add a pre-existing git repo onto github without creating the repo github first?
schoppenhauer has quit [Ping timeout: 252 seconds]
<sir_guy_carleton> i've tried 'git remote add https://www.github.com/my_user_name/foo.git' but when i try to push it it says it can't find the repository
<johnw> sir_guy_carleton: I don't think you do
<simpson> You have to create the repo on Github somehow. You could use the API instead of a Web browser; there are tools like `hub` for that.
<johnw> i've never been able to get 'hub create' to work
schoppenhauer has joined #nixos
steell has joined #nixos
<sir_guy_carleton> hmm, that werid, i feel like i was able to do that earlier and i've just forgotten the exact commands
<johnw> maybe you dreamed it?
<johnw> I'm surprised I haven't had a dream yet where I suddenly remember that I have a repo full of pull requests whose name I can't remember
<sir_guy_carleton> maybe, or maybe i just forgot making the repository on the website
<sir_guy_carleton> anyway no big deal, just makes life a bit more inconvient
fooz has quit [Ping timeout: 260 seconds]
fooz has joined #nixos
aminechikhaoui has quit [Ping timeout: 276 seconds]
fooz has quit [Ping timeout: 260 seconds]
jperras has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #40908 → purple-xmpp-http-upload: init at 178096c → https://git.io/vhvZQ
steell has quit [Ping timeout: 248 seconds]
gm152 has quit [Quit: WeeChat 2.1]
<pxc> Dezgeg: hey! I just got a chance to try the updated nix-multiuser-fpm deb. Thanks for resolving both of the issues that I found. :-)
<pxc> Dezgeg: btw, it didn't build right away when I went to try it out, because the FPM source in pkgs/.../fpm/gemset.nix has the wrong sha256 hash in the checkout of Nixpkgs that nix-fpm-multiuser uses
blankhart has quit [Quit: WeeChat 1.9.1]
<cbarrett> anyone up for trying to help me repair my nix configuration? it's not working right after high sierra
<cbarrett> darwin-rebuild switch fails with error: file 'darwin' was not found in the Nix search path (add it using $NIX_PATH or -I)
orivej has quit [Ping timeout: 260 seconds]
<colemickens> When I do `nixos-rebuild switch`, it starts building qemu.
<colemickens> How can I: (1) determine why it's building qemu from scratch instead of the binary cache (2) figure out what is pulling in qemu at all?
aminechikhaoui has joined #nixos
emmanuelrosa has joined #nixos
burton__ has quit [Ping timeout: 252 seconds]
burton_ has joined #nixos
emmanuelrosa has quit [Client Quit]
sauyon has quit [Ping timeout: 245 seconds]
rauno has quit [Ping timeout: 245 seconds]
jperras has joined #nixos
Ross has quit [Ping timeout: 245 seconds]
Ross has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
jD91mZM2 has joined #nixos
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/58f02f269f7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
sbdchd has quit [Ping timeout: 260 seconds]
dispanser has quit [Remote host closed the connection]
drakonis has quit [Read error: Connection reset by peer]
dispanser has joined #nixos
xy2_ has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
pxc1 has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<cbarrett> ok i've got that fiured out
jperras has joined #nixos
<cbarrett> I think I'm still in a weird state though, wrt permissions and build users.
pxc1 has quit [Ping timeout: 260 seconds]
PCChris has quit [Remote host closed the connection]
mahalel_ has quit [Ping timeout: 260 seconds]
PCChris has joined #nixos
Maxdaman1us has joined #nixos
Maxdamantus has quit [Ping timeout: 260 seconds]
jperras has quit [Ping timeout: 252 seconds]
<colemickens> I figured out the answer to #2 at least. `sudo nixos-rebuild dry-build` then take the nix store path it's going to build and feed it to `nix-store -q --graph ` and then parse the dot file to determine that `cloud-utils` was pulling in qemu.
<colemickens> Still not sure why it's building qemu on my machine. `qemu` is free, so I'd expect it to be availalbe...
robstr has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
jasongrossman has quit [Ping timeout: 245 seconds]
PCChris has quit [Remote host closed the connection]
<cbarrett> here's the output of nix-info
<cbarrett> system: "x86_64-darwin", multi-user?: no, version: nix-env (Nix) 2.0.1, channels(root): "darwin, nixpkgs-18.03pre132428.58f02f269f7", channels(cbarrett): "nixpkgs-18.03pre131930.03667476e33, darwin", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
PCChris has joined #nixos
<cbarrett> ls -la /nix sez that /nix/store is owned by root:nixbld
<cbarrett> 🤔
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
jasongrossman has joined #nixos
PCChris has quit [Remote host closed the connection]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
PCChris has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
rauno has joined #nixos
pxc has quit [Ping timeout: 245 seconds]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #40909 → coqPackages.iris: init at 3.1.0 → https://git.io/vhv8C
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
jperras has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
jperras has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #40910 → ocamlPackages.imagelib: init at 20171028 → https://git.io/vhv4s
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
boxofrox has quit [Ping timeout: 256 seconds]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
lord| has quit [Ping timeout: 245 seconds]
boxofrox has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
mmlb has quit [Ping timeout: 276 seconds]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
mmlb has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
woodson has joined #nixos
kmels has quit [Read error: Connection reset by peer]
PCChris has quit [Remote host closed the connection]
reinzelmann has joined #nixos
PCChris has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
hyper_ch2 has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
alex`` has joined #nixos
jedai has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
acarrico has quit [Ping timeout: 248 seconds]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
klntsky has quit [Ping timeout: 250 seconds]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
periklis has joined #nixos
klntsky has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
seafood has joined #nixos
<seafood> Can anyone help me do a remote build using Nix 2.0.2?
xy2_ has quit [Ping timeout: 260 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
acarrico has joined #nixos
PCChris has quit [Remote host closed the connection]
<sphalerite> seafood: yes.
<sphalerite> ,ask
<{^_^}> Don't ask if anyone uses software xyz, just ask your specific question. This helps solve your problem quicker, and allows people who haven't used xyz but may still be able to help you to do so.
PCChris has joined #nixos
fxr has joined #nixos
<seafood> sphalerite: I’m trying to use “nix build"
<seafood> (not nix-build)
<seafood> And it doesn’t appear that you can pass “—option builders <something>” to that command
<sphalerite> --builders :)
<Myrl-saki> There's also some incompatibility with the new configuration and the old.
<Myrl-saki> seafood: When in doubt, `grep /etc/nix/nix.conf`
<Myrl-saki> Assuming NixOS.
<seafood> sphalerite: —builders is not an option to “nix build” either.
<seafood> sphalerite: Try “nix build --help"
<seafood> (this is on Nix 2.0.2 on Mac OS X)
<sphalerite> that's two dashes
<sphalerite> two minus symbols
<seafood> sphalerite: I know that. my autocorrect replaces - - with —
<Myrl-saki> seafood: Btw, nix-build --help does not list all options. I sometimes forget to put --options, and --builders also works. In my experience.
<sphalerite> <_<
<seafood> Myrl-saki: Why does it not list all optoins!
amir has quit [Ping timeout: 256 seconds]
PCChris has quit [Remote host closed the connection]
<Myrl-saki> seafood: Well, the more proper is way probably --options.
<sphalerite> seafood: Note: this program is EXPERIMENTAL and subject to change.
<Myrl-saki> And that too. :P
<sphalerite> seafood: it's not completely implemented, subject to change, and not fully documented yet.
PCChris has joined #nixos
<sphalerite> But the bottom line is that *any* options you set in nix.conf can also be set using --<option name> from 2.0 onwards
<seafood> That answer helps me but it doesn’t make this less frustrating.
<Myrl-saki> seafood:
<Myrl-saki> seafood: You might not be a trusted user
<seafood> Okay, I just tried “nix build —options ‘ssh://somemachineiown x86_64-linux’ and … nothing appeared to happen.
<Myrl-saki> You have to be a trusted user to do a remote build.
<sphalerite> ^
<seafood> Myrl-saki: What is a trusted user?
<sphalerite> man nix.conf
Maxdaman1us is now known as Maxdamantus
seafood has quit [Quit: seafood]
<Myrl-saki> seafood: Also, you said you're in Mac OS X. You're trying to remote build for Linux. Remote building is not for building on a specific architecture, it's for building the package on the archictecture is menat for.
<Myrl-saki> seanparsons: Meaning you have to override nixpkgs to build for Linux, before it builds on the Linux box.
<Myrl-saki> Assuming you haven't done that before.
<Myrl-saki> seanparsons: Sorry for the accidental ping.
<Myrl-saki> OTOH, I feel like that needs to be documented more.
PCChris has quit [Remote host closed the connection]
klntsky has quit [Remote host closed the connection]
BigMassive has quit [Quit: Leaving]
PCChris has joined #nixos
<Myrl-saki> I asked this on another channel. Aside from buying raw, does anyone have any idea of what massively multi core box I can buy for cheaper than TR?
<sphalerite> TR?
<Myrl-saki> Threadripper.
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c68996f147a (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<Myrl-saki> Cheaper than TR is a hard requirement since it's exactly because I can't afford a TR that I'm looking for alternatives.
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
dispanser has quit [Ping timeout: 245 seconds]
klntsky has joined #nixos
<aristid> Myrl-saki: if you can't afford TR just get a normal 8 core ryzen? that's still a lot of cores
phreedom has quit [Ping timeout: 250 seconds]
dispanser has joined #nixos
<Myrl-saki> aristid: Also what I was thinking, would be a step up from my current i5, but I'm a bit fond of array of massively multi-core systems.
hamishmack has joined #nixos
<sphalerite> They're expensive though :)
<Myrl-saki> A used Opteron, maybe? But they'll probably make my room even hotter than it already is.
<Myrl-saki> And their performance is probably literally half of a Zen core?
<aristid> Myrl-saki: hmm, i wonder how much the used haswell 18-core costs
<aristid> because those are pretty sweet
PCChris has quit [Remote host closed the connection]
<sphalerite> 5 chromebits. 20 cores for ~400 USD :p
PCChris has joined #nixos
leat has quit [Ping timeout: 245 seconds]
<sphalerite> also holy crap they're so much cheaper in the US.
<sphalerite> £100 vs $80
<aristid> lol, a Xeon E5-2699 v3 still costs like 2000 euros used
phreedom has joined #nixos
lopsided98 has quit [Ping timeout: 248 seconds]
atondwal has joined #nixos
lopsided98 has joined #nixos
<Myrl-saki> chromebits
<Myrl-saki> ?
<sphalerite> "compute stick" that runs chrome os
<Myrl-saki> Ohhh
PCChris has quit [Remote host closed the connection]
<Myrl-saki> Imagine once we get distributed make under Nix.
PCChris has joined #nixos
<aristid> i could afford threadripper but i have no private use for it :(
<Myrl-saki> No private use
<Myrl-saki> ?
<aristid> Myrl-saki: at work i have access to dual socket xeon machines
phreedom has quit [Ping timeout: 250 seconds]
<Myrl-saki> Oh. :P
<Myrl-saki> aristid: It'd make your i386 system with Nix come back to life
<aristid> Myrl-saki: haha
<aristid> Myrl-saki: it's oddly satisfying to see one of my at-work programs take 5800% CPU as shown by htop
PCChris has quit [Remote host closed the connection]
<Myrl-saki> aristid: I get that feeling too. All them cores are working out!
PCChris has joined #nixos
<sphalerite> just give yourself access to the aarch64 community box and you can get that feeling for free! ;)
<sphalerite> htop with 96 cores looks funny
pxc1 has joined #nixos
<Myrl-saki> sphalerite: I have pictures of them too. :D
<jD91mZM2> 96 CORES?!
<Myrl-saki> The FOSS comunity I'm in also got accepted for applicatino.
<aristid> sphalerite: yeah the best i've had was 88 cores
<aristid> actrually threads
<aristid> HT enabled
<Myrl-saki> jD91mZM2: Yeah, 96 aarch64 cores.
<sphalerite> jD91mZM2: yes. No spectacular per-core performance, but 96 cores.
* jD91mZM2 only has a sad 4
<Myrl-saki> sphalerite: I checked benchmarks and there's some bottleneck on it.
<Myrl-saki> sphalerite: At times, even on multicore benchmarks, it performs around Ryzen level.
adisbladis has joined #nixos
<sphalerite> the machine has a bunch of RAM as well, was it 256GB?
<aristid> Myrl-saki: that's sad
<Myrl-saki> sphalerite: 128
<Myrl-saki> Let me rummage through my imgur.
<sphalerite> oh yeah so it was
PCChris has quit [Remote host closed the connection]
<jD91mZM2> Guys where is this box located? And would anybody notice if it went... missing?
<Myrl-saki> I'm really grateful to WoA TBH.
PCChris has joined #nixos
<adisbladis> jD91mZM2: It's sponsored by packet.net
<adisbladis> So in one of their data centers ;)
<Myrl-saki> adisbladis: Is WoA by Packet, or?
pxc1 has quit [Ping timeout: 245 seconds]
<sphalerite> Myrl-saki: WoA is by ARM iirc, but yeah packet participates in it
<adisbladis> sphalerite: By packet.net/ARM
<sphalerite> adisbladis: 404
thblt has quit [Ping timeout: 245 seconds]
<adisbladis> sphalerite: Haha :D
<adisbladis> That's not a url
<sphalerite> oh right lol
<Myrl-saki> lmao
<sphalerite> oh yeah
<jD91mZM2> What does packet get from sponsoring NixOS apart from NixOS?
<Myrl-saki> jD91mZM2: AARCH64 port
<jD91mZM2> ah
PCChris has quit [Remote host closed the connection]
<sphalerite> ofborg's aarch64 builds run on that box
<Myrl-saki> wtf
<jD91mZM2> Is the box actually running NixOS now? So it's in a usable state?
PCChris has joined #nixos
<Myrl-saki> I don't know where I have my AARCH64 screenshots.
<adisbladis> jD91mZM2: Yes aarch64 is usable.
<Myrl-saki> jD91mZM2: Except for LLVM, but may have changed. Last time I checked was around a month ago.
<etu> Bleh, why isn't numpy and cython in the binary cache for aarch64? :(
<sphalerite> probably broken build
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<Myrl-saki> I'm pretty disappointed that I can't seem to find my uplodade screenshots.
<sphalerite> jD91mZM2: hell, I spend almost half my computer time on my chromebook running nixos, which is armv7 and not even officially supported
<sphalerite> so no binary cache and stuff
<sphalerite> still usable, although the biggest pain point is that I'm still missing a full-featured browser
<Myrl-saki> sphalerite: Does esr also use Rust?
<sphalerite> but the battery life ♥
<sphalerite> Myrl-saki: oh hm never checked
<Myrl-saki> Might be worth a try!
PCChris has quit [Remote host closed the connection]
<jD91mZM2> sphalerite: You're brave!
<Myrl-saki> sphalerite: How much ram?
<sphalerite> 2GB
PCChris has joined #nixos
wangoe has joined #nixos
<sphalerite> https://sphalerite.org/ghotl/posts/2017-11-10-chromebook.html I wrote a bit about why I bought it and the process of getting nixos running on it
<sphalerite> I need to follow that up with updates and instructions on how to actually reprodue what I have
<Myrl-saki> WTFFF
<Myrl-saki> Dell PE1950 for $120
<Myrl-saki> Maybe I just haven't tried to search for machines...
PCChris has quit [Remote host closed the connection]
<Myrl-saki> I've heard of people buying from EBAY and the like. Never thought of doing it until now.
<adisbladis> Myrl-saki: That model is fairly old though
PCChris has joined #nixos
<Myrl-saki> adisbladis: How old? I'm looking up on it. Is it worth the $120?
<adisbladis> Myrl-saki: 2012-2014 something I believe?
<Myrl-saki> adisbladis: Oh, still usable until now, huh.
<adisbladis> Myrl-saki: It's a great machine, just using way more power than something current
smallville7123 has joined #nixos
<sphalerite> voltage
<{^_^}> [nixpkgs] @vbgl opened pull request #40911 → proverif: 1.97pl1 -> 2.00 → https://git.io/vhvz3
<sphalerite> (had to complete the triad)
<Myrl-saki> sphalerite: There'll be no resistance to your pun.
<iqubic> Ohm, yes there will be some resistance.
<jD91mZM2> sphalerite: "It has an ARM CPU, which some nerds (like me) think is cool". Why? Because it's more challenging or for some other reason?
periklis has quit [Ping timeout: 252 seconds]
<iqubic> Ohm sounds like um
<Myrl-saki> adisbladis: I've never hard a rack at home, what other miscellaneous costs should I expect?
<adisbladis> jD91mZM2: Well.. It's actually cooler :P
<adisbladis> Dissipating less heat
<Myrl-saki> lmao
<adisbladis> Myrl-saki: I dunno really.. When I had that stuff at home I wasn't the one paying the bills
<jD91mZM2> :facepalm:
<Myrl-saki> adisbladis: I mean, do I have to buy something to mount it on? How about the PSU?
<sphalerite> jD91mZM2: oh yeah, I didn't actually mention it in the post at all, but as adisbladis says, less heat — in fact, the laptop is entirely passively cooled
<Myrl-saki> I could just set it on WoL.
<adisbladis> Myrl-saki: PSU is integrated in the server. What you _might_ want to get for your rack is a PDU/UPS
<sphalerite> ♥ complete silence
<angerman> is there some standard postInstall stuff I can use to have `$out/lib/gcc/$host/$version/` bemoved to `$out/lib`, and `$out/$host/lib/*` be moved to `$out/lib` as well? Or is there some other hook, such that those folders are put into NIX_LDFLAGS?
<Myrl-saki> adisbladis: I only want it to accelerate my Nix builds and/or as my main computer when not having to game.
<Myrl-saki> Actually, scratch the main computer part.
<sphalerite> jD91mZM2: but also just because it's not mainstream
<Myrl-saki> I don't want the electricity bill.
<Myrl-saki> I'm thinking of setting it on Wakeup on Lan + nix build.
<jD91mZM2> sphalerite: I see you are an adventurer
<sphalerite> Myrl-saki: chromebook as main computer 10/10 :p
<Myrl-saki> hipster
<adisbladis> I'd love an ARM laptop.. Too bad no one makes them with decent keyboards
PCChris has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #40908 → purple-xmpp-http-upload: init at 178096c → https://git.io/vhvZQ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhvzi
<{^_^}> → 2a09ee7a by @emmanuelrosa: purple-xmpp-http-upload: init at 178096c
<Myrl-saki> adisbladis: Buy a portable mkb?
<sphalerite> adisbladis: what's decent?
<{^_^}> → 5a7e42f6 by @Mic92: Merge pull request #40908 from emmanuelrosa/purple-xmpp-http-upload
<Myrl-saki> OTOH, portable and mkb are often mutually exclusive.
PCChris has joined #nixos
<adisbladis> sphalerite: Well I think the only current laptop with a decent keyboard is the thinkpad 25
<srhb> adisbladis :3
<sphalerite> jD91mZM2: FWIW there are aarch64 chromebooks out there as well now, which will have binary cache coverage
<sphalerite> I think thefloweringash[ is using one of those
aarvar has quit [Quit: Leaving.]
<adisbladis> Myrl-saki: Which one?
<Myrl-saki> adisbladis: Planck, I guess?
<Myrl-saki> If you're feeling adventurous, that is.
<adisbladis> Myrl-saki: That would make everything far less portable though
<Myrl-saki> adisbladis: I know. :x
<{^_^}> [nixpkgs] @Mic92 pushed to master « purple-xmpp-http-upload: use date of commit as version »: https://git.io/vhvz5
<Myrl-saki> hmm
<jD91mZM2> sphalerite: Wow okay so chromebooks are actually really nice if you ignore the default operating system?
PCChris has quit [Remote host closed the connection]
coot has joined #nixos
PCChris has joined #nixos
fxr has quit [Remote host closed the connection]
<Czen> chromebooks are nice because you can put libreboot on them without disassembling them
<sphalerite> jD91mZM2: yeah they're not bad. I have had some problems too though — performance isn't amazing (better than I would have expected though), hardware difficulties (I can't use the eMMC, it tends to hang the kernel after a while reading from it)
<sphalerite> jD91mZM2: it's far from perfect but I do like it a lot.
<Myrl-saki> adisbladis: Also, the PE2950 was released before 2006. :P
MichaelRaskin has quit [Quit: MichaelRaskin]
<adisbladis> Myrl-saki: Oh :P Then they kept the model name around for some time
<Myrl-saki> adisbladis: I just made you feel old. Muahahahaha.
<Myrl-saki> That aside.
<sphalerite> And for stuff that requires compute performance I use a dedicated server that I admin for my dad :p
<Myrl-saki> adisbladis: Interesting how servers really are comparable to more modern conusmer hardware.
Ariakenom has joined #nixos
<Myrl-saki> I mean, that's such an obvious thing to notice, but buying used servers is actually a viable solution if you're on the cheap.
PCChris has quit [Remote host closed the connection]
<adisbladis> Yeah buying used servers is great
<Czen> if you don't mind the noise and power draw
<adisbladis> Because most businesses wont consider it, there is a huge secondary market with huge price drops after just a year or two
PCChris has joined #nixos
<Myrl-saki> Czen true
jperras has joined #nixos
<Czen> OEM desktops are worth looking into too
phreedom has joined #nixos
<Czen> you can get a pc with an older i7 for next to nothing
<sphalerite> heh, I run my uni's computing society's servers. They're all donations from companies that didn't want them anymore, and mostly very loud and warm and not very powerful :p
<Czen> dell optiplex and such
<adisbladis> Czen: Where I live there are shops that sell stacks of 1 to 2 generations old thinkpads for next to nothing :)
<Czen> here it's dominated by people who regulate the thinkpad market so there are no "deals" left :(
<Myrl-saki> oh okay.. shit. i think i messed up.
<Czen> still worth it though
<Myrl-saki> I just checked our electricity bill and we're paying $500 for this month.
<Myrl-saki> uhh
<Myrl-saki> it's summer and it's hot tho
<adisbladis> Czen: Too bad :( Where is that?
<Myrl-saki> sphalerite: So basically, a more useful heater?
<adisbladis> I just saw a stack of intel dev desktops up for sale in the same place the other week
<adisbladis> Looks funny when "For internal use only" is engraved into the chassis
<sphalerite> Myrl-saki: yes! Incredibly high compute performance in comparison to other space heaters.
<Myrl-saki> sphalerite: Haha. :D
PCChris has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2a5b2550f38 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
PCChris has joined #nixos
pcarrier has joined #nixos
selaux has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
amir has joined #nixos
Tucky has joined #nixos
<sphalerite> We've got some old sun servers there as well, which are noisy and hot even when idle
<adisbladis> I miss sun hardware :(
<adisbladis> It's just not the same when your server is not on wheels
burton_ has quit [Quit: This computer has gone to sleep]
<sphalerite> the ones we have are rack servers
<Myrl-saki> sphalerite: I guess we get why they're called sun now. Ayyyyy
<sphalerite> 2 SunFire V440s (one seems to be broken), one SunFire V240, and 6-8 assorted StorEdge boxes (I don't know the details and they're not running, because I don't know how to work them :D )
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<Myrl-saki> adisbladis: lmao
<sphalerite> oh yeah, also on the chromebook: I don't know if they're underselling it or if chrome os just uses more power, but I tend to get 10-14 hours from it rather than 8 as they advertise
<Myrl-saki> Realy though, let's appreciate that x86 has some degree of efficency nowadays.
smallville7123 has quit [Quit: rosa]
<Myrl-saki> sphalerite: In my experience, ARCH
<Myrl-saki> Err
PCChris has quit [Remote host closed the connection]
<Myrl-saki> Wait, still adjusting to new keyboard
<adisbladis> Myrl-saki: My laptop is currently 6w
PCChris has joined #nixos
<adisbladis> The whole damn thing, with bluetooth, wifi & everything you'd normally expect from a laptop
<adisbladis> I'm super impressed
<Myrl-saki> sphalerite: In my experience, armv7 is more reliable as long as you don't hit the 32-bit barrier.
smallville7123 has joined #nixos
<sphalerite> Myrl-saki: that 32-bit barrier which the firefox build hits :'(
<Myrl-saki> adisbladis: What laptop?
<adisbladis> Myrl-saki: Thinkpad 25
<Myrl-saki> I'm thinking of getting a Chromebook, but can't justify it.
<Myrl-saki> adisbladis: Ohhh. Wtf.
<Myrl-saki> adisbladis: I heard bad things from Rossman about that, but it was a surface level analysis. What do you think about it?
<sphalerite> adisbladis: nice video
<adisbladis> Myrl-saki: Bad things like what?
<Myrl-saki> adisbladis: I guess there's a difference between not fulfilling what it's supposed to be(a callback to retro thinkpad) and being a good product in general.
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<adisbladis> Myrl-saki: Ahh.. It's a great laptop. But I think calling it a retro thinkpad is disingenuous
<Myrl-saki> adisbladis: It was mostly "you removed some things from the older thinkpad to make your newer thinkpads, you should have unremoved those things for the Thinpkad 25."
<Myrl-saki> I'll go look for some chromebooks.
maingo has quit [Quit: Connection closed for inactivity]
<adisbladis> Myrl-saki: Yeah. It's not the retro thinkpad that I wanted. But it is the only laptop without a screwed up keyboard
<adisbladis> So I went with it anyway
<Myrl-saki> adisbladis: True. :P He actually complained about the keyboard too, well not the keyboard itself, but the layout.
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/vhv2w
<{^_^}> → 856ffc63 by @offlinehacker: Merge pull request #40905 from Pneumaticat/patch-2
<{^_^}> → b6f2e75d by @Pneumaticat: kubernetes-dashboard: raise memory limit to 250MB
<{^_^}> [nixpkgs] @offlinehacker merged pull request #40905 → kubernetes-dashboard: raise memory limit to 250MB → https://git.io/vhvm2
PCChris has quit [Remote host closed the connection]
<Myrl-saki> adisbladis: What's the battery life of that thing/
PCChris has joined #nixos
<adisbladis> Myrl-saki: Btw, there is also a number of cheap laptop-ish chinese devices
<Myrl-saki> This is making me sad, there's less and less of ARM Chromebooks in my place. :(
<Myrl-saki> They mostly used Cherry trail.
<adisbladis> Myrl-saki: I dont really know. I can go a full day of light use (not much compiling or running heavy test suites)
<Myrl-saki> adisbladis: Do you use the trackpoint?
<adisbladis> Myrl-saki: I'm using NixOS on a cherry trail :)
<adisbladis> Myrl-saki: Yeah
<adisbladis> As a matter of fact I have made the touchpad a huge scrollwheel
<Myrl-saki> adisbladis: Yeah, but a cherry trail is not ARM. :(
amir has quit [Read error: Connection reset by peer]
<adisbladis> It is indeed not :P
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<Myrl-saki> adisbladis: wtfff, the thinkpad25 actually supports the dual battery system??
<adisbladis> Yes, one internal and one external
<adisbladis> All modern thinkpads have this
<adisbladis> So you can hotswap batteries
<Myrl-saki> adisbladis: Yep. Okay, that will probably get me back to Thinkpads, once I can afford them.
vaninwagen has joined #nixos
<Myrl-saki> tmw I searched chromebook in my local online store. And I get Windows 10 laptops. Nice.
<Myrl-saki> adisbladis: i feel like what happened was that people bought chromebooks and were disappointed because they're not Windows, causing some to back off.
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<sphalerite> heh
<Myrl-saki> sphalerite: That happens. :(
thc202 has joined #nixos
<Myrl-saki> I guess it's the same concept as "make wrong things hard to do" in programming.
<Myrl-saki> Doesn't matter if it's the user's fault, it's still your fault. :P
woodson has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/090b7cc8f1b (from 41 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
amir has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c68996f147a (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
goibhniu has joined #nixos
thblt has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
smallville7123 has quit [Quit: rosa]
smallville7123 has joined #nixos
nschoe has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
blahdodo has quit [Ping timeout: 276 seconds]
blahdodo has joined #nixos
smallville7123 has quit [Quit: rosa]
knupfer has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
davidcl has quit [Quit: The Lounge - https://thelounge.github.io]
davidcl has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
adisbladis has quit [Ping timeout: 245 seconds]
smallville7123 has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
bennofs has joined #nixos
smallville7123 has quit [Client Quit]
smallville7123 has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
asuryawanshi has joined #nixos
PCChris has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #40885 → pyogg: init at 0.6.2a1 → https://git.io/vhegO
PCChris has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vhvrp
<{^_^}> → 131228c2 by @pmiddend: pyogg: init at 0.6.2a1
<{^_^}> → 9f87abde by @FRidh: Merge pull request #40885 from plapadoo/pyogg-init
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/vhvo7
<{^_^}> → 3e2a3b4f by @peti: hackage2nix: keep haddock-library 1.5.x around
<{^_^}> → e9d991a9 by @peti: hackage-packages.nix: automatic Haskell package set update
<{^_^}> → 4b2eceaa by @angerman: ghc: fix dylib load command limits in compiler version 8.x
adisbladis has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40900 → oracle-instantclient: simplify a lot, use autoPatchelfHook → https://git.io/vhvLG
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/vhvoh
<{^_^}> → 82eaa5ba by @flokli: oracle-instantclient: add flokli as maintainer
<{^_^}> → fe56ad70 by @flokli: oracle-instantclient: simplify, use autoPatchelfHook
<{^_^}> → 9770699e by @flokli: oracle-instantclient: disable building on hydra
PCChris has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 245 seconds]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #40710 → Make getHaskellBuildInputs / shellFor work with overrideCabal (Fixes #40266) → https://git.io/vpAM1
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vhvKk
<{^_^}> → 5523ec8f by @ElvishJerricco: Make getHaskellBuildInputs / shellFor work with overrideCabal
<{^_^}> → 07a04592 by @peti: Merge pull request #40710 from ElvishJerricco/overrideCabal-getHaskellBuildInputs
<{^_^}> [nixpkgs] @peti closed pull request #40877 → [ghc] fix dylib load command limits → https://git.io/vpjS0
mahalel_ has joined #nixos
smallville7123 has quit [Quit: rosa]
<{^_^}> [nixpkgs] @xeji merged pull request #40886 → atom: 1.27.0 -> 1.27.1, atom-beta: 1.24.0-beta3 -> 1.28.0-beta1 → https://git.io/vheK9
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vhvKR
<{^_^}> → 2ad8e9a9 by @Synthetica9: atom, atom-beta: 1.27.0 -> 1.27.1, 1.24.0-beta3 -> 1.28.0-beta1
<{^_^}> → 41344b8d by @xeji: Merge pull request #40886 from Synthetica9/atom-1-27-1
Synthetica has joined #nixos
mahalel_ has left #nixos [#nixos]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<nschoe> Hi everyone, I have a quick question regarding the "correct", nix-ish way of doing something:
PCChris has quit [Remote host closed the connection]
<nschoe> I needed to install kicad, so I installed it via nix-env -iA nixos.kicad. Fine, this works. Now in kicad, I need to use a plugin that uses 'xsltproc'. So I then used nix-env -iA nixos.libxslt. Now what is the "correct" way of "requiring" libxlst when I install kicad?
PCChris has joined #nixos
pxc1 has joined #nixos
ThatDocsLady has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
pxc1 has quit [Ping timeout: 260 seconds]
tertle||eltret has quit [Quit: Connection closed for inactivity]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<sphalerite> nschoe: if it's a built-in plugin, probably modifying the kicad expression so it refers to xsltproc through its full path
<sphalerite> nschoe: but for run-time composition the answer tends to be "it's complicated".
<sphalerite> There's nothing wrong with how you did it, if it works.
<nschoe> sphalerite, actually the "plugin" part is irrelevant. My real question is how can I add a dependency to an existing nix expression?
<sphalerite> it depends on how it uses it. If it's a build-time dependency that gets linked in, just add it to buildInputs. In this case, it's a bit more complicated since it usually just searches on $PATH
PCChris has quit [Remote host closed the connection]
<sphalerite> so either you wrap the executable with something that adds ${libxslt}/bin to $PATH, or you substitute ${libxslt}/bin/xsltproc for xsltproc in the project's code.
PCChris has joined #nixos
<nschoe> sphalerite, okay so the "correct" way would be to edit kicad's default.nix, and add this dependecy in the buildInputs? Okay that seems good to me.
<sphalerite> oh or there's propagatedUserEnvPackages but that's nasty and discouraged AFAIK
<nschoe> Okay I had not heard of it, so I'll keep avoiding it for now :P
<nschoe> sphalerite, and in the same kind of spirit: how would one go about installing firefox with several video plugins (suppose one wants h264 or equivalent). Is there common ways of achieving this?
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #40857 → pythonPackages.docker: 3.2.1 -> 3.3.0 → https://git.io/vpjnO
<{^_^}> [nixpkgs] @dotlambda pushed commit from @andreabedini to master « pythonPackages.docker: 3.2.1 -> 3.3.0 (#40857) »: https://git.io/vhvP3
<sphalerite> not sure about that one.
<{^_^}> [nixpkgs] @dotlambda merged pull request #40831 → youtube-dl: use toPythonApplication → https://git.io/vpjeK
<{^_^}> [nixpkgs] @dotlambda pushed to master « youtube-dl: use toPythonApplication (#40831) »: https://git.io/vhvPl
<sphalerite> Generally the approach for that kind of stuff is to have a separate derivation which wraps the "raw" executables to add the plugins to some environment variable or similar
<sphalerite> So that you can alter the plugin set without having to rebuild the software from source
lonokhov has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
vskilet[m] has joined #nixos
<nschoe> sphalerite, okay I see, so one would not "nix-env -i firefox", but rather "nix-env -i my-wrapper-firefox" :)
<sphalerite> neither :p
<sphalerite> !-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<sphalerite> but yeah, you might have an overlay that defines exactly how you want it wrapped. Hypothetically (I don't know how firefox wrapping actually works), you'd have an overlay that looks like self: super: { my-firefox = self.firefox.override {plugins = ["h264"];};}
<sphalerite> then you could do `nix-env -f '<nixpkgs>' -iA my-firefox` to install it
PCChris has quit [Remote host closed the connection]
<sphalerite> or you can have a firefox.nix like with import <nixpkgs> {}; firefox.override { plugins = ["h264"];} and install it using nix-env -f firefox.nix -i
PCChris has joined #nixos
jensens has joined #nixos
jperras has joined #nixos
<nschoe> okay I see.
<nschoe> Thanks for your answers.
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<nschoe> Sorry again, one last question (that has nothing to do with it): how do I know the derivation path used for my installed program? For instance, how do I the nix store's path for my currently installed kicad version?
<sphalerite> just see where the symlink points. ls -l $(which kicad)
jperras has quit [Ping timeout: 252 seconds]
PCChris has quit [Remote host closed the connection]
<nschoe> sphalerite, ah yes, easy enough ^^
<nschoe> Thanks.
__monty__ has joined #nixos
PCChris has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #40912 → postfix: 3.3.0 -> 3.3.1 → https://git.io/vhvMw
<__monty__> Having some trouble understanding this rust error is this jus
<__monty__> t nixpkgs having a broken rust-libsodium-sys? http://ix.io/1aYS
<sphalerite> __monty__: Failed to run `\"pkg-config\" \"--libs\" \"--cflags\" \"libsodium\"`: No such file or directory (os error 2)" looks like it's missing pkgconfig
<__monty__> I tried in a nix-shell with pkgconfig and got the same problem. I should've added it to buildinputs, right? -.-
<tilpner> nativeBuildInputs
PCChris has quit [Remote host closed the connection]
<sphalerite> what are you trying to build and how?
PCChris has joined #nixos
<sphalerite> oh right, rust-wireguard
<sphalerite> yeah. Add it to the nativeBuildInputs for rust_libsodium as tilpner says.
<sphalerite> nix-shell doesn't affect nix derivation builds.
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #40913 → [18.03] postfix: 3.2.5 -> 3.2.6 → https://git.io/vhvDM
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @lsix opened pull request #40914 → pythonPackages.timeout-decorator: 0.3.2 -> 0.4.0 → https://git.io/vhvyI
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2173 → serialise: fix buffer size used, hide method for internal use only → https://git.io/vhvvW
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vhvyY
<{^_^}> → 9064dd2f by @edolstra: Merge pull request #2173 from dtzWill/fix/serialise-read-unbuffered
<{^_^}> → b08923b4 by @dtzWill: serialise: fix buffer size used, hide method for internal use only
<__monty__> tilpner, sphalerite: It looks like pkgconfig's already a build depency for libsodium in the wireguard.nix generated by carnix: http://ix.io/1b2Z
oltoAltn has quit [Quit: ZNC - https://znc.in]
<tilpner> That looks like Rust pkg-config, not Nix pkgconfig
smallville7123 has joined #nixos
__Sander__ has joined #nixos
PCChris has quit [Remote host closed the connection]
<__monty__> Oh ok. Is that where I add the nativeBuildInputs variable?
PCChris has joined #nixos
<tilpner> Don't know, haven't used carnix in a while
olto has joined #nixos
pcarrier has quit [Quit: Connection closed for inactivity]
<sphalerite> __monty__: oh, I think it should actually probably be a propagatedNativeBuildInput of the rust pkg_config
smallville7123 has quit [Client Quit]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
smallville7123 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #40914 → pythonPackages.timeout-decorator: 0.3.2 -> 0.4.0 → https://git.io/vhvyI
<{^_^}> [nixpkgs] @dotlambda pushed commit from @lsix to master « pythonPackages.timeout-decorator: 0.3.2 -> 0.4.0 (#40914) »: https://git.io/vhvSd
betaboon has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<betaboon> hello. is it possible that builtins.match behaves differently on macos than on linux ? oO
<tilpner> Both running the same Nix version?
<betaboon> tilpner: yes both running nix2
<tilpner> Hmm, do you have a small example of such a difference?
<__monty__> Hmm, this is how I edited the .nix: http://ix.io/1b31 and this is the same error I get: http://ix.io/1b32 Not sure where else propagatedNativeBuildInputs should be added?
<__monty__> DAE have trouble reading nix because the syntax is so lightweight?
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
Neo-- has quit [Ping timeout: 252 seconds]
guillaum2 has joined #nixos
PCChris has quit [Remote host closed the connection]
adisbladis has quit [Read error: Connection reset by peer]
PCChris has joined #nixos
<betaboon> tilpner: https://github.com/moretea/yarn2nix/blob/master/default.nix#L21 fails on macos10.13.4+Nix2.0.1 with "invalid regular expression", on macos10.13.3+Nix1.11.16 with "repetition-operator operand invalid"
<tilpner> -.-
<tilpner> "yes both running nix2"
<tilpner> "macos10.13.3+Nix1.11.16"
<tilpner> Yes, that's expected
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
xy2_ has joined #nixos
<betaboon> tilpner: yeah sorry for the confusion, just got more infos after answering your initial question, on ubuntu+Nix2.0.2 it works, on Nixos+Nix2.0.1 it works. on macos+Nix2.0.1 it fails, on macos+Nix1.11.16 it fails.
<__monty__> sphalerite, tilpner: Is there any reasoning I can apply to figure out where I should be adding propagatedNativeBuildInputs?
<betaboon> tilpner: what exactly is expected ?
<tilpner> betaboon - Sorry for the snark, I'm kind of grumpy right now (primusrun broke again). Behaviour of match changed between 1.* and 2.*, but I don't have an explanation for a difference between platforms (but on the same versions)
PCChris has quit [Remote host closed the connection]
<betaboon> tilpner: no problem. not every day is created equal XD
PCChris has joined #nixos
<tilpner> Let's try this manually, what's the pname where it fails?
<tilpner> Then we can run match against it on both platforms and observe the differences
<betaboon> ouh yeah. good idea. stupid me
<betaboon> tilpner: I'll try to figure out what the pname was, will take some time. gotta do this on a collegues macbook. brb
<tilpner> Replace pname with (builtins.trace pname pname), then look for the last pname before the error
<sphalerite> __monty__: personally I have no idea how to do that for carnix stuff, sorry
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<sphalerite> maybe pemeunier is around and can help? (how to add pkgconfig to propagatedNativeBuildInputs for rust pkg_config crate in carnix output)
<tilpner> Oh, I was trying to tab-complete pmeunier...
<tilpner> pemeunier - Your carnix crate metadate for the homepage and repository point to 404s
simukis has joined #nixos
<sphalerite> __monty__: as for syntax difficulty: I don't generally find that, but yeah autogenerated nix like that from carnix can be painful to read
PCChris has quit [Remote host closed the connection]
jedai has quit [Ping timeout: 260 seconds]
PCChris has joined #nixos
<sphalerite> out of curiosity, what sort of "less light" syntax do you think would make nix easier to read?
<betaboon> tilpner: replacing pname with builtins.trace ... didnt get me any result, i guess due to the regex being validated prior to the value being evaluated. doing a seperate builtins.trace returns the package name "ml-package-name" (which is the name of the package i want to build using mkYarnPackage)
MP2E has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dotlambda pushed to master « pythonPackages.pyhomematic: 0.1.42 -> 0.1.43 »: https://git.io/vhv7C
<__monty__> sphalerite: {}: {} for functions is confusing imo, it's hard to see where the body begins and ends. Haskell's \ x y z -> body is easier to parse because it's less symmetrical. Python's would probably be even easier to spot.
PCChris has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #40895 → partition-manager: 3.0.1 -> 3.3.1 → https://git.io/vheNE
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « partition-manager: 3.0.1 -> 3.3.1 (#40895) »: https://git.io/vhv7z
PCChris has joined #nixos
<__monty__> I know it's probably a matter of getting used to it but I never had problems parsing haskell's syntax the way I do with nix.
<tilpner> betaboon - What does nix eval '(builtins.match "^(@([^\/]+?)[\/])?([^\/]+?)$" "ml-package-name")' output on your macos+Nix2.0.1?
hyper_ch2 has quit [Quit: Page closed]
<tilpner> "bug in libstdc++"
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
maingo has joined #nixos
<tilpner> :(
<betaboon> tilpner: now i feel stupid for taking up some of your time without having looked into the issue-tracker first ....
smallville7123 has quit [Quit: rosa]
ericsagnes has quit [Ping timeout: 245 seconds]
sbdchd has joined #nixos
klntsky has quit [Ping timeout: 250 seconds]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @cko opened pull request #40917 → maven: 3.5.2 -> 3.5.3 → https://git.io/vhv50
astsmtl- has quit [Ping timeout: 265 seconds]
klntsky has joined #nixos
<tilpner> Nah, my first thought was "must be using it wrong somehow", instead of "is actually broken", too :)
<{^_^}> [nixos-homepage] @edolstra merged pull request #218 → add discourse to community page → https://git.io/vpppn
<{^_^}> [nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/vhv5y
<{^_^}> → 9a5581ca by @ryantm: add discourse to community page
<{^_^}> → 36af20c3 by @edolstra: Merge pull request #218 from ryantm/discourse
PCChris has quit [Remote host closed the connection]
* sphalerite has just come up with a fun game: grep for specific people performing ACTIONs in the IRC logs. If you read all the actions for a single user it sometimes ends up looking like a very strange, sometimes funny story
<{^_^}> [nixos-homepage] @edolstra merged pull request #219 → news: add nixcon 2018 → https://git.io/vpjxe
<{^_^}> [nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/vhv55
<{^_^}> → 79e29c41 by @zimbatm: news: add nixcon 2018
<{^_^}> → 3de581af by @edolstra: Merge pull request #219 from zimbatm/nixcon-2018
PCChris has joined #nixos
sbdchd has quit [Ping timeout: 245 seconds]
<betaboon> tilpner: consens on that issue seems to be "Empty regular expressions are not allowed according to the POSIX extended regex grammar ". but i don't see any empty expressions in the regex i question. am i blind ?
<{^_^}> [nixpkgs] @xeji closed pull request #40917 → maven: 3.5.2 -> 3.5.3 → https://git.io/vhv50
<Dezgeg> maybe the +? part?
<sphalerite> oh yeah I don't think that non-greedy thing is POSIX, is it?
<sphalerite> pretty sure that's a perl thing
<__monty__> sphalerite: clever seems to be a somnophile. The game's already resulting in deeper psychological understanding of #nixos ; )
PCChris has quit [Remote host closed the connection]
<sphalerite> lol
PCChris has joined #nixos
<betaboon> sphalerite: so i guess the proper solution is write a POSIX-conform regex that does the same thing, huh ?
<ocharles> Hi. I am unable to get nixops to deploy a VirtualBox machine. It gets stuck at "waiting for IP". The machine has booted, but I don't know how to login as root to see what it's IP is. I have the VirtualBox DHCP server enabled, and the VM has two adapters - one is NAT, the other is paravirtualised
<sphalerite> betaboon: not sure that's actually possible, but if it is, yes
<ocharles> hmm, my host machine has no vboxnet0 interface though
<tilpner> betaboon - I was more referring to clacke[m]s theory that "std::regex on Linux comes from libstdc++ and the one on Darwin comes from LLVM", which would answer your initial question of "is it possible that builtins.match behaves differently on macos than on linux"
<betaboon> tilpner: yeah right
<Dezgeg> yes, that has already bitten us once
<tilpner> Now you could verify that theory by writing a C++ program that uses your regex, and compiling that on both platforms
<Dezgeg> though I thought it was fixed
PCChris has quit [Remote host closed the connection]
<__monty__> sphalerite: srhb went from being chronically confused to being a yes man to imagining huge trees. Suspicious.
PCChris has joined #nixos
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40112 → eventstore: 4.1.0 -> 4.1.1 → https://git.io/vpo4c
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « eventstore: 4.1.0 -> 4.1.1 (#40112) »: https://git.io/vhvFl
xy2_ has quit [Ping timeout: 245 seconds]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40647 → altcoins.parity-ui: 0.1.1 -> 0.2.1 → https://git.io/vpbpn
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « altcoins.parity-ui: 0.1.1 -> 0.2.1 (#40647) »: https://git.io/vhvbT
fendor has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
genesis has joined #nixos
PCChris has quit [Remote host closed the connection]
<sphalerite> __monty__: hodapp is the first person I looked up who hasn't been most frequently encountered in #nixos, and has some, uh, interesting antics going on in #emacs
PCChris has joined #nixos
justbeingglad has joined #nixos
Ariakenom has quit [Ping timeout: 252 seconds]
<sphalerite> hodapp: I like your /mes. They are entertaining.
<ocharles> Ok, I found my problem. I have previously done `ifconfig vboxnet0 down` on the host
justbeingglad has left #nixos [#nixos]
<srhb> __monty__: Wut
* srhb tries to find the context :P
<sphalerite> srhb: rg '\*\s+srhb' ~/.weechat/logs
asuryawanshi has quit [Remote host closed the connection]
<srhb> What's with all you fancy people and your ripgrep
<etu> ripgrep <3
PCChris has quit [Remote host closed the connection]
<__monty__> You should drink the coolaid, srhb. You know it's faster because it has 50% less characters to type. It's like fd in that way.
PCChris has joined #nixos
<__monty__> *koolaid
<sphalerite> betaboon: It still uses +? so I don't think so
humanoyd has joined #nixos
<srhb> I can't deal with relearning the options. I'm pretty sure it'll be slower just because of that.
<srhb> Also, why am I imagining trees?! :-P
<betaboon> sphalerite: the new regex in 21 does not
<sphalerite> betaboon: did you maybe paste the wrong link?
<betaboon> sphalerite: hm nope, just hightlighted the wrong line
<sphalerite> srhb: it's mostly the same as grep
vaninwagen has quit [Ping timeout: 260 seconds]
<__monty__> srhb: See? Learning things never pays off. I knew no grep and now I know just as much rg : )
pxc1 has joined #nixos
<sphalerite> betaboon: never mind it was obnoxious browser caching
<sphalerite> didn't realise you'd updated the existing one
vaninwagen has joined #nixos
<__monty__> The one thing I regret about learning vim is it's ruined all other editors for me.
PCChris has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<betaboon> sphalerite: ah yeah. stupid browser caches xD
<sphalerite> __monty__: I learnt vim and have now mostly moved to emacs with evil
PCChris has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
<sphalerite> also used IDEA with the vim emulation for that
<sphalerite> at work
asuryawanshi has joined #nixos
<srhb> I did that, now my emacs is a huge ball of confusing elisp and I cba to fix it. I tried switching to spacemacs but all the prefixes were different. Q_Q
<srhb> I think if you drink *that* koolaid, it's great too.
<sphalerite> betaboon: yes, it's fine for those cases. Not sure if the non-greediness will bite your at some point, but if so it wouldn't have worked before the fix either :)
<__monty__> My wrists suffer enough as it is. Can't imagine what C-o C-a C-'' C-c M-d and friends would do to them.
<srhb> __monty__: That's why evil. :)
fendor has quit [Ping timeout: 264 seconds]
<__monty__> I've always dismissed evil because I'm sure you can't shoehorn all of emacs into vi keybindings.
<sphalerite> betaboon: also I think you might want to either double or remove those backslashes, depending on whether you want @foo\ml-package-name to work
<sphalerite> __monty__: I find myself using a mix now. It's terrible really, because it means I can't even go back to plain vim.
PCChris has quit [Remote host closed the connection]
pxc1 has quit [Ping timeout: 256 seconds]
<sphalerite> I've often tried doing C-x C-s in vim. Which is particularly irritating when flow control is enabled
PCChris has joined #nixos
<betaboon> sphalerite: thanks for the thoughts
<__monty__> My main issue with emacs was that -nw makes for a bad experience.
<sphalerite> how so?
<__monty__> Many emacs bindings don't work in terminals, C-s is a good example.
<srhb> What?
<__monty__> There's alternatives usually and you can rebind of course but they're all worse.
<srhb> I mean, that's not true in general.
<sphalerite> C-x C-s works in emacs -nw for me
<sphalerite> it seems to disable flow control for me
<srhb> C-s works in emacs -nw for me
xy2_ has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40873 → vala: 0.36, 0.38 and 0.40 update point releases → https://git.io/vpjVa
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/vhvxB
<{^_^}> → 96897548 by @peterhoeg: vala: 0.36, 0.38 and 0.40 point upgrades
<{^_^}> → 015052f4 by @peterhoeg: vala: drop 0.23
<{^_^}> → c29d2fde by @xeji: Merge pull request #40873 from peterhoeg/u/vala
<__monty__> Maybe it was other bindings. Not like I stuck with it for long.
<srhb> Anymoo. Probably a bit off topic. :D
<srhb> (What! Editor discussion? Never!)
<__monty__> Does it capture C-c?
<sphalerite> but yeah some definitely don't, a friend of mine got rather confused by C-c C-, not working though
<etu> __monty__: I can't recall any keybindings I have that wouldn't work in emacs -nw
PCChris has quit [Remote host closed the connection]
<sphalerite> C-, definitely doesn't, there just isn't a standard sequence that C-, is sent as
<etu> But I mostly use graphical emacs anyways
<srhb> sphalerite: Works just fine here...
PCChris has joined #nixos
<srhb> sphalerite: I wonder what you people are doing to your terminals.
<sphalerite> srhb: huh…? Which terminal are you using?
<srhb> xterm
<__monty__> Maybe the problem was ssh in the mix? All I remember is being frustrated enough to switch to the gui version. I rarely use GUI's except for browsers.
nschoe has quit [Ping timeout: 240 seconds]
<srhb> (Yes, grep over rg, find over fd, xterm over all those fancy new toasters)
<srhb> :-)
<__monty__> But embedded image previews, srhb.
<sphalerite> huh, so it does, xterm sends C-, while st just makes it into ,
<srhb> If you can't convey it with words, it's not worth conveying!
* sphalerite edits st
* srhb is like a million years old
<sphalerite> huh, does it maybe set a special mode?
<sphalerite> just putting C-, into cat, even in xterm, just sends a plain ,
<etu> srhb: What's this fd?
<etu> never heard of
<srhb> etu: Apparently a find alternative.
<__monty__> srhb: But pictures are worth a 1000 words! I'd rather watch a couple silly gifs than read a crime and punishments authored by the lovely people on irc : p
<sphalerite> >pkgs.fd.description
PCChris has quit [Remote host closed the connection]
<sphalerite> > pkgs.fd.description
<{^_^}> attribute 'description' missing, at (string):39:1
<etu> Why would I need that?
<sphalerite> > pkgs.fd.meta.description
<{^_^}> "A simple, fast and user-friendly alternative to find"
PCChris has joined #nixos
<srhb> I'm really not the right person to argue that case. :P
<sphalerite> phew
<__monty__> etu: What I like about it is it Just Works instead of requiring all those weird flags find needs just to find a finding file.
<etu> __monty__: I have a fish function that is named isfind
<__monty__> Also, it's a lot faster than find.
<etu> It does this: find . -iname "*"$argv[1]"*"
<etu> So I type isfind part-of-filename
freeman42x]NixOS has quit [Ping timeout: 245 seconds]
<sphalerite> fzf anyone? :p
PCChris has quit [Remote host closed the connection]
<sphalerite> srhb: ah, but C-; doesn't work even in xterm :p
<__monty__> etu: See? That'd just be `fd -i partofname` (default is smart-case not ignore-case but you can probably drop -i).
PCChris has joined #nixos
<sphalerite> srhb: and it seems like tmux and st both don't like C-,
<srhb> sphalerite: No idea how it works, it's just magical.
<srhb> Oh, it breaks with tmux for me too. Why is that?
<sphalerite> I just need to use graphical emacs and make it my terminal as well
<srhb> hehe, yeah..
<srhb> I've been down that road
<sphalerite> it hasn't worked very well for me when I've tried it
<etu> That one is brand new
<sphalerite> oh neat
<etu> libvterm thingy
<sphalerite> can it do all the things?
<etu> I have seen screenshots of htop
<etu> inside of it
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<sphalerite> neat
<sphalerite> what about weechat :p
<__monty__> Why would you want weechat when you can use erc/circe?
<etu> I don't know, but htop is quite a good test for ncurses imo
<{^_^}> [nix] @edolstra pushed to master « Memoise checkSourcePath() »: https://git.io/vhvjZ
<sphalerite> __monty__: because I already use weechat
<sphalerite> who knows, maybe one day I'll switch to erc
<__monty__> It was the one killer feature I missed when I ditch emacs.
<sphalerite> hyper_ch has some amusing ACTIONs as well
<etu> sphalerite: Make weechat and irc-bouncer and connect with erc or use https://github.com/the-kenny/weechat.el ;)
<jasongrossman> I haven't been able to get the new libvterm in emacs to work.
<sphalerite> hm, I haven't seen much of hyper_ch here recently
<jasongrossman> And IIRC there haven't been any new commits for it recently.
<jasongrossman> (I mean upstream, not in nixpkgs.)
<etu> jasongrossman: Hmm, adisbladis[m] had it working and it's merged into nixpkgs a few days ago
<jasongrossman> That's good. I'll try it via nixpkgs ... can't think how that could make any difference (compared to getting it straight from melpa) though.
<jasongrossman> I've been trying to get emacs terminals to work with Mutt. Maybe that's a difficult test.
<jD91mZM2> srhb: Maybe I should just start using xterm too... It's already saved my skin when st crashed, heh. And it's the only terminal that supports sixels IIRC.
jperras has joined #nixos
<hodapp> sphalerite: I have no idea of the antics of which you speak
<etu> jD91mZM2: A friend told me the other day that xterm does support sixels
PCChris has quit [Remote host closed the connection]
<jD91mZM2> etu: That's what I said?
PCChris has joined #nixos
<sphalerite> https://github.com/saitoha/libsixel "terminal requirements" lists terminals that support it, mlterm seems to be another candidate
<tilpner> jD91mZM2 - mlterm and cancer support sixels too
<jD91mZM2> But has anybody actually heard of those?
<sphalerite> cancer? What a lovely name
<jD91mZM2> omg cancer is rust
<jD91mZM2> rust isn't cancer though don't get me wrong
<__monty__> Yeah, sounds like jD91mZM2 vehemently opposes sixels : )
<sphalerite> jD91mZM2: so is alacritty :p
__Sander___ has joined #nixos
<__monty__> jD91mZM2: TBH rust doesn't seem all it's cracked up to be. Been having muy trouble getting a project to build.
ericsagnes has joined #nixos
<jD91mZM2> sphalerite: Yeah but does alacritty support sixels? Exactly.
<__monty__> Kitty actually has a much better protocol for images than sixel.
jperras has quit [Ping timeout: 260 seconds]
PCChris has quit [Remote host closed the connection]
<jD91mZM2> __monty__: Rust is awesome and if you say otherwise you're wrong
PCChris has joined #nixos
<jD91mZM2> On serious notes though, what issues were you having?
<sphalerite> you know what I want? An in-band terminfo protocol of some sort. What is this 80s crap of storing the info in files and setting which files to read from an env var anyway
<etu> jD91mZM2: ah, I've misinterpered what you said then :)
<sphalerite> __monty__: it's more of an issue with nix/rust integration than rust itself :p
<Dezgeg> to keep compatibility with those 80's protocols, of course x)
__Sander__ has quit [Ping timeout: 245 seconds]
mounty has joined #nixos
<jD91mZM2> we should rewrite the 80's protocols in rust
<adisbladis[m]> jasongrossman: mutt should work inside libvterm
<adisbladis[m]> It properly renders everything I've thrown at it so far
__Sander___ has quit [Client Quit]
sbdchd has joined #nixos
* jD91mZM2 is finally done googling what "vehemently" means. Darn captchas.
__Sander___ has joined #nixos
__Sander___ has quit [Client Quit]
<sphalerite> go team duckduckgo
__Sander__ has joined #nixos
<jD91mZM2> duckduckgo doesn't have captchas for all VPN users for shits and giggles?
PCChris has quit [Remote host closed the connection]
<__monty__> sphalerite: The issue I have now, sure. But I tried fixing the master branch of bulletinboard-dht first and the errors were just unending and frankly confusing. And the rust communities on freenode and mozilla were very unhelpful. I'm 100% certain had I asked a similar question in #haskell at least 5 people'd have tried helping. I got more help on rust from here than #rust@freenode #rust@moz and
<__monty__> #serde@moz combined.
<jD91mZM2> Welp that's enough to convince me to use duckduckgo, where do I start
PCChris has joined #nixos
<sphalerite> __monty__: aw, that's a shame. I've found #rust-beginners helpful myself, but that was more for simple questions I guess
<jD91mZM2> __monty__: Maybe because your compilation issues are NixOS-specific and it's a relatively small community sadly?
sbdchd has quit [Ping timeout: 260 seconds]
<jD91mZM2> If you have trouble compiling something because libsomething is missing they'll just tell you to install libsomething. That will work on almost all distros - but not NixOS because you don't install libraries as normal packages here
<__monty__> I'm sure I'm diving in at the deep end, trying to get a neglected project that require(d|s) nightly to compile as my first rust experience. But still, silence is worse than "Those are some mighty weird issues you're having, don't expect anyone can help you."
<sphalerite> "Request Checksum of Rectangular Area (DECRQCRA), VT420 and up."
<jD91mZM2> BTW you wouldn't be getting most of your issues if every crate was written in Rust. It's the Rust->C FFI that causes most compilation errors
PCChris has quit [Remote host closed the connection]
<__monty__> jD91mZM2: That's the kind of issue I'm having now. But I take those issues here. The issues I took to #rust were definitely not nix-related. Things like impl trait missing for ...
<jD91mZM2> oh
PCChris has joined #nixos
<__monty__> I understand what the errors mean, I just have no clue how to go about solving them.
<jD91mZM2> Welp then I'm out of excuses lol
<sphalerite> jD91mZM2: so you're saying rust's tooling isn't good at interacting with preexisting stuff? ;)
<jD91mZM2> sphalerite: It is definitely great, but it's not going to replace your package manager and install all the missing C libs for you.
robstr has quit [Ping timeout: 260 seconds]
PCChris has quit [Remote host closed the connection]
<__monty__> All I needed was a rustacean who could hold my hand rephrasing some error messages in non rust specific words. But I couldn't find any.
PCChris has joined #nixos
<__monty__> sphalerite and tilpner have helped me most of the way there though.
seafood has joined #nixos
<__monty__> jD91mZM2: Maybe you know how to specify propagatedNativeBuildInputs for a crate in a carnix generated expression?
<jD91mZM2> Alright that's a valid complaint. Rust has a kinda steep learning curve. It's be great if the community was nicer there.
<jD91mZM2> I do not
<jD91mZM2> To be entirely honest I've never used carnix :P
PCChris has quit [Remote host closed the connection]
xy2_ has quit [Read error: Connection reset by peer]
PCChris has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
xy2_ has joined #nixos
<jD91mZM2> __monty__: Is there any chance you could wrap your package in an override that adds the necessary things?
<__monty__> That's what I'm trying to figure out. Currently looking at how to specify crateOverrides for a specific crate.
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<jD91mZM2> I was thinking a normal nix override. Like (callPackage ./default.nix).overrideAttrs(oldAttrs: { ... })
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @tokudan opened pull request #40919 → systemd-timesyncd.service: use the correct server list → https://git.io/vhfUW
PCChris has quit [Remote host closed the connection]
<__monty__> jD91mZM2: There's no callPackage call in the generated expression. For reference wireguard-p2p.nix: http://ix.io/1b3p The build error: http://ix.io/1b3q
AluisioASG has quit [Remote host closed the connection]
PCChris has joined #nixos
knupfer has quit [Remote host closed the connection]
AluisioASG has joined #nixos
<jD91mZM2> __monty__: No, I meant you make a wrapper around that expression
fendor has joined #nixos
pxc1 has joined #nixos
<__monty__> But I don't want to override it for the entire expression, just the pkg_config expression.
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<jD91mZM2> __monty__: Maybe you should make an issue on the carnix repo (although IIRC it's not on GitHub) if possible?
<tilpner> You are trying to package https://github.com/manuels/wireguard-p2p, right?
<__monty__> tilpner: Yes.
iqubic` has joined #nixos
PCChris has quit [Remote host closed the connection]
pxc1 has quit [Ping timeout: 252 seconds]
PCChris has joined #nixos
<sphalerite> blargh, there's still no working version of pijul in nixpkgs?
iqubic has quit [Ping timeout: 260 seconds]
<tilpner> Emphasis on working?
<tilpner> (Because there is a pijul package)
jD91mZM2 has quit [Quit: WeeChat 2.0]
<sphalerite> yes. It's pijul 0.8, latest is 0.10, and 0.8 can't clone from the nest
<sphalerite> or it tries to, and doesn't report failure, but doesn't actually get any stuff either.
<__monty__> Is pijul awesome or doomed to fail like darcs?
PCChris has quit [Remote host closed the connection]
<sphalerite> It seems awesome in principle, but my attempts at using it have gone horrendously.
PCChris has joined #nixos
periklis has joined #nixos
<srhb> sphalerite: pemeunier PR'ed the newer version iirc but was held up on carnix improvements
<srhb> sphalerite: Mainly sharing of nixexprs I think
<srhb> Or not, that was actually 0.8. Hm...
xy2_ has quit [Read error: Connection reset by peer]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
smichel17 has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
thblt has quit [Remote host closed the connection]
thblt has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
robstr has joined #nixos
<tilpner> __monty__ - I got past your pkg-config libsodium error
<tilpner> But now proc-macro2 complains about something
<tilpner> Not the right version of nightly, perhaps
PCChris has quit [Remote host closed the connection]
jperras has joined #nixos
PCChris has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<tilpner> __monty__ - It compiled!
<tilpner> tx0.co/V
<{^_^}> [nixpkgs] @Ma27 opened pull request #40920 → vim_configurable: restore ability to override python for modules → https://git.io/vhfLF
<tilpner> __monty__ - See tx0.co/wireguard-default.nix and tx0.co/wireguard-cargo.nix
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
sbdchd has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
sbdchd has quit [Ping timeout: 260 seconds]
PCChris has quit [Remote host closed the connection]
nschoe has joined #nixos
jperras has quit [Ping timeout: 256 seconds]
PCChris has joined #nixos
<crystalgamma[m]> I am trying to build cmake (in order to bootstrap nixos), but it cannot find libuv while trying to run itself in installPhase
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 4 commits to master: https://git.io/vhfq9
<{^_^}> → 852fa6b8 by @globin: home-assistant module: add openFirewall option
<{^_^}> → 72f293aa by @globin: python3Packages.pyairvisual: init at 1.0.0
<{^_^}> → a32b6d5c by @globin: networking.routes: static routes are proto static
Rusty1_ has joined #nixos
acarrico has quit [Ping timeout: 252 seconds]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 12 commits to release-18.03: https://git.io/vhfmT
<{^_^}> → 5d8bc762 by @flokli: oracle-instantclient: move rpmextract and patchelf to nativeBuildInputs
<{^_^}> → 5048d0f1 by @flokli: oracle-instantclient: remove unused arguments
<{^_^}> → 4ff26da7 by @flokli: oracle-instantclient: prefix LD_LIBRARY_PATH
<{^_^}> [nixpkgs] @Mic92 merged pull request #40695 → pythonPackages.cx_oracle: fix dlopen, patchelf and fix library path for oracle-instantclient binaries → https://git.io/vpAOv
<{^_^}> [nixpkgs] @globin pushed to release-18.03 « networking.routes: static routes are proto static »: https://git.io/vhfmm
<nyanloutre[m]> vskilet: hi !
TonyTheLion has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
rshiny has joined #nixos
<rshiny> Hi all. Does anyone have an example of how to write a nix expression for an R package in github?
<{^_^}> [nixpkgs] @globin merged pull request #40652 → nix: 2.0.1 -> 2.0.2 → https://git.io/vpNfQ
<{^_^}> [nixpkgs] @globin pushed commit from @edolstra to release-18.03 « nix: 2.0.1 -> 2.0.2 »: https://git.io/vhfYD
jD91mZM2 has joined #nixos
PCChris has quit [Remote host closed the connection]
justbeingglad has joined #nixos
PCChris has joined #nixos
<tilpner> rshiny - Have you seen nixpkgs/pkgs/development/r-modules?
justbeingglad has left #nixos [#nixos]
PCChris has quit [Remote host closed the connection]
<LnL> rshiny: I think there's a section in the nixpkgs manual
PCChris has joined #nixos
<vskilet[m]> nyanloutre: hi !
vaninwagen has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @dotlambda opened pull request #40921 → home-assistant: deal with multiple packages matching requirement → https://git.io/vhf3O
<andreabedini> "expression does not evaluate to a derivation" is not a very helpful message :(
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
dbmikus has joined #nixos
<andreabedini> what does it evaluate to?
<andreabedini> is there some flag I can pass to nix-instantiate to troubleshoot this?
<tilpner> Use builtins.typeOf or :t in nix repl to find out
jperras has joined #nixos
<andreabedini> tilpner: thanks! TIL nix has a repl :D
<rshiny> @tilpner yes I was taking a look here https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/r-modules/default.nix and I might be able to come up with something based on the cran implementation, for instance, but I was hoping for a ready-to-use recipe :P
dbmikus_ has joined #nixos
<rshiny> I'll give it a try :)
dbmikus_ has quit [Client Quit]
PCChris has quit [Remote host closed the connection]
<andreabedini> tilpner: in the repl the expression evaluates to a derivation
PCChris has joined #nixos
<andreabedini> this is the expression "haskellPackages.ghcWithPackages (pkgs: [pkgs.mtl])"
<tilpner> Then the error is talking about another expression
<andreabedini> tilpner: $ nix-instantiate '<nixpkgs>' -E 'haskellPackages.ghcWithPackages (pkgs: [pkgs.mtl])'
<andreabedini> not sure what's the other expression ..?
dbmikus has quit [Ping timeout: 260 seconds]
jperras has quit [Ping timeout: 245 seconds]
<andreabedini> tilpner: thanks heaps for you help btw
selaux has quit [Remote host closed the connection]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
simukis has quit [Quit: simukis]
simukis has joined #nixos
<tilpner> Hmm, I haven't nix-instantiate for that
<tilpner> nix-build -E 'with import <nixpkgs> {}; haskellPackages.ghcWithPackages (pkgs: [pkgs.mtl])' evaluates though
<tilpner> *haven't used
<{^_^}> [nixpkgs] @Mic92 merged pull request #40911 → proverif: 1.97pl1 -> 2.00 → https://git.io/vhvz3
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhfG8
<{^_^}> → ae23bb2b by @vbgl: proverif: 1.97pl1 -> 2.00
<{^_^}> → 7a9bf829 by @Mic92: Merge pull request #40911 from vbgl/proverif-2.00
<nyanloutre[m]> did something change on Hydra about the timeout settings ?
<nyanloutre[m]> the Cython build didn't pass on aarch64 : https://hydra.nixos.org/build/72894188
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<nyanloutre[m]> previous build for reference : https://hydra.nixos.org/build/72324048
boothead has joined #nixos
simukis has quit [Client Quit]
nD5Xjz has quit [Ping timeout: 276 seconds]
<tilpner> andreabedini - I agree, that error is weird
simukis has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #40921 → home-assistant: deal with multiple packages matching requirement → https://git.io/vhf3O
<{^_^}> [nixpkgs] @globin pushed commit from @dotlambda to master « home-assistant: deal with multiple packages matching requirement »: https://git.io/vhfZU
<tilpner> But I'm not even sure what I'd expect nix-instantiate '<nixpkgs>' -E 'something' to do
<boothead> Hi folks, I'm creating a nix module and I want to debug as I go along... One of the things I'm doing is cfgFile = builtins.toFile "config.json" (builtins.toJSON cfg); I'd like to run that in nix-repl or something to see how the json comes out and if it conforms to the schema I have. Any way to do this?
freeman42x]NixOS has joined #nixos
PCChris has quit [Remote host closed the connection]
<tilpner> Do you have the module currently imported in your nixos config?
PCChris has joined #nixos
steell has joined #nixos
nD5Xjz has joined #nixos
ajp has quit [Ping timeout: 248 seconds]
<tilpner> An easy way would be system.build.bootheadsJsonFile = writeText "boothead.json" (builtins.toJSON cfg);, then nix-build '<nixpkgs/nixos>' -A config.system.build.bootheadsJsonFile
<andreabedini> tilpner: I'm new to nix so I'm trying stuff out (randomly, some times)
<andreabedini> it works with nix-build and nix-shell so that solves my problem
<tilpner> andreabedini - nix-instantiate -E 'with import <nixpkgs> {}; haskellPackages.ghcWithPackages (pkgs: [pkgs.mtl])' works too
<andreabedini> playing with the repl helped a lot!
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<boothead> tilpner: thanks, presumably I'd have to make sure this module I'm creating is imported (it's in a stand alone git repo and not on my path at the moment). Any way to do this outside of my system's config?
<clever> boothead: one min
<tilpner> boothead - Yes, you can use any other system config too, but that's a few minutes more effort
<clever> > eval = import <nixpkgs/nixos> { configuration = { imports = []; system.build.example = "foobar"; }; }
<{^_^}> eval defined
<clever> > eval.config.system.build.example
<{^_^}> "foobar"
PCChris has quit [Remote host closed the connection]
romildo has joined #nixos
<tilpner> When I develop modules, I want to switch to them too, so I usually include them in my main config
PCChris has joined #nixos
ajp has joined #nixos
jperras has joined #nixos
<romildo> Given a package name, is it easy to find the file (*.nix) that defines the package? For instance, for the package lxqt.liblxqt I would get /alt/nixpkgs/pkgs/desktops/lxqt/base/liblxqt/default.nix
<clever> > pkgs.hello.meta.position
sbdchd has joined #nixos
<{^_^}> "/var/lib/nixbot/state/nixpkgs/pkgs/applications/misc/hello/default.nix:14"
<clever> nix2 also has `nix edit nixpkgs.hello`
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #40922 → rust-cbindgen: init at 0.6.0 → https://git.io/vhfnP
<romildo> I want to automate the git add and commit actions from an update script for lxqt.
<etu> romildo: Maybe you should look into ryantm's bot thingy?
<{^_^}> [nixpkgs] @jtojnar opened pull request #40923 → ostree: 2018.4 → 2018.5 → https://git.io/vhfcY
PCChris has quit [Remote host closed the connection]
sbdchd has quit [Ping timeout: 276 seconds]
seppellll has joined #nixos
PCChris has joined #nixos
<romildo> etu, do you know where can it be found?
<Mic92_> romildo: you are also here?
MarcWago has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
<Mic92_> romildo: there is also
goertzenator has quit [Quit: Page closed]
<romildo> Mic92_, yes, I am here
<Mic92_> nix-src-updater takes the package as argument.
PCChris has quit [Remote host closed the connection]
acarrico has joined #nixos
PCChris has joined #nixos
rauno has quit [Ping timeout: 252 seconds]
k0001 has joined #nixos
alaricsp has quit [Remote host closed the connection]
frank87_ has joined #nixos
frank87 has quit [Read error: Connection reset by peer]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
smallville7123 has joined #nixos
<k0001> I am trying to use builtins.fetchTarball and keep getting this error saying “store path mismatch in file downloaded from…”. Here's a small example: https://gist.github.com/k0001/f484b77971d6a31bb8eba29134780f90 — What is going on? I'm using nix-2.0.1
<nyanloutre[m]> clever: TIL the bot is amazing :D
<clever> k0001: you need to hash it with `nix-prefetch-url --unpack`
<sphalerite> k0001: nix-prefetch-url --unpack
<sphalerite> aaah too slow x)
<nyanloutre[m]> > doge = { destination = moon; }
<{^_^}> error: undefined variable 'moon' at (string):7:25
<clever> fetchTarball unpacks, and hashes the NAR of the output, but nix-prefetch-url hashes the .tar.gz
<nyanloutre[m]> > doge = { destination = "moon"; }
<{^_^}> doge defined
Neo-- has joined #nixos
PCChris has quit [Remote host closed the connection]
<nyanloutre[m]> > doge.destination
<{^_^}> "moon"
<k0001> clever sphalerite ah, right, thanks :)
PCChris has joined #nixos
orivej has joined #nixos
Tucky has quit [Quit: WeeChat 2.1]
seppellll has quit [Ping timeout: 248 seconds]
iqubic` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
wangoe has quit [Quit: WeeChat 1.9.1]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
dbmikus has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
reinzelmann has quit [Quit: Leaving]
lanelet has joined #nixos
smallville7123 has quit [Quit: rosa]
iyzsong has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
MarcWago has quit [Quit: MarcWago]
smallville7123 has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
lonokhov has quit [Quit: WeeChat 2.0]
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
Tucky has joined #nixos
smichel17 has quit [Quit: smichel17]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
romildo has quit [Quit: Leaving]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
freeman42x]NixOS has joined #nixos
<rshiny> Just to see if I understand, is there no function similar to buildPythonPackage for R packages, that can be used in nix-shell? I would like to make a deriveGithub function, similar to the various deriveCran etc here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/r-modules/default.nix , but if mkDerive is exported, I don't know how to find it
<eacameron> I'm trying to use `--builders` with `nix-build` and I can't convince it to connect. `nix ping-store` comes back without an error (no output though) and `ssh remote` works fine. I get `unable to open SSH connection to 'ssh://nix-docker-build-slave': cannot connect to 'nix-docker-build-slave'; trying other available machines..`
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<srhb> eacameron: are you going through the nix daemon? In that case, that's who (root, usually) needs to be able to connect passwordlessly and with the host key already verified
<sphalerite> rshiny: yeah doesn't look like it's exposed to me
seafood has quit [Quit: seafood]
<eacameron> srhb: Ah interesting. So if I can't do `sudo ssh remote` then I need to get that working
<srhb> eacameron: Yes, and also you'll probably need to specify a username
<sphalerite> eacameron: that isn't always enough, as sudo ssh remote will still probably try to use your ssh agent
<eacameron> srhb: Ah, I have a bunch of stuff in my `~/.ssh/config`
<sphalerite> eacameron: which the daemon doens't have access to
kreetx has joined #nixos
PCChris has quit [Remote host closed the connection]
<eacameron> But that probably needs to be in root.
<sphalerite> yep that too
<eacameron> sphalerite: So `sudo su -; ssh ...`
PCChris has joined #nixos
<eacameron> sphalerite: srhb: Sure enough `sudo ssh` doesn't connect.
<eacameron> That's a great hint! Thanks!
<rshiny> sphalerite: thanks. What to do in these cases? I could fork and try to expose, but noob here, so even if it works that would probably not be a good solution.
<srhb> eacameron: Cool :)
<srhb> The error messaging is sort of atrocious with remote builds. :P
<sphalerite> rshiny: no, sure, go ahead and try it! you won't be breaking anything for anyone else :) and it shouldn't be too hard, you can just add it on top of the rest of the stuff in _self
<eacameron> Haha...I noticed. nix-build didn't even attempt to connect until I tacked on `x86_64-linux` to the argument
rolf has joined #nixos
rolf is now known as Guest71970
<sphalerite> FWIW if you're not working with nixops or somethign else that has some assumptions, you may want to build with `--store ssh-ng://otherhost` then use `nix copy` to get the results back. It has many advantages
PCChris has quit [Remote host closed the connection]
<sphalerite> A, only runtime deps end up on your machine (with remote builds, all the build deps do too); B, it doesn't require a trusted user on the remote host
kreetx has quit [Remote host closed the connection]
<sphalerite> ok I think "many" might only be 2. But still! ;p
PCChris has joined #nixos
<sphalerite> C, it will SSH as your user so there's a little bit less confusion
<sphalerite> 3 :)
erasmas has joined #nixos
<srhb> There are some pitfalls wrt. copying derivations though, but yes, it's currently much easier in most cases.
schjetne has quit [Quit: No Ping reply in 180 seconds.]
<sphalerite> also some bugs, it seems to dump the entire output of the build on stderr even with the new tools that have a fancy progress bar
drakonis has joined #nixos
<srhb> Some might call that a feature! :P
schjetne has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
steell has quit [Ping timeout: 260 seconds]
<__monty__> tilpner: Just got back. Thanks for looking into it! How do I download a raw version of that paste?
deepfire` has quit [Ping timeout: 245 seconds]
<tilpner> Uhm, ctrl-A and then xclip -o :/
<eacameron> srhb: sphalerite: Oh those do sound like good advantages. I've managed to connect via root now. But I'm not sure how to tell --builders to use a non standard ssh port
<tilpner> Or I'll overwrite it with a plain version
<srhb> eacameron: I think that's just :port ?
<eacameron> srhb: sphalerite But I might try that.
<tilpner> __monty__ - Pastes are plain now
<sphalerite> eacameron: ^ or just stick it in .ssh/config :)
<srhb> That may just be a ridiculous assumption on my part though. :P
<eacameron> srhb: Ok I'll try. Apparently ssh doesn't accept.
<eacameron> :port
<eacameron> I.e. the ssh command
<srhb> it's -p for ssh
<__monty__> tilpner: Ah, thanks. I'm developing on a remote machine so no X server.
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
tilpner has quit [Read error: Connection reset by peer]
tilpner has joined #nixos
Guest71970 has quit [Quit: WeeChat 2.1]
<eacameron> sphalerite: Does that just unconditionally run the build on the remoet?
<sphalerite> eacameron: yes, it never touches the local store
<sphalerite> well, except for the nix copy bit which you may want to do afterwards.
PCChris has quit [Remote host closed the connection]
<tilpner> __monty__ - Sorry, worst possible timing. Forgot I had a deploy running, which kicked into activate mode when you came back
PCChris has joined #nixos
<tilpner> __monty__ - Put those two files into your wireguard-p2p checkout, then run nix-build
<eacameron> sphalerite: The remote may need access to local env vars (for private fetchFromGitHub)
<sphalerite> eacameron: oh yeah one more advantage actually (I knew there were more than 2!) — you don't even need to be a trusted user on the machine you're copying to as long as the builder has a signing key configured which is trusted locally
<sphalerite> eacameron: evaluation still happens locally
deepfire` has joined #nixos
<eacameron> sphalerite: Ah
<sphalerite> it just doesn't use the local *store*
<sphalerite> I think I just came up with my new favourite euphemism. "Interesting perfomance characteristics" (= slow). It even abbreviates to IPC.
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
avn has quit [Ping timeout: 260 seconds]
Slabity has quit [Remote host closed the connection]
avn has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
ramses_ has joined #nixos
PCChris has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #40896 → nix-du: init at 0.1.1 → https://git.io/vheA9
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhfut
<{^_^}> → 87125d6d by @symphorien: nix-du: init at 0.1.1
<{^_^}> → c8a4562f by @Mic92: Merge pull request #40896 from symphorien/nix-du
PCChris has joined #nixos
<ramses_> Hi guys, I'm fairly new to NixOS, but I'm wondering what's the usual method for kernel upgrades, I have "kernelPackages = pkgs.linuxPackages_latest;" in my config but this does not seem to give me a 4.16 kernel, is this expected?
<__monty__> tilpner: I'm getting undefined variable rustChannelOf.
<tilpner> __monty__ - Oh, yes, you need nixpkgs-mozilla. I think I mentioned that a few days ago... maybe?
<tilpner> ramses_ - What channel are you on?
<{^_^}> [nixpkgs] @dezgeg pushed 61 commits to staging: https://git.io/vhfuw
<{^_^}> → 5523ec8f by @ElvishJerricco: Make getHaskellBuildInputs / shellFor work with overrideCabal
<ramses_> tilpner: 18.03-small
<{^_^}> → 47aceb0a by @yurrriq: autojump: rework
<{^_^}> → 5aa53cc9 by R. RyanTM: maven: 3.5.2 -> 3.5.3
<__monty__> You did, and I thought I did.
<__monty__> Ah, I only did in a shell.nix
<tilpner> infinisil - ^ usecase for multi-channel nixbot
PCChris has quit [Remote host closed the connection]
<tilpner> ramses_ - It should give you "4.15.18"
PCChris has joined #nixos
<tilpner> If you want something newer, you can pick linuxPackages from unstable
<__monty__> I can use this trick in default.nix, right?
<__monty__> moz_overlay = import (builtins.fetchTarball https://…);
<__monty__> nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; };
<tilpner> Yes, although that will give you more than their rust overlay
<ramses_> tilpner: yes indeed, but with latest I would've expected the 4.16 kernel which has been out for a while already. So I was wondering whether kernel upgrades are not happening in between releases or whether it is just somehow taking more time than expected
k0001 has quit [Quit: quit]
<tilpner> ramses_ - Updates to packages usually happen on master, and then someone backports them to release channels (AFAICT)
<tilpner> (I don't know the policy for kernel backports)
<infinisil> tilpner: Yeah, I'll work on the nixbot once I have more free time :)
periklis has quit [Ping timeout: 260 seconds]
PCChris has quit [Remote host closed the connection]
spear2 has joined #nixos
PCChris has joined #nixos
<tilpner> :)
nschoe has quit [Ping timeout: 245 seconds]
PCChris has quit [Remote host closed the connection]
seafood has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « Make Env self-describing »: https://git.io/vhfgP
PCChris has joined #nixos
winem_ has joined #nixos
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #40924 → cargo-tree: init at 0.18.0 → https://git.io/vhfgy
seafood has quit [Client Quit]
roconnor has quit [Quit: Konversation terminated!]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
burton_ has joined #nixos
<crystalgamma[m]> Hi … can anyone tell me what expandResponseParams() from pkgs/build-support/wrapper-common/utils.bash does? The error condition in that function fires (spuriously?) while building aws-sdk-cpp …
dbmikus has quit [Ping timeout: 268 seconds]
dbmikus has joined #nixos
sanscoeur has quit [Remote host closed the connection]
nschoe has joined #nixos
emmanuelrosa has joined #nixos
alexteve_ has joined #nixos
alexteves has quit [Read error: Connection reset by peer]
alexteve_ has quit [Ping timeout: 245 seconds]
alexteves has joined #nixos
endformationage has joined #nixos
<{^_^}> [nixpkgs] @dezgeg pushed 9 commits to staging: https://git.io/vhfVx
<{^_^}> → 0fd461d5 by @dezgeg: db: Use more conventional outputs, also split bin
<{^_^}> → a28c4a53 by @knedlsepp: perlPackages.BerkeleyDB: fix db dependency
<{^_^}> → 7c870525 by @knedlsepp: aprutil: fix db dependency
<{^_^}> [nixpkgs] @dezgeg closed pull request #40906 → db dependees: fix regression from introducing multiple outputs → https://git.io/vhvYq
ramses_ has quit [Ping timeout: 260 seconds]
<srk> anyone using usb redirection with libvirt?
<dtz> oh hooray, I don't rem where but I was seeing strangeness re:missing 'db' dep too, hope that fixes it ^_^
__Sander__ has quit [Quit: Konversation terminated!]
<dtz> taktoa: gchristensen : when are we having the (next?) US nix meetup? :D
<Myrl-saki> Has anyone gotten clangAnalyzer's scan-build to work with cmake?
jensens has quit [Ping timeout: 248 seconds]
aarvar has joined #nixos
<Myrl-saki> Can't exec "gcc": No such file or directory at /nix/store/9161z04iicwwhlmf7hxy5b8s40kcrri5-clang-5.0.2/libexec/ccc-analyzer line 460.
<Myrl-saki> awt
<Myrl-saki> wat
phreedom has quit [Quit: No Ping reply in 180 seconds.]
phreedom has joined #nixos
PCChris has quit [Remote host closed the connection]
xy2_ has joined #nixos
PCChris has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
pxc has joined #nixos
rihards has joined #nixos
<{^_^}> [nixpkgs] @Assassinkin opened pull request #40925 → pythonPackages.invoice2data: init at 0.2.92 → https://git.io/vhfKF
maingo has quit [Quit: Connection closed for inactivity]
disasm has quit [Quit: WeeChat 2.0]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
jasongrossman has quit [Ping timeout: 240 seconds]
ThatDocsLady has quit [Quit: Leaving]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
dbmikus has quit [Ping timeout: 245 seconds]
the_real_plumps has quit [Remote host closed the connection]
PCChris has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @pSub merged pull request #40841 → 1password: 0.4 -> 0.4.1 → https://git.io/vpjqZ
<{^_^}> [nixpkgs] @pSub pushed 3 commits to master: https://git.io/vhfP0
<{^_^}> → 50cc81b8 by @marsam: 1password: Fix darwin build
<{^_^}> → 6abc2bf4 by @marsam: 1password: 0.4 -> 0.4.1
<{^_^}> → 88817735 by @pSub: Merge pull request #40841 from marsam/feature/darwin-1password
PCChris has joined #nixos
pxc has quit [Ping timeout: 245 seconds]
<ij> There's the Armijn Hemel NixOS paper from 2006 and there's the Dolstra's paper from 2008, both about nixos. Why don't they refer to each other?
Mateon1 has joined #nixos
Mateon2 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @pSub merged pull request #40819 → terraform_0_11: 0.11.6 -> 0.11.7 → https://git.io/vphd9
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vhfXW
<{^_^}> → c919d62f by @vincentbernat: terraform_0_11: 0.11.6 -> 0.11.7
PCChris has quit [Remote host closed the connection]
<{^_^}> → c4da8650 by @pSub: Merge pull request #40819 from vincentbernat/update/terraform
PCChris has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #40726 → s2png: init at 0.7.2 → https://git.io/vpxrT
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/vhfXg
<{^_^}> → 1d2eeec1 by @dbohdan: s2png: init at 0.7.2
<{^_^}> → eadb87d3 by @pSub: Merge pull request #40726 from dbohdan/s2png
emmanuelrosa has quit [Ping timeout: 245 seconds]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
fendor has quit [Read error: Connection reset by peer]
Ariakenom has quit [Ping timeout: 245 seconds]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
dbmikus has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40852 → libidn2: 2.0.4 -> 2.0.5 → https://git.io/vpjsC
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to staging « libidn2: 2.0.4 -> 2.0.5 (#40852) »: https://git.io/vhfyZ
<{^_^}> [nixpkgs] @xeji merged pull request #40870 → calamares: 3.1.12 -> 3.2.0 → https://git.io/vpjlb
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « calamares: 3.1.12 -> 3.2.0 (#40870) »: https://git.io/vhfyo
PCChris has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #40786 → poppler: 0.64.0 -> 0.65.0 → https://git.io/vphYA
<{^_^}> [nixpkgs] @xeji pushed commit from @bhipple to staging « poppler: 0.64.0 -> 0.65.0 (#40786) »: https://git.io/vhfyM
PCChris has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
freeman42x]NixOS has quit [Ping timeout: 240 seconds]
<hyper_ch> sphalerite: work, work, work :(
<hyper_ch> but you highlighted me becuase of?
PCChris has quit [Remote host closed the connection]
burton_ has quit [Ping timeout: 252 seconds]
PCChris has joined #nixos
ixxie has joined #nixos
burton_ has joined #nixos
Ariakenom has joined #nixos
PCChris has quit [Remote host closed the connection]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cee73f524b9 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
PCChris has joined #nixos
<dtz> ooo re:bump
<{^_^}> [nixpkgs] @vbgl opened pull request #40927 → coqPackages.tlc: 20171206 -> 20180316 → https://git.io/vhfSh
<dtz> also, \o/ nix-du. seems to produce much more useful input than what I remember (when first announced probably)
vidbina has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to release-17.09: https://git.io/vhf9Z
<{^_^}> → 729da53a by @flokli: spotify: 1.0.77.338.g758ebd78-41 -> 1.0.79.223.g92622cc2-21
<{^_^}> → e09c0adc by @utdemir: spotify: 1.0.72.117 -> 1.0.77.338
disasm has joined #nixos
<dtz> i suppose my system is quite a bit "cleaner" than usual, but I'm gonna assume it's because nix-du was made 1000% more awesome ;) :D
Synthetica has quit [Quit: Connection closed for inactivity]
<pierron> what is nix-du?
<{^_^}> [nixpkgs] @xeji pushed commit from @Pneumaticat to master « helmfile: init at 0.16.0 (#40814) »: https://git.io/vhf96
<{^_^}> [nixpkgs] @xeji merged pull request #40814 → helmfile: init at 0.16.0 → https://git.io/vphPw
<teto1> pierron: nix disk usage
PCChris has quit [Remote host closed the connection]
<manveru> not in nixpkgs?
jperras has quit [Ping timeout: 260 seconds]
PCChris has joined #nixos
PCChris has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #40624 → perlPackages.ParsePlainConfig: init at 3.05 → https://git.io/vpbEA
<{^_^}> [nixpkgs] @xeji pushed commit from @limeytexan to master « perlPackages.ParsePlainConfig: init at 3.05 (#40624) »: https://git.io/vhfH2
PCChris has joined #nixos
knupfer has joined #nixos
<dtz> it's on master, as of .. today-ish
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<Myrl-saki> Why is there nothing between clang and clang-unwrapped?
smallville7123 has quit [Quit: rosa]
<Myrl-saki> wrapped clang is too invasive in the sense that some flags that clang accepts isn't accepted by wrapped clang.
<Myrl-saki> But clang-unwrapped is practically useless because it can't find system headers.
smallville7123 has joined #nixos
TheAppleMan has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5da85431fb1 (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
sanscoeur has joined #nixos
sanscoeur has quit [Remote host closed the connection]
sanscoeur has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
vidbina has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<elvishjerricco> Myrl-saki: What arguments does wrapped clang not accept?
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<Myrl-saki> elvishjerricco: -cc1 is one, I believe.
<Myrl-saki> elvishjerricco: Details over here. https://gist.github.com/MagneticDuck/8a2c503082f0c8f1fbf65ab2690f58b8
<Myrl-saki> Not mine, but still relevant until today, 2 years later.
vidbina has quit [Ping timeout: 260 seconds]
iyzsong has quit [Ping timeout: 260 seconds]
<elvishjerricco> Myrl-saki: There ought to be an issue open on nixpkgs for any arguments that don't work on the wrapped ccs. They are intended to satisfy the CLI you'd expect, so I consider that a bug
<Myrl-saki> [nix-shell:/tmp/ASCIIVN]$ clang -cc1
<Myrl-saki> error: unknown argument: '-B/nix/store/8paz2dscfxzv5rzbqaqw5zdnal8jmnrw-clang-5.0.2-lib/lib'
<Myrl-saki> error: unknown argument: '-B/nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/'
<Myrl-saki> error: unknown argument: '-B/nix/store/i9f03104c80056yp0zj9acm43sg7f22r-clang-wrapper-5.0.2/bin/'
<Myrl-saki> Sorry for the spam.
<Myrl-saki> I think scan-build works for non CMake projects.
<elvishjerricco> (FWIW, this is why I hate cc-wrapper :P But I dunno if there could possibly be a better solution without something like a cc.conf feature being added to C compilers)
<Myrl-saki> elvishjerricco: I'd actually want a cc.conf.
<elvishjerricco> Agreed, it'd be a much better answer
vidbina has joined #nixos
<Myrl-saki> elvishjerricco: In one of our projects, we have a GCC specs file, but clang doesn't have first class support for that.
<Myrl-saki> Rather, doesn't have *any* support for that.
<elvishjerricco> I did not know GCC had such a thing. I wonder how hard it would be to make clang support that.
PCChris has quit [Remote host closed the connection]
olto has quit [Quit: ZNC - https://znc.in]
PCChris has joined #nixos
xy2_ has quit [Ping timeout: 252 seconds]
<Myrl-saki> elvishjerricco: OTOH, the clang-unwrapped actually worked pretty perfectly, since we were making a libc.
<elvishjerricco> Myrl-saki: Lucky you :P
<Myrl-saki> No system header files that interfered with our build.
Ariakenom has quit [Read error: Connection reset by peer]
olto has joined #nixos
<elvishjerricco> Myrl-saki: Wow, GCC spec files look awesome
<Myrl-saki> elvishjerricco: Agreed. :D
PCChris has quit [Remote host closed the connection]
<Myrl-saki> elvishjerricco: If anything, I was suprised Clang doesn't support it.
PCChris has joined #nixos
<elvishjerricco> Myrl-saki: Agreed. As a hacky solution, I wonder how hard it would be to write a clang wrapper that interprets spec files.
Ariakenom has joined #nixos
<Myrl-saki> GCC kinda has a reputation of old and clunky, not so much on performance but on usability, but they really mean it when they do the principle of least surprise.
jperras has joined #nixos
emmanuelrosa has joined #nixos
ihar has quit [Ping timeout: 260 seconds]
PCChris has quit [Remote host closed the connection]
<elvishjerricco> Myrl-saki: This doc probably gives a good idea of how hard it would be to fix this, or possibly why we wouldn't want to: https://clang.llvm.org/docs/DriverInternals.html
PCChris has joined #nixos
ihar has joined #nixos
<Myrl-saki> elvishjerricco: Thanks, I'll take a look at it later.
olto has quit [Quit: ZNC - https://znc.in]
jperras has quit [Ping timeout: 256 seconds]
vidbina has quit [Ping timeout: 248 seconds]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40929 → ghc, haskell infra: #40642 direct to master → https://git.io/vhfAJ
silver has joined #nixos
rauno has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40930 → binutils: Always apply Aarch64 patch → https://git.io/vhfAM
<{^_^}> [nixpkgs] @xeji merged pull request #40909 → coqPackages.iris: init at 3.1.0 → https://git.io/vhv8C
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « coqPackages.iris: init at 3.1.0 (#40909) »: https://git.io/vhfxG
smallville7123 has quit [Quit: rosa]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @veprbl opened pull request #40931 → doc: use "with stdenv.lib" in meta → https://git.io/vhfpT
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40930 → binutils: Always apply Aarch64 patch → https://git.io/vhfAM
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/vhfpP
<{^_^}> → afc439d5 by @Ericson2314: binutils: Always apply Aarch64 patch
<{^_^}> → 75638e2d by @Ericson2314: Merge pull request #40930 from obsidiansystems/binutils-always-patch
jperras has joined #nixos
freeman42x]NixOS has joined #nixos
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
Sonarpulse has joined #nixos
waleee has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to staging: https://git.io/vhfjC
<{^_^}> → 9247ce46 by @Ericson2314: Merge commit '39df5831cae0dce4628e80cf7f6f5520a9dae18e' into HEAD
<{^_^}> → ec421988 by @Ericson2314: Merge commit '62fd669ab709fbe1b1a7a7a9220c6a42a1c57acd' into HEAD
<{^_^}> → 2e903444 by @Ericson2314: Merge branch 'binutils-always-patch' into ios-mini-staging
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
vidbina has joined #nixos
olto has joined #nixos
PCChris has quit [Remote host closed the connection]
pxc has joined #nixos
PCChris has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko pushed to yegortimoshenko-patch-3 « nixos/nginx: make sslCertificate and sslCertificateKey nullable »: https://git.io/vhJeS
PCChris has quit [Remote host closed the connection]
muzzy has joined #nixos
PCChris has joined #nixos
cnidario has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40912 → postfix: 3.3.0 -> 3.3.1 → https://git.io/vhvMw
<{^_^}> [nixpkgs] @xeji pushed commit from @dotlambda to master « postfix: 3.3.0 -> 3.3.1 (#40912) »: https://git.io/vhJvT
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #40932 → nixos/nginx: make sslCertificate and sslCertificateKey nullable → https://git.io/vhJvI
vidbina has quit [Ping timeout: 252 seconds]
olto has quit [Quit: ZNC - https://znc.in]
olto has joined #nixos
cnidario has quit [Read error: Connection reset by peer]
tnks has joined #nixos
<tnks> What programs exactly use NIX_PROFILES? This seem new to me.
<eacameron> sphalerite: Does this --store ssh-ng:// thing support building on *different* platforms?
<eacameron> That's what I need. I'm on darwin but need to build for linux.
<eacameron> srhb: ^
ixxie has quit [Ping timeout: 252 seconds]
olto has quit [Quit: ZNC - https://znc.in]
leat has joined #nixos
olto has joined #nixos
lord| has joined #nixos
<Myrl-saki> This might be a stupid question, but is it possible to load a module imperatively?
<woffs> "fetching source from https://cache.nixos.org" -- every source is called source now ...
woodson has joined #nixos
acarrico has quit [Ping timeout: 248 seconds]
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
leat has quit [Ping timeout: 245 seconds]
<LnL> only unpacked sources
olto has quit [Quit: ZNC - https://znc.in]
winem_ has quit [Ping timeout: 245 seconds]
olto has joined #nixos
seppellll has joined #nixos
<LnL> tnks: some things use it to find packages installed in the user profile, but it's bad practice IMHO
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to staging: https://git.io/vhJkT
<{^_^}> → 7ee4dc3b by @Ericson2314: Merge remote-tracking branch 'obsidian/cross-ghc-for-master' into ios-mini-staging
<{^_^}> → 4a906efc by @Ericson2314: Merge branch 'ios-mini-staging' into staging
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40933 → [WIP] treewide: Linux -> Darwin cross compilation → https://git.io/vhJky
aarvar has quit [Ping timeout: 245 seconds]
pxc1 has joined #nixos
acarrico has joined #nixos
<Myrl-saki> error: '/nix/var/nix/profiles/system-profiles/nix' is not a symlink
<Myrl-saki> subprocess.CalledProcessError: Command '['/nix/store/a43lgdakh6cg8sg4pqdfyznkkxvmf7r1-nix-2.1pre6148_a4aac7f/bin/nix-env', '--list-generations', '-p', '/nix/var/nix/profiles/system-profiles/nix', '--option', 'build-users-group', '']' returned non-zero exit status 1.
<Myrl-saki> This happened after I messed up my nix-rebuild switch by setting a custom profile. Got any ideas?
<{^_^}> [nixpkgs] @xeji merged pull request #40693 → form: init at 4.2.0 → https://git.io/vpAUP
<{^_^}> [nixpkgs] @xeji pushed commit from @veprbl to master « form: init at 4.2.0 (#40693) »: https://git.io/vhJLk
<adelbertc> should `placeholder "out"` in Nix 2.0 give the full Nix store path
<adelbertc> or just the subdirectory in the Nix store?
<adelbertc> i was expecting the former but am getting the latter
<Myrl-saki> Welps. I'll just do a reboot.
<Myrl-saki> Crap, it's still broken.
vaninwagen has joined #nixos
seppellll_ has joined #nixos
<Myrl-saki> What should '/nix/var/nix/profiles/system-profiles/nix' be a symlink to?
seppellll has quit [Ping timeout: 240 seconds]
pxc has quit [Ping timeout: 245 seconds]
pxc has joined #nixos
MichaelRaskin has joined #nixos
Sonarpulse has quit [Ping timeout: 260 seconds]
olto has quit [Quit: ZNC - https://znc.in]
leat has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<jD91mZM2> Myrl-saki: I don't have a system-profiles folder personally
baconicsynergy has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @jtojnar pushed to staging « meson: 0.45.1 → 0.46.1 »: https://git.io/vhJml
<Myrl-saki> jD91mZM2: I realized that my laptop doesn't have either.
<Myrl-saki> I'll just go ahead and delete it then hope for the best.
<jD91mZM2> What could possibly go wrong?
<Myrl-saki> ikr
<Myrl-saki> Not like I'll have a dangling path or anything!
<Myrl-saki> And I was correct, it did work. :)
olto has joined #nixos
tmaekawa has joined #nixos
<tnks> LnL: do you have an example of these things that use NIX_PROFILES?
<eacameron> srhb: sphalerite: Apparently :3022 doesn't work for --builders ssh://... I am able to ssh in with sudo ssh etc. -p 3022 but the nix-build can't connect
leat has quit [Ping timeout: 245 seconds]
burton_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @peti merged pull request #40929 → ghc, haskell infra: #40642 direct to master → https://git.io/vhfAJ
<{^_^}> [nixpkgs] @peti pushed 13 commits to master: https://git.io/vhJOk
<{^_^}> → c6f742b7 by @Ericson2314: haskell-generic-builder: Add extra framework dirs
<{^_^}> → 900862ea by @Ericson2314: haskell generic builder: `setupHaskellDepends` should be `nativeBuildInputs
<{^_^}> → 15759df6 by @angerman: haskell generic builder: Use setup package database for setup-depends
<eacameron> srhb: sphalerite: but adding to root's ssh config file works.
<jD91mZM2> How do you tell nix to not download cache? I'm trying to override a crate but it keeps pulling in vendored sources
drakonis has quit [Remote host closed the connection]
<jD91mZM2> overlay a package*
olto has quit [Quit: ZNC - https://znc.in]
olto has joined #nixos
maingo has joined #nixos
ma27 has quit [Quit: WeeChat 2.1]
<srhb> eacameron: Oh, good to know.
<{^_^}> [nixpkgs] @Mic92 opened pull request #40935 → tmux: 2.6 -> 2.7 → https://git.io/vhJsP
<jD91mZM2> Okay so it seems like my actual problem isn't the caching so never mind
boothead has quit [Quit: Page closed]
<jD91mZM2> I'm trying to override a rust crate and it uses the old version's vendored source
leat has joined #nixos
olto has quit [Quit: ZNC - https://znc.in]
<gchristensen> anyone else have to kill pulseaudio every time they connect bluetooth headphones?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40881 → nixos/flatpak: add flatpak's XDG_DATA_DIRS to the environment → https://git.io/vpjhR
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhJZw
<{^_^}> → 17e0e679 by @hedning: nixos/flatpak: add flatpak's XDG_DATA_DIRS to the environment
<{^_^}> → 009d4341 by @matthewbauer: Merge pull request #40881 from hedning/flatpax-xdg-data-dirs
olto has joined #nixos
<andi-> gchristensen: kinda
<andi-> I restart the bluetooth daemon
<{^_^}> [nixpkgs] @xeji merged pull request #40927 → coqPackages.tlc: 20171206 -> 20180316 → https://git.io/vhfSh
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « coqPackages.tlc: 20171206 -> 20180316 (#40927) »: https://git.io/vhJZX
<andi-> it's annoying…
<andi-> sometimes it isn't required (suspending the notebook? BT device disconnecting? Don't remember)
<jD91mZM2> gchristensen: Same thing happened to somebody else waaay back and it's apparently something up with the current bluez version
<jD91mZM2> IIRC
humanoyd has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @xeji merged pull request #40913 → [18.03] postfix: 3.2.5 -> 3.2.6 → https://git.io/vhvDM
<{^_^}> [nixpkgs] @xeji pushed commit from @dotlambda to release-18.03 « postfix: 3.2.5 -> 3.2.6 (#40913) »: https://git.io/vhJZA
orivej has joined #nixos
leat has quit [Ping timeout: 245 seconds]
<andi-> jD91mZM2: we've bumped the bluez version a couple of times since I've had the issue the first time
<andi-> jD91mZM2: or do you mean the major version? :D
<gchristensen> interesting
<andi-> I am using blueman to manage the connection it complains about connection issue to pulseaudio IIRC
<samueldr> gchristensen: I have to restart bluetooth on one device for it to pair since 18.03
<samueldr> on one computer*
<samueldr> (on the other, it's hit and miss, different bluetooth hardware)
<jD91mZM2> andi-: Oh ok. Even on the stable channel?
<andi-> yes
<jD91mZM2> crap
<andi-> I went to 18.03 on all my devices when that was marked stable..
<gchristensen> interesting
<andi-> It was a bit more broken before.. IIRC I had to change a couple of bluez related derivations before 18.03
<gchristensen> I've madee an alias to kill pulseaudio and connect
<andi-> do you retrieve any kind of logging?
<manveru> mine's working fine on 18.03, even after suspend
<andi-> manveru: what BT hardware?
<gchristensen> Failed to connect: org.bluez.Error.Failed
<manveru> `Bus 003 Device 006: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)`
<samueldr> gchristensen: pulseaudio -k to restart pulseaudio in your case?
tmaekawa has quit [Quit: tmaekawa]
<gchristensen> yeah, pulseaudio -k; pulseaudio --start
<andi-> manveru: interesting. I only have intel BT hardware
<samueldr> weird, I too have 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
aarvar has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to staging « systemd: fix build »: https://git.io/vhJcS
<andi-> the message I am getting is Unable to get Headset Voice gateway SDP record: Host is down
<manveru> i'm using it mostly with bose quietcomfort 35
<manveru> what really gives it trouble is switching modes between HSP and A2DP
<manveru> but the mic quality is awful anyway, so i got an external mic
<gchristensen> manveru: HSP was so confusing to me, I couldn't _believe_ how garbage my headphones were for the longest time, stuck on HSP :P
<andi-> switching works fine for me
rauno has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #40935 → tmux: 2.6 -> 2.7 → https://git.io/vhJsP
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhJCk
<{^_^}> → d5e785d9 by @Mic92: tmux: 2.6 -> 2.7
<{^_^}> → 14285a78 by @Mic92: Merge pull request #40935 from Mic92/tmux
<jtojnar> the new pulseaudio 12 should finally use A2DP as default
<samueldr> just looked at the journal, bluetooth.service exits with segfault :/ https://gist.github.com/samueldr/99bdb39bb97e3e07f5c437d39b49c3be
<samueldr> (that's after a suspend cycle)
drakonis has joined #nixos
<samueldr> hm, I'll need time to verify, but I think my issues needing a restart could have been caused by a previous hack for another bluetooth adapter which didn't handle suspend gracefully :/ (deactivated the hack and now works seemingly great)
<Myrl-saki> Huh.
sary has joined #nixos
<Myrl-saki> (import /etc/nixos/configuration.nix) and `{...}: { imports = [ /etc/nixos/configuration.nix ]; }` is not equivalent. Anyone know why?
<clever> Myrl-saki: how exactly are you measuring a difference?
<Myrl-saki> clever: Output hash, and the fact that nixos-rebuild switch -p on that output will break my /nix/var/nix/profiles.
<clever> Myrl-saki: try nixos-rebuild dry-run on each, then use nix-diff
<Myrl-saki> clever: What does dry-run do that build doesn't?
<Myrl-saki> nix-build '<nixpkgs/nixos>' --arg configuration '{...}: { imports = [ /etc/nixos/configuration.nix ]; options = {}; config = {}; }' -A system --show-trace
<Myrl-saki> That's my methodoloyg.
<clever> Myrl-saki: dry-run doesnt build
<clever> it calls nix-instantiate
<Myrl-saki> Oh okay.
rauno has joined #nixos
Sonarpulse has joined #nixos
<Myrl-saki> http://ix.io/1b5Z
simpson has left #nixos ["WeeChat 1.0.1"]
Neo-- has quit [Ping timeout: 240 seconds]
<clever> Myrl-saki: ok, so your hosts file differs, your fonts differ, your xsession differs
<clever> Myrl-saki: what is the exact 2 commands you ran to produce those .drv files?
chessai has joined #nixos
<Myrl-saki> ix-instantiate '<nixpkgs/nixos>' --arg configuration '{...}: { imports = [ /etc/nixos/configuration.nix ]; options = {}; config = {}; }' -A system --show-trace
<Myrl-saki> nix-instantiate '<nixpkgs/nixos>' --arg configuration '(import /etc/nixos/configuration.nix)' -A system --show-trace
xy2_ has joined #nixos
<clever> Myrl-saki: try also: nix-instantiate '<nixpkgs/nixos>' --arg configuration '(/etc/nixos/configuration.nix' -A system --show-trace
<clever> minus the (
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/729da53a147 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
leat has joined #nixos
<Myrl-saki> clever: Sme result as the import.
<clever> can you screenshot the first page of output from nix-diff? the colors are missing
freeman42x[nix] has joined #nixos
<Myrl-saki> clever: Sure.
<clever> Myrl-saki: what file is that .2.101 entry in /etc/hosts defined in?
<Myrl-saki> clever: configuration.nix.
<clever> and which method did the .drv in red come from?
<clever> oh wait, i think i see what the differences are now
<clever> the whitespace in /etc/hosts moved, but not the value itself
<Myrl-saki> Yeah, I think that makes sense. There's some merge semantics that is occuring, huh.
<clever> the problem, is the order of all modules, as it recursively traverses your imports statements
<clever> which makes your configuration.nix come either before or after most of nixos
<clever> depending on if its the root module, or in imports of the root module
<Myrl-saki> FWIW, it breaks my system.
<clever> how exactly is it breaking the system?
<Myrl-saki> myrl@myrl:~$ ls -l /nix/var/nix/profiles n
<clever> what state changes?
<Myrl-saki> Gives me a new system-profiles, if I try to switch to the imports = configuration.nix
<Myrl-saki> drwxr-xr-x 3 root root 4096 May 23 03:31 system-profiles
<Myrl-saki> myrl@myrl:~$ ls -l /nix/var/nix/profiles
<Myrl-saki> Not a symlink too.
<Myrl-saki> Which results in..
<clever> why do you have a system-profiles link?
<Myrl-saki> subprocess.CalledProcessError: Command '['/nix/store/a43lgdakh6cg8sg4pqdfyznkkxvmf7r1-nix-2.1pre6148_a4aac7f/bin/nix-env', '--list-generations', '-p', '/nix/var/nix/profiles/system-profiles/nix', '--option', 'build-users-group', '']' returned non-zero exit status 1.
<Myrl-saki> clever: That's what I'm saying. It spuriously occurs out of nowhere.
<clever> what is even calling nix-env there?
<clever> that doesnt look like nixos-rebuild
<Myrl-saki> Sorry.
<Myrl-saki> I did something along the lines of
<Myrl-saki> nixos-rebuild switch -p $(nix-build '<nixpkgs/nixos>' --arg configuration '{...}: { imports = [ /etc/nixos/configuration.nix ]; options = {}; config = {}; }' -A system --show-trace)
<Myrl-saki> I actually didn't do that, I just manually copied and pasted the output, but you get the idea.
<Myrl-saki> clever: I did a sanity check, and..
* clever checks source
<clever> -p doesnt work like that
<Myrl-saki> wait wtf, i think i'm the one going insane.
<clever> -p takes the path to a profile, and will build <nixos-config> and place it into that profile
<clever> giving -p a storepath just breaks everything
<clever> profile="/nix/var/nix/profiles/system-profiles/$1"
<clever> mkdir -p -m 0755 "$(dirname "$profile")"
<clever> that is what nixos-rebuild does with the name you give it
<clever> that is why a system-profiles has come out of nowhere
<Myrl-saki> Oh.
<Myrl-saki> clever: How should I switch to it?
<clever> nix-env -p /nix/var/nix/profiles/system --set /nix/store/foo && /nix/store/foo/bin/switch-to-configuration switch
<Myrl-saki> clever: Does it have to be system?
<clever> it can be any path under profiles
<Myrl-saki> I'm doing this because I want to test out NixOS modules without changing configuration.nix..
<clever> if its not under profiles, then garbage-collection may eat it
<Myrl-saki> s/..././
<Myrl-saki> Ugh, I'm double typing a lot.
<clever> if you only want to test, dont use nix-env, and dont use switch
<clever> nix-build '<nixpkgs/nixos>' --arg configuration '{...}: { imports = [ /etc/nixos/configuration.nix ]; options = {}; config = {}; }' -A system --show-trace && ./result/bin/switch-to-configuration test
<clever> this will build, and activate it, but not touch any profiles, and not touch any bootloader config
<clever> if you reboot, all changes are gone
<Myrl-saki> clever: oh wow.
<Myrl-saki> clever: That's exactly what I wanted to do.
<clever> also, you dont even need nix-build
<Myrl-saki> clever: That will also not survive a rebuild?
<Myrl-saki> or?
<clever> nixos-rebuild test -I nixos-config=/path/to/custom.nix
<clever> that will do the exact same thing
jD91mZM2 has quit [Quit: WeeChat 2.0]
steell has joined #nixos
<clever> it will activate it, but not make it permanent, check the nixos-rebuild page under test
<Myrl-saki> clever: I still want my old configuration.nix, FWIW. Since my toolchain is in configuration.nix,
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<clever> oh, one min
<Myrl-saki> clever: You see where the `imports = ...` comes to play? :P
<clever> NIXOS_EXTRA_MODULE_PATH=/path/to/custom.nix nixos-rebuild test
<clever> done!
<Myrl-saki> ...
<Myrl-saki> wtf.
<clever> that will load both the normal configuration.nix, and custom.nix, then activate
<Myrl-saki> clever: i did so much confusiion just for this
<clever> and if you reboot, the changes are reverted
Synthetica has joined #nixos
<Myrl-saki> clever: i'm
<Myrl-saki> surprised.
<clever> i get obessed with finding out how things work, so ive read all of the eval-config.nix source, and the related modules
drakonis_ has joined #nixos
swaaws has quit [Quit: ZNC 1.8.x-git-52-4f3ed09 - https://znc.in]
<gchristensen> is luc perkins on IRC?
jtojnar has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 256 seconds]
ma27 has joined #nixos
<Myrl-saki> clever: Thank you so much. I was always in the assumption that you can't do this because modules were made to be declarative.
robstr has quit [Quit: WeeChat 1.9.1]
<Myrl-saki> or something along the lines of that.
<clever> there are a couple env vars that nixos checks, that cause some slight impurities
<clever> if you know what to set
swaaws has joined #nixos
<clever> for example, $NIXOS_CONFIG has priority over <nixos-config>
<clever> but the configuration argument to <nixpkgs/nixos> has the highest priority
<clever> and if the file at $NIXPKGS_CONFIG exists, it will cause nixpkgs to silently ignore ~/.config/nixpkgs/config.nix
<clever> and if ~/.config/nixpkgs/config.nix exists, it will silently ignore ~/.nixpkgs/config.nix
waleee has quit [Quit: WeeChat 2.1]
smallville7123 has joined #nixos
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #40936 → thefuck: 3.26 -> 3.27 → https://git.io/vhJzs
seppellll_ has quit [Quit: Leaving]
mahalel_ has joined #nixos
nschoe has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #40924 → cargo-tree: init at 0.18.0 → https://git.io/vhfgy
<{^_^}> [nixpkgs] @xeji pushed commit from @jD91mZM2 to master « cargo-tree: init at 0.18.0 (#40924) »: https://git.io/vhJzw
dbmikus_ has joined #nixos
dbmikus has quit [Ping timeout: 252 seconds]
fragamus has joined #nixos
astsmtl has joined #nixos
astsmtl has quit [Changing host]
astsmtl has joined #nixos
dbmikus_ has quit [Ping timeout: 256 seconds]
cnidario has joined #nixos
sigmundv__ has joined #nixos
athan has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40936 → thefuck: 3.26 -> 3.27 → https://git.io/vhJzs
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhJgX
<{^_^}> → 180eff1c by @Synthetica9: thefuck: 3.26 -> 3.27
<{^_^}> → bda01a50 by @yegortimoshenko: Merge pull request #40936 from Synthetica9/thefuck327
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40931 → doc: use "with stdenv.lib" in meta → https://git.io/vhfpT
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhJg9
<{^_^}> → 3dd63504 by @veprbl: doc: use "with stdenv.lib" in meta
<{^_^}> → 2eea6a48 by @yegortimoshenko: Merge pull request #40931 from veprbl/pr/with_stdenv_lib_meta
jtojnar has joined #nixos
cnidario has quit [Remote host closed the connection]
<johnw> is there any way to catch the exception thrown when calling a function with an argument that it does not expect?
<johnw> i have a case where the function I'm passed may or may not accept a 'pkgs' argument
<symphorien> johnw: you can declare the function as {arg1, arg2, ...}@args: body
<symphorien> this way it will accept any arguments
<johnw> yeah, I'm just not the author of the function
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40570 → nixopsUnstable: 1.6pre2276_9203440 -> 1.6.1pre2622_f10999a → https://git.io/vp5dI
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhJ2l
<{^_^}> → e9868c39 by @teozkr: nixopsUnstable: 1.6pre2276_9203440 -> 1.6.1pre2622_f10999a
<{^_^}> → 74083c8c by @yegortimoshenko: Merge pull request #40570 from teozkr/fix/nixops-1.6.1pre2622_f10999a
<symphorien> ah ok
<symphorien> maybe you can make a wrapper which removes the pkgs argument if necessary
<johnw> but how do I tell if it's necesasry
<johnw> that's the crux of the probelm
<johnw> I can't query the function
<johnw> if it takes the parameter, I *need* to pass it
<johnw> if it doesn't take the parameter, I *can't* pass it
<symphorien> ah you mean "not always the same function" ?
<johnw> yeah, sometimes it's a function generated by cabal2nix
<symphorien> there is a builtin tryEval iirc
<johnw> sometimes it's a function I've written that is parameterized over which nixpkgs it uses
<johnw> so, I'm using tryEval
<johnw> it apparently does not catch this particular error
<johnw> my stack trace is from the tryEval call!
aarvar has quit [Quit: Leaving.]
<symphorien> so either your function is that of cabal2nix, or it is yours, with the same signature plus pkgs, right ?
sigmundv__ has quit [Ping timeout: 256 seconds]
<johnw> yes
<johnw> not quite, but roughly
pxc has quit [Quit: WeeChat 2.1]
nur0n0 has joined #nixos
<johnw> i'll try to avoid needing to konw the distunciton
<symphorien> and are you sure you need these extra params ?
jperras has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
<symphorien> a ugly hack would be to add an attribute pkgs to one of the original arguments and have your function use it instead of needing an extra argument
<johnw> haha
<symphorien> > clang.cc.gcc
<{^_^}> "«derivation /nix/store/zs79409csarlrczm918bn9vq3zmhyhb6-gcc-7.3.0.drv»"
<symphorien> I think this is one of the reasons clang has a gcc argument
<__monty__> Came across some sad news on r/haskell and I know ertes frequented this channel too: https://byorgey.wordpress.com/2018/05/21/ertugrul-soylemez-1985-2018/
<gchristensen> __monty__: oh no :( thank yo for sharing
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smallville7123 has quit [Quit: rosa]
nschoe has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @shlevy opened pull request #40937 → treewide: Remove uses of builtins.toPath. → https://git.io/vhJwT
rihards has quit [Quit: rihards]
<ij> he convinced me to start using nix for packaging my haskell toys
<{^_^}> [nixpkgs] @yegortimoshenko pushed to yegortimoshenko-patch-4 « nodejs: update to nodejs-8_x »: https://git.io/vhJwg
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #40938 → nodejs: update to nodejs-8_x → https://git.io/vhJw6
thblt has quit [Remote host closed the connection]
thblt has joined #nixos
Havvy has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #40939 → compy proxy and module → https://git.io/vhJrv
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #39982 → nixos/powerManagement: add "med_power_with_dipm" scsiLinkPolicy → https://git.io/vpVM9
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhJrI
<{^_^}> → 19445fa1 by @tadfisher: nixos/powerManagement: add "med_power_with_dipm" scsiLinkPolicy
<{^_^}> → 332e8b40 by @yegortimoshenko: Merge pull request #39982 from tadfisher/scsi-link-policy
simukis has quit [Quit: simukis]
fragamus has joined #nixos
<{^_^}> [nixpkgs] @svanderburg pushed to release-18.03 « dysnomia module: change postgres administration user to root »: https://git.io/vhJrS
halfbit has joined #nixos
Ariakenom has quit [Quit: Leaving]
freeman42x[nix] has quit [Ping timeout: 245 seconds]
vaninwagen has quit [Quit: WeeChat 2.0]
vaninwagen has joined #nixos
nschoe has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40938 → nodejs: update to nodejs-8_x → https://git.io/vhJw6
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhJKC
<{^_^}> → 0928b2a0 by @yegortimoshenko: nodejs: update to nodejs-8_x
<{^_^}> → 60ffad55 by @yegortimoshenko: Merge pull request #40938 from NixOS/yegortimoshenko-patch-4
<{^_^}> [nixpkgs] @yegortimoshenko closed pull request #40815 → yarn: use nodejs 8.x → https://git.io/vphPF
tv has quit [Ping timeout: 264 seconds]
tertle||eltret has joined #nixos
vaninwagen has quit [Quit: WeeChat 2.1]
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<{^_^}> [nixpkgs] @yegortimoshenko pushed 0 commits to yegortimoshenko-patch-4: https://git.io/vhJK1
infinisil has joined #nixos
chessai has quit [Remote host closed the connection]
<judson> Does anyone use Zoom on NixOS?
<infinisil> ,ask judson
<{^_^}> judson: Don't ask if anyone uses software xyz, just ask your specific question. This helps solve your problem quicker, and allows people who haven't used xyz but may still be able to help you to do so.
<{^_^}> [nixpkgs] @dtzWill opened pull request #40940 → bloaty: 2017-10-05 -> 2018-05-22 → https://git.io/vhJiC
<judson> Zoom seems to utterly fail for me. Chrome wants to use xdg-open which opens an empty chrome window. I installed zoom-us with nix-env. Still no dice with xdg-open, and running `zoom-us` directly crashes with "could not initialize GLX"
<judson> It looks totally broken, so if no one uses it I wonder if it's a bad expression.
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bobvanderlinden has joined #nixos
<judson> On the other hand, if no one uses it, it may not be worth trying to formulate the exact question for this particular program.
<judson> Sorry, infinisil, if I'm tetchy. Not a fan of bot auto-answers.
<infinisil> It's the same in all channels :)
sbdchd has joined #nixos
<infinisil> Well not the bot, but that you shouldn't ask "does anybody use"
seafood has joined #nixos
aarvar has joined #nixos
<infinisil> But #emacs has a better response
<infinisil> ,ask = Just ask your question. It's the best way to know if anybody can help.
<{^_^}> ask defined
<bobvanderlinden> I see that `builtins.fetchurl` isn't being used that often. However, it seems it does have support for `netrc-file` from `nix.conf`. Basically, when should `builtins.fetchurl` be used over `pkgs.lib.fetchurl` and the other way around?
jasongrossman has joined #nixos
<infinisil> bobvanderlinden: builtins.fetchurl does the fetching at evaluation time, before any derivation is built, and as such it provides the only way to fetch something without knowing the hash of it
<elvishjerricco> bobvanderlinden: I may be misremembering, but I believe builtins.fetchurl didn't used to take a sha256 argument, which makes it somewhat impure. For backwards compatibility nixpkgs just doesn't use it.
mjrosenb has joined #nixos
<emmanuelrosa> judson, I've used zoom on a Mac Mini running NixOS. It worked, but it made the case of the Mac Mini feel like the inside of an oven. So I don't use it anymore. Have you checked your GLX setup with glxinfo?
<elvishjerricco> infinisil: It can take a sha256 argument now, can't it?
<mjrosenb> so, I heard that I can install ghcjs through nix. Does anyone know how exactly that can be done?
<infinisil> elvishjerricco: Yeah
<elvishjerricco> mjrosenb: nix-env -iA nixpkgs.haskell.compiler.ghcjs
<infinisil> bobvanderlinden: So builtins.fetchurl without a hash is also insecure, because the content might change under your nose.
<infinisil> But with a hash, builtins.fetchurl should be preferred when you need to eval nix inside the fetched url, which avoids the slower import-from-derivation you'd get when you'd use pkgs.fetchurl for it
<bobvanderlinden> infinisil: alright, so basically we can all start using builtins.fetchurl instead of lib.fetchurl as long as we're using a sha
<elvishjerricco> infinisil: the sha256 arg is new in 2.0, right? So we can't do that in nixpkgs
<infinisil> bobvanderlinden: Hmm.. not really, I'd still prefer pkgs.fetchurl if you can
<bobvanderlinden> and *essentially* builtins.fetchurl without sha should be deprecated
<infinisil> It has more flexibility I think
<judson> ,xy
<bobvanderlinden> infinisil: why?
<clever> pkgs.fetchurl supports a list of mirrors, and downloading the first url from a list that works
<judson> emmanuelrosa, seems to work fine? I never retain much of the X stuff between problems though.
<bobvanderlinden> clever: ah that's a good point
<bobvanderlinden> clever: I'm thinking that lib.fetchurl is a bit of a hack. It runs curl inside of a build environment impurely and then makes it 'safe' by doing its own checks
<mjrosenb> elvishjerricco: thanks! -- now the obvious question
<mjrosenb> nix-env -qa ghcjs
<infinisil> judson: Feel free to add that command :)
<mjrosenb> error: selector 'ghcjs' matches no derivations
<mjrosenb> what did I do wrong there?
<infinisil> > pkgs.haskell.compiler.ghcjs
<{^_^}> "«derivation /nix/store/q2z31kaysblrcgc4dyw189857m1zj7ba-ghcjs.drv»"
<bobvanderlinden> whereas only allowing nix to do impure things seems more safe
<clever> bobvanderlinden: pkgs.fetchurl runs curl inside a nix derivation, and only by declaring the hash of the output, will nix allow network access
<clever> bobvanderlinden: when sandboxing is enabled, nix can block the network access for non-fixedoutput derivations
<bobvanderlinden> clever: hmm that's true
<bobvanderlinden> clever: I'm kindof bummed about the netrc support being all over the place
<elvishjerricco> mjrosenb: What version of Nix do you have?
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/729da53a147 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/077bb0876bf (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<mjrosenb> I installed this like 2 days ago, and i've never used nix before, so I have literally no idea what I'm doing.
<mjrosenb> nix-env (Nix) 2.0.2
<infinisil> ,-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<infinisil> With -A you can just install it with `nix-env -iA nixos.haskell.compiler.ghcjs`
<bobvanderlinden> clever: basically nix.conf tells me to use `netrc-file` option. but then when I use that I notice that it only applies to `builtins.fetchurl` and basically everyone/everything is using `lib.fetchurl`, so the option is actually useless
<infinisil> mjrosenb: ^
hiratara has quit [Ping timeout: 260 seconds]
<elvishjerricco> infinisil: nixos? Wouldn't it be nixpkgs?
<judson> Maybe it's more basic than that: > zoom-us => sh: /nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131/lib/libc.so.6: version `GLIBC_2.27' not found (required by /nix/store/fycm4swi722vz4l5ckpqrd4nfzj6av79-v4l-utils-1.12.3/lib/libv4l2.so.0)
<clever> > lib.fetchurl
<{^_^}> attribute 'fetchurl' missing, at (string):41:1
<clever> bobvanderlinden: that function doesnt exist
<bobvanderlinden> clever: eeh, i'm sorry, I meant the fetchurl from nixpkgs
<desttinghim[m]> I'm trying to change the channel that nixos is using for installing derivations
<infinisil> elvishjerricco: Ah right, mjrosenb replace nixos with nixpkgs in your case
<bobvanderlinden> thought it was inside lib, but it's probably in `pkgs`
hiratara has joined #nixos
<judson> It looks like v4l wants Glibc 2.27, but nixpkgs has 2.26 :/
<clever> bobvanderlinden: NIX_CURL_FLAGS should still work with pkgs.fetchurl
<clever> bobvanderlinden: but it has to be set in the context of nix-daemon
<elvishjerricco> infinisil: Pretty sure that's what I told them to do :P
<desttinghim[m]> But for some reason `nix-channel` doesn't seem to be working
<jasongrossman> desttinghim[m]: And what's going wrong? (My guess is that you're having trouble with the NAMING of channels. That's a problem I had. The manual contains good instructions though.)
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40940 → bloaty: 2017-10-05 -> 2018-05-22 → https://git.io/vhJiC
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhJ1O
<{^_^}> → b7fe62d5 by @dtzWill: bloaty: 2017-10-05 -> 2018-05-22
<infinisil> elvishjerricco: (Just to mention their nick with it, there's a lot of msgs here rn :))
<{^_^}> → 8343b0a7 by @yegortimoshenko: Merge pull request #40940 from dtzWill/update/bloaty-2018-05-22
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bobvanderlinden> clever: yes, but the netrc file also needs to be inside the derivation. That means that I need to expose my netrc file inside the sandbox. that means that all builders can basically read all my credentials and send them to whereever
<infinisil> > :u
<clever> bobvanderlinden: what are you trying to do?
<{^_^}> Updated nixpkgs
<infinisil> > pkgs.glibc.name # Judson
<{^_^}> "glibc-2.27"
cnidario has joined #nixos
<bobvanderlinden> clever: basically I want my company (or collegues) to use Nix
<clever> bobvanderlinden: is the source on some git server?
<desttinghim[m]> jasongrossman: when I install using `nix-env -iA nixos.haxe`, I get an older version than when I do `nix-env -f ~/Documents/nixos/nixpkgs/default.nix -iA haxe`
<infinisil> judson: Master has the one it needs apparently
<bobvanderlinden> clever: but they need private packages to be available (build from Github and other binary sources)
<clever> desttinghim[m]: nix-env -iA nixos.haxe uses the nixos entry in ~/.nix-defexpr/
<clever> bobvanderlinden: i would use builtins.fetchGit for that, with an ssh based url
<bobvanderlinden> clever: yes, Github, Gemfury, jfrog, what have you
<clever> bobvanderlinden: then it will just run `git clone` outside of the sandbox
<infinisil> When can we finally get rid of this ~/.nix-defexpr :/, it's weird and confusing
<clever> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<bobvanderlinden> clever: what about fetchurl (for https sources)
<desttinghim[m]> jasongrossman: what I'm really looking to do is get a `default.nix` configured for a development environment
<clever> bobvanderlinden: fetchGit supports using your ssh-agent, and the secrets wont be sent to the remote machine
<jasongrossman> desttinghim[m]: default.nix rather than /etc/nixos/configuration.nix? The latter is the standard place to put system-wide stuff.
<{^_^}> [nixpkgs] @yegortimoshenko closed pull request #38619 → lumo: init at 1.8 → https://git.io/vxQFY
<desttinghim[m]> jasongrossman: either way really
<clever> bobvanderlinden: for example: builtins.fetchGit { url = "git@github.com:cleverca22/nixos-configs"; }
<bobvanderlinden> clever: but i still need https sources to be available as well
<jasongrossman> I'm not sure why you're using ~/Documents/nixos/nixpkgs/default.ni - is there a particular reason, or is that just the first thing you tried? I'm sure it's OK, I just don't think it's normal.
<clever> bobvanderlinden: what do you need secrets for with https?
<bobvanderlinden> clever: or at least I don't think it's a viable option to copy everything to git repos
<jasongrossman> OK, so most people put stuff in /etc/nixos/configuration.nix, although a drawback of that is that everything in there is systemwide (available to all users).
<desttinghim[m]> That's the git repository
iqubic has joined #nixos
<jasongrossman> I see. Cool. Suggest you don't add stuff to the clone of the git repository.
<bobvanderlinden> clever: one I ran into: a Maven repository
jtojnar has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #36462 → nghttp2: 1.24.0 -> 1.31.0 → https://git.io/vANCZ
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhJ1y
<{^_^}> → d72a0e71 by @dtzWill: nghttp2: 1.24.0 -> 1.31.0
<{^_^}> → 2e7897ab by @yegortimoshenko: Merge pull request #36462 from dtzWill/update/nghttp2-1.31.0
<jasongrossman> Once you've decided where to put your configuration, then you can make sure you've got that set to the channel you want.
<clever> bobvanderlinden: ah, id just use builtins.fetchurl for the select places where you need secrets, and pkgs.fetchurl for others
jtojnar_ has joined #nixos
<jasongrossman> You don't necessarily want the latest channel - there's a choice of three, basically, with varying degrees of stability.
jfroche has quit [Remote host closed the connection]
<infinisil> clever: (Or IFD)
jtojnar_ is now known as jtojnar
<jasongrossman> They're called master, unstable, and 18.03 (which is the latest stable).
<bobvanderlinden> clever: alright, i'll note that down as a best practice for companies to use
<bobvanderlinden> clever: I was working on gathering some best practices here: https://nixos.wiki/wiki/Enterprise
<bobvanderlinden> because I love Nix for my own use, but I keep running into problems when I try to implement Nix at work
<jasongrossman> And you have a choice of adding packages declaratively (by listing them in your config file) or interactively (using nix-env). Declaratively is probably better IMO, but it's up to you. If that all makes sense, read up about channels in the manual and then let us know if you're still having problems.
genesis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40830 → udiskie: 1.7.3 -> 1.7.4 → https://git.io/vphh5
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhJMk
<{^_^}> → 27777ed2 by R. RyanTM: python27Packages.udiskie: 1.7.3 -> 1.7.4
<{^_^}> → 1aed893d by @yegortimoshenko: Merge pull request #40830 from r-ryantm/auto-update/udiskie
<desttinghim[m]> jasongrossman: how would I configure it to use the master branch by default?
seafood has quit [Quit: seafood]
<desttinghim[m]> Also, specifically looking to have this commit in there: https://github.com/NixOS/nixpkgs/commit/683e2067d796f90cb9cff5a610d436afaa395302
<clever> bobvanderlinden: everything i work with is open on github, so its less of an issue here
<bobvanderlinden> clever: thanks for your time. it seems to be working nicely with `builtins.fetchurl`
<emmanuelrosa> hudson, I just ran zoom on my machine. I didn't log in, but got the login prompt. I'm running NixOS "unstable."
<{^_^}> [nixpkgs] @dotlambda merged pull request #40527 → pythonPackages.asyncssh: init at 1.13.0 → https://git.io/vpQHl
<{^_^}> [nixpkgs] @dotlambda pushed commit from @worldofpeace to master « pythonPackages.asyncssh: init at 1.13.0 (#40527) »: https://git.io/vhJM1
<samueldr> bobvanderlinden: thanks for the wiki contributions :) if you ever have a question specific to the wiki (e.g. formatting) don't hesitate to ask in #nixos-wiki
<emmanuelrosa> hudson, if you need zoom to run on NixOS Impala, PM me. glibc 2.26 is available, so this is definately fixable.
jperras has quit [Ping timeout: 252 seconds]
<infinisil> emmanuelrosa: http://www.d-e-f-i-n-i-t-e-l-y.com/
<{^_^}> [nixpkgs] @dezgeg pushed 2 commits to staging: https://git.io/vhJDC
<{^_^}> → aedc169d by @dezgeg: serf: Simplify
<{^_^}> → 20c2fd73 by @dezgeg: apr-util: Fixup apu-1-config
<infinisil> I should make the bot post this url every time somebody misspells definitely :P
knupfer has joined #nixos
<bobvanderlinden> samueldr: will do, if you have suggestions, i'm all ears ;)
<desttinghim[m]> jasongrossman: figured it out. I have to use a different prefix e.g. nixpkgs instead of nixos
jtojnar has quit [Quit: jtojnar]
jtojnar_ has joined #nixos
<desttinghim[m]> thanks for the help
<bobvanderlinden> clever: I see what you mean now with evaluation time. Nix isn't me giving any output for quite a while now, because it needs to download 1277 packages in one go :-/
<samueldr> ah nothing, welcoming you since I'm sure some contributors don't know about the IRC channel
jtojnar_ is now known as jtojnar
athan has joined #nixos
<clever> bobvanderlinden: ah yeah, builtins.fetchurl cant be done in parallel
<clever> bobvanderlinden: but pkgs.fetchurl can be
<bobvanderlinden> clever: noooo! haha ok hmm, I guess exposing all credentials in sandbox is more viable then
rain1 has quit [Quit: Leaving]
<clever> bobvanderlinden: there is a 3rd fetchurl, let me find it
<bobvanderlinden> clever: still though not really a best practice to dot down in the wiki 8-|
sbdchd has quit [Remote host closed the connection]
<clever> bobvanderlinden: https://github.com/NixOS/nix/blob/master/src/libexpr/primops.cc#L2057-L2060 this is the implementation of builtins.fetchurl
<clever> Path res = getDownloader()->downloadCached(state.store, url, unpack, name, expectedHash);
<jasongrossman> desttinghim[m]: \o/
<clever> it ultimately calls this, and blocks the eval until it has finished
<jasongrossman> desttinghim[m]: Well done.
muzzy has quit [Ping timeout: 240 seconds]
<clever> bobvanderlinden: this is import <nix/fetchurl.nix>, the 3rd fetchurl
<samueldr> a couple days ago, I asked about cross building, had some good answers, I can build e.g. hello or some other stuff for armv6 or armv7 easily (though verbosely)
<clever> bobvanderlinden: try switching to import <nix/fetchurl.nix>, i think that one obeys netrc securely, and can be done in parallel
<samueldr> 1) anyone has notes about building a complete os with cross? the sd-images can't build due to asserts, and trying for raspberry pi it looks like the kernel doesn't build (?)
<bobvanderlinden> clever: wow sneaky
<samueldr> 2) after building an armv6l hello, what would be the most sane way to use it on a target device? Is it possible to initiate the build from the armv6 device?
<bobvanderlinden> clever: ok lemme try
<bobvanderlinden> seems to work in nix repl
<samueldr> (I know about, and I'm not talking about the qemu trick)
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40626 → sqlite: 3.22.0 -> 3.23.1 → https://git.io/vpbzb
<{^_^}> [nixpkgs] @yegortimoshenko pushed 7 commits to staging: https://git.io/vhJyu
<{^_^}> → a6d8d54e by @dtzWill: sqlite: 3.22.0 -> 3.23.1
coot has quit [Quit: coot]
<{^_^}> → 1d6a14e2 by @dtzWill: sqlite: Add zlib dep, needed for sqlar support.
<{^_^}> → 8c755ad7 by @dtzWill: sqlite3_analyzer: 3.22.0 -> 3.23.1 (to match sqlite3)
<{^_^}> [nixpkgs] @yegortimoshenko pushed to yegortimoshenko-patch-4 « pythonPackages.udiskie: replace alias with abort »: https://git.io/vhJyV
bennofs has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #40942 → pythonPackages.udiskie: replace alias with abort → https://git.io/vhJyK
cnidario has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #40943 → nghttp2: 1.31.0 -> 1.32.0 → https://git.io/vhJy6
hiratara has quit [Quit: ZNC - http://znc.in]
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40942 → pythonPackages.udiskie: replace alias with abort → https://git.io/vhJyK
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhJy1
<{^_^}> → 437ee38c by @yegortimoshenko: pythonPackages.udiskie: replace alias with abort
<{^_^}> → 81a1dff0 by @yegortimoshenko: Merge pull request #40942 from NixOS/yegortimoshenko-patch-4
hiratara has joined #nixos
sigmundv_ has joined #nixos
<dtz> weeeeeeeee
<dtz> <3
<{^_^}> [nixpkgs] @dotlambda pushed to revert-40942-yegortimoshenko-patch-4 « Revert "pythonPackages.udiskie: replace alias with abort" »: https://git.io/vhJSJ
<{^_^}> [nixpkgs] @dotlambda pushed to master « Revert "pythonPackages.udiskie: replace alias with abort" »: https://git.io/vhJSY
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40943 → nghttp2: 1.31.0 -> 1.32.0 → https://git.io/vhJy6
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhJSl
<{^_^}> → d8b96d57 by @dtzWill: nghttp2: 1.31.0 -> 1.32.0
<{^_^}> → 3203c12b by @yegortimoshenko: Merge pull request #40943 from dtzWill/update/nghttp2-1.32
<{^_^}> [nixpkgs] @yegortimoshenko pushed 0 commits to yegortimoshenko-patch-4: https://git.io/vhJS2
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 0 commits to revert-40942-yegortimoshenko-patch-4: https://git.io/vhJSX
fragamus has joined #nixos
jperras has joined #nixos
__monty__ has quit [Quit: leaving]
xy2_ has quit [Ping timeout: 245 seconds]
<bobvanderlinden> clever: ok, that seems to have worked! :-| I feel like this is the most undocumented way to retrieve things!
<clever> time to document it!
<bobvanderlinden> should people really use `import <nix/fetchurl.nix> { something }`, that feels like it should be wrapped in a function somewhere somehow
<bobvanderlinden> oh it is also being used in boot.nix
jperras has quit [Ping timeout: 245 seconds]
<bobvanderlinden> nixpkgs/pkgs/build-support/fetchurl/boot.nix
<bobvanderlinden> i'm on osx currently, so it could be that netrc-file will work on nixos linux, but not on osx
<bobvanderlinden> oh wait, it's only for bootstrapping
<bobvanderlinden> alright, nm
<{^_^}> [nixpkgs] @dotlambda opened pull request #40944 → pythonPackages.udiskie: replace alias by throw → https://git.io/vhJ99
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40944 → pythonPackages.udiskie: replace alias by throw → https://git.io/vhJ99
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhJ9b
<{^_^}> → 9e5c5d95 by @dotlambda: pythonPackages.udiskie: replace alias by throw
<{^_^}> → 9530d717 by @yegortimoshenko: Merge pull request #40944 from dotlambda/python-udiskie-throw
bennofs has joined #nixos
knupfer has quit [Ping timeout: 245 seconds]
bennofs has quit [Client Quit]
sanscoeur has quit [Ping timeout: 245 seconds]
PCChris has quit [Remote host closed the connection]
PCChris has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #40945 → sqlite{,-analyzer}: use the same src → https://git.io/vhJQf
emmanuelrosa has left #nixos [#nixos]
<bobvanderlinden> clever: alright, updated the wiki with the recommendation to use fetchurlBoot for private resources: https://nixos.wiki/wiki/Enterprise. I still need to experiment with using fetchurlBoot for everything though. It would be nice to make that more seamless.
<bobvanderlinden> that's for another time though. it's way past my self-defined curfew. Thanks again!
<adelbertc> has anyone seen this error:
<adelbertc> ```
<adelbertc> /nix/store/73jpvs9j0rk37xs3r61y3aldr9sh741h-stdenv/setup: eval: line 1231: syntax error near unexpected token `('
<adelbertc> ```
<adelbertc> then i look at line 1231 of that file it is just a blank line
erasmas has quit [Quit: leaving]
<samueldr> I think I have
bobvanderlinden has quit [Ping timeout: 260 seconds]
derchris1 has joined #nixos
<adelbertc> samueldr: i am indeed using it in the context of Docker
<adelbertc> hm
mkoenig has quit [Remote host closed the connection]
<adelbertc> samueldr: did you ever get around this?
<samueldr> haven't taken the time (off work) to check that
<adelbertc> somehow
jtojnar has quit [Quit: jtojnar]
<samueldr> I'll be right back in ~10 minutes
jtojnar has joined #nixos
<samueldr> but yes, going before the mentionned commit
<adelbertc> samueldr: what is weird is the nixpkgs revision we're using hasn't changed
<adelbertc> only the script has changed
derchris_ has quit [Ping timeout: 264 seconds]
mkoenig has joined #nixos
codelurker_ has joined #nixos
endformationage has quit [Ping timeout: 260 seconds]
<adelbertc> hm also not using `buildImageWithNixDb`
<adelbertc> not directly at least
<samueldr> whew, typing with a plate of food in front isn't the best
<adelbertc> its failing during a builder for a shell script
<samueldr> let me first try re-reproducing my issue
lord| has quit [Quit: WeeChat 2.1]
<adelbertc> 👍
fresheyeball has joined #nixos
<fresheyeball> hey folks
sbdchd has joined #nixos
<fresheyeball> I can't seem to get this to work
<fresheyeball> the override just doesn't get evaled
jperras has joined #nixos
<clever> fresheyeball: what nix-build args are you using to test that?
<samueldr> adelbertc: I have updated my issue with a self-contained repro.nix which I just verified to work/fail depending
<fresheyeball> clever: I was just trying to enter a nix shell
fxr has joined #nixos
<clever> fresheyeball: the override puts the source in the streamly attr
<samueldr> adelbertc: if it isn't too hard, could you try with the same revisions? (assuming everything you need is there in those older revisions)
<clever> fresheyeball: so the nix-shell gives you a shell that is suitable for downloading the src
<fresheyeball> clever: I just want cabal to find the package
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<clever> you want to run hself.callCabal2nix "streamly" streamly {};
<adelbertc> samueldr: we do need a particular revision that is incidentally later than the one your issue ticket points out :/
jperras has quit [Ping timeout: 260 seconds]
<samueldr> sure, but it'd help figuring out if it's the same exact issue
<samueldr> that's not a fix!
asuryawanshi has quit [Ping timeout: 252 seconds]
fragamus has joined #nixos
tv has joined #nixos
woodson has quit [Ping timeout: 248 seconds]
jasongrossman has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<adelbertc> samueldr: sorry i dont follow?
<samueldr> I may have misunderstood you, but the reason I wanted you to try was only to see if it was the same cause for your issue
<samueldr> I wouldn't consider using an old nixpkgs revision a fix
<adelbertc> right of course :)
<{^_^}> [nixpkgs] @baracoder opened pull request #40946 → springlobby: 0.255 -> 0.264 with buildFHSUserEnv → https://git.io/vhJ5m
<adelbertc> i think ours have the same error message
<adelbertc> but different sources
rain1 has joined #nixos
<adelbertc> mine is failing on building a shell scrip
<adelbertc> script*
<samueldr> my memory is fuzzy, but the issue comes from how the script is called when buildImageWithNixDb is called
<samueldr> the script with the extraCommands or runAsRoot
<adelbertc> yeah i dont think mine is even getting that far
<samueldr> what's (probably) happening is that it fails where it's sourced
<adelbertc> thinking..
lord| has joined #nixos
<samueldr> eval'd, not sourced
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> hah!
<adelbertc> ?
<samueldr> adelbertc: PR incoming
<samueldr> (since february I've learned so much, now the issue is more obvious)
<adelbertc> is it related to dockerTools?
<adelbertc> or something else
pxc1 has quit [Ping timeout: 240 seconds]
<samueldr> dockerTools
<samueldr> well, for my reproducible issue at least
<adelbertc> ill be surprised if it fixes my issue, but ill try it :)
endformationage has joined #nixos
woodson has joined #nixos
* samueldr hates and loves writing commit messages