gchristensen changed the topic of #nixos to: NixOS stable: 18.09, beta: 19.03 https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950 || 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, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
jluttine has quit [Ping timeout: 252 seconds]
jtojnar has quit [Remote host closed the connection]
<justanotheruser> azazel: shouldn't this result in the script running `git` under the user `andrew`? https://paste.debian.net/plain/1071996 I'm getting "line 11: git: command not found"
<justanotheruser> however andrew has git
<jackdk> Use ${git}/bin/git ?
<{^_^}> [nixpkgs] @danbst merged pull request #56856 → zram: revert "change default algorithm to zstd" (19.03) → https://git.io/fhxof
<{^_^}> [nixpkgs] @danbst pushed to release-19.03 « zram: revert "change default algorithm to zstd" (#56856) »: https://git.io/fhpzG
ddellacosta has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @danbst merged pull request #56948 → nixos/auto-upgrade: enable service only when it's enabled in options → https://git.io/fhpOi
<{^_^}> [nixpkgs] @danbst pushed to master « nixos/auto-upgrade: enable service only when it's enabled in options (#56948) »: https://git.io/fhpzZ
ddellacosta has joined #nixos
<adamt> justanotheruser: Also, if you use paths like "${pkgs.foo}/bin/foo" you don't have to add the pkg to the list of system packages. Nix will just ensure it's available from where you call it
<azazel> justanotheruser: use the "path" option (a list) to specify what should be in the PATH of the script, or directly reference the full path to the git executable, like jackd suggested
fractalcat has joined #nixos
<garbas> LnL: i see that a lot have changes in last 2 months with python packages. is there somewhere i can read about it? i need to know how to fix pypi2nix to work with unstable
ng0 has quit [Quit: Alexa, when is the end of world?]
rprije has joined #nixos
<LnL> not sure, I mostly use my own infrastructure outside of nixpkgs
gagbo has joined #nixos
alex`` has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @danbst pushed to master « zram: revert "change default algorithm to zstd" (#56856) »: https://git.io/fhpzW
<LnL> but I know mkPythonPackage now uses strictDeps = true which might be the main thing you're running into
stepcut has joined #nixos
<garbas> LnL: i see a lot has changed. is this why i can not see pkg-config when you do: nix-shell -A python37Packages.subunit
jluttine has joined #nixos
<garbas> wherever i put pkgconfig (buildNativeInputs, buildInputs, checkInputs) it doesn't show up in path
<{^_^}> [nixpkgs] @knedlsepp opened pull request #57002 → udocker: Fix build → https://git.io/fhpzB
<LnL> yeah probably nativeBuildInputs/propagatedNativeBuildInputs => PATH, buildInputs/nativeBuildInputs => libs/headers
stepcut has quit [Remote host closed the connection]
<garbas> tnx. i'll try to play around a bit
<garbas>
<garbas> propagatedNativeBuildInputs did the trick
<LnL> without strictDeps everything gets added which is simpler, but less flexible since you can't choose between bin or headers/libs
<LnL> I think the main reason it was enabled is the fact that propagated* inputs are overused
thomashoneyman has joined #nixos
<thomashoneyman> alright folks i'm gonna give this another go. current status: day 3 of attempted NixOS installation on Dell Precision 5530 dual-booting windows
pie_ has quit [Ping timeout: 245 seconds]
<thomashoneyman> as of this moment i'm able to boot into NixOS so long as I do not enable xserver
<thomashoneyman> enabling it causes the machine to load into what looks like a blank terminal
<thomashoneyman> using the graphical installer and booting from the usb has the same result
<thomashoneyman> just in case i messed up the graphical installer, i'm using windows and the rufus application to write the nixos 18.09 installer to a 16gb usb
mbrgm_ has joined #nixos
<thomashoneyman> actually: using the installation guide's recommended installer, USBWriter
<garbas> thomashoneyman: i'm not familiar with dell models but did you look at what other try to do for xps https://github.com/NixOS/nixos-hardware/tree/master/dell/xps
<garbas> i would blame grafical card for your troubles
stepcut has joined #nixos
<gchristensen> garbas! <3
<azazel> thomashoneyman: yours has an intel graphic card?
mbrgm has quit [Ping timeout: 255 seconds]
mbrgm_ is now known as mbrgm
<LnL> garbas: btw, I actually started looking at splitting some of my stuff out to make it more reliable and reusable
<garbas> gchristensen! i'm using my one day a month escape joker :)
<gchristensen> haha, awesome :D
<gchristensen> nice to see you =)
<thomashoneyman> i would agree
maximiliantagher has quit [Remote host closed the connection]
<LnL> garbas: 1st part is something to generate a repo of pypi metadata that could be used by more than one expression generator
<thomashoneyman> i've got: Intel UHD Graphics 630 and NVIDIA Quadro P2000
<azazel> doh, it's an issue that both are active
<garbas> LnL: i abandone hopes to package entire pypi :)
<azazel> as suggested by garbas, look into nixos-hardware, I bet it's something similar to https://wiki.archlinux.org/index.php/Dell_XPS_15#Graphics
<garbas> LnL: i'm more interested in having a tool (pypi2nix) which tries to reliably pin the right packages
<thomashoneyman> azazel: reading right now!
<LnL> garbas: hehe, I don't have any plans to package everything
thc202 has quit [Ping timeout: 240 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ivan opened pull request #57003 → chromium: fix sha256 for 72.0.3626.121 → https://git.io/fhpzV
maximiliantagher has joined #nixos
<garbas> pie__: i think i fixed pypi2nix so that it works with unstable channel, but you have to use it from master
fusion809 has quit [Remote host closed the connection]
Rusty1 has joined #nixos
stepcut has joined #nixos
<azazel> garbas: does pypi2nix try to reuse packages from nixpkgs when they are available there?
<azazel> garbas: I'm thinking especially at framework packages like Django
<garbas> azazel: no that is not possible. everything has to be packaged by pypi2nix
<garbas> azazel: otherwise you can not guarentee that requirements accross packages are correct
<garbas> azazel: i personally don't use django, but it would be nice to get somebody that know django to expend that set https://github.com/garbas/nixpkgs-python/tree/master/django
fusion809 has joined #nixos
<azazel> garbas: pip2nix tries to do that I think
<azazel> garbas: I too try to avoid using it when possible, but you know... ;-)
<garbas> yeah, good luck. at the end you are just hoping that everything works, since you are blindly merging 2 pythonpaths
<pie__> garbas, ok thanks ill try tomorrow
fusion809 has quit [Ping timeout: 240 seconds]
gagbo has quit [Quit: I'm out !]
elibrokeit has quit [Read error: Connection reset by peer]
goibhniu has quit [Ping timeout: 245 seconds]
nD5Xjz has quit [Ping timeout: 245 seconds]
nD5Xjz has joined #nixos
Fare has joined #nixos
<thomashoneyman> wow! just learned about `pastebinit`
<thomashoneyman> i can actually share my config / errors / etc. now
silver has quit [Read error: Connection reset by peer]
jluttine has quit [Ping timeout: 245 seconds]
<buckley310> http://ix.io/
<buckley310> cli-native pastebin
acarrico has joined #nixos
<thomashoneyman> well, i took the nvidia advice from the nixos-hardware/dell/xps folder
<thomashoneyman> and i no longer start the xserver only to get a blank termnila
<thomashoneyman> instead, now it simply freezes altogether
<thomashoneyman> current configuration:
<thomashoneyman> azazel: i was hoping that'd be it, but apparently no luck
jluttine has joined #nixos
ErAsMuS has joined #nixos
<azazel> thomashoneyman: I you have to look into the xserver's logs to understand what happens
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhpgI
<thomashoneyman> i'm looking at kernel logs right now, some bluetooth and mouse failures, but that's about it
<thomashoneyman> the display-manager service has no logs
<thomashoneyman> ah, i set a desktopManager instead of displayManager, so perhaps that's it
<thomashoneyman> i can switch that and try again
<thomashoneyman> azazel: i'm looking at /var/log/X.0.log
<{^_^}> [nixpkgs] @aanderse opened pull request #57004 → cmus: added mpris support on linux → https://git.io/fhpgt
<thomashoneyman> it doesn't look like it was updated on my last run
<thomashoneyman> of the machine
<thomashoneyman> it looks like things crashed before that point but i don't know where that might be logged
vk3wtf has joined #nixos
<azazel> thomashoneyman: journalctl
<thomashoneyman> what arg?
<thomashoneyman> xserver?
<azazel> thomashoneyman: if you don't know where to look use it without arguments, it will give you the complete machine logs
jackdk has quit [Ping timeout: 244 seconds]
<thomashoneyman> azazel: just used it without args; i don't see errors relating to X
<thomashoneyman> i do see the bluetooth errors and it looks like my login is there just fine
<thomashoneyman> like it registers that i logged in as root about 10 minutes ago
<thomashoneyman> so it seems accurate to the last run
<{^_^}> [nixpkgs] @dtzWill merged pull request #56983 → xapian: 1.4.10 -> 1.4.11 → https://git.io/fhpRO
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhpgY
<thomashoneyman> oh wait, i'm being an idiot, that's the session i'm in now
<thomashoneyman> need the previous one
<azazel> no, of course, that's the only exception... as you can see /var/log doesn't contain much more than the X.log
<{^_^}> [nixpkgs] @dtzWill merged pull request #56984 → birdfont: 2.25.0 -> 2.26.0 → https://git.io/fhpRZ
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhpgO
q6AA4FD has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has quit [Quit: ZNC is awesome]
jackdk has joined #nixos
eeva has quit [Remote host closed the connection]
eeva has joined #nixos
ar1a has quit [Ping timeout: 246 seconds]
viric has quit [Ping timeout: 246 seconds]
viric has joined #nixos
cantstanya has quit [Ping timeout: 256 seconds]
ar1a has joined #nixos
cantstanya has joined #nixos
drakonis_ has joined #nixos
zfnmxt has quit [Ping timeout: 250 seconds]
<thomashoneyman> azazel: yea, there is nothing about xserver in here
<thomashoneyman> like the logs consistently stop after root login
<thomashoneyman> presumably because then the display-manager starts
<thomashoneyman> but i don't get errors related to that, it simply then starts logs at the next boot, after i've had to forcibly power off
nikivi has joined #nixos
slack1256 has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 240 seconds]
ErAsMuS has quit [Quit: END-AUMF]
<thomashoneyman> i do see "Starting Disable Nvidia Card" in there
<thomashoneyman> so that's running
zfnmxt has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/502a4263a34 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
kyren has quit [Ping timeout: 258 seconds]
kyren has joined #nixos
adamt has quit [Ping timeout: 250 seconds]
kyren has quit [Remote host closed the connection]
stepcut has quit [Remote host closed the connection]
<thomashoneyman> let's say i want to apply this configuration from the arch wiki
<thomashoneyman> any advice on translating this into a nix configuration?
kyren has joined #nixos
ErAsMuS has joined #nixos
vk3wtf has quit [Ping timeout: 240 seconds]
<justanotheruser> how can I get more information about the cause of this failure? Mar 06 19:43:09 iris systemd[1]: autocommit_cron.service: Main process exited, code=exited, status=123/n/a
<justanotheruser> (fails after the autocommit b log line)
jluttine has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
<Myrl-saki> > stdenv.shell
<{^_^}> "/nix/store/cinw572b38aln37glr0zb8lxwrgaffl4-bash-4.4-p23/bin/bash"
<{^_^}> [nixpkgs] @veprbl merged pull request #56211 → nvidia_x11: 2019-02-22 → https://git.io/fhpgV
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/fhpgw
drakonis1 has joined #nixos
drakonis2 has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis2 has quit [Client Quit]
drakonis has quit [Ping timeout: 252 seconds]
stepcut has joined #nixos
vk3wtf has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
nD5Xjz has quit [Ping timeout: 245 seconds]
nD5Xjz has joined #nixos
jluttine has joined #nixos
nD5Xjz_ has joined #nixos
maximiliantagher has quit [Ping timeout: 252 seconds]
nD5Xjz has quit [Ping timeout: 246 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #57005 → unifont{,_upper}: 11.0.03 -> 12.0.01 → https://git.io/fhpg7
slack1256 has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/4c089d328fe (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
justanotheruser has joined #nixos
simukis has quit [Quit: simukis]
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos
thomashoneyman has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #56938 → filet: 0.1.0 -> 0.1.1 → https://git.io/fhpqw
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhp2G
vk3wtf has quit [Ping timeout: 252 seconds]
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm merged pull request #56930 → sshuttle: 0.78.4 -> 0.78.5 → https://git.io/fhpU7
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhp28
thomashoneyman has joined #nixos
<thomashoneyman> well, bad news: i can't get even the live usb image to load a desktop
<thomashoneyman> blank terminal, blinking cursor, no response
<thomashoneyman> i'm going kinda crazy because i can't find errors logged in journalctl and disabling the nvidia gpu hasn't changed anything
<{^_^}> [nixpkgs] @ryantm merged pull request #56870 → zeronet: 0.6.4 -> 0.6.5 → https://git.io/fhx1g
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhp2E
ryantm has joined #nixos
stepcut has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #56829 → obelisk: 0.3.0 -> 0.4.0 → https://git.io/fhxRh
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhp2r
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/58e31b26924 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-19.03)
ym555 has quit [Ping timeout: 255 seconds]
slack1256 has quit [Ping timeout: 250 seconds]
cryptomonad has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 252 seconds]
Fare has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c6f607a940a (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
vk3wtf has joined #nixos
counting1 has joined #nixos
thomashoneyman_ has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #56858 → arx-libertatis: 2018-08-26 -> 2019-02-16 → https://git.io/fhxoa
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhp2D
thomashoneyman has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @shlevy merged pull request #56920 → Closure graph memory (19.03) → https://git.io/fhpfi
<{^_^}> [nixpkgs] @shlevy pushed 3 commits to release-19.03: https://git.io/fhp2y
countingsort has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #56956 → gildas: 20190201_b -> 20190301_a → https://git.io/fhpGs
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhp2S
<thomashoneyman_> one more question: has anyone experienced or seen reports in the wild of the graphical installer booting on a Mac, but failing to launch the display manager on a Dell?
<thomashoneyman_> to see if i was just being crazy i used the installer and successfully get through to the KDE Plasma desktop on a Macbook Pro 2015
<thomashoneyman_> but get stuck at the blank terminal (no "Select the version of NixOS" or anything like that) on the Dell Precision
<{^_^}> [nixpkgs] @kyren opened pull request #57006 → nixos/bepasty: switch to python3Packages to match bepasty package → https://git.io/fhp2Q
<ryantm> hmm, I can't comment on NixOS GitHub PRs right now.
stepcut has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
<ryantm> Anyone else have that issue?
<ryantm> Looks like specifically this PR https://github.com/NixOS/nixpkgs/pull/56846
<{^_^}> #56846 (by vbgl, 2 days ago, open): compcert: 3.4 -> 3.5
<ryantm> I see gchristensen posted a test comment no problem.
fractalcat has quit [Ping timeout: 268 seconds]
<gchristensen> is there any reason they might have blocked you/
<ryantm> I've been posting comments and reviewing PRs kind of fast.
<ryantm> It says "You can't perform this action at this time."
<ryantm> where the comment box normally is.
maximiliantagher has quit [Ping timeout: 245 seconds]
<gchristensen> hrm. maybe you're super-human
<Myrl-saki> When you're too productive so thye make you slow down a bit?
nD5Xjz_ has quit [Ping timeout: 255 seconds]
nD5Xjz has joined #nixos
<thomashoneyman_> whoa!
<thomashoneyman_> i got the installer to load a desktop!
<thomashoneyman_> some combo of legacy boot things in the bios
<thomashoneyman_> it's not connecting to wifi or anything but that's a big move
<thomashoneyman_> just have to figure out what the hell is different in this
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamishmack has joined #nixos
hamishmack has quit [Client Quit]
thomashoneyman_ has quit [Ping timeout: 256 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
noonien has quit [Quit: Connection closed for inactivity]
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> I'm having a belly of trouble with nixos and pipenv.
<selfsymmetric-mu> I `nix-shell --pure` into a shell that only has `builtInputs = [pkgs.pipenv]`.
<selfsymmetric-mu> Then I run `pipenv install` (or any pipenv command).
<selfsymmetric-mu> Then it breaks.
<selfsymmetric-mu> It breaks on `NameError: name 'py_version' is not defined`.
<selfsymmetric-mu> If I go to the script, in `/nix/store/clwdqf1zrhv3gcbrrca2cklrs0xkpj26-python3.7-virtualenv-16.4.1/lib/python3.7/site-packages/virtualenv.py`, then indeed, the variable is wrong, it's undefined.
<selfsymmetric-mu> I believe it should be `PY_VERSION`.
<selfsymmetric-mu> The _more_ worrying thing is that I've deleted my Pipfile, so this is just using some arbitrary broken Python virtualenv?
obfusk has quit [Quit: No Ping reply in 180 seconds.]
<selfsymmetric-mu> So either Python sandboxing is breaking way out of `nix-shell --pure`, or `pipenv`, a MAJOR Python environment tool, is totally broken on NixOS.
lucus16 has quit [Quit: No Ping reply in 180 seconds.]
<selfsymmetric-mu> I'm hoping it's the former. Maybe there's a way I can be more sure about getting `pipenv` the right `virtualenv.py` it seems to need?
puffnfresh has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #57003 → chromium: fix sha256 for 72.0.3626.121 → https://git.io/fhpzV
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhpaE
rprije has quit [*.net *.split]
cyris212 has quit [*.net *.split]
xqsl has quit [*.net *.split]
ddellacosta has quit [*.net *.split]
talqu has quit [*.net *.split]
akaWolf has quit [*.net *.split]
Jackneill has quit [*.net *.split]
avn has quit [*.net *.split]
MasterdonY has quit [*.net *.split]
duairc has quit [*.net *.split]
unacceptable has quit [*.net *.split]
Serus has quit [*.net *.split]
arianvp has quit [*.net *.split]
ekleog has quit [*.net *.split]
dkibi has quit [*.net *.split]
duckonomy has quit [*.net *.split]
baum has quit [*.net *.split]
srk has quit [*.net *.split]
grw has quit [*.net *.split]
freusque has quit [*.net *.split]
_cyril_ has quit [*.net *.split]
__red__ has quit [*.net *.split]
dev3 has quit [*.net *.split]
erhandsome has quit [*.net *.split]
hexagoxel has quit [*.net *.split]
Niall__ has quit [*.net *.split]
mupf has quit [*.net *.split]
nbp has quit [*.net *.split]
globin has quit [*.net *.split]
acowley has quit [*.net *.split]
liori has quit [*.net *.split]
njha has quit [*.net *.split]
<{^_^}> [nixpkgs] @Infinisil pushed commit from @ivan to release-19.03 « chromium: fix sha256 for 72.0.3626.121 »: https://git.io/fhpag
<{^_^}> [nixpkgs] @Infinisil pushed commit from @ivan to release-18.09 « chromium: fix sha256 for 72.0.3626.121 »: https://git.io/fhpa2
am3on[m] has joined #nixos
nD5Xjz has quit [Ping timeout: 245 seconds]
hamishmack has joined #nixos
nD5Xjz has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.3]
pie___ has joined #nixos
drakonis has joined #nixos
pie__ has quit [Ping timeout: 245 seconds]
jackdk has quit [Ping timeout: 240 seconds]
<puffnfresh> can someone double check my work here? https://github.com/NixOS/nixpkgs/issues/57007
<{^_^}> #57007 (by puffnfresh, 8 minutes ago, open): Chromium dev and beta might be vulnerable to CVE-2019-5786
ddellacosta has joined #nixos
rprije has joined #nixos
avn has joined #nixos
cyris212 has joined #nixos
talqu has joined #nixos
ekleog has joined #nixos
grw has joined #nixos
Jackneill has joined #nixos
freusque has joined #nixos
Serus has joined #nixos
arianvp has joined #nixos
xqsl has joined #nixos
srk has joined #nixos
akaWolf has joined #nixos
duairc has joined #nixos
unacceptable has joined #nixos
njha has joined #nixos
MasterdonY has joined #nixos
baum has joined #nixos
erhandsome has joined #nixos
duckonomy has joined #nixos
Niall__ has joined #nixos
dev3 has joined #nixos
acowley has joined #nixos
_cyril_ has joined #nixos
globin has joined #nixos
__red__ has joined #nixos
dkibi has joined #nixos
hexagoxel has joined #nixos
nbp has joined #nixos
mupf has joined #nixos
liori has joined #nixos
thomashoneyman has joined #nixos
tg has quit [Ping timeout: 255 seconds]
shreyansh_k has quit [Ping timeout: 244 seconds]
<thomashoneyman> looks like i've borked things once more: i added the nixos-hardware channel to my nix channels, and now running `nixos-rebuild switch` produces a slew of errors
<thomashoneyman> namely: "file nixpkgs/nixos was not found in the Nix search path (add it using $NIX_PATH or -I)"
<thomashoneyman> alas $NIX_PATH seems to refer to a path that does not exist
<thomashoneyman> oh!
<thomashoneyman> i might be being dumb
pareidolia has quit [Ping timeout: 264 seconds]
tg has joined #nixos
Serus has quit [Ping timeout: 268 seconds]
Serus has joined #nixos
phreedom has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/940f396f590 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
phreedom has joined #nixos
nD5Xjz has quit [Ping timeout: 255 seconds]
nD5Xjz has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
elibrokeit has joined #nixos
nD5Xjz has quit [Ping timeout: 245 seconds]
spikebike has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a8a6e9eac3d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
shreyansh_k_ has joined #nixos
nD5Xjz has joined #nixos
<spikebike> Is there a version of nixos known to work Ubuntu 18.04 LTS?
shreyansh_k_ has left #nixos [#nixos]
<spikebike> maybe a PPA or something
shreyansh_k_ has joined #nixos
<ryantm> spikebike: I think your question is missing a word.
<spikebike> Is there a version of nixos known to work Ubuntu 18.04 LTS?
<spikebike> Is there a version of nixos known to work with Ubuntu 18.04 LTS?
<spikebike> (oops)
<ryantm> Maybe you mean the Nix package manager? NixOS is a distribution like Ubuntu.
<ryantm> spikebike: Do you not want to install it from https://nixos.org/nix/ ?
<spikebike> I do, when you install it it says:
<spikebike> Or feel free to contact the team,
<spikebike> - on IRC #nixos on irc.freenode.net
<spikebike> Is this not the right place for nix the package manager?
<ryantm> spikebike: This is the right place!
<ryantm> spikebike: Are you getting an error when you try to install it?
<spikebike> Sorry, obviously I'm kinda confusing.
<spikebike> (and confused)
<spikebike> Did the multi-user install and when I run nix-shell
<spikebike> $ nix-shell
<spikebike> ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
<ryantm> No apology needed. I just want to get the terms straight.
<spikebike> error: getting status of '/home/bill/default.nix': No such file or directory
<ryantm> spikebike: nix-shell without any arguments expects a shell.nix or default.nix file to be in the current directory to do something.
<ryantm> spikebike: How about try `nix-shell -p hello`?
<spikebike> I was more worried about the ls.do error
<spikebike> Interesting, that works, but I get 20 ish: ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
<spikebike> root@left:/home/bill# aptitude search libgtk3-nocsd
<spikebike> i libgtk3-nocsd0 - Library to disable Gtk+ 3 client side deco
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5896677b479 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<ryantm> What happens if you do `LD_PRELOAD= nix-shell -p hello`
<ryantm> or nix-shell --pure -p hello
<spikebike> that silently works
<spikebike> er no errors
<spikebike> bill@left:~$ nix-shell --pure -p hello
<spikebike> ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
<spikebike> [nix-shell:~]$
<spikebike> that has 1 error, at least it's not 20
shreyansh_k_ has quit []
<ryantm> That makes sense, I guess.
<ryantm> The pure shell ignores the outside environment, so the LD_PRELOAD is ignored inside the shell.
<ryantm> It seems like maybe this library on your LD_PRELOAD env var doesn't exist, but it also might not be needed for nix to function.
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #56828 → gitAndTools.gita: 0.7.2 -> 0.8.2 → https://git.io/fhxRv
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhpVT
<spikebike> I found where it's set
<spikebike> export LD_PRELOAD="libgtk3-nocsd.so.0${LD_PRELOAD:+:$LD_PRELOAD}"
<spikebike> /etc/X11/Xsession.d/51gtk3-nocsd-detect
<spikebike> that file is owned by:
<spikebike> $ dpkg -S /etc/X11/Xsession.d/51gtk3-nocsd-detect
<spikebike> gtk3-nocsd: /etc/X11/Xsession.d/51gtk3-nocsd-detect
<spikebike> very strange
<clever> i think the problem, is that ubuntu ld.so, can search /usr/lib
<clever> but nix ld.so cant
<clever> so when you run any nix based binaries, it looses the ability to search /usr/lib/
<spikebike> sensible
<spikebike> kinda disturbed that LD_PRELOAD is set
<clever> sudo cat /etc/X11/Xsession.d/51gtk3-nocsd-detect
thomashoneyman has quit [Ping timeout: 256 seconds]
<spikebike> I could install it again, I already blew away the package and file, nix seems much happiers
<spikebike> happier
<spikebike> I'm looking at a package manager for an HPC environment with a substantial (1000s) number of packages
<spikebike> nix is top of my list (and snappy on the bottom)
<spikebike> cool nix example works, downloaded some packages, and let me launch a jekyll server
<spikebike> Thanks.
Rusty1 has quit [Quit: Konversation terminated!]
ErAsMuS has quit [Ping timeout: 240 seconds]
<clever> spikebike: one min
<clever> spikebike: this runs plex full-screen (in tv mode) on my nas, which is plugged into the tv upstairs
<clever> spikebike: so i just need 4 arrow keys, enter, and escape, to navigate my entire media library
<spikebike> Very nice, and I use plex ;-).
ryantm has quit [Read error: Connection reset by peer]
ryantm has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
reinhardt has quit [Quit: Leaving]
maximiliantagher has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
nD5Xjz has quit [Ping timeout: 255 seconds]
Lears has quit [Remote host closed the connection]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
nD5Xjz has joined #nixos
etu has quit [Remote host closed the connection]
palo1 has joined #nixos
etu has joined #nixos
Lears has joined #nixos
etu has quit [Client Quit]
etu has joined #nixos
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
<srhb> Psychic debugging time. On boot, after nixos-install, zfs times out trying to import my pool (with the correct name), and eventually fails: "No such pool available". I reboot back into the installer, and now I can import it just fine. What might be the cause? I feel like it's likely that the dev node is not where I expect it (it's a VMWare VM) so maybe I need to get an initrd console to find it, but I'm
<srhb> curious as to why the installer manages just fine..
<maurer> Congratulations you found the race condition from the dawn of time
<maurer> let me see if the fix is on my github or if I'm an idiot
<srhb> maurer: Orly? :-P
<{^_^}> #11003 (by evujumenuk, 3 years ago, closed): linux>3.19.x fails to mount root ZFS on NVMe during stage 1
Dr8128 has joined #nixos
<maurer> tl;dr zfs devices doing udev settle don't always work how you expectr
<srhb> Surprising...
<maurer> This is with nvme, which shouldn't be super impactful during a VMware thing
<clever> srhb: a common VM issue i have with zfs, there are no symlinks in /dev/disk/by-path
<clever> srhb: because the VM doesnt specify details like that
<maurer> but my guess is that udev settle is being as settly as you want
<srhb> Right. I guess I need that initrd shell to find the dev nodes...
<srhb> maurer: We'll see. THanks, it's another thing to check.
<clever> srhb: boot.zfs.devNodes = "/dev/";
<clever> that fixes it
_kwstas has joined #nixos
<MasseR> How does the inherit keyword work? I've seen it used like `{ inherit a b; }` and `{ inherit (foo) a b; }` which both seem to work as intended. But I'm pretty sure I've also seen the form `{ inherit (foo); }` but this doesn't do what I expected
reinhardt has joined #nixos
hyper_ch2 has joined #nixos
Makaveli7 has joined #nixos
Makaveli7 has quit [Read error: Connection reset by peer]
nD5Xjz has quit [Ping timeout: 255 seconds]
nD5Xjz_ has joined #nixos
orivej has joined #nixos
Makaveli7 has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
nD5Xjz_ has quit [Ping timeout: 250 seconds]
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @booxter opened pull request #57009 → Generate python3 docs → https://git.io/fhpwI
nD5Xjz has quit [Ping timeout: 245 seconds]
timor has joined #nixos
nD5Xjz has joined #nixos
<hyper_ch2> so, I generate now a little list of ad/track server and have them auto-integrated into nixos when I update the system... really nice
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #56162 → purescript: fix build compiling with ghc 8.4.4 → https://git.io/fhFz1
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fhpws
IRCsum has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nlewo merged pull request #56929 → gcompris: fix build → https://git.io/fhpU1
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fhpwG
IRCsum has joined #nixos
maximiliantagher has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
<srhb> clever: That didn't do it. What's the easiest way to get a shell during that phase to explore what's going on?
<clever> srhb: boot.shell_on_fail will allow a shell, after it fails normally
<clever> srhb: boot.debug1devices will force an artificial failure after all dev nodes are up
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7e34b17aef1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
reinhardt has quit [Ping timeout: 246 seconds]
<Myrl-saki> Oh wtf. TIL.
<Myrl-saki> I just added it to post commands lol.
<{^_^}> [nixpkgs] @nlewo pushed commit from @stephengroat to release-19.03 « gcompris: fix build »: https://git.io/fhpwu
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2e6b8b337b9 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
Makaveli7 has quit [Ping timeout: 252 seconds]
Makaveli7 has joined #nixos
isHavvy has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #57010 → Luarocks update → https://git.io/fhpwV
Havvy has quit [Ping timeout: 255 seconds]
thc202 has joined #nixos
Ariakenom has joined #nixos
calbrecht[mb] has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56999 → cgui: 2.0.3 -> 2.1.0 (to fix build) → https://git.io/fhpuK
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhpwK
<{^_^}> [nixpkgs] @7c6f434c pushed to release-19.03 « Merge pull request #56999 from knedlsepp/fix-cgui »: https://git.io/fhpw6
<srhb> clever: Thanks :)
reinhardt has joined #nixos
calbrecht[mb] has quit [Remote host closed the connection]
calbrecht[mb] has joined #nixos
calbrecht has joined #nixos
<elvishjerricco> srhb: let me know about your findings. This is an interesting problem I could see myself encountering at some point
calbrecht has quit [Quit: rcirc on GNU Emacs 27.0.50]
ddellacosta has quit [Ping timeout: 268 seconds]
maximiliantagher has joined #nixos
<hyper_ch2> so, with my hosts list containing how over 140k entries, I wonder if I shouldn't better use dnsmasq instead... since dnsmasq woudl also allow wildcard entries and the hosts file doesn't
<Myrl-saki> Hm.
<hyper_ch2> the hosts file is now like 4.5 MB :)
<hyper_ch2> or is the hosts file stored in memory somehow?
<clever> hyper_ch2: i think its cached by nscd, when that is active
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<srhb> elvishjerricco: I think I'm just missing something obvious tbh. Like, the device nodes don't exist :-P
maximiliantagher has quit [Ping timeout: 268 seconds]
<hyper_ch2> I do think I have nscd active :)
<srhb> So maybe some driver I'm missing...
<hyper_ch2> clever: https://github.com/sjau/adstop --> need to make the script prettier though :)
<srhb> I wonder which one though
__monty__ has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
alex`` has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #56991 → pytorch: Use nativeBuildInputs to specify binary build dependencies. → https://git.io/fhp0p
<{^_^}> [nixpkgs] @FRidh pushed commit from @teh to master « pytorch: Use nativeBuildInputs to specify binary build dependencies. »: https://git.io/fhpwh
<{^_^}> [nixpkgs] @FRidh pushed commit from @teh to release-19.03 « pytorch: Use nativeBuildInputs to specify binary build dependencies. »: https://git.io/fhpwj
<Myrl-saki> Hm.
<pbb> where on hydra.nixos.org can I see what builds or tests are keeping the nixos-unstable channel from being bumped?
adamt has joined #nixos
<clever> pbb: http://howoldis.herokuapp.com/ has links to those pages
<pbb> do you mean the link in the column "Hydra job for tests"?
<pbb> here it looks like all tests succeeded 3 hours ago, but the channel has not been bumped: https://hydra.nixos.org/build/90247945
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @lsix merged pull request #56491 → Django updates → https://git.io/fhN11
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/fhprU
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fhprt
<{^_^}> [nixpkgs] @teto opened pull request #57011 → python3Packages.matplotlib: 3.0.2 -> 3.0.3 → https://git.io/fhprq
<{^_^}> [nixpkgs] @lsix pushed 2 commits to release-18.09: https://git.io/fhprm
<clever> pbb: hydra must also finish every single job in the eval (pass or fail)
<pbb> okay, where can I see the list of those jobs?
<clever> click the eval# in the build page you just linked
<clever> 195 jobs remain in the queue
<pbb> thanks
<pbb> clever++
<{^_^}> clever's karma got increased to 113
<{^_^}> [nixpkgs] @lsix pushed to release-19.03 « pythonPackages.django_1_11: 1.11.18 -> 1.11.20 »: https://git.io/fhprO
<{^_^}> [nixpkgs] @FRidh pushed to master « multipart-parser-c: init at unstable-2015-12-14 »: https://git.io/fhpr3
<{^_^}> [nixpkgs] @FRidh pushed to master « ticpp: init at unstable-2019-01-09 »: https://git.io/fhprc
<{^_^}> [nixpkgs] @FRidh merged pull request #57011 → python3Packages.matplotlib: 3.0.2 -> 3.0.3 → https://git.io/fhprq
<{^_^}> [nixpkgs] @FRidh pushed commit from @teto to master « python3Packages.matplotlib: 3.0.2 -> 3.0.3 »: https://git.io/fhprl
gagbo has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to release-19.03: https://git.io/fhpr4
FRidh has joined #nixos
reinhardt has quit [Ping timeout: 245 seconds]
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 252 seconds]
<Taneb> If I've packaged something in a nix file, what's the easiest way to get a shell with what I've packages?
<Taneb> Currently I'm making another nix derivation which has it as its sole build input
<clever> Taneb: nix-shell -p 'callPackage ./foo.nix {}'
johanot has joined #nixos
<Taneb> clever++
<{^_^}> clever's karma got increased to 114
<Taneb> Exactly what I was after :)
<{^_^}> [nixpkgs] @dotlambda opened pull request #57012 → home-assistant: 0.87.1 -> 0.89.0 → https://git.io/fhpr1
<srhb> Bizarre. If I debug1devices and zpool import -a, everything is fine.
sigmundv has joined #nixos
reinhardt has joined #nixos
<srhb> race condition seems more and more likely..
orivej has quit [Ping timeout: 250 seconds]
<clever> srhb: or your calling zpool with the "wrong" args
<clever> srhb: read /init and see what nixos is using
<{^_^}> [nixpkgs] @vanzef opened pull request #57013 → marisa-python: fix build → https://git.io/fhprQ
Makaveli7 has quit [Ping timeout: 252 seconds]
Makaveli7 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyper_ch2 has quit [Quit: Page closed]
fusion809 has joined #nixos
nD5Xjz has quit [Ping timeout: 240 seconds]
cfricke has joined #nixos
nD5Xjz has joined #nixos
ThatDocsLady_ has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
nD5Xjz has quit [Ping timeout: 244 seconds]
simukis has joined #nixos
nD5Xjz has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/80d032b13bd (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<srhb> clever: You're right, looks like a bug in poolReady.
<clever> srhb: is it a multi-device pool?
<{^_^}> [nixpkgs] @markuskowa merged pull request #56942 → gnuradio-limesdr: fix build → https://git.io/fhpmo
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhpoZ
<srhb> It's not. Hmm. bbl, gonna have lunch. Thanks for your help so far, I'm probably close.
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/dd1f371a1eb (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
maximiliantagher has joined #nixos
hyper_ch2 has joined #nixos
maximiliantagher has quit [Ping timeout: 246 seconds]
isHavvy has quit [Ping timeout: 252 seconds]
Havvy has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #57015 → Subset of `Lua: convert some more packages` → https://git.io/fhpo1
orivej has quit [Ping timeout: 255 seconds]
isHavvy has joined #nixos
Havvy has quit [Ping timeout: 240 seconds]
dramforever has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #56981 → sewer: Fix build → https://git.io/fhpRJ
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/fhpoQ
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to release-19.03: https://git.io/fhpKk
Dr8128 has quit [Ping timeout: 244 seconds]
pleeplop has joined #nixos
gagbo has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #57015 → Subset of `Lua: convert some more packages` → https://git.io/fhpo1
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fhpKC
<{^_^}> [nixpkgs] @vcunat opened pull request #57016 → bird: minor updates → https://git.io/fhpKE
<{^_^}> [nixpkgs] @Mic92 merged pull request #56232 → wireguard-go: 0.0.20181001 -> 0.0.20181222 → https://git.io/fhpKu
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhpKz
michas has joined #nixos
obfusk has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #56936 → teensyduino: 1.40 -> 1.45 → https://git.io/fhpLh
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhpKP
<{^_^}> [nixpkgs] @7c6f434c merged pull request #57010 → Luarocks update → https://git.io/fhpwV
<{^_^}> [nixpkgs] @7c6f434c pushed 4 commits to master: https://git.io/fhpK1
beaky has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-org-configurations] @domenkozar pushed to master « planet-feeds.nix: add Hercules Labs »: https://git.io/fhpKM
dramforever has quit [Ping timeout: 240 seconds]
seqizz has joined #nixos
beaky_ has joined #nixos
beaky_ is now known as beaky
rprije has quit [Ping timeout: 268 seconds]
<seqizz> Hi. I am trying to compile tmux to test some stuff (independent from nix) and it complained about "can't find libevent". I installed this package but how can I make my shell (or nix-shell) to provide this library under LD_* and for stuff like pkg-config? :\
xkapastel has joined #nixos
jasongrossman has joined #nixos
maximiliantagher has joined #nixos
gilligan_ has joined #nixos
dramforever has joined #nixos
ym555 has joined #nixos
maximiliantagher has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to master « libr3: init at 1.3.4 »: https://git.io/fhp63
dramforever has quit [Quit: Leaving]
<clever> ,libraries seqizz
<{^_^}> seqizz: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
silver has joined #nixos
nD5Xjz has quit [Ping timeout: 268 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<seqizz> clever: awww yes. thanks. combined with this, I found out the headers were missing also, and I need to use libevent.dev : https://stackoverflow.com/questions/43425262/nix-boost-install-misses-headers
nD5Xjz has joined #nixos
calbrecht[mb] has quit [Remote host closed the connection]
calbrecht[mb] has joined #nixos
<gilligan_> Anyone here by any chance looked at the 2.0 branch of https://github.com/xtruder/kubenix ? Trying to make sense of what the public interface has changed to and failing at doing so ;-}
<{^_^}> [nixpkgs] @akru opened pull request #57017 → cargo-vendor: 0.1.13 -> 0.1.23 → https://git.io/fhp6i
<adamt> From the 19.03 release notes: "For users of NixOS 18.03 and 19.03, NixOS defaults to Nix 2.0" -- shouldn't that be 18.09?
orivej has joined #nixos
fendor has joined #nixos
Dr8128 has joined #nixos
Neo-- has joined #nixos
<spikebike> Anyone got suggestions for using nix package management with a NFS share across 100 NFS clients?
cfricke has quit [Ping timeout: 244 seconds]
civodul has joined #nixos
Dr8128 has quit [Ping timeout: 245 seconds]
<pbb> Would it be possible to declaratively set the chromium search engine for the default profile? Or would I have to rebuild the whole chromium package for that?
<locallycompact> Hi, I'm using the nix docker to build some dockers, and I'm getting an error trying to build servant. Claims it can't find "localhost" but /etc/hosts seems fine https://gitlab.com/zenhaskell/infra-dockers/-/jobs/173325822
<locallycompact> *run the servant test suite
<locallycompact> here's a cat of etc hosts in the docker https://gitlab.com/zenhaskell/infra-dockers/-/jobs/173346318
maximiliantagher has joined #nixos
waleee has joined #nixos
maximiliantagher has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @andir opened pull request #57018 → davix: 0.6.4 -> 0.7.2 → https://git.io/fhpim
adamt has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @dywedir opened pull request #57019 → rustup: 1.16.0 -> 1.17.0 → https://git.io/fhpi3
orivej has quit [Ping timeout: 246 seconds]
Mateon1 has quit [Ping timeout: 255 seconds]
calbrecht[mb] has quit [Remote host closed the connection]
calbrecht[mb] has joined #nixos
Mateon2 has joined #nixos
ym555 has quit [Ping timeout: 250 seconds]
Shouou has joined #nixos
<WilliamHamilton[> matthewbauer: when you say nix-shell --run "cabal new-repl --extra-lib-dirs=$(nix-build "<nixpkgs> -A z3.lib)/lib"
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8abca4bc7b8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<WilliamHamilton[> where does the internal quote stops? The external one starts at "cabal
adamt has joined #nixos
infinee has joined #nixos
<johanot> fpletz: would it be possible for you to help pushing this forward? https://github.com/NixOS/nixpkgs/pull/56589 :)
noogie has quit [Read error: Connection reset by peer]
<{^_^}> #56589 (by johanot, 5 days ago, open): nixos/kubernetes: minor module fixes
cyphase has quit [Ping timeout: 245 seconds]
noogie has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #56989 → pythonPackages.wrf-python: Fix build → https://git.io/fhp0X
<{^_^}> [nixpkgs] @dotlambda pushed commit from @knedlsepp to master « pythonPackages.wrf-python: Fix build (#56989) »: https://git.io/fhpiQ
hlavaty has quit [Ping timeout: 240 seconds]
JonReed has joined #nixos
<domenkozar> Announcing Cachix private binary caches and 0.2.0 release
<spikebike> what's the use case for that?
<Taneb> Distributed teams using Nix on large closed-source software projects
<Taneb> (I presume)
<spikebike> a master with a huge number of nix packages, then each client uses a smaller amount of local disk as cache ?
<joko> domenkozar: Congrats for the new version! Any news on the garbage collection topic?
ng0 has joined #nixos
cyphase has joined #nixos
<{^_^}> [nixpkgs] @markuskowa pushed to release-19.03 « gnuradio-limesdr: fix build (add pkgconfig) »: https://git.io/fhpih
<infinee> I think my system is messed up. I have this directory ~/.nix-defexpr/channels_root and it's causing me warning "name collision in input nix expressions, skipping '/home/wayc/.nix-defexpr/channels_root/nixpkgs"
nD5Xjz has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @7c6f434c pushed to master « Release notes: switch to modesetting: mention backlight problem »: https://git.io/fhpij
<{^_^}> [nixpkgs] @FRidh pushed to master « libr3: propagate pcre »: https://git.io/fhpPe
<infinee> Any idea how to fix this? my nix-channel --list only lists "nixpkgs htps://...nixpkgs-unstable
<{^_^}> [nixpkgs] @7c6f434c pushed to release-19.03 « Release notes: switch to modesetting: mention backlight problem »: https://git.io/fhpPv
nD5Xjz has joined #nixos
<sgraf> Anyone else having problems with Umlauts in zsh 5.7.1?
<joko> infinee: Are you using NixOS? Which version?
<infinee> My system should be 18.09 but I see some dirs in /nix/store/**19.03
<infinee> joko: yes. see ^
<gchristensen> Mic92: do you have a nice link describing how to pass along a usb soundcard?
<joko> sgraf: 'echo "kühl' works here
<sgraf> On a zsh 5.7.1? Damn
<joko> sgraf: yes, zsh 5.7.1 (x86_64-pc-linux-gnu)
<joko> infinee: could you do nix-channel --list as root?
tilpner has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @dotlambda pushed commit from @knedlsepp to staging-19.03 « pythonPackages.wrf-python: Fix build (#56989) »: https://git.io/fhpPL
<joko> infinee: I would remove nixpkgs first, e.g. 'sudo nix-channel --remove nixpkgs'
<infinee> and then? rebuild switch?
<joko> And what's 'nix-channel --list' for your user?
<domenkozar> joko: coming up next.
<joko> infinee: I think you can remove that, too
<joko> domenkozar: Good to know!
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/82a3ab0dd25 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @markuskowa merged pull request #56873 → sile: build and install documentation (self test) → https://git.io/fhxDN
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhpPm
<infinee> uninstalling 'nixpkgs-19.03pre168686.baf6ba553f7'
tilpner has joined #nixos
<infinee> joko: thanks, that fixed it all. nix-env -qaP doesn't give me any warnings now. Thanks!!
<joko> infinee: kühl!
itorres has joined #nixos
maximiliantagher has joined #nixos
slack1256 has joined #nixos
maximiliantagher has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dasJ opened pull request #57020 → nixos/openldap: Fix quoting of log level → https://git.io/fhpPo
Shouou has quit [Ping timeout: 255 seconds]
orivej has joined #nixos
FRidh has quit [Ping timeout: 245 seconds]
ym555 has joined #nixos
<ivegotasthma> hello, I'm building a python wheel that gives me an error about zip not supporting timestamps before 1980. I saw an issue about that on github, but I don't see a solution.
<samrose> any known issues with using osquery with nixos?
slack1256 has quit [Ping timeout: 252 seconds]
<azazel> ivegotasthma: I don't an answer for you, but have you had a look into the specific nixpkgs doc, maybe it helps! https://nixos.org/nixpkgs/manual/#building-packages-and-applications
<{^_^}> [nixpkgs] @bjornfor merged pull request #57020 → nixos/openldap: Fix quoting of log level → https://git.io/fhpPo
<{^_^}> [nixpkgs] @bjornfor pushed commit from @dasJ to master « nixos/openldap: Fix quoting of log level »: https://git.io/fhpXT
Dr8128 has joined #nixos
Shouou has joined #nixos
<{^_^}> [nixpkgs] @grahamc opened pull request #57021 → nspr: make reproducible → https://git.io/fhpXZ
maximiliantagher has joined #nixos
<Mic92> gchristensen: to be honest, I only passed through scanners/printers so far through with virtualbox/vmware, where this was just a mouse click. I could give it a shot with my headset and modern.ie
<Mic92> the USB protocol should be irrelevant. The only problem I see could be related to increased latency
<gchristensen> interesting
Dr8128 has quit [Quit: Leaving.]
<gchristensen> I could give it a shot with vbox and see if it helps
Dr8128 has joined #nixos
maximiliantagher has quit [Ping timeout: 245 seconds]
Dr8128 has quit [Client Quit]
Dr8128 has joined #nixos
<ivegotasthma> azazel: thanks a lot, there was a solution to m problem there
<gchristensen> for some reason, the audio latency isn't terrible right now, but I don't know what he did to fix it
<gchristensen> for some reason, the audio latency isn't terrible right now, but I don't know what I did to fix it
<azazel> ivegotasthma: I're welcome
_kwstas has quit [Quit: _kwstas]
noonien has joined #nixos
<ivegotasthma> u're
lucus16 has joined #nixos
<azazel> ops, yes ;-)
<Mic92> gchristensen: since the usb protocol is packet based one can use wireshark to debug it :). I did this once for a rad1o (software defined radio equipment).
<ivegotasthma> can a vim packager help me with a difficult package? https://github.com/NixOS/nixpkgs/pull/56091 This plugin would be very useful to many people.
<{^_^}> #56091 (by ivegotasthma, 2 weeks ago, open): vimPlugins.coc: init at 19.02.2019
<gchristensen> Mic92: :O good grief!
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<lucus16> $ /nix/store/pas2i4ncax7ry60kbphvw29fp6f45274-chromium-72.0.3626.121/bin/chromium --version
<lucus16> Chromium 72.0.3626.119
<azazel> Mic92: I dever debugged usb issues with Wireshark, could be fun ;-)
Makaveli7 has quit [Quit: Leaving]
<andi-> lucus16: known isuse, I beliefe a fix was already merged
<lucus16> So what version am I actually using? :+
<andi-> .119
<andi-> see #57003
<{^_^}> https://github.com/NixOS/nixpkgs/pull/57003 (by ivan, 12 hours ago, merged): chromium: fix sha256 for 72.0.3626.121
<andi-> lucus16: shortly after https://hydra.nixos.org/build/90248512 is done building and teste (a few more hours probably) the "correct" version should be available
<lucus16> ok nice, thanks!
<andi-> (that is the build for 18.09)
<{^_^}> [nixpkgs] @alyssais opened pull request #57023 → crystal: fix build on Darwin → https://git.io/fhpXj
Rovanion has quit [Ping timeout: 245 seconds]
<WilliamHamilton[> hi, I'd like to write properly this idea: nix-shell --run 'cabal new-repl --extra-lib-dirs=$(nix-build "<nixpkgs> -A z3.lib/lib")'
<WilliamHamilton[> of including some lib directories when using nix-shell (discussed in https://github.com/NixOS/nixpkgs/issues/56860 ) but can't write the right invocation
<{^_^}> #56860 (by meditans, 2 days ago, open): Dynamic libraries are not linked in ghci when using `nix-shell --run cabal new-repl`
oida has quit [Quit: byez]
oida has joined #nixos
reinhardt has quit [Quit: Leaving]
slack1256 has joined #nixos
fusion809 has quit [Ping timeout: 240 seconds]
fusion809 has joined #nixos
Shouou has quit [Ping timeout: 245 seconds]
Rovanion has joined #nixos
<noonien> can i see how much space a package, and optionally all its dependencies take on disk?
<clever> nix-store --query --size ./result
<clever> 26801448
<clever> noonien: the size of a single package
<clever> du -h --max=0 -c $(nix-store -qR result) | sort -h
<noonien> instead of ./result, how can i give a package name?
<clever> noonien: the size of the entire closure, and all of its deps sorted by size
<clever> noonien: nix-build the package first, nix-build '<nixpkgs>' -A hello
<noonien> awesome, thanks!
<noonien> clever++
<{^_^}> clever's karma got increased to 115
<WilliamHamilton[> solved, I was trying to say: nix-shell --run "cabal new-repl --extra-lib-dirs=$(nix-build '<nixpkgs>' -A z3.lib)/lib"
<noonien> hmm, can i get a dependency graph for a build?
<clever> noonien: nix-store --query --tree result
<noonien> Thanks!
Rusty1 has joined #nixos
nD5Xjz has quit [Ping timeout: 240 seconds]
nD5Xjz has joined #nixos
Shouou has joined #nixos
nD5Xjz has quit [Ping timeout: 244 seconds]
nD5Xjz_ has joined #nixos
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhpMf
<{^_^}> [nixpkgs] @ryantm merged pull request #56399 → jazzy: 0.9.0 -> 0.9.5 → https://git.io/fhNeM
<{^_^}> [nixpkgs] @cptMikky closed pull request #55782 → claws-mail: add build dependency (libical) for vcalendar plugin → https://git.io/fh717
<{^_^}> [nixpkgs] @mroi opened pull request #57024 → swift: 4.2.2 -> 4.2.3 → https://git.io/fhpMZ
<{^_^}> [nixpkgs] @chreekat opened pull request #57025 → pyhocon: init at version 0.3.51 → https://git.io/fhpMc
fendor has quit [Ping timeout: 244 seconds]
zupo has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
stepcut has joined #nixos
nD5Xjz_ has quit [Ping timeout: 244 seconds]
nD5Xjz has joined #nixos
kreisys has joined #nixos
kreisys has quit [Client Quit]
kreisys has joined #nixos
<{^_^}> [nixpkgs] @zimbatm opened pull request #57026 → terraform-providers: introduce mkTerraformProvider → https://git.io/fhpDf
<{^_^}> [nixpkgs] @grahamc merged pull request #57021 → nspr: make reproducible → https://git.io/fhpXZ
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to staging: https://git.io/fhpDU
__monty__ has quit [Quit: leaving]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
endformationage has joined #nixos
cryptomonad has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
Shouou has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @hedning pushed 85 commits to gnome-3.32: https://git.io/fhpDu
ym555 has quit [Ping timeout: 240 seconds]
ErAsMuS has joined #nixos
<{^_^}> [nixpkgs] @hedning pushed commit from @worldofpeace to gnome-3.32 « gnome3.gnome-books: init at 3.31.91 »: https://git.io/fhpD5
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7f96a9fbce0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
orivej has joined #nixos
<{^_^}> [nixpkgs] @hedning opened pull request #57027 → Gnome 3.32 → https://git.io/fhpDb
ErAsMuS has quit [Ping timeout: 252 seconds]
asymmetric has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #55815 → uwsgi: 2.0.17.1 -> 2.0.18 → https://git.io/fh7F9
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhpym
johanot has quit [Quit: WeeChat 2.2]
seqizz has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @fpletz merged pull request #57016 → bird: minor updates → https://git.io/fhpKE
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to master: https://git.io/fhpyO
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/97464d087ec (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
waleee has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @hedning pushed to gnome-3.32 « fixup! gnome3.gnome-sound-recorder: 3.28.2 -> 3.31.92 »: https://git.io/fhpyc
orivej has quit [Ping timeout: 244 seconds]
<betawaffle> are there still benefits to something like freenas over nixos with zfs?
<betawaffle> (in a home environment)
<gchristensen> does it do any magic?
<gchristensen> I use NixOS with ZFS
* DigitalKiwi too
<betawaffle> it's based on freebsd, so has "better" zfs. it also has gui things, but i'm not sure how much i care about that
<clever> all of my nixos recent machines are on zfs, including the nas
<gchristensen> not for long ;)
<samueldr> gchristensen: some would argue that it will keep being "better" zfs
<DigitalKiwi> oh if anyone remembers me having realllllly slow nix problems on zfs it was my fault i had sync=always on that dataset >.>
<gchristensen> nice
<clever> i recently had some sqlite stuff take an hour, even with sync=disabled
<clever> then i switched to a tmpfs, and it finished in 3 minutes
<DigitalKiwi> set it to standard and now it is good
<avn> betawaffle: I heard bsd have so better zfs, so plan to migrate to linux zfs ;)
<betawaffle> i guess i'm wondering if there's any actually noticeable "betterness" of zfs on freebsd over linux
<betawaffle> my only problem with freebsd is i'm not not as familiar with it
<clever> betawaffle: i was recently helping a person migrate from a 4 disk jbod pool, to a 3 disk raidz on freenas, and we just did everything over ssh with normal zpool commands
<clever> betawaffle: only real difference i noticed, is that `watch` wasnt the normal linux `watch`!
<avn> betawaffle: without kidding -- linux zfs uses common zfs base code with other platforms (including ex-opensolaris), bsd are on the owns (and will switch to common as well)
<gchristensen> betawaffle: can't be that much better, they're switching to linux's zfs
<betawaffle> ok, well cool then
<gchristensen> betawaffle: also, the ZFSs are effectively the same code, modulo kernel integrations
<betawaffle> i'm much prefer nixos
<DigitalKiwi> in my non expert opinion if you want to use freenas or freebsd on its own merits sure, but the zfs is a non-issue
<{^_^}> [nixpkgs] @obadz pushed 2 commits to master: https://git.io/fhpy9
<betawaffle> i suspect freenas would be overall *easier* to set up to be useful as a nas, since i've never really done all that stuff on any platform before
* DigitalKiwi uses zfs on linux on arch/nixos fine
<betawaffle> but linux will be a good learning experience
adamt has quit [Quit: WeeChat 2.4]
<ar> betawaffle: the "better zfs" argument is… arguable. freebsd people are porting over ZoL now, because most of the new developments happen in ZoL, and between them and the openzfs "upstream" they don't have the manpower
<betawaffle> ok, well great
<betawaffle> that just makes my decision easier
<{^_^}> [nixpkgs] @cptMikky reopened pull request #55782 → claws-mail: add build dependency (libical) for vcalendar plugin → https://git.io/fh717
orivej has joined #nixos
oida has quit [Quit: byez]
nefix has joined #nixos
oida has joined #nixos
<mikky> hi guys, I'm havin trouble building a QT5 app which depends on another library which in turn depends in libxml2. Both the app (called Datovka) and the library (called libisds) are not available in nixpkgs so I created derivations of my own (in my fork of nixpkgs tree). The library libisds builds fine but the build of the app fails with "/nix/store/...-libisds-0.10.8/include/isds.h:10:10: fatal error:
<mikky> libxml/tree.h: No such file or directory"
<mikky> I'm lost, tried adding libxml2 as propagated build input to libisds and as a dependency to Datovka but neither works
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<nefix> Hey! I want to install NixOS in a Pine64, but I'm not sure how to proceed. It seems that is supported, but I can't figure out how should I boot it. There's the main arm64 image (2.2GB) and there's also the bootloader. Which should I write first? Should I write them both at the same time? Thanks!
fusion809 has quit [Ping timeout: 240 seconds]
fusion809 has joined #nixos
ericsagnes has quit [Ping timeout: 252 seconds]
AtomVelvet has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> nefix: it'll be sd_image, then the bootloader; the sd_image would clobber the part of the sd (or emmc) where the bootloader is installed
<AtomVelvet> Hi ! Is this the correct place to go for questions about nix as well?
<samueldr> AtomVelvet: yes!
<AtomVelvet> Great, thank you :)
<nefix> samueldr: I tried that yesterday, but it didn't boot
<samueldr> nefix: which board exactly?
<samueldr> A64-LTS or the A64?
<samueldr> they do not share the same bootloader
<nefix> How can I tell the difference? It's the oh wait
<samueldr> it's the oh wait? :)
<samueldr> there should be an identifier next to the PI-2-bus
hyper_ch2 has quit [Quit: Page closed]
<nefix> This one. It is the Rock64 V2
<samueldr> ah, I assumed A64; completely different!
fusion809_ has joined #nixos
<nefix> Yeah, my bad
<samueldr> no problem
<samueldr> still, the ordering should be to write the sd image, then the bootloader
<samueldr> though I'm unsure as to whether it should work or not; u-boot should at least start
<nefix> So, 1- download the arm64 NixOS image 2- download the custom uboot (linked in the wiki) 3- Flash NixOS image 4- Flash uboot 5- install?
<samueldr> (the page says "The upstream aarch64 SD image may boot if U-Boot is placed at the correct location as described below, but this has not been tested.")
fusion809 has quit [Ping timeout: 240 seconds]
<AtomVelvet> Hm, do I have to mess around with derivations if I just want to set up an environment with dependencies necessary for running a build tool?
<samueldr> nefix: that's what I'd do, and have done for other aarch64 boards
<samueldr> AtomVelvet: maybe not
<samueldr> AtomVelvet: nix-shell -p zlib e.g. would setup stdenv + zlib, the compiler wrappers will know how to find zlib
<samueldr> AtomVelvet: if you need pkgs-config, -p pkgconfig, etc
<samueldr> AtomVelvet: (if you wanted to imperatively hack on some software)
<nefix> Hmm I see
<AtomVelvet> Ah, hm
<AtomVelvet> samueldr: Is there a way to specify a file I can run to enter that env rather than having it pollute my personal user env? e.g. I only want to have those `installed` when I'm in my project folder
<nefix> The thing is that yesterday I did exactly that and it didn't do anything
<AtomVelvet> Uh
<samueldr> nix-shell is not installing; it opens a (bash) shell with the software listed available
<AtomVelvet> I somehow just cleared the history of my irc client, if there were any messages since my last I've lost them, my bad
<samueldr> they will be downloaded to the store, but they won't be pinned from GC
<AtomVelvet> Ahhh I see
<srhb> AtomVelvet: https://logs.nix.samueldr.com/nixos -- you can always check history here.
<samueldr> AtomVelvet: probably CTRL+L on the wrong window :)
<AtomVelvet> samueldr: Ah yes, ctrl+L clears it :P
<AtomVelvet> That looks like what I'm looking for though, thank you
ym555 has joined #nixos
<samueldr> AtomVelvet: as for *automatically*, not natively, but there are tools like direnv which might help
<AtomVelvet> samueldr: Are there any resources you'd recommend for learning about nix?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gagbo has joined #nixos
<AtomVelvet> Like there's some stuff I'm just not sure how to fit into the Nix way of working. e.g. I'm trying to set up an environment where I can use a build tool called `yotta`, but installing that requires a bunch of packages and at the end, running `pip install yotta`. Each time I enter the environment I don't want to have to run `pip install yotta` - but I'm not sure how to go about doing this.
<edef> you can package yotta
orivej has quit [Remote host closed the connection]
<AtomVelvet> edef: But there's multiple things I'll have to install from pip
<edef> such as?
orivej has joined #nixos
<DigitalKiwi> you can package them too ;p (or if you're lucky someone already did)
* DigitalKiwi should probably finish cleaning up the ones he did and PR
<srhb> AtomVelvet: Usually you get the maximal payoff from Nix if you go all the way -- meaning stick everything in Nix :)
<AtomVelvet> Hm
<symphorien> AtomVelvet: there are tools to automatically do this like https://github.com/garbas/pypi2nix
<symphorien> it will work best if these are pure python package
<srhb> AtomVelvet: That said, using nix-shell with shellHook can hack around some of these things, but it's less elegant and useful, most of the time..
<srhb> AtomVelvet: (some of these things ~ executing some command in a given environment)
Ariakenom has quit [Ping timeout: 244 seconds]
<DigitalKiwi> speaking of, can anyone help me package something? i spent a few days on it and couldn't so i just patched around it... it's a dependency for something that's a dependency for something else...the only package that uses it in nixpkgs patched it out too >.>
<simpson> AtomVelvet: Yotta looks like the kind of thing that Nix replaces. What are you working on?
<AtomVelvet> Hmm .. so I need to create Nix packages for each Python package that I want to have available in my environment?
<simpson> AtomVelvet: Maybe? More likely you need to burn down your Yotta-using repo. What are you actually working on?
kreisys has joined #nixos
<AtomVelvet> simpson: Building code for an ARM embedded platform. I can't get away from using Yotta - was just trying to make the experience more pleasant as some of the dependencies straight up aren't available on Ubuntu Cosmic right now.
<simpson> DigitalKiwi: What's not working? Or do you want answers to the "Questions" in your gist?
<simpson> AtomVelvet: Understandable. You should know, though, that nixpkgs already features robust cross-compiling support and that you may be choosing the Hard Way to do things.
<DigitalKiwi> i already talked to puffnfresh a bit about the questions but if you want to comment more sure, but i never got setuptools_scm_git_archive to build
<simpson> > pkgsCross.arm-embedded.hello
<{^_^}> "<derivation /nix/store/s83h64k3224fj25g4z4j8b8yx70l20mr-hello-2.10-arm-none-eabi.drv>"
<{^_^}> [nixpkgs] @fpletz merged pull request #56968 → grafana: 6.0.0 -> 6.0.1 → https://git.io/fhpca
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhp91
erasmas has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #56909 → oxidized: 0.25.0 -> 0.26.2 → https://git.io/fhxhF
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhp9M
<simpson> DigitalKiwi: Patching stuff out and disabling tests is pretty common in Python modules; if the dependent application still works, then it's acceptable.
<DigitalKiwi> in fact i even started solving some of them and bumped the pdfminer_six and stuff and tested the ones that use it
kisik21 has quit [Ping timeout: 258 seconds]
<AtomVelvet> simpson: Perhaps, and something I'll consider in the future, but unfortunately I'm stuck with Yotta for the moment. Was looking at Nix purely as a way to isolate its dependencies and get it working
<DigitalKiwi> (the pikepdf default.nix is the one i added that wants the scm_git_archive)
Shouou has joined #nixos
gagbo has quit [Quit: I'm out !]
johanot has joined #nixos
<DigitalKiwi> i just wanted to try to get setuptools_scm_git_archive to work so that other people could use it too :(
gagbo has joined #nixos
<AtomVelvet> Is there a way to have nix-shell read from a file so I don't have to do for example nix-shell -p gcc-arm-embedded srecord python .... every time I want to enter the environment?
<symphorien> yes, put a file called shell.nix in the directory
<symphorien> as content, something like:
<symphorien> with import <nixpkgs> {}; mkShell { buildInputs = [ gcc-arm-embedded srecord python ]; }
<symphorien> then call `nix-shell` and the magic happens
maximiliantagher has joined #nixos
<AtomVelvet> Perfect, thank you :)
<AtomVelvet> Huh ... there's no package for python 3.7?
<symphorien> > pkgs.python3.name
<{^_^}> "python3-3.7.2"
<AtomVelvet> Ah, thank you
<{^_^}> [nixpkgs] @hedning pushed 14 commits to gnome-3.32: https://git.io/fhpHI
<Shouou> A package relies on something relative to cwd during execution, how do I accommodate this?
<symphorien> patching the source if possible
<symphorien> or a wrapper which run `cd /nix/store/whatever` before exec'ing the executable
<Shouou> I'm using makeWrapper, can this be done through that? Otherwise patching sounds good.
<symphorien> yes --run iirc
maximiliantagher has quit [Ping timeout: 268 seconds]
<symphorien> but prefer patching because the wrapper will prevent use to invoke the executable with a relative path as argument
<symphorien> s/use/you/
zupo has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<Taneb> (it's a lemon)
<Taneb> AAaaah I keep doing that
<Taneb> (pressing up-enter without looking what terminal I'm in
<symphorien> you can replace that habit by !! if you want
<Taneb> symphorien: ooh, didn't know that
<symphorien> I also like !$
<Taneb> I guess if I get into that habit I'll just sometimes exclaim surprise on IRC
<symphorien> I guess on average it's better :)
<DigitalKiwi> what's !! ?
ddellacosta has joined #nixos
<symphorien> it is replaced by the last command by bash, zsh and friends
<DigitalKiwi> oh, neat
m0rphism has quit [Quit: WeeChat 2.2]
m0rphism has joined #nixos
<mikky> ok, I got a bit further: at build time, there's couple of `g++ .... -Ipath/to/stuff` where stuff is *some* of the defined build inputs but not the proper path to libxml2-dev, *however*, there is a hardcoded `-I/usr/include/libxml2` in the source code. Is there some kind of logic in nix build that prevents the proper -I to be included when there's one similar hardcoded?
<clever> mikky: is this on nixos or another distro?
<mikky> clever: nixos, I posted about this about an hour ago, this is just a follow-up although somewhat self-contained :)
<clever> mikky: nixos lacks a /usr/include dir, but g++ should check all of the -I paths
<clever> so it should just ignore that entry
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Neo-- has quit [Ping timeout: 240 seconds]
<mikky> the problem is the one path I need (i.e. -I /nix/store/...libxml-something/) is not there at all
<clever> mikky: thats what NIX_CFLAGS_COMPILE is for
<mikky> clever: I thought those should be populated automatically from buildInputs
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> mikky: it is, but it wont be visible on the cmdline when make runs things
<simpson> mikky: Does it use autotools? You could use the autoreconf hook. If the path is hardcoded in the source, though, then you might have to patch it with sed or similar.
<mikky> qmake in this case, if it makes any difference. No autotools
<clever> mikky: check `echo $NIX_CFLAGS_COMPILE`
<clever> mikky: can you pastebin the nix expression that is failing?
samrose has quit [Read error: Connection reset by peer]
fendor has joined #nixos
<AtomVelvet> I want to make a nix derivation for libssl ... how would I even begin to do this? Pulling the .deb from debian repos? Building from source?
<clever> AtomVelvet: building from source is almost always prefered
hiroshi has quit [Ping timeout: 245 seconds]
<simpson> > openssl # AtomVelvet: would this one work?
<{^_^}> "<derivation /nix/store/xng7gm1l5a40kdhk4a17mi9h9sl1jvql-openssl-1.0.2r.drv>"
<srhb> AtomVelvet: Generally, we don't have libfoo packages, instead relying on foo.dev packages.
<{^_^}> [nixpkgs] @cptMikky opened pull request #57031 → add Datovka and libisds, add maintainer cptMikky → https://git.io/fhpQf
<srhb> AtomVelvet: (Meaning, the dev part is usually in the main package too)
<{^_^}> #57031 (by cptMikky, 24 seconds ago, open): add Datovka and libisds, add maintainer cptMikky
<mikky> it's just draft but it shows the deps (libisds) as well
<AtomVelvet> simpson: Ahh, didn't think of that, thanks!
<simpson> AtomVelvet: No worries, it looks like the `libssl` alias isn't there anymore?
<simpson> > libssl
<{^_^}> undefined variable 'libssl' at (string):220:1
simukis has quit [Read error: Connection reset by peer]
simukis has joined #nixos
<AtomVelvet> What's the best resource to learn Nix? Nix pills?
<mikky> clever: building with `nix-build -A datovka`
<clever> mikky: pkgconfig and libxml are to blame
<clever> mikky: nix did -I/nix/store/foo/include
<clever> mikky: and your package is doing #include <libxml/tree.h>
<clever> mikky: but! the file is at /nix/store/foo/include/libxml2/libxml/tree.h!!!
<clever> libxml is mostly to blame, for putting the file in a subdir of include, and requiring you to -I/usr/include/libxml2, which is how they avoided conflicts between versions (the entire point of nix!!)
dbmikus has joined #nixos
fendor has quit [Ping timeout: 250 seconds]
<simpson> AtomVelvet: The pills are pretty good, it seems. Reading nixpkgs can be instructive; grepping it can be even better.
<AtomVelvet> simpson: Okay, thanks!
<srhb> AtomVelvet: #nixos is the best resource, hands down ;-)
<clever> mikky: pkgconfig is the usuall fix for this, bug datovka doesnt attempt to use it
camsbury has joined #nixos
<ddellacosta> amusingly (perhaps to me only) the current version of docker is apparently 18.09
<clever> ddellacosta: heh
<mikky> clever: right, give me a few minutes to sink this in
maximiliantagher has joined #nixos
<{^_^}> [cabal2nix] @peti pushed to v3 « Drop the crazy fetcher auto-detection logic. »: https://git.io/fhpQB
<ajs124> are there any formal requirements for inclusion of a package into nixpkgs? e.g. I recently packaged uefitool, which I could open PR, but I kind of doubt anyone will ever need it.
<AtomVelvet> Is there a page where I can see what to put in my shell.nix file?
m0rphism has quit [Quit: WeeChat 2.2]
<goibhniu> AtomVelvet: https://nixcloud.io/tour is a nice interactive tutorial too
m0rphism has joined #nixos
<clever> ajs124: i have sometimes wanted to run it, to see what my bios is up to
<clever> ajs124: i think thats enough reason to get it into nixpkgs
<mikky> clever: thanks, I think I understand why this helps but I'm still not sure why this doesn't happen automatically in the first place
ThatDocsLady_ has quit [Read error: Connection reset by peer]
<ddellacosta> AtomVelvet: there are a number of language-specific examples in the nixpkgs manual here: https://nixos.org/nixpkgs/manual/
ThatDocsLady_ has joined #nixos
<ddellacosta> ymmv
<simpson> ajs124: Two people have possibly had a use for it, and in addition I've heard of it; this makes uefitool more popular than a good portion of nixpkgs, probably. There is a loooooong tail of single-user packages.
maximiliantagher has quit [Ping timeout: 240 seconds]
<clever> mikky: the problem is that nixpkgs is basically making -I/usr/include work automatically after packages are moved
<clever> mikky: but libxml is being stupid, and needs -I/usr/include/libxml2
<ajs124> clever, simpson: huh, ok, then I'll open a PR. The thing is, carrying it out of tree really isn't much effort for me, so I'm always wondering. Especially since we're at >1k open PRs...
<mikky> clever: that's where I get confused - why libisds compiles then? It has the same dependency. In fact the original problem with Datovka is that it includes libisds which includes libxml...
<mikky> it's from the same header file
<clever> mikky: *looks*
<avn> simpson: hehe. is a good to have any (opt int) voting -- should this package be added. I always doubt -- submit or not (sometimes I'd like to package stuff, but won't support it for long time)
<clever> checking for xml2-config... /nix/store/5rnvl1aknc6myvmip48achjy79q3iccr-libxml2-2.9.9-dev/bin/xml2-config
<clever> mikky: libisds runs xml2-config, a binary that can print out the correct -I flags
<wedens> is there something like nvidia-xrun (https://wiki.archlinux.org/index.php/Nvidia-xrun) in nixpkgs?
<clever> mikky: but the other package is using qmake, and doesnt bother asking libxml where it lives
sigmundv has quit [Ping timeout: 250 seconds]
<mikky> clever: ahh.. ok, now it finally makes sense :)
nefix has quit [Ping timeout: 256 seconds]
<mikky> clever, thanks. I'll fill a bug with datovka as this looks like they're doing something wrong (i.e. assuming a path exists without any reason to)
ThatDocsLady_ has quit [Ping timeout: 240 seconds]
<ddellacosta> wedens, if I understand what nvidia-xrun does, seems like you want the primerun script as described here? https://nixos.wiki/wiki/Nvidia
<ddellacosta> not sure if there's anything available in nixpkgs however, if that was the thrust of your question
<wedens> ddellacosta: thanks. I've seen this primerun script, but completely forgotten about it
<ddellacosta> wedens: unfortunately I have not tried it myself--I'm lazy and just leave my nvidia card enabled all the time in my laptop, but according to that page at least it does the job
<AtomVelvet> Hmm .. despite having openssl in my env, I can't seem to get libssl.so.1.1. Anyone know why that would be?
<AtomVelvet> Actually, it seems the openssl package doesn't work at all
BlessJah has quit [Ping timeout: 240 seconds]
<symphorien> ,locate libssl.so
<{^_^}> Found in packages: openssl, libressl, robomongo, scilab-bin, openssl_1_1, libressl_2_6, libressl_2_8, openssl-chacha
infinee has quit [Quit: leaving]
BlessJah has joined #nixos
<symphorien> What do you mean by "in my env" ?
<infinisil> > openssl.name
<{^_^}> "openssl-1.0.2r"
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/7e34b17aef1 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<{^_^}> [nixpkgs] @buffet opened pull request #57032 → filet: 0.1.1 -> 0.1.2 → https://git.io/fhp7n
Fare has joined #nixos
<infinisil> Huh, I can only find libssl.so.1.1 in openssl_1_1.debug
<infinisil> And not even in the /lib directory
<infinisil> Well, it's in ${openssl_1_1.debug}/lib/debug/libssl.so.1.1
gagbo has quit [Ping timeout: 252 seconds]
<infinisil> And the .dev output only contains ${openssl_1_1.dev}/lib/pkgconfig/libssl.pc
<srhb> infinisil: It's in $out for openssl 1.1 in unstable at least
<{^_^}> [nixpkgs] @Shou opened pull request #57033 → mkchromecast: init at 0.3.8.1 → https://git.io/fhp7C
<infinisil> srhb: That just contains 2 binaries, no libs at all
<infinisil> No libs *either
<srhb> infinisil: That sounds like $bin, not $out
<infinisil> > openssl_1_1
<{^_^}> "<derivation /nix/store/r2drr5d8ws1yv6327gvj10lzism9cdw7-openssl-1.1.1a.drv>"
Dr8128 has quit [Ping timeout: 252 seconds]
<infinisil> bin is the default output
<srhb> infinisil: Yep, hence.
<{^_^}> [nixpkgs] @ajs124 opened pull request #57034 → uefitool: init at A55 and 0.26.0 → https://git.io/fhp7W
<infinisil> Oh
<AtomVelvet> So uh, which version should I be using? Do any of them have the file?
<infinisil> openssl_1_1.out apparently..
<Shouou> symphorien, thanks for the help again. I ended up using the patch approach
<AtomVelvet> symphorien: Ah I mean as in my shell.nix
johanot has quit [Quit: WeeChat 2.2]
<srhb> AtomVelvet: Same answer :)
<AtomVelvet> thanks :)
AtomVelvet has left #nixos ["Konversation terminated!"]
<infinisil> > getLib openssl_1_1
<{^_^}> "<derivation /nix/store/r2drr5d8ws1yv6327gvj10lzism9cdw7-openssl-1.1.1a.drv>"
<infinisil> > openssl_1_1.out
<{^_^}> "<derivation /nix/store/r2drr5d8ws1yv6327gvj10lzism9cdw7-openssl-1.1.1a.drv>"
<infinisil> Ah yeah, guess getLib does the right thing there
lpil has joined #nixos
<infinisil> Oh wait, that output is the same for all drv outputs
<lpil> Hi friends. I'm evaluating Nix as a tool for managing software and configuration on my development laptop, a task that I currently use ansible for. If using Nix but not NixOS will I still be able to perform tasks such as change a user's login shell, etc?
<srhb> > openssl_1_1.out.dev.bin.out
<{^_^}> "<derivation /nix/store/r2drr5d8ws1yv6327gvj10lzism9cdw7-openssl-1.1.1a.drv>"
* srhb shrugs
<lpil> Or will I need to continue to use ansible or similar for these tasks?
<srhb> lpil: We have options for that, yes.
<srhb> lpil: (namely, users.users.$name.shell)
<lpil> Wonderful thank you.
<{^_^}> [nixpkgs] @Infinisil merged pull request #56578 → youtrack: add hostname to path → https://git.io/fhAWn
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhp70
<srhb> lpil: I completely misread your question
<srhb> lpil: Without NixOS, this is not available to you
Fare has quit [Ping timeout: 246 seconds]
<srhb> lpil: Sorry about that.
vidbina has joined #nixos
<lpil> I see, thank you.
dbmikus has quit [Ping timeout: 240 seconds]
<infinisil> lpil: "tasks such as change a user's login shell, etc?" Can you give a bunch more examples?
rauno has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/8abca4bc7b8 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
dbmikus has joined #nixos
<{^_^}> [cabal2nix] @peti pushed to v3 « cabal2nix.cabal: drop unused library dependencies »: https://git.io/fhp76
<DigitalKiwi> simpson: i have a question so for that ocrmypdf thing it has a bunch of tests for itself, i didn't get them working (i think it involved packaging a few more things and i just wanted it to work) should i try to get them to work?
jb55 has quit [Remote host closed the connection]
Fare has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed to release-18.09 « pythonPackages.sqlalchemy_migrate: disable tests »: https://git.io/fhp7M
dbmikus has quit [Ping timeout: 240 seconds]
dbmikus_ has joined #nixos
fendor has joined #nixos
vidbina has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @rydnr closed pull request #56935 → Pharo 7 with Firefox's moz2d → https://git.io/fhpLA
maximiliantagher has joined #nixos
<lpil> infinisil: Adding .desktop files to /usr/share/applications/, writing dotfiles, creating directories to be used as storage by programs, this sort of thing.
<simpson> DigitalKiwi: Up to you. `doCheck = false;` is a time-honored tradition. If you need to include packages just for testing, you can put them in `checkInputs`.
<lpil> I think Nix isn't quite what I'm looking for without also using NixOS. Thanks for the insight all!
lpil has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #57035 → [WIP] Allow custom nssdb in Chromium → https://git.io/fhp7A
<DigitalKiwi> is there a better word than dependee
<gchristensen> what do you want to describe?
kreisys has joined #nixos
kisik21 has joined #nixos
zupo_ has joined #nixos
<DigitalKiwi> like if a program that depends on a library, the library is a dependency, what's a word for the programs that depend on the library?
<gchristensen> referers
<gchristensen> for example: nix-store --query --referers $(which bash)
<DigitalKiwi> is that like a nixos term or generic
<gchristensen> that is the term Nix uses, it is probably a well selected term
<{^_^}> [nixpkgs] @veprbl merged pull request #56859 → openafs: Add support for Linux 5.0 to openafs_1_8 → https://git.io/fhxKn
<{^_^}> [nixpkgs] @veprbl pushed commit from @artemist to master « openafs: Add support for Linux 5.0 to openafs_1_8 (#56859) »: https://git.io/fhp5f
<DigitalKiwi> and also thanks for that command i've been wondering how to do that
<{^_^}> [nixpkgs] @markuskowa merged pull request #56995 → superTuxKart: fix broken build → https://git.io/fhpEy
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to release-19.03: https://git.io/fhp5I
<DigitalKiwi> i've been trying to figure out nixops but i always get python errors i don't know if i'm doing it wrong or it's normal
<DigitalKiwi> https://dpaste.de/68Ju/raw usually something like this
<DigitalKiwi> even when it launches a vm it does that
<{^_^}> [nixpkgs] @markuskowa pushed commit from @aanderse to master « superTuxKart: fix broken build »: https://git.io/fhp5q
<matthewbauer[m]> DigitalKiwi: ugh looks like https://github.com/NixOS/nixops/issues/1086
<{^_^}> nixops#1086 (by delroth, 4 weeks ago, closed): nixops broken with master nixpkgs
<noonien> i want to get a hash for a file i get with fetchurl, however, i set `executable=true;`, is it possible to get the hash with nix-prefetch-url?
<matthewbauer[m]> I wonder if the fix hasn't been applied in nixpkgs?
vidbina has joined #nixos
<DigitalKiwi> i've been getting lots more errors lately in general :(
<DigitalKiwi> taffybar finally started working again recently and now it doesn't
<DigitalKiwi> and yeah i'm on nixos-unstable and i've tried other branches but then other packages fail i had to do (import (fetchTarball "channel:nixos-18.09") {}).freecad
<DigitalKiwi> (i tried that for taffybar but that didn't help)
ddellacosta has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ardumont opened pull request #57036 → Minidlna: Allow more configuration options → https://git.io/fhp5Z
ddellacosta has joined #nixos
<DigitalKiwi> gchristensen: is there a way to do that nix-store but for not installed things? something like this https://dpaste.de/rUJ6/raw
<gchristensen> no
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6a69ce97506 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Fare> Sorry to bother again about the same question, but is there a way to track the issue wrt the 0day exploit fixed in chromium-72.0.3626.121 ? I don't see a fix in nixos-19.03 or nixos-19.03-small yet. A github search suggests that a fix is in the pipeline, though https://github.com/NixOS/nixpkgs/issues?utf8=✓&q=is%3Aissue+chrome
<gchristensen> at build-time A depends on B depends on C, but A may not depend on B after build time -- only at run time
<DigitalKiwi> oh, ok
<Fare> Is the recommended workaround to use firefox and/or a chrome in a debian chroot?
<gchristensen> DigitalKiwi: and also, A may depend on C at run time even if it doesn't depend on B at run time
<gchristensen> ivan: ping
<DigitalKiwi> Fare: don't use chromium :)
<{^_^}> [nixpkgs] @worldofpeace pushed to gnome-3.32 « fixup! gnome3.gnome-control-center: 3.30.3 -> 3.31.92 »: https://git.io/fhp54
<DigitalKiwi> (there are lots of reasons to rather not)
<gchristensen> Fare: let's see if we can ruslte the right people up, a fix should probably have been applied to 19.03 already :/
<noonien> how an one get the path to the current nixpkgs?
<gchristensen> (gently, DigitalKiwi, not using it is off-topic -- having process for this is important)
<Fare> I *suppose* the issue is just a long pipeline, but I'm also worried about the lack of easy tracking for this (and all the future) 0day exploits.
<DigitalKiwi> gchristensen: sorry
drakonis1 has joined #nixos
<gchristensen> Fare: 18.09 has the fix for chromium
<{^_^}> [nixpkgs] @hedning pushed 3 commits to gnome-3.32: https://git.io/fhp5B
<gchristensen> Fare: so does 19.03
<gchristensen> sorry that is wrong. 19.03-small has the fix, 19.03 does not yet
<DigitalKiwi> when you use nix-channels should you only have one and what does it do if there are more than one
emacsomancer has quit [Ping timeout: 245 seconds]
fpob has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
<timor> noonien: echo $NIX_PATH ?
<DigitalKiwi> did that etc symlink error fix make it to the channels yet
<noonien> > nix-instantiate --eval -E '<nixpkgs>'
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):220:27
<noonien> this is what i needed
<noonien> > <nixpkgs>
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo
fpob has joined #nixos
<timor> noonien: something like `nix-build -E 'with import <nixpkgs> {}; hello'` is a pretty common way...
<timor> noonien: in that case, you can simply specify `nix-build '<nixpkgs>' -A hello` though...
<noonien> which isn't exposed any other way as far as i can tell
<{^_^}> #56507 (by danbst, 1 week ago, merged): Revert "Merge pull request #54980 from danbst/etc-relative"
<timor> noonien: nix-shell -p nix-prefetch-svn
emacsomancer has joined #nixos
<noonien> uh
<noonien> cool, didn't know that was a thing
<noonien> thanks!
<timor> noonien: If you want to know what that does, try the nix-shell man page.
<noonien> i know about nix-shell, just not about nix-prefetch-svn
<timor> noonien: they have nothing to do with each other
<noonien> i saw there was a script, but it was not obvious that it was also available as a package
<timor> noonien: You can find out what you can install with "-p" with `nix search`
<timor> s/install/use/
<noonien> i know, just didn't think to search, hehe :D
vidbina has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @veprbl pushed to master « yoda: fix sha hash of the tarball »: https://git.io/fhp5K
<{^_^}> [nixpkgs] @veprbl pushed to release-19.03 « yoda: fix sha hash of the tarball »: https://git.io/fhp5i
infinee has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #57037 → plasma: remove xdg-desktop-menu-dummy.menu if it exists → https://git.io/fhp5P
Denommus has joined #nixos
<Denommus> both nixops and nixopsUnstable have been broken for some days in nixpkgs-unstable
<Denommus> what should I do regarding that?
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> Denommus: Define broken
<Denommus> infinisil: nixops installs, but I can't deploy. nixopsUnstable is marked as broken
<{^_^}> [nixpkgs] @markuskowa opened pull request #57038 → libosmocore: add patch to fix darwin build → https://git.io/fhp5M
<Denommus> I tried to fix with a huge overlay, but I keep finding new issues as I solve each one
thomashoneyman has joined #nixos
<thomashoneyman> elvishjerrico: are you around? following your zfs / luks guide atm but ran into an error mounting zroot/root
fpob has left #nixos [#nixos]
<thomashoneyman> 'filesystem "zroot/root" cannot be mounted at "mnt" due to canonicalization error 2'
<noonien> thomashoneyman: what have you done so far, and what error are you getting?
<infinisil> Denommus: Ah, so https://github.com/NixOS/nixpkgs/pull/52550
<{^_^}> #52550 (by bendlas, 11 weeks ago, open): Fix builds for pythonPackages.azure-mgmt-*
<thomashoneyman> performed step 1 on a blank hard drive and it seemed to all work without error
<thomashoneyman> now on step 2
<noonien> oh, sorry, can't help with that atm
<noonien> i've only encrypted my zfs root
<noonien> don't have an encrypted boot yet
<elvishjerricco> thomashoneyman: FYI my username has two c's ;)
<noonien> let me see if i can still find the commands i used to create my zroot
<elvishjerricco> I'm unfamiliar with that error message
<thomashoneyman> ah! sorry, elvishjerricco, I've mistaken that a few times
<noonien> thomashoneyman: http://vpaste.net/NhVgZ is what i did
<noonien> notice that i changed the name of my root dataset to "zpool" instead of "zroot", this isn't anything special, just that most documentation on the nixos wiki asumes the dataset is called zroot
<noonien> in hindsight, perhaps that would have been a better name
<clever> noonien: i tend to use the hostname, duplicate pool names (recovering, and putting one hdd into another machine) cause issues
<elvishjerricco> thomashoneyman: So I'm googling a bit and it looks like mountpoint issues. Can you run `zfs get mountpoint`?
<thomashoneyman> it looks like you mount to zpool/root/nixos, whereas this guide mounts to zroot/root -- is that meaningful?
<thomashoneyman> results of `zfs get mountpoint`:
<{^_^}> [nixpkgs] @vcunat pushed commit from @Mic92 to release-19.03 « Merge #57015: lua packages: fix some bugs »: https://git.io/fhp55
<elvishjerricco> thomashoneyman: Oh huh let me see...
<thomashoneyman> 1. name: zroot, property: mountpoint, value: none, source: local
kreisys has joined #nixos
<noonien> also, i realy don't see the point in encrypting /boot, not without a proper secure enclave to provide security for it
<thomashoneyman> 2. name: zroot/root, property: mountpoint, value: legacy, source: local
<{^_^}> [nixpkgs] @dtzWill opened pull request #57039 → man-pages: 4.16 -> 5.00 → https://git.io/fhp5d
<noonien> thomashoneyman: i just followed https://nixos.wiki/wiki/NixOS_on_ZFS
<noonien> for the zfs part
<noonien> secureboot is a joke atm, imho
<elvishjerricco> noonien: Yea it's not super important. It was more about having /boot on ZFS for integrity and to share the disk space. And the rest of the ZFS pool needed to be encrypted
<clever> noonien: of note, there is an EFI function to query if secureboot is enabled, but its just a bool, and its trivial to fake its response if secureboot is off
<elvishjerricco> But in theory, a TPM can make encrypted /boot very valuable
<{^_^}> [nixpkgs] @dtzWill opened pull request #57040 → libhandy: 0.0.8 -> 0.0.9 → https://git.io/fhp5N
<noonien> i see, i don't see much use in using secureboot anyway
<noonien> even with proper TPM setup
<clever> noonien: also, M$ signed binaries allow executing unsigned code, so any bios trusting the M$ keys effectively has secureboot disabled
<noonien> there's no way to setup a secure enclave with just TPM and secureboot
<noonien> you can change the secureboot keys in most bioses
<clever> noonien: the only point of secureboot, is to stop malware from replacing your bootloader, and then blocking things like AV early on
<noonien> sign your own EFIs, and decrypt them using a key in TPM
<elvishjerricco> thomashoneyman: So did you figure the thing out?
neminis has joined #nixos
<noonien> (i couldn't find a turnkey solution for all of this though)
<{^_^}> [nixpkgs] @dtzWill opened pull request #57041 → gnome3.geary: 0.13.1 -> 0.13.2 → https://git.io/fhp5x
<clever> noonien: the TPM has a measured boot mode, where the hash of your efi binary must remain unchanged
<thomashoneyman> no, still googlig around
<clever> noonien: so an attacker cant get the keys out of the TPM
asymmetric has quit [Ping timeout: 250 seconds]
<noonien> clever: no, but the bootprocess can still be hijacked by a physical attack
<elvishjerricco> noonien, clever: lets move this to #nixos-chat?
<{^_^}> [nixpkgs] @danbst merged pull request #56857 → module system: revert "remove types.optionSet", just deprecate → https://git.io/fhxoB
<{^_^}> [nixpkgs] @danbst pushed to master « module system: revert "remove types.optionSet", just deprecate (#56857) »: https://git.io/fhp5j
<noonien> sure
<elvishjerricco> thomashoneyman: My guide did not say to have "nixos" in the data set path
<thomashoneyman> elvishjerricco: right -- I did not have it in the path, but I asked as I did see that in noonien's paste
ErAsMuS has joined #nixos
<thomashoneyman> i used zroot/root
<thomashoneyman> ...unless that's not what you're referring to
<elvishjerricco> thomashoneyman: Nah you're right.
<{^_^}> [nixpkgs] @danbst pushed to release-19.03 « module system: revert "remove types.optionSet", just deprecate (#56857) »: https://git.io/fhpdJ
<elvishjerricco> thomashoneyman: It sounds like the mointpoint may not exist or something?
<thomashoneyman> re-running the command (not sure if that's bad -- new stuff to me!) has no output
<thomashoneyman> rather than producing the error again
<thomashoneyman> and I _do_ see with `zfs get mountpoint` the zroot/root in there
drakonis1 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @Mic92 merged pull request #57019 → rustup: 1.16.0 -> 1.17.0 → https://git.io/fhpi3
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhpdm
<thomashoneyman> elvishjerricco: later in this guide you have references to the encrypted and unencrypted disk names
<thomashoneyman> i created the encrypted name with cryptsetup, right? so cryptsetup luksOpen <disk> <encrypted-name>
<thomashoneyman> so here <disk> is the unencrypted name and <encrypted-name> is the encrypted name?
<elvishjerricco> My terminology is that the decrypted name is the name you give to cryptsetup, and <disk> is the encrypted name
<clever> thomashoneyman: yeah
<clever> thomashoneyman: the man page should give a definite answer
<elvishjerricco> Since disk refers to the media with encrypted data and the mapped name refers to media with decrypted data
<Denommus> infinisil: yeah, that fixes its dependencies, but nixopsUnstable itself still has a build error
<thomashoneyman> aw, that sucks for me, since i named the 'decrypted data' (the final argument to cryptsetup) 'nixos-enc'
<noonien> thomashoneyman: sorry for not responding earlier, the reason i used zpool/root/nixos is because the zfs guide on the nix wiki suggested that i might have different roots for differents os', which seemed like a fair point
<noonien> so i coud use zpool/root/ubuntu for example
<noonien> don't think i'll ever use any other linux-based os except nixos ever though :D
timor has quit [Ping timeout: 252 seconds]
<thomashoneyman> ah, i see
<Fare> what is the Right Thing™ to do wrt building proprietary/experimental software on top of nixpkgs?
<Fare> I depend on updates wrt what is on nixpkgs
<Fare> is there a way to define my software as a layer on top of nixpkgs?
<Fare> I'd rather not maintain a long-running fork of nixpkgs
<Fare> gchristensen, if I nix-channel --update with nixos-19.03-small, the patch isn't there yet.
Shouou has quit [Ping timeout: 245 seconds]
<simpson> ,overlays
<{^_^}> simpson: Did you mean overlay?
<{^_^}> Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
benhoman has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<slack1256> Sometimes nix-shell take a while to initializate. I've been thinking on leaving a nix-shell open via tmux and make emacs send build commands through it
<slack1256> Does anyone do the same? Care to share your setup?
ym555_ has joined #nixos
ym555 has quit [Ping timeout: 252 seconds]
ErAsMuS has quit [Quit: END-AUMF]
<{^_^}> [nixpkgs] @matthewbauer closed pull request #31325 → nixos/gdm,nvidia: fix assertion for gdm not using wayland on nvidia → https://git.io/vF8EN
<thomashoneyman> is there a way to check what type a field should be?
drewr has joined #nixos
<elvishjerricco> thomashoneyman: You mean a NixOS option?
<thomashoneyman> in configuration.nix
<elvishjerricco> Yea
<thomashoneyman> mostly for when it should be a number or a number string
<thomashoneyman> alright! installing this...
<thomashoneyman> oh no
imdoor has joined #nixos
<thomashoneyman> "the option boot.initrd.luks.devices.nixos-enc.keyfile does not exist"
<thomashoneyman> where 'nixos-enc' is my 'decrypted' disk name
imdoor has left #nixos [#nixos]
<elvishjerricco> thomashoneyman: Uh oh. Hold on I have a link for you
<JonReed> thomashoneyman: https://nixos.org/nixos/options.html shows types
<elvishjerricco> thomashoneyman: https://nixos.org/nixos/options.html
<JonReed> elvishjerricco: :)
<elvishjerricco> Haha
<elvishjerricco> thomashoneyman: Looks like you forgot to capitalize File
goibhniu has quit [Ping timeout: 250 seconds]
ckauhaus has quit [Quit: WeeChat 2.2]
neminis has quit [Quit: WeeChat 2.2]
gagbo has joined #nixos
<Denommus> I fixed my nixopsUnstable!
<elvishjerricco> thomashoneyman: Ok I'm at my desk now, so I can probably help better. What's your status?
thomashoneyman has quit [Ping timeout: 256 seconds]
<Denommus> after a lot of debugging and refactoring, I made this overlay: https://gist.github.com/Denommus/0a72f25ce858d6a68a0f53bd825c418d
<Denommus> this is untested with azure, I just did what I could for the package to build
dashkal has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
fendor_ has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ym555_ has quit [Quit: leaving...]
zupo has joined #nixos
<noonien> is it possible to get a hash for a file i download with `fetchurl { url = ...; executable = true; sha256 = "need this"; }`?
zupo has quit [Client Quit]
<elvishjerricco> ,TOFU
<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.
<elvishjerricco> hm I forget how to do that
<gchristensen> infinisil: maybe strtolower() on the db
<noonien> sure, but how can i get that hash?
<noonien> i mean, i have an update.sh script that outputs a file with all the hashes i need
<noonien> and in order to do that, i need to compute the hash for it programatically
<DigitalKiwi> what's the speedfactor mean in distributed builds
Dr8128 has joined #nixos
<clever> DigitalKiwi: the relative speed of that machiiiiiiiiine, compared to others in the list
<gchristensen> "The “speed factor”, indicating the relative speed of the machine. If there are multiple machines of the right type, Nix will prefer the fastest, taking load into account.", https://nixos.org/nix/manual/
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace pushed to gnome-3.32 « gnome3.gnome-settings-daemon: bypass polkit by using an suid wrapper »: https://git.io/fhpFL
<gchristensen> bigger is faster
<DigitalKiwi> oh i checked the wrong manuals
<DigitalKiwi> sorry
<gchristensen> no worries ;)
<gchristensen> the breakdown is a bit confusing to people new to them
reilithion has joined #nixos
drakonis_ has joined #nixos
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<reilithion> How do I get a cross-compilation development environment?
<clever> reilithion: i believe nix-shell still works against cross-compile deriations
drakonis1 has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
raduom has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
<clever> reilithion: https://github.com/cleverca22/thermostat_firmware/blob/master/default.nix#L4 so you just start with something nix-build can cross-compile
kreisys has joined #nixos
<{^_^}> [nixpkgs] @bendlas pushed 6 commits to master: https://git.io/fhpFG
<noonien> clever: that's actually pretty awesome
<reilithion> clever, So the thing to do would be to write a derivation (default.nix) for my development and then invoke `nix-shell --arg crossSystem '{ config = "i386-unknown-none-elf"; }'`?
<{^_^}> [nixpkgs] @bendlas merged pull request #49797 → Chromium build optimizations → https://git.io/fpeKA
<noonien> is there a reason not to use `pkgs = (import nixpkgs {}).pkgsCross.avr;`?
<{^_^}> [nixpkgs] @bendlas pushed to release-19.03 « Merge commit '9ae406c0749bbc7373d7422edeaf6b1b6caa0dae' of github.com:NixOS/nixpkgs into fix-chromium »: https://git.io/fhpF4
<reilithion> noonien, Was that directed at me?
<noonien> i was asking clever, sorry, should have tagged
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/dc988c0bd66 (from 76 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<infinisil> ,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.
<infinisil> gchristensen: Done that :)
<gchristensen> ,nice
<clever> noonien: more to let me access non-cross things when i need them
<noonien> hmm, when would that be the case?
zupo has joined #nixos
<clever> noonien: if i need a tool like pkg-config, i want the x86 version, not the avr version
maximiliantagher has joined #nixos
stepcut has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/31e932c0d41 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<noonien> clever: hmm, what would happen if a package is both a runtime and build-time dependencies?
<noonien> it would need to be provided once from pkgs, and once from pkgs.pkgsCross?
<clever> noonien: it also depends on if your just shoving it into the build inputs, or using it inside a string
<clever> noonien: nativeBuildInputs picks the native version automatically
<noonien> i see
_kwstas has joined #nixos
srl295 has joined #nixos
freusque has quit [Quit: WeeChat 2.0]
gilligan_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @dtzWill merged pull request #56799 → electron{,_3}: updates (fixes, security?) → https://git.io/fhxOF
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to master: https://git.io/fhpFK
<{^_^}> [nixpkgs] @dtzWill merged pull request #56598 → libosinfo: 1.2.0 -> 1.4.0 → https://git.io/fhAzX
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to master: https://git.io/fhpF6
JosW has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #56547 → gdk-pixbuf: 2.38.0 -> 2.38.1 → https://git.io/fhAIh
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhpFP
halfbit has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #56182 → krb5: 1.15.2 -> 1.17 → https://git.io/fhpFD
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to staging: https://git.io/fhpFy
maximiliantagher has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @nyanloutre opened pull request #57044 → netdata: lm-sensor support → https://git.io/fhpFQ
<{^_^}> [nixpkgs] @dtzWill merged pull request #56529 → libplist: 2018-07-25 -> 2019-01-20 → https://git.io/fhNjR
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhpF7
<elvishjerricco> Why would I be getting this error on NixOS for an fs specified in a NixOS config? `mount: /foo/bar/baz: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.`
<{^_^}> [nixpkgs] @BadDecisionsAlex opened pull request #57045 → Updated to latest Version → https://git.io/fhpFd
ddellacosta has quit [Ping timeout: 240 seconds]
<elvishjerricco> That's from `systemctl status foo-bar-baz.mount`
<noonien> elvishjerricco: can you provide more info? what config do you suspect causes this?
ddellacosta has joined #nixos
<elvishjerricco> noonien: A... silly one, so it may be hard to reproduce :P Essentially I'm playing with the notion of NixOS *inside* the initrd (or as a boot loader), so I'm copying `config.fileSystems` with `neededForBoot = true;` to the initrd NixOS config with `neededForBoot = false;`
<elvishjerricco> Running this in qemu, I'm getting that on the 9p mounts that are generated
<elvishjerricco> noonien: Regardless, I thought NixOS would take care of making sure any needed helper programs would be available, but I'm not sure how it does that
<reilithion> clever, That didn't seem to work.
<elvishjerricco> Or maybe I don't have a required kernel module loaded.
<elvishjerricco> Might have missed some nixos option when copying the kernel module options to the nested config.
<simukis> how does one produce multiple nix packages from a single "buildPhase"?
vk3wtf has joined #nixos
ixxie has joined #nixos
<clever> reilithion: how does it fail?
<reilithion> clever, gcc --dumpmachine tells me "x86_64-unknown-linux-gnu" instead of the expected "i386-unknown-none-elf"
<noonien> hmm, should nix-prefetch-url print the path if i didn-t supply --print-path?
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<infinisil> simukis: Generally you can't, the only related thing is multiple outputs, where an $out gets split into multiple packages
<symphorien> simukis: https://nixos.org/nix/manual/#ssec-derivation see the outputs options
<{^_^}> [nixpkgs] @dtzWill merged pull request #56803 → shapelib: 1.4.1 -> 1.5.0 → https://git.io/fhx3T
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhpbv
<clever> reilithion: and if you tab-complete i3<tab> what does it find?
<symphorien> reilithion: in a cross compilation nix-shell you must use $CC
<reilithion> clever, I get "i386 i3lock"
danielrf has joined #nixos
<reilithion> symphorien, CC = gcc
<clever> reilithion: also, if you just want a 32bit compiler, you dont need any of the cross-compile logic
<{^_^}> [nixpkgs] @dtzWill merged pull request #56548 → clipgrab: 3.7.2 -> 3.8.2, qt4 -> qt5 → https://git.io/fhALt
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhpbT
<clever> reilithion: just use pkgsi686Linux
<reilithion> clever, I am trying to do OS development, and consequently need a cross compiler.
<reilithion> What's pkgsi686linux?
<simukis> infinisil: symphorien: thanks
<clever> reilithion: if you are just targeting 32bit x86, you can use pkgsi686Linux.stdenv
<clever> reilithion: it works exactly like pkgs, but its all 32bit packages
<reilithion> clever, Not sufficient. It still assumes the resulting binaries will be run on Linux, which is not true for OS development.
<symphorien> reilithion: can you paste your shell.nix ?
liori has quit [Remote host closed the connection]
<reilithion> Is there a blessed pastebin, or should I paste the 5 or so lines directly into chat?
drakonis has joined #nixos
<clever> reilithion: i prefer using gist
liori has joined #nixos
<symphorien> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
maximiliantagher has joined #nixos
drakonis1 has quit [Ping timeout: 252 seconds]
<symphorien> reilithion: https://nixos.wiki/wiki/Cross_Compiling#How_to_obtain_a_shell_with_a_cross_compiler << pass the crossSystem option to import <nixpkgs> {};
fendor_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #57024 → swift: 4.2.2 -> 4.2.3 → https://git.io/fhpMZ
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhpbq
jtojnar has joined #nixos
<reilithion> symphorien, Thanks, I'll give that a try.
halfbit has quit [Quit: WeeChat 2.4]
Dr8128 has quit [Ping timeout: 252 seconds]
drakonis has quit [Ping timeout: 252 seconds]
<reilithion> Progress. But now I get an error: "Unknown libc".
drakonis has joined #nixos
erictapen has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #56782 → asciidoc: replace tetex by texlive → https://git.io/fhxec
<{^_^}> [nixpkgs] @xeji pushed commit from @dotlambda to master « asciidoc: replace tetex by texlive (#56782) »: https://git.io/fhpbC
<clever> reilithion: i think the stdenv needs a libc to function, so a full cross-compile env wont work until your OS has a libc
orivej has joined #nixos
<clever> reilithion: youll need to just grab the bare gcc from it, at which point, the 32bit one from before should do
<reilithion> clever, That's odd. Previously, I was able to set libc = null
<pie___> rycee, might be nice if there was a home-manager channel?
<symphorien> reilithion: are you specifying a triple as a string ?
<{^_^}> [nixpkgs] @nyanloutre opened pull request #57046 → jellyfin: init at 10.2.2 → https://git.io/fhpbl
<clever> reilithion: you should be able to call gcc with params like free-standing to make it ignore the linux-y defaults
<reilithion> symphorien, Yes: i386-unknown-none-elf
erictapen has joined #nixos
<symphorien> I think there is a complicated dance to convert them into an attrset as consumed by nixpkgs
<symphorien> maybe declaring the attrset directly works better
<reilithion> It's odd that this actually got worse since 16.09. I thought Ericson2314's changes were supposed to make cross-compilation more elegant.
erictapen has quit [Ping timeout: 240 seconds]
erictapen has joined #nixos
genesis has quit [Remote host closed the connection]
srid has quit [Read error: Connection reset by peer]
_kwstas has quit [Quit: _kwstas]
ixxie has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos
<reilithion> symphorien, That helped, I think. Now I need to understand the depsXXXYYY stuff
<reilithion> I think I probably have dependencies in the wrong categories.
<symphorien> buildInputs and nativeBuildInputs are usually enough
<symphorien> using packages in strings like "${package}/bin/tool" can be problematic though.
<symphorien> you need buildPackages and such stuff
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis has quit [Ping timeout: 240 seconds]
rprije has joined #nixos
<reilithion> It's refusing to evaluate because gcc-debug-wrapper is unsupported on my triple. :-(
<{^_^}> [nixpkgs] @xeji merged pull request #57039 → man-pages: 4.16 -> 5.00 → https://git.io/fhp5d
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « man-pages: 4.16 -> 5.00 (#57039) »: https://git.io/fhpb1
<{^_^}> [nixpkgs] @eadwu opened pull request #57047 → vscode: 1.31.1 -> 1.32.0 → https://git.io/fhpbM
<reilithion> Can I set allowUnsupportedSystem = true locally, only for this project?
<symphorien> import <nixpkgs> { config = { allowUnsupportedSystem = true; }; };
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to release-19.03 « man-pages: 4.16 -> 5.00 (#57039) »: https://git.io/fhpb9
<{^_^}> [nixpkgs] @xeji merged pull request #57002 → udocker: Fix build → https://git.io/fhpzB
<{^_^}> [nixpkgs] @xeji pushed commit from @knedlsepp to master « udocker: Fix build (#57002) »: https://git.io/fhpb5
hiroshi has joined #nixos
<charukiewicz> Does anyone else experience a NixOps issue during deployment along the lines of: "unable to download 'https://cache.nixos.org/nix-cache-info': Couldn't connect to server (7); retrying in 4347 ms"
<{^_^}> [nixpkgs] @xeji pushed commit from @knedlsepp to release-19.03 « udocker: Fix build (#57002) »: https://git.io/fhpbd
<clever> charukiewicz: is your internet working on the remote and local machine?
<charukiewicz> yes, it's an AWS instance
<reilithion> Promising progress. I've got a build going. We'll see what happens when it finishes. Thanks for your help so far, symphorien and clever. ^_^
<charukiewicz> clever: and it does seem to work, it just fires those warnings. it starts with a small timeout like 100ms then increases to 19000ms. the warning fires 10-20 times during a deployment
<charukiewicz> There's an issue reporting throttling in the nixops repo: https://github.com/NixOS/nixpkgs/issues/14874
<{^_^}> #14874 (by yorickvP, 2 years ago, closed): cache.nixos.org sometimes unreachable
<clever> ,cache charukiewicz
<{^_^}> [nixpkgs] @xeji merged pull request #56978 → xorg.oclock: Fix build → https://git.io/fhpBa
<{^_^}> [nixpkgs] @xeji pushed commit from @knedlsepp to master « xorg.oclock: Fix build (#56978) »: https://git.io/fhpbF
<gchristensen> what a hard issue :(
<{^_^}> [nixpkgs] @xeji pushed commit from @knedlsepp to release-19.03 « xorg.oclock: Fix build (#56978) »: https://git.io/fhpbb
<glasserc> Is there a way to tell what channel I am "currently" on?
<gchristensen> nixos?
<Church-> I just had the stupidest issue ever
<Church-> Oh god
<gchristensen> glasserc: nix-info
<glasserc> gchristensen: Thanks
drakonis has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xeji merged pull request #56979 → xorg.editres: fix build → https://git.io/fhpBX
<{^_^}> [nixpkgs] @xeji pushed commit from @knedlsepp to master « xorg.editres: fix build (#56979) »: https://git.io/fhpbx
<{^_^}> [nixpkgs] @xeji pushed commit from @knedlsepp to release-19.03 « xorg.editres: fix build (#56979) »: https://git.io/fhpbh
fendor has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @xeji merged pull request #56848 → pythonPackages.mxnet: Fix build → https://git.io/fhxVZ
<{^_^}> [nixpkgs] @xeji pushed commit from @knedlsepp to master « pythonPackages.mxnet: Fix build (#56848) »: https://git.io/fhpNf
<{^_^}> [nixpkgs] @xeji pushed commit from @knedlsepp to release-19.03 « pythonPackages.mxnet: Fix build (#56848) »: https://git.io/fhpNJ
<charukiewicz> clever: thanks. looks like it's an issue out of our control.
hlavaty has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #56992 → unifiStable: 5.10.17 -> 5.10.19 → https://git.io/fhpEm
<{^_^}> [nixpkgs] @xeji pushed commit from @bachp to master « unifiStable: 5.10.17 -> 5.10.19 (#56992) »: https://git.io/fhpNT
alex`` has quit [Ping timeout: 246 seconds]
alex`` has joined #nixos
Fare has quit [Ping timeout: 255 seconds]
<buckley310> Can someone tell me what I'm doing wrong with this package? It seems like the patch is being applied but doesnt "stick"? package: http://ix.io/1CPN log: http://ix.io/1CPL
<buckley310> the patch moves "qt5_use_modules" from 353 to 354, but cmake crashes on line 353...
JonReed has quit [Ping timeout: 256 seconds]
genesis has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #56739 → sdparm: 1.10 -> 1.11r320 → https://git.io/fhAFL
<{^_^}> [nixpkgs] @0x4A6F opened pull request #57048 → tayga: init at 0.9.2 → https://git.io/fhpNG
<{^_^}> [nixpkgs] @xeji merged pull request #56709 → jackett: 0.10.707 -> 0.10.846 → https://git.io/fhAym
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « jackett: 0.10.707 -> 0.10.846 (#56709) »: https://git.io/fhpNZ
ErAsMuS has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jackdk has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #57032 → filet: 0.1.1 -> 0.1.2 → https://git.io/fhp7n
<{^_^}> [nixpkgs] @xeji pushed commit from @buffet to master « filet: 0.1.1 -> 0.1.2 (#57032) »: https://git.io/fhpNu
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to master: https://git.io/fhpNa
zupo has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed 2 commits to master: https://git.io/fhpNr
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @rycee closed pull request #57005 → unifont{,_upper}: 11.0.03 -> 12.0.01 → https://git.io/fhpg7
vk3wtf has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #57049 → wireless-regdb: 2018.10.24 -> 2019.03.01 → https://git.io/fhpNi
<{^_^}> [nixpkgs] @dtzWill opened pull request #57050 → pythonPackages.m2crypto: 0.30.1 -> 0.32.0 → https://git.io/fhpNX
<{^_^}> [nixpkgs] @dtzWill opened pull request #57051 → linuxPackages.bcc: 0.8.0 -> 0.9.0 → https://git.io/fhpN1
<{^_^}> [nixpkgs] @rycee pushed 3 commits to release-19.03: https://git.io/fhpND
<{^_^}> [nixpkgs] @dtzWill opened pull request #57052 → broot: 0.6.3 -> 0.7.0 → https://git.io/fhpNy
xkapastel has joined #nixos
Denommus has quit [Remote host closed the connection]
kvda has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to release-19.03: https://git.io/fhpN7
<{^_^}> [nixpkgs] @worldofpeace merged pull request #57047 → vscode: 1.31.1 -> 1.32.0 → https://git.io/fhpbM
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhpN5
jtojnar has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @0x4A6F opened pull request #57054 → maintainers.0x4A6F: update handle → https://git.io/fhpNb
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @eadwu to release-19.03 « vscode: 1.31.1 -> 1.32.0 »: https://git.io/fhpNN
jtojnar has joined #nixos
<noonien> hmm, can i use the same fetchurl to fetch multiple files?
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @eadwu to release-18.09 « vscode: 1.31.1 -> 1.32.0 »: https://git.io/fhpAe
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
sigmundv has joined #nixos
biopandemic has quit [Ping timeout: 240 seconds]
maximiliantagher has quit [Remote host closed the connection]
<infinisil> noonien: Nope
maximiliantagher has joined #nixos
<noonien> pft
<noonien> i'm really struggling with fetching subdirectories from a github repo
<noonien> i thought subversion might save me, since github has a svn bridge, and it can fetch subdirectories, but apparently it only works with one level paths
<buckley310> cant just fetch the whole repo and pull out the files you need?
reilithion has quit [Quit: Leaving]
<noonien> no, the repo has over 1gb worth of build artifacts in it
<buckley310> how many files do you need from the repo?
<noonien> ~910
<noonien> so having a fetchurl per file isn't really feasible
<buckley310> you could create a fixed-output derivation, and then just stick whatever tool (wget, svn etc) in there to recursively grab the files
<buckley310> haven't made one myself, but: https://nixos.org/nix/manual/#fixed-output-drvs
<infinisil> buckley310: You'd have to still download the whole repo on every new commit though..
<buckley310> only the subfolders you want
<noonien> i've already crated a github fetcher
<noonien> that i can supply with a list of files
<noonien> i'm actually thinkinng of just making it into a generic multi-url fetcher
<infinisil> noonien: How about using fetchGit, which works like a normal git fetch, only the new commits need to be fetched again
<infinisil> I think
<noonien> infinisil: the built artifacts are still in the repo
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/39495404a3e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> Yeah, but at least you only need to clone it once then
<noonien> a snapshot of the repo is about ~2GB
<noonien> while ALL the fonts take ~220mb
<noonien> idealy i would only download the source files for the fonts i need
<infinisil> Well, if you have a solution that fetches the 2GB into the nix store directly, you'll have 2GB * (1 + number of times you use a new revision) space usage
<infinisil> Of course <2GB would be better, but fetchGit should give you ~2GB
<infinisil> constant
<noonien> i believe that's what's currently in the nixpkgs
<infinisil> It's not
<noonien> fetchFromGitHub fetches the .tar.gz afaik
<noonien> not the git repo
<infinisil> Yeah so that's not the same as fetchGit
<noonien> Yup, so currently, there's a ~2GB derivation for each version of nerdfonts
<noonien> while some fonts are only a few MBs in side
<infinisil> And with fetchGit you could get it in 2GB once
<noonien> which is still 1.8GB too much
<infinisil> I'm just giving you an option.. 2GB is better than 2GB*n..
seanparsons has quit [Remote host closed the connection]
<noonien> because it contains 1.8GB or more(given the git history) of build artifacts that are not needed
<noonien> Sure, but I guess users prefer a 5mb derivation for a single 5mb font
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/ae27cd194d6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<infinisil> How about providing a cached build result, then users won't have to download the source
<noonien> Hmm, this leads me to a question, if derivation A needs derivarion B at build time as its src, will B get garbage collected once A is built?
<infinisil> noonien: Once you run the garbage collector, yes
<noonien> infinisil: sure, that's a good product of what i'm trying to achieve
<infinisil> Assuming A doesn't need B at runtime
seanparsons has joined #nixos
<noonien> my current problem is that i wanted to try out nerdfonts, and i thought nix broke
<noonien> i've got a really shitty internet connection
<noonien> for some reason some CDNs are throttled to ~30-40kbs
<noonien> imagine trying to download 2GB of fonts, just to use 5MB
m0rphism has quit [Ping timeout: 255 seconds]
<infinisil> Yeah
erasmas has quit [Quit: leaving]
__monty__ has quit [Quit: leaving]
<infinisil> noonien: How about using the github api to construct a nix file that can download every font directly
<noonien> yes, that's what i'll be doing
<noonien> however, i'm first creating a fetcher capable of downloading multiple files, so i don't just wget in my derivation
<noonien> perhaps someone else might need something similar in the future
<infinisil> noonien: Isn't the idea to just download the fonts that are requested?
<infinisil> Then a bunch of fetchurl's shouldnt' be a problem
vk3wtf has joined #nixos
<noonien> a font might contain multiple files, for example, this one has 325 files: https://github.com/ryanoasis/nerd-fonts/tree/master/src/unpatched-fonts/Noto
seanparsons has quit [Quit: ZNC 1.7.1 - https://znc.in]
<infinisil> noonien: Hmm.. I originally thought about not including all the variants, but users probably want all the variants
<infinisil> You'd have to see the variants to choose one
<noonien> Yeah, I don't want to deconstruct nerdfonts too much
seanparsons has joined #nixos
<noonien> I've already implemented patching the fonts in nix, this way, the user could have mutliple variants per font
<infinisil> Neat
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #57055 → pythonPackages.m2crypto: swig2 as nativeBuildInput so it can be invoked → https://git.io/fhpA2
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<noonien> Hmm, I've got a tricky question. Can I get the output of a shell script in nix, and use it as a value?
freeman42x has joined #nixos
<symphorien> not in nixpkgs
<symphorien> otherwise, there is ifd
<symphorien> ,ifd
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is a problem because it requires evaluating some, building some, and then evaluating the build result.
<noonien> i'm asking because i want to get a list of files, then use those files to create a derivation
<infinisil> ,ifd = import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result.
<{^_^}> ifd redefined, was defined as import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is a problem because it requires evaluating some, building some, and then evaluating the build result.
<noonien> the end derivation is a fixed output derivation
<infinisil> noonien: Usually you'd use something that generates a nix expression first
nD5Xjz has quit [Ping timeout: 252 seconds]
nD5Xjz_ has joined #nixos
<noonien> And commit that nix expression to the repo?
<infinisil> Yeah
<noonien> Or evaluate it right away?
<infinisil> By committing the nix files it also makes it reproducible
<noonien> Yes, but the end derivation is a fixed-output derivation
<infinisil> IFD wouldn't work for you anyways because you won't have access to the network
<infinisil> Ah, I guess you would if you give it the hash yeah
<infinisil> For completeness, there's also this which you *could* use, but shouldn't:
<infinisil> ,exec
<{^_^}> builtins.exec is a hidden unsafe impure Nix 2.0 feature that can be used to execute arbitrary commands during a Nix evaluation. Use with caution! Enable with `--option allow-unsafe-native-code-during-evaluation true`, simple example: https://gist.github.com/Infinisil/bb59b5258ccf17801179c249a9bb3342 More info: https://github.com/NixOS/nix/commit/0bb8db25
fractalcat has joined #nixos
<noonien> Nah, I want to eventually publish to nixpkgs, so don't want to do this
<infinisil> noonien: Ah well then you can't use IFD anyways
<noonien> What's `runCommand`?
<infinisil> You could generate a nix file like: `{ Inconsolata."Inconsolata For Powerline" = "672d07fa6..."; }` to specify the hashes
<noonien> ah, it just builds a derivation that runs the command
<noonien> infinisil: yes, that's what i currently have
<noonien> What is `' =`?
<infinisil> Huh?
<noonien> there's a single quote after the variable name
<infinisil> Oh it's just part of the name
<noonien> Ah!
<infinisil> > yesn't = true
<{^_^}> yesn't defined
<noonien> My logic is that, git for example, feetches a list of objects that it needs to download when it's run. I don't see why my tool shouldn't do the same thing, since it's a fixed output derivation
<noonien> however, it seems i need to do that as part of builder.sh
<infinisil> I'm not sure if git objects correspond to files
<infinisil> Probably not
<noonien> Well, no, but that's just an analogy
<noonien> There's an initial step of getting a listing of what to download
<infinisil> Ah yeah