gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
jperras has quit [Ping timeout: 245 seconds]
<rawtaz> im reading https://nixos.org/nixpkgs/manual/#idm140737315728352 and am wondering if there's a more temporary way to enable sandboxing for a `nixos-rebuild test -I nixpks=foo` run? some env var perhaps?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0a308534615 (from 35 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
hitchhikingcoder has joined #nixos
trevthedev has quit [Ping timeout: 250 seconds]
hitchhikingcoder has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @urkud opened pull request #46920 → Pokerth 1.1.2 → https://git.io/fAHwp
hakujin has joined #nixos
<c15ade4> hmm, getting some problem trying to build a rust project - unable to find libclang
rprije has quit [Ping timeout: 272 seconds]
rprije has joined #nixos
jperras has joined #nixos
abueide has quit [Remote host closed the connection]
<c15ade4> I can see libclang in the store, but not sure how to get that path into pkg-config or something similar
hakujin has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a83d61b7086 (from 31 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
camsbury has quit [Ping timeout: 272 seconds]
rprije has quit [Ping timeout: 260 seconds]
sanscoeu_ has joined #nixos
rprije has joined #nixos
<{^_^}> [nixpkgs] @rawtaz opened pull request #46921 → WIP: open-vm-tools: 10.1.10 -> 10.3.0 → https://git.io/fAHr4
sanscoeur has quit [Ping timeout: 260 seconds]
sanscoeu_ has quit [Ping timeout: 252 seconds]
<c15ade4> or another question, what is the difference between clang-unwrapped and clang
<mog> im running nixos on my raspberry pi and im trying to interface with the hat i have installed on it
<mog> the script im using is making a call to /proc/device-tree/hat/product
<mog> /proc/device-tree exists but no hat dir
<mog> is there a driver or some change to the kernel i need to do?
hakujin has joined #nixos
<rawtaz> i think everyone went to bed
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5664e64a015 (from 29 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<samueldr> mog: do you know off-hand if the mainline kernel has the magic needed for hats?
hakujin has quit [Ping timeout: 252 seconds]
Kelppo has joined #nixos
<samueldr> since nixos (by default for 2 and 3) will use the mainline kernel
<clever> samueldr: i suspect that the boot firmware is responsible for checking the hat i2c, and injecting it into the DTB, but i'm not entirely sure
<mog> i know the hat in question just uses i2c to talk to a usb hub chip
<mog> i also know raspbian was just doing this automagically before
<samueldr> (I was mainly suggesting things to check, no idea)
<mog> i appreciate it i am googling around now i feel like i just need to enable a module or kernel param at boot
<samueldr> mog: in cas you need the downstream raspi kernel: https://github.com/NixOS/nixpkgs/pull/46653
<{^_^}> #46653 (by lopsided98, 5 days ago, open): linux_rpi: add support for 64-bit Raspberry Pi 3
<samueldr> (not sure how helpful it could be, but someone did some work)
<mog> ooh thanks ill try swapping that
<mog> well if i can figure out how to do the overlay corrrectly with it
hakujin has joined #nixos
<rawtaz> Mic92: FYI, https://git.io/fAHr4
hakujin has quit [Ping timeout: 244 seconds]
hakujin has joined #nixos
astronavt has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/175d49256fc (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3c95fb13ee6 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
jackjennings has quit [Quit: jackjennings]
jcrben has quit [*.net *.split]
cruxeternus has quit [*.net *.split]
ikwildrpepper has quit [*.net *.split]
jeschli has quit [*.net *.split]
demize has quit [*.net *.split]
reardencode has quit [*.net *.split]
statusfailed has quit [*.net *.split]
MasseR has quit [*.net *.split]
srhb has quit [*.net *.split]
keks has quit [*.net *.split]
demize has joined #nixos
jcrben has joined #nixos
srhb has joined #nixos
Anton-Latukha has quit [Quit: Leaving.]
aanderse has quit [Quit: aanderse]
aanderse has joined #nixos
<mog> lopsided98, ping i wanted to try the raspberry pi pr you put up whats the easiest way to get that running on my pi
silver has quit [Read error: Connection reset by peer]
mizu_no_oto has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/254218bffb0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
hitchhikingcoder has joined #nixos
lassulus_ has joined #nixos
samrose has quit [*.net *.split]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
lassulus has quit [Ping timeout: 244 seconds]
lassulus_ is now known as lassulus
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
rprije has quit [Ping timeout: 272 seconds]
dtz[m] has joined #nixos
rprije has joined #nixos
hitchhikingcoder has quit [Quit: hitchhikingcoder]
mayhewluke has quit [Ping timeout: 244 seconds]
mayhewluke has joined #nixos
rprije has quit [Read error: Connection reset by peer]
rprije has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 272 seconds]
Mateon2 is now known as Mateon1
<{^_^}> [nixpkgs] @adisbladis pushed to master « overmind: 2.0.0.beta1 -> 1.2.1 »: https://git.io/fAHib
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
sir_guy_carleton has joined #nixos
nD5Xjz has quit [Ping timeout: 252 seconds]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
LogicAside is now known as ThatOtherGuy
Cale has quit [Remote host closed the connection]
Cale has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
nD5Xjz has joined #nixos
<colemickens> how do I find out why a package is being included/built?
<colemickens> the cheatsheet doesn't have an equivalent for apt-cache rdepends
nuncanada2 has quit [Ping timeout: 252 seconds]
<adisbladis> colemickens: `nix why-depends`
<adisbladis> colemickens: I have also found `nix-store -q --graph` very helpful
jperras has joined #nixos
jperras has quit [Ping timeout: 252 seconds]
dmc has quit [Quit: WeeChat 2.2]
dmc has joined #nixos
countingsort has quit [Ping timeout: 240 seconds]
Kelppo has quit []
endformationage has quit [Quit: WeeChat 1.9.1]
hakujin has quit [Ping timeout: 272 seconds]
Ridout has quit [Quit: Lost terminal]
nekroze has joined #nixos
<nekroze> There is a rust app I need to use, first time doing anything rust related, for buildRustPackage in nix I need a cargoSha256 but cannot find one. Where do I get that value from?
rprije has quit [Ping timeout: 252 seconds]
<nekroze> looks like if I put the wrong hash in there it gets a different app all together
rprije has joined #nixos
<Ralith> change a letter
rprije has quit [Ping timeout: 260 seconds]
rprije has joined #nixos
<nekroze> Ralith: I have tried that like I would normally do with the git repo's but it just gives me the hash of the other app that I copied from originally...
<nekroze> I copied the current exa package definition and changed exa to i3wsr and mangled the hash and it tells me to put the hash back to what it was for exa and then there is no mention of exa in the package file but exa is in the bin dir
<Ralith> you do have to actually tell it where to find the source for the package you want it to build
<{^_^}> [nixpkgs] @colemickens opened pull request #46924 → azcopy: init at 10.0.1 → https://git.io/fAHDq
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<nekroze> Ralith: yeah i changed the src fetchFromGithub section too
<nekroze> I am wondering if it cached a build where I did not mangle the hash so it was still pointing at exa or something
jedahan has joined #nixos
nekroze has quit [Quit: Lost terminal]
Rusty1_ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46925 → zxcvbn-c: 2.3 -> 2.4 → https://git.io/fAHDr
carlosdagos has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46926 → yank: 0.8.3 -> 1.0.0 → https://git.io/fAHDo
wpcarro has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46927 → xorriso: 1.4.8 -> 1.5.0 → https://git.io/fAHD9
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46928 → you-get: 0.4.1128 -> 0.4.1148 → https://git.io/fAHDN
Fare has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46929 → yubico-piv-tool: 1.6.1 -> 1.6.2 → https://git.io/fAHDA
rprije has quit [Ping timeout: 246 seconds]
rprije has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46930 → workrave: 1.10.20 -> 1.10.21 → https://git.io/fAHyt
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/42f486703d0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Zer000 has joined #nixos
<Zer000> please help! If I try to use nix-env (with -qa or -i for example) I get this message: error: cannot auto-call a function that has an argument without a default value ('config')
<Zer000> I am using nix 2.0.4 and this has never happened before. I did a rebuild test just in case and I still can't use the command
jperras has joined #nixos
kiloreux has quit [Ping timeout: 252 seconds]
jperras has quit [Ping timeout: 272 seconds]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rprije has quit [Ping timeout: 260 seconds]
rprije has joined #nixos
trcc has joined #nixos
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jedahan has joined #nixos
jedahan has quit [Client Quit]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46932 → tortoisehg: 4.7 -> 4.7.1 → https://git.io/fAHSU
jedahan has joined #nixos
jedahan has quit [Client Quit]
jedahan has joined #nixos
jedahan has quit [Client Quit]
kiloreux has joined #nixos
jedahan has joined #nixos
jedahan has quit [Client Quit]
jedahan has joined #nixos
jedahan has quit [Client Quit]
rprije has quit [Ping timeout: 252 seconds]
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46933 → wireguard-tools: 0.0.20180904 -> 0.0.20180918 → https://git.io/fAHS3
rprije has joined #nixos
hamishmack has quit [Ping timeout: 246 seconds]
<CMCDragonkai> Is nscd even doing anything? I tried running `sudo nscd --statistics` and it gives me `nscd: cannot read statistics data: Invalid argument`
kiloreux has quit [Ping timeout: 260 seconds]
revtintin has joined #nixos
kiloreux has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #46934 → ocamlPackages.elpi: init at 1.0.5 → https://git.io/fAH9l
alex`` has quit [Quit: WeeChat 2.0]
kisik21 has joined #nixos
jluttine has quit [Ping timeout: 252 seconds]
<Ralith> CMCDragonkai: works here? though apparently hostnames have a 0% hit rate...
Ericson2314 has quit [Ping timeout: 245 seconds]
<CMCDragonkai> Really it works there? I'm using Network Manager with dnsmasq switched on. But that shouldn't affect whether stats are getting created right?
* Ralith shrug
<Ralith> I'm using Network Manager too, though I haven't touched anything related to dnsmasq
brejoc has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46935 → wesnoth: 1.14.4 -> 1.14.5 → https://git.io/fAH9j
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46936 → xercesc: 3.2.1 -> 3.2.2 → https://git.io/fAHHt
civodul has joined #nixos
Zer000 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46937 → woeusb: 3.2.2 -> 3.2.9 → https://git.io/fAHH8
Izorkin has joined #nixos
jluttine has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46938 → unbound: 1.7.3 -> 1.8.0 → https://git.io/fAHHa
hamishmack has joined #nixos
rauno has joined #nixos
baimafeima has joined #nixos
fragamus has joined #nixos
lassulus has quit [Ping timeout: 240 seconds]
lassulus has joined #nixos
<vandenoever> in configuration.nix, would I say: powerManagement.powerUpCommands = $(cat /etc/nixos/powerUpCommands.sh);
<sphalerite> vandenoever: there's a variety of ways you could do it, but that's not one of them ;) powerManagement.powerUpCommands = ./powerUpCommands.sh should work I think
<vandenoever> sphalerite: let's try
<sphalerite> that means that powerUpCommands.sh gets imported into the store as is, and what goes into the "real" value of powerUpCommands is the resulting store path
* vandenoever is saving powertop --auto-tune commands to a script
lassulus_ has joined #nixos
<sphalerite> which happens to be a valid way of running the script in bash :D
<vandenoever> powertop --csv && sed -n '/Description;Script/,/^__/p' powertop.csv | head -n -1 | tail -n +2 | sort | sed 's/\([^;]*\);/# \1\n/' > powerUpCommands.sh
<sphalerite> oh, you do need to make sure the executable bit is set on it
lassulus has quit [Ping timeout: 252 seconds]
lassulus_ is now known as lassulus
<sphalerite> Or you can do powerManagement.powerUpCommands = builtins.readFile ./powerUpCommands.sh which will not import it into the store, instead just "pasting" the contents of the file into the setting
<symphorien> vandenoever: there is an option to enable powertop autotune
<vandenoever> symphorien: i know, but i need to not set some of those settings
<symphorien> Ah ok :)
<vandenoever> symphorien: i puts my external keyboard with trackpoint to sleep
<vandenoever> powertop --csv prints the commands to a file
<vandenoever> then i disable what i do not like
<vandenoever> i suppos powerUpCommands is the best place to put the settings
<vandenoever> sphalerite: thanks the builtins.readFile works
Ariakenom has joined #nixos
kisik21 has quit [Ping timeout: 252 seconds]
hakujin has joined #nixos
jasongrossman has quit [Ping timeout: 240 seconds]
periklis has joined #nixos
xok has quit [Read error: Connection reset by peer]
hakujin has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46752 → Gotools etc. update, remove goimports → https://git.io/fA19w
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fAH7z
xok has joined #nixos
<periklis> Is there an option to get the fs-path from: test = (import ./nixpkgs {}) ?
orivej has joined #nixos
<sphalerite> periklis: test.path, if ./nixpkgs is indeed a nixpkgs :)
jperras has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #46751 → vimPlugins: vim-plug, fixes and updates → https://git.io/fA19m
<{^_^}> [nixpkgs] @Mic92 pushed 7 commits to master: https://git.io/fAH7Q
jperras has quit [Ping timeout: 252 seconds]
vandenoever has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #46933 → wireguard-tools: 0.0.20180904 -> 0.0.20180918 → https://git.io/fAHS3
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAH5J
<{^_^}> [nixpkgs] @Mic92 pushed commit from @r-ryantm to release-18.09 « wireguard-tools: 0.0.20180904 -> 0.0.20180918 »: https://git.io/fAH5L
cyraxjoe has quit [Ping timeout: 245 seconds]
periklis has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 pushed to master « vimPlugins: update.py also needs nix-prefetch-git »: https://git.io/fAH5V
<{^_^}> [nixpkgs] @Mic92 pushed commit from @samdroid-apps to master « vim-tsx: init at 2017-03-16 »: https://git.io/fAH5K
<{^_^}> [nixpkgs] @Mic92 closed pull request #46728 → vim-tsx: init at 2017-03-16 → https://git.io/fA1uc
goibhniu has joined #nixos
palo has quit [Ping timeout: 252 seconds]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mic92> Can we have a /etc/static that allows to inject secrets?
rprije has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #46685 → compton{,-git}: bump to v2, set COMPTON_VERSION so '--version' has sane output → https://git.io/fAX9g
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « compton{,-git}: bump to v2, set COMPTON_VERSION so '--version' has sane output (#46685) »: https://git.io/fAHdr
<{^_^}> [nixpkgs] @srhb merged pull request #46906 → ocamlPackages.cohttp: 1.0.2 -> 1.1.1 → https://git.io/fA9hX
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fAHdX
oldandwise has joined #nixos
<jackdk> I have a "distributed" build that is failing to ship any jobs to the build machine. How can I check if the things I'm trying to build have requiredSystemFeatures?
<sphalerite> jackdk: I think passing a number of -v flags to the build command might help clarify
<sphalerite> look for build-remote in the output
<symphorien> jackdk: use nix show-derivation on the drv you build
<jackdk> so the top-level derivation doesn't seem to want it, but I'm trying to build a small galaxy of haskell dependencies
<jackdk> oh that's interesting: after "starting build hook [...]/build-remote" I get 0 remote builders. except my nix ping-store command succeeded with no output
<jackdk> how do I debug further?
oldandwise has quit [Remote host closed the connection]
oldandwise has joined #nixos
<sphalerite> jackdk: is your builder in /etc/nix/machines? Does sudo ssh user@host work?
<jackdk> this is on a nixos machine, so it seems like I ran over nix#2254: my user can ssh, but the daemon? cannot
<{^_^}> https://github.com/NixOS/nix/issues/2254 (by rnhmjoj, 12 weeks ago, closed): nix build can't connect to host for remote build
<symphorien> check that you can ssh as root
<symphorien> and take care that sudo does not pass the env variables to your ssh agent or so
<jackdk> can't. I'll try shipping across a key from root and see
oldandwise has quit [Remote host closed the connection]
<jackdk> okay, can now but it's still not liking it. Do I have to put that key somewhere else because I'm on nixos?
xok has quit [Ping timeout: 250 seconds]
<symphorien> here is a detailed explanation: https://nixos.wiki/wiki/Distributed_build
oldandwise has joined #nixos
noam__ has quit [Read error: Connection reset by peer]
kai_w has quit [Quit: Konversation terminated!]
xok has joined #nixos
jasongrossman has joined #nixos
<jackdk> I don't know how I never found that. Okay, I've added my user to the trusted list. Now it's considering building on the remote machine, but fails to open the ssh connection (broken pipe)
<jackdk> (thanks for your help thus far, btw)
<sphalerite> oh you're passing --builders on the command line?
<srhb> jackdk: Does the daemon user trust the remote key?
<srhb> jackdk: Again, -vvv might help..
<symphorien> sudo nix ping-store ssh://blah is a nice way to debug
<jackdk> the ping-store command emits with no output and $?=0
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46941 → gnome3.webkitgtk: 2.20.5 -> 2.22.0 → https://git.io/fAHNR
<symphorien> this should be fine
<jackdk> right. I hit nixpkgs#46038, because I didn't have distributedBuilds in nixos/configuration.nix , even though I was using --builders from a command-line build
<{^_^}> https://github.com/NixOS/nixpkgs/issues/46038 (by nh2, 2 weeks ago, open): build fails with Broken pipe with SSH substitutor because nix-daemon.service lacks ssh in PATH
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46942 → wireless-regdb: 2018.05.31 -> 2018.09.07 → https://git.io/fAHNr
vandenoever has joined #nixos
<symphorien> oh
<jackdk> and now I'm building a lot of things in parallel and copying lots of things to my other machine. looks good
<symphorien> could you mention this on the wiki page ?
<jackdk> symphorien++
<{^_^}> symphorien's karma got increased to 6
<jackdk> srhb++
<{^_^}> srhb's karma got increased to 18
<jackdk> sphalerite++
<{^_^}> sphalerite's karma got increased to 20
<jackdk> thanks all.
<srhb> /oprah-gif-points-to-everyone
<srhb> :)
<sphalerite> karma partyyyyyy
<jackdk> and yeah I'll update the wiki
<srhb> jackdk++
<{^_^}> jackdk's karma got increased to 1
<srhb> The circle is closed.
kai_w has joined #nixos
<sphalerite> why does mesa's demos repo https://cgit.freedesktop.org/mesa/demos/tree/ include CMakeLists.txt but the dist tarball ftp://ftp.freedesktop.org/pub/mesa/demos/mesa-demos-8.4.0.tar.bz2 not >_>
Gohla has quit [Quit: Bye.]
carlosdagos has quit [Quit: Connection closed for inactivity]
Anton-Latukha has joined #nixos
Gohla has joined #nixos
Gohla has quit [Client Quit]
<{^_^}> [nixpkgs] @lheckemann opened pull request #46943 → glxinfo: 8.3.0 -> 8.4.0 → https://git.io/fAHAt
slack1256 has quit [Ping timeout: 244 seconds]
Gohla has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
<jackdk> wiki updated.
rauno has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 252 seconds]
oldandwise has quit [Remote host closed the connection]
oldandwise has joined #nixos
<symphorien> thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46944 → wxSVG: 1.5.14 -> 1.5.15 → https://git.io/fAHx8
oldandwise has quit [Remote host closed the connection]
oldandwise has joined #nixos
xok has quit [Quit: Leaving.]
kai_w has quit [Quit: Konversation terminated!]
kai_w has joined #nixos
<Taneb> I'd like to add a patch to a Haskell library (sbv) replacing a call to an executable it expects to be on $PATH with a hard-coded path to the nix store, but I'm not sure which file that change should go
<Taneb> Which file in nixpkgs, that is
<srhb> Taneb: one of the configuration- files in pkgs/development/haskell-modules :)
<srhb> Probably either configuration-nix or configuration-common
<srhb> They have comments in the top that should clear up which one is right.
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d4e9c354414 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<betaboon> can anyone tell me how i can set the default-browser so that it works with xdg-open ?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/280ebc2e40f (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
oldandwise has quit [Remote host closed the connection]
<srhb> gchristensen: Does the new installer not attempt to support zsh at all? I'm trying to read through what it does now...
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46945 → vips: 8.6.5 -> 8.7.0 → https://git.io/fAHhf
Twey has joined #nixos
cryptix has joined #nixos
jperras has joined #nixos
kai_w has quit [Ping timeout: 246 seconds]
kai_w_ has joined #nixos
<sphalerite> betaboon: by setting the BROWSER env var, by the looks of it (`vim $(which xdg-open)`)
sigmundv__ has joined #nixos
<sphalerite> betaboon: alternatively, installing a trivial derivation that just contains a symlink to your preferred browser like runCommand "x-www-browser" {} '' mkdir -p $out/bin ; ln -s ${firefox}/bin/firefox $out/bin/x-www-browser ''
<sphalerite> the latter is nicer to manage with nix of course
jperras has quit [Ping timeout: 244 seconds]
<betaboon> sphalerite: i have that set, but slack doesn't respect it. when i run "xdg-open https://nixos.org" it still opens it with chrome :(
<viric> so nix 2.1.1 on cygwin fails straight away on "copying path" (last line written) and it does not emit any error
<sphalerite> betaboon: hm maybe try the x-www-browser thing then
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46946 → verilator: 3.926 -> 4.002 → https://git.io/fAHje
<{^_^}> [nixpkgs] @jtojnar closed pull request #46941 → gnome3.webkitgtk: 2.20.5 -> 2.22.0 → https://git.io/fAHNR
<viric> well, on gdb: Thread 12 received signal SIGSEGV, Segmentation fault.
Wharncliffe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46947 → smarty3: 3.1.32 -> 3.1.33 → https://git.io/fAHjr
jtojnar has quit [Ping timeout: 272 seconds]
<cryptix> is someone here who uses leveldb/leveldown or sodium bindings in a npm project? i'd like to know if I can use it from nixpkgs so that it doesn't have to get compiled each time
<Myrl-saki> sphalerite: Glad to know that I'm not the only one who does that. I no longer write my shell scripts directly to ~/.local/share/bin lol
<sphalerite> Myrl-saki: \o/
baimafeima has quit [Quit: Leaving]
<Myrl-saki> err
<Myrl-saki> ~/.local/bin*
jackdk has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46948 → springLobby: 0.264 -> 0.267 → https://git.io/fAQeP
<{^_^}> [nixpkgs] @xeji opened pull request #46949 → nixos/tests/networking.virtual: prevent non-deterministic failure → https://git.io/fAQe9
Dedalo has joined #nixos
Dedalo has quit [Client Quit]
sir_guy_carleton has joined #nixos
ixxie has joined #nixos
alex`` has joined #nixos
Dedalo has joined #nixos
<viric> niksnut: nix 2.1.1 and 2.1.2 crash for me, just after "copying path from cache.nixos.org" line. The backtrace in gdb even with debug info is quite useless.
<Taneb> Is there a way to specify a revision with callHackage?
<{^_^}> [nix] @srhb opened pull request #2436 → multi-user installer: Add /etc/zsh/zshrc to PROFILE_TARGETS → https://git.io/fAQvz
<sphalerite> viric: how did you get nix for cygwin? Can you maybe build it with debugging symbols?
<viric> that's what I did
<sphalerite> oh
<viric> ./configure CFLAGS=-g CXXFLAGS=-g
<viric> ^ this is more precise what I did, and I expected this to give debug symbols
c_wraith has quit [Ping timeout: 252 seconds]
kiloreux has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46950 → seafile-client: 6.2.4 -> 6.2.5 → https://git.io/fAQfl
<rawtaz> i am back
<rawtaz> you're not getting rid of me
<rawtaz> i truly fancy being able to build my entire system out of local custom/modified sources so easily (using -I nixpks= to nixos-rebuild), and of course with the ability to rollback
<srhb> rawtaz: Yup, it's addictive :)
<rawtaz> yeah :D
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46951 → smplayer: 18.6.0 -> 18.9.0 → https://git.io/fAQJZ
revtintin has quit [Quit: WeeChat 1.9.1]
kiloreux has joined #nixos
<niksnut> viric: could you try "thread apply all bt"
<alex``> srhb: Just ’ve see your push -with the nice picture- in my list activity; was it good? :P
<viric> niksnut: thread 1 is the only non-waiting, doing some sql
trcc has quit [Remote host closed the connection]
jtojnar has joined #nixos
trcc has joined #nixos
<viric> it feels like signals
<viric> no idae.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46952 → crawl: 0.22.0 -> 0.22.1 → https://git.io/fAQUD
<{^_^}> [nixpkgs] @xeji opened pull request #46953 → gitlab: add missing meta.platforms → https://git.io/fAQUF
trcc has quit [Ping timeout: 260 seconds]
trcc has joined #nixos
kai_w_ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @Ma27 opened pull request #46954 → nixos/yabar: fix module & test → https://git.io/fAQT4
<{^_^}> [nixpkgs] @timbertson opened pull request #46955 → nix-pin: 0.3.4 -> 0.4.0 → https://git.io/fAQTB
<siers> It seems like my "xset r rate" is being changed after I do a rebuild switch. What causes that?
<siers> And can I fix it?
<niksnut> viric: a major change in nix 2.1 is that it uses boost coroutines
<niksnut> might be that they don't work on cygwin
<{^_^}> [nixpkgs] @Mic92 merged pull request #46943 → glxinfo: 8.3.0 -> 8.4.0 → https://git.io/fAHAt
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fAQkt
<viric> niksnut: Oh.
<viric> this programming fanciness is going out of hands
<jtojnar> etu: do you think you can take a look at GSconnect again soon?
<viric> niksnut: can that be switched off? :) Sounds like not
<{^_^}> [nixpkgs] @Mic92 merged pull request #46953 → gitlab: add missing meta.platforms → https://git.io/fAQUF
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAQku
Twey has quit [Ping timeout: 252 seconds]
<viric> if cygwin support is too broken, it's quite an annoyance to us.
<{^_^}> [nixpkgs] @xeji merged pull request #46954 → nixos/yabar: fix module & test → https://git.io/fAQT4
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « nixos/yabar: fix module & test (#46954) »: https://git.io/fAQkV
<{^_^}> [nixpkgs] @Taneb opened pull request #46956 → haskellPackages.sbv: fix location of z3 executable → https://git.io/fAQkw
<viric> niksnut: nix 2.0.4 works fine
<niksnut> coroutines are 60 years old :p
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to release-18.09 « nixos/yabar: fix module & test (#46954) »: https://git.io/fAQkD
<viric> niksnut: ha ha. :)
krav1 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @bkchr opened pull request #46957 → WIP: plasma5: 5.13.5 -> 5.14.0 → https://git.io/fAQk9
<viric> niksnut: the concorde is 40 years old.
Twey has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46958 → shutter: 0.94 -> 0.94.2 → https://git.io/fAQIe
<srhb> alex``: Sorry, which push? :-P
<niksnut> they're supposed to work on windows
<etu> jtojnar: This weekend, sure :)
<niksnut> don't know if that includes cygwin though
<etu> jtojnar: I've read the emails and it looks really promising :)
<srhb> Oh, are you talking about the "cake" ? :P
<srhb> alex``: It was excellent ;)
<sphalerite> siers: the only relevant thing I can find is https://nixos.org/nixos/options.html#key+repe which only seems to affect the args that the X server is started with
<siers> sphalerite, Ah, that must be it. I forgot to check whether there's an option for that at all. I always just ran the command. :) Thanks.
<viric> niksnut: I bet cygwin and windows are quite different platforms, wrt coroutines
<sphalerite> siers: but this shouldn't affect a running X server
<{^_^}> [nixpkgs] @worldofpeace opened pull request #46959 → nixos/emby: ensure plugins are writeable → https://git.io/fAQIB
<{^_^}> [nixpkgs] @xeji pushed to release-18.09 « gitlab: add missing meta.platforms »: https://git.io/fAQI0
<siers> sphalerite, That's what I was thinking too, but at least there's a chance it might persist if I set it this way.
<sphalerite> maybe!
silver has joined #nixos
iyzsong has joined #nixos
<alex``> srhb: I don’t see what it was though :p
<srhb> alex``: It's a loooong time ago, but I believe it was a grilled bacon rolled pork with dark chocolate and wasabi creme.
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<alex``> srhb: vbgl/ocaml-cohttp-1.1.1 https://imgur.com/lXnQXd3
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46960 → smtube: 18.3.0 -> 18.9.0 → https://git.io/fAQLZ
<alex``> bacon and chocolate, doesn’t look they can go together
timokau_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46961 → sqlite-interactive: 3.24.0 -> 3.25.1 → https://git.io/fAQL8
timokau_ has joined #nixos
hakujin has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #46949 → nixos/tests/networking.virtual: prevent non-deterministic failure → https://git.io/fAQe9
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/tests/networking.virtual: prevent non-deterministic failure (#46949) »: https://git.io/fAQtl
<{^_^}> [nixpkgs] @xeji pushed to release-18.09 « nixos/tests/networking.virtual: prevent non-deterministic failure (#46949) »: https://git.io/fAQto
solususer has joined #nixos
nckx has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46962 → sg3_utils: 1.42 -> 1.44 → https://git.io/fAQt7
orivej has quit [Ping timeout: 252 seconds]
<LnL> bacon can go with anything
jperras has joined #nixos
<betaboon> sometimes when building a python-package with dependencies i get a conflict with 'tests' (eg. packageA has 'tests', packageA depends on packageB, packageB has 'tests') any hints ?
nckx has joined #nixos
<LnL> some python packages have a weird setup.py and install their tests
<betaboon> LnL: https://github.com/Salamek/cron-descriptor/blob/master/setup.py what causes this behavior and how can it be avoided ?
<LnL> there shouldn't be a __init__.py in the tests otherwise that will cause those to be installed
jperras has quit [Ping timeout: 252 seconds]
<betaboon> ah ok. ty
[Leary] has quit [Remote host closed the connection]
<LnL> but a simple workaround would be to remove the tests in postInstall
<betaboon> LnL: yeah just did that
iyzsong has quit [Ping timeout: 252 seconds]
<betaboon> LnL: i did it in patchPhase (which worked) doing it in postInstall doesnt seem to work
<rawtaz> holy cow. the number of issues and also PRs in the github repo are probably the most intense ive seen
<betaboon> LnL: or do i have to "rm -rf dist/tmpbuild/*/tests" or "rm -rf build/lib/tests" ?
orivej has joined #nixos
<LnL> does $out/lib/python3.6/site-packages/tests not exist at that point?
<etu> rawtaz: In relation to what? Ever or just nixpkgs?
<rawtaz> etu: just in general looking at a repo on github and seeing how much pressure there is in the issues and PR queues.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46963 → shotcut: 18.08.14 -> 18.09.16 → https://git.io/fAQm9
<sphalerite> rawtaz: yep
<betaboon> LnL: when i remove the directory in postInstall would that prevent the tests from running at all ?
<etu> rawtaz: I think it's partly due to 18.09 being tested
<rawtaz> etu: aha
<{^_^}> [nixpkgs] @florianjacob opened pull request #46964 → nixos/systemd-lib: fix assertValueOneOf → https://git.io/fAQYR
<rawtaz> hm, whats the "schedule" for that? is it about to be released soon? is it feature frozen?
<srhb> rawtaz: Yes, it was frozen when september started (that's where the name comes from, rather than the release date)
<sphalerite> rawtaz: no schedule fixed to dates, but https://nixos.org/nixos/manual/index.html#ch-releases
<srhb> rawtaz: The schedule is essentially "when it's done" :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46965 → smcroute: 2.4.1 -> 2.4.2 → https://git.io/fAQY1
<rawtaz> right, so one cant get commits into it now, thats too late
<srhb> You can, just not new things or breaking changes, generally.
<rawtaz> oh ok
<srhb> We generally backport minor version bumps throughout beta, and also after release.
<LnL> betaboon: oh right, python tests run in installCheckPhase, that happens after install so preFixup is probably better
vmandela has joined #nixos
<rawtaz> srhb: good to know. i might sneak forth a package update soon
<srhb> rawtaz: :)
<rawtaz> the process is the same though, just PR to master?
<rawtaz> and kick someone to have it be included in 18.09
<{^_^}> [nixpkgs] @dtzWill closed pull request #46961 → sqlite-interactive: 3.24.0 -> 3.25.1 → https://git.io/fAQL8
<srhb> rawtaz: One PR to master, one PR with a cherry-pick of that commit on top of release-18.09, is the easiest
<rawtaz> ok
<srhb> rawtaz: Maintainers might be nice and do the latter for you if you ask in the PR. :)
<srhb> But it's certainly easier if you make both PRs, clearly marked.
<rawtaz> the latter is good training, so ill do that, might just ask for a little help
<srhb> rawtaz: You're always welcome to ask for help, of course! :)
<rawtaz> danke :)
jperras has joined #nixos
<rawtaz> wasnt there a Michael Raskin or similar in here?
<Myrl-saki> rawtaz: Were you the guy who got Sigyn'd when you posted an X11 log? lol.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46967 → recoverjpeg: 2.6.2 -> 2.6.3 → https://git.io/fAQ3J
<Myrl-saki> Oh no
<Myrl-saki> It was zduch4c
<rawtaz> Myrl-saki: no, but i watched it and started my popcorn machine when it happened :)
Wharncliffe has quit [Quit: Lost terminal]
<Myrl-saki> I checked my own logs and he never came back lmao.
<{^_^}> [nixpkgs] @basvandijk merged pull request #46956 → haskellPackages.sbv: fix location of z3 executable → https://git.io/fAQkw
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fAQ3n
<srhb> :/
<srhb> It's really unfortunate that the spam protection hits legitimate users like that. It's hard to prevent though.
<Myrl-saki> srhb: I wanna try trigerring the spam protection, but I'm scared of being IP banned.
<rawtaz> Myrl-saki: we should probably have asked some staff to remove the k-line (if there was one)
<srhb> Myrl-saki: Yeah, don't. You'll just make extra work for our ops. :)
<rawtaz> Myrl-saki: if you do, we can talk to staff to have you unbanned again, if you want to try it
* srhb thinks we shouldn't waste the staff's time. :)
<rawtaz> fair enough
* Myrl-saki seconds it. :P
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
solususer has quit [Quit: Leaving]
<sphalerite> rawtaz: yes, MichaelRaskin is often here. I haven't seen him for a couple days
solususer5 has joined #nixos
solususer5 has quit [Remote host closed the connection]
trcc has quit [Ping timeout: 260 seconds]
<srhb> I want an easy remote build option that does the evaluation remotely as well. q_q
trcc has joined #nixos
<srhb> inb4 import the whole thing to store and IFD the hell out of it.
<srhb> Even better, a nice api for spinning up ad-hoc jobs on Hydra... Though with the warnings attached to deleting projects and jobsets, that sounds scary in the long term..
<sphalerite> srhb: What would the benefit in that be?
<srhb> sphalerite: Which part?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46968 → rsyslog: 8.37.0 -> 8.38.0 → https://git.io/fAQsg
<sphalerite> the remote evaluation
<srhb> I want to avoid having to do a ton of builds for IFDs locally first, and then spend another aeon transferring them to a build server.
<sphalerite> aaah ok
<sphalerite> sshfs + chroot store? :D
<sphalerite> wait no
<sphalerite> or yes?
<sphalerite> um.
<srhb> sphalerite: sshfs the store and proxy the socket!
<srhb> :P
booglewoogle has joined #nixos
<sphalerite> I tried proxying the socket once
<sphalerite> didn't work, can't remember how it failed
<srhb> But then you took an arrow to the knee?
<srhb> Ah
jasongrossman has joined #nixos
<srhb> Yeah, there's no clean way to do this really.
<srhb> ifd is so useful and so hard to get working nicely on a large scale.
<sphalerite> isn't there? If IFD used remote accessors?
<srhb> Not sure what that implies.
<sphalerite> I don't think it would even be tooo difficult (famous last words)
mayhewluke has quit [Ping timeout: 240 seconds]
<srhb> :D
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46969 → rdma-core: 19 -> 20 → https://git.io/fAQGC
<sphalerite> I'm having a go at implementing this now
<sphalerite> will tell you how it goes wrong in 10 minutes. Or hours.
<sphalerite> :p
<srhb> sphalerite: Nice. :D
reinzelmann has quit [Quit: Leaving]
<gchristensen> srhb: I've found IFD can make eval soo slow on large projects.
<mightybyte> Anyone know why I get "error: writing to file: Broken pipe" when I try to enable the postgresql service?
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
<sphalerite> I suspect it'll be slow in this case too since it needs to do a round trip for each expression file read
Baughn has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iyzsong has joined #nixos
alex`` has quit [Quit: WeeChat 2.0]
nckx has quit [Ping timeout: 240 seconds]
<rawtaz> mightybyte: perhaps more context or the complete output would help
lawlesseel has quit [Ping timeout: 256 seconds]
<srhb> gchristensen: Yep, it really does.
<srhb> gchristensen: Wish we had something better, but it's hard to come up with anything.
booglewoogle has quit [Quit: Leaving]
nckx has joined #nixos
<mightybyte> rawtaz: That's all it gives me.
<Twey> srhb: ‘IFD’?
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #46970 → mopidy-iris: 3.25.2 -> 3.26.0 → https://git.io/fAQcF
<sphalerite> ,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
<sphalerite> Twey: ^
<mightybyte> rawtaz: Bizarre. Now it just worked.
Kelppo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46971 → proj: 4.9.3 -> 5.2.0 → https://git.io/fAQCf
<{^_^}> [nixpkgs] @manveru opened pull request #46972 → phraseapp: 1.6.0 -> 1.11.0 → https://git.io/fAQCY
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46973 → pspg: 1.4.2 -> 1.6.2 → https://git.io/fAQCO
kwork has quit [Changing host]
kwork has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d5cbdecd3b0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<rawtaz> mightybyte: good :>
fendor has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46974 → praat: 6.0.42 -> 6.0.43 → https://git.io/fAQWk
hyper_ch2 has joined #nixos
camsbury has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46976 → pulseeffects: 4.3.4 -> 4.3.5 → https://git.io/fAQlC
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46977 → psmisc: 23.1 -> 23.2 → https://git.io/fAQla
lawlesseel has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
c_wraith has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46978 → picard-tools: 2.18.12 -> 2.18.14 → https://git.io/fAQ8a
kai_w has joined #nixos
Lears has joined #nixos
martingale has quit [Quit: Textual IRC Client: www.textualapp.com]
fendor has quit [Ping timeout: 245 seconds]
periklis has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
trcc has quit [Remote host closed the connection]
trcc has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46979 → postgis: 2.4.4 -> 2.4.5 → https://git.io/fAQBi
kiloreux has quit [Ping timeout: 264 seconds]
kiloreux has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46980 → pgtap: 0.98.0 -> 0.99.0 → https://git.io/fAQBN
trcc has quit [Ping timeout: 244 seconds]
<rawtaz> if testing of 18.09 would continue over to october, would the branch and release be renamed 1810?
<gchristensen> no
<rawtaz> 18.10*
<rawtaz> ok
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46981 → opusfile: 0.10 -> 0.11 → https://git.io/fAQRl
<{^_^}> [nixpkgs] @tkerber opened pull request #46982 → vim-utils: fix broken vim-plug implementation. → https://git.io/fAQR0
<Dezgeg> in the past they did get renamed IIRC, but it was kind of painful
trcc has joined #nixos
<rawtaz> makes sense not to do it
trcc has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fAQRo
<hodapp> did they rename Duke Nukem Forever once it came out? NO! Next question.
<{^_^}> [nixpkgs] @jtojnar merged pull request #46976 → pulseeffects: 4.3.4 -> 4.3.5 → https://git.io/fAQlC
trcc has joined #nixos
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<rawtaz> :)
lawlesseel has quit [Ping timeout: 256 seconds]
<gchristensen> but also, not sure there would be a reason to extend it to October -- https://github.com/NixOS/nixpkgs/milestone/13
<gchristensen> we don't have to do all these, and only a few blockers
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to master: https://git.io/fAQ02
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « linux: 4.4.156 -> 4.4.157 »: https://git.io/fAQ0w
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « linux: 4.9.127 -> 4.9.128 »: https://git.io/fAQ0o
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « linux: 4.14.70 -> 4.14.71 »: https://git.io/fAQ0i
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « linux: 4.18.8 -> 4.18.9 »: https://git.io/fAQ0X
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-18.03: https://git.io/fAQ0D
Dedalo has joined #nixos
Neo-- has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #46983 → circleci-cli: 0.1.0 -> 0.1.2307 → https://git.io/fAQEc
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46984 → pgroonga: 2.0.9 -> 2.1.3 → https://git.io/fAQEa
<gchristensen> I wonder if we should move `python = python2` to aliases and forbid `python` and `pythonPackages` references internally to nixpkgs
<sphalerite> How do I set the flags passed to gcc when building nix in a nix-shell? I've tried passing CFLAGS and CXXFLAGS, both as arguments and as env vars, to ./configure, but it seems to be ignoring them completely (counter to the expectations set by its help message)
<Dezgeg> that's an automake-ism and nix build system doesn't use automake
<sphalerite> ok ended up setting GLOBAL_CFLAGS and GLOBAL_CXXFLAGS on the make invocation…
<sphalerite> Dezgeg: then why does the configure script's help message say that they influence it >_>
<LnL> gchristensen: I think FRidh gave up on python -> python3, but since 2 is basically dying now deprecating the alias would make sense as a first step
<Dezgeg> maybe autoconf always assumes automake is being used
<Dezgeg> switching 'python' from python2 to python3 sounds horrible
<symphorien> I think there is a PEP asking distros not to do that
<gchristensen> symphorien: link?
<sphalerite> yeah I think we can all agree that changing python to point to python3 is a bad idea
<dtz[m]> lol
<sphalerite> I'm in favour of removing (or what gchristensen said) "python" though
<Dezgeg> I hated when arch linux made /usr/bin/python python3... every single python shebang in the universe required patching
<LnL> Dezgeg: yeah, that's hard at the moment but discouraging using python directly seems feasible
<LnL> also that's something very different
<LnL> what /usr/bin/env python points to depends on priority not the attribute name
<gchristensen> symphorien: a link would be really really helpful. I can't find it after cursory search.
<LnL> both 2.7 and 3 have a "python" binary IIRC
<gchristensen> py3 doesn't I think
<gchristensen> oh it does...
<LnL> % nix run nixpkgs.python36 -c python --version # => Python 3.6.6
hakujin has joined #nixos
<symphorien> "If the python command is installed, it should invoke the same version of Python as the python2 command"
<LnL> yes, that's what meta.priority will do right now
hyper_ch2 has quit [Quit: Page closed]
trcc has quit [Remote host closed the connection]
orivej has joined #nixos
trcc has joined #nixos
<LnL> not sure if buildInputs will honor that, but nix-env/nix run do
<viric> niksnut: are coroutines used at "copy path ...." ?
<sphalerite> LnL: not if python3 but not python2 is installed though, right?
<Dezgeg> I think you are hosed anyway if you try to have both in buildInputs since both will use python libraries of both versions
<LnL> sphalerite: well, yes
jtojnar has quit [Ping timeout: 260 seconds]
<LnL> ah right, stuff in nixpkgs still uses PYTHONPATH :/
<sphalerite> LnL: so AFAIU we shouldn't be relying on meta.priority and instead just not providing a python command in python3?
Rusty1 has joined #nixos
<LnL> I should talk to FRidh about the stuff I wrote and use at work
trcc has quit [Ping timeout: 240 seconds]
<gchristensen> how do you get to milestones on github?
solususer5 has joined #nixos
<srhb> gchristensen: issues->milestones
<srhb> It's a button.
<gchristensen> weird, ok
solususer5 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @AesaKamar opened pull request #46986 → scalafmt 1.4.0 -> 1.5.1 → https://git.io/fAQgf
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b2042983ef0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
orivej has quit [Ping timeout: 244 seconds]
grp has joined #nixos
<niksnut> viric: yes
timokau_ has quit [Ping timeout: 246 seconds]
grumble has quit [Remote host closed the connection]
grumble has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #46988 → range-v3: 0.3.6 -> 0.3.7 → https://git.io/fAQ2p
periklis has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46989 → nfs-utils: 2.3.2 -> 2.3.3 → https://git.io/fAQaz
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @ryantm merged pull request #46969 → rdma-core: 19 -> 20 → https://git.io/fAQGC
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fAQaF
Henson has quit [Quit: Henson]
abueide has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46990 → nextcloud: 13.0.6 -> 14.0.0 → https://git.io/fAQVt
92AAAM8R8 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46991 → openal: 1.18.2 -> 1.19.0 → https://git.io/fAQVj
<{^_^}> [nixpkgs] @globin closed pull request #46990 → nextcloud: 13.0.6 -> 14.0.0 → https://git.io/fAQVt
<{^_^}> [nixpkgs] @peti merged pull request #46801 → all-cabal-hashes: update snapshot to Hackage at 2018-09-12T08:26:27Z → https://git.io/fADEW
<{^_^}> [nixpkgs] @peti pushed 2 commits to release-18.03: https://git.io/fAQwl
zduch4c has joined #nixos
<zduch4c> shouldn't have posted the X logs yesterday... freenode banned me
<zduch4c> anyway clever, you there?
<{^_^}> [nixpkgs] @Ericson2314 closed pull request #46908 → Install man by default → https://git.io/fAHUY
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46992 → ocamlPackages.ocamlbuild: 0.12.0 -> 0.13.0 → https://git.io/fAQwr
waleee has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #46510 → installer: refactor → https://git.io/fAwuy
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fAQwA
orivej has joined #nixos
Dedalo has joined #nixos
zduch4c has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46993 → ncmpc: 0.30 -> 0.31 → https://git.io/fAQoU
<{^_^}> [nixpkgs] @romildo opened pull request #46994 → tint2: 16.4 -> 16.6.1 → https://git.io/fAQo3
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46995 → mwic: 0.7.5 -> 0.7.6 → https://git.io/fAQoM
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46996 → nwipe: 0.24 -> 0.25 → https://git.io/fAQKs
Dedalo has joined #nixos
vmandela has quit [Remote host closed the connection]
vmandela_ has joined #nixos
ckauhaus has joined #nixos
<sphalerite> srhb: I gave up on the IFD thing because I got a headache >.<
<{^_^}> [nixpkgs] @worldofpeace opened pull request #46997 → installer: autorun xserver in graphical media → https://git.io/fAQ6X
melleb has joined #nixos
vmandela_ has left #nixos ["Leaving"]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/6ec64973bc3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
abueide has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46998 → mbpfan: 2.0.2 -> 2.1.0 → https://git.io/fAQil
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/05659962cd8 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
orivej has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #46999 → mono-addins: 1.2 -> 1.3.3 → https://git.io/fAQi9
abueide has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47000 → links2: 2.16 -> 2.17 → https://git.io/fAQPc
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47001 → libsigrokdecode: 0.5.1 -> 0.5.2 → https://git.io/fAQP0
melleb has quit [Ping timeout: 260 seconds]
erasmas has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47002 → libre: 0.5.8 -> 0.5.9 → https://git.io/fAQPw
zgrep has quit [Ping timeout: 250 seconds]
zgrep has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has joined #nixos
<alex``> Re
jedahan has joined #nixos
<alex``> What do you use to make a window transparent?
<alex``> I used to transset
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47003 → metabase: 0.30.1 -> 0.30.3 → https://git.io/fAQXc
<{^_^}> [nixpkgs] @shmish111 opened pull request #47004 → elk6Version 6.3.2 -> 6.4.1 → https://git.io/fAQXa
<Twey> sphalerite: Ooh, thanks
<sphalerite> alex``: what desktop environment are you running
<sphalerite> ?
<alex``> i3
<sphalerite> alex``: are you running a compositor?
<alex``> xcompmgr
<sphalerite> oh ok then I don't know why this wouldn't work
<sphalerite> how is it failing? No error message but also not setting transparency?
<alex``> It does transparency, but I used transset utility to set transparency of window
<alex``> I cannot set transparency individually with xcompmgr
jcrben has quit [Quit: Ping timeout (120 seconds)]
jcrben has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4bb22be3494 (from 59 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<alex``> sphalerite: Do you know a more modern compositor?
mayhewluke has quit [Ping timeout: 260 seconds]
<alex``> and which I can use from the command-line to set the transparency of windows
<Twey> alex``: I use compton, which supports some filters for transparency
<sphalerite> alex``: I think compton is a fork of xcompmgr which is maintained, but I'm not really sure, I don't use it myself
mayhewluke has joined #nixos
orivej has joined #nixos
<Twey> It's somewhat maintained
<{^_^}> [nixpkgs] @graham-at-target opened pull request #47005 → dockerTools.buildImage: support impure dates → https://git.io/fAQDY
<alex``> Twey: How to use it?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47006 → mediainfo: 18.08 -> 18.08.1 → https://git.io/fAQD3
<sphalerite> alex``: I think transset should work with compton
<sphalerite> alex``: and transset doesn't work with xcompmgr?
<alex``> sphalerite: But there is not transset package afaik xD
<sphalerite> simple solution would be to package it ;)
sigmundv__ has quit [Ping timeout: 244 seconds]
<sphalerite> you might also be able to set transparency using xprop, I'm not sure
<Twey> alex``: Just install and launch from xsession, or there's also a NixOS module for it (but I don't know how that works)
<Twey> alex``: I recommend using compton-git, the official release of compton has some bugs that haven't been patched
<alex``> I’m very very new to Nix, I don’t know how to make / submit a package yet
<alex``> I’ve done the package for Exherbo
<Twey> alex``: Find a simple package and cargo-cult it ;)
<sphalerite> alex``: although compton has a tool called compton-trans which can set transparency too
<sphalerite> yep that works
<Twey> sphalerite: TIL
<sphalerite> Twey: same :p
<Twey> sphalerite: But I've been using compton for years :þ
<sphalerite> I just saw compton-trans in dmeny while I was starting compton, so I looked at its manpage and lo and behold, it was what we were looking for ;)
<alex``> If I make a package, but don’t want to submit to nixpkgs, how to get it integrated to the base (when I do nixos-rebuild with said, pkgs.transset added)
cryptix has quit [Ping timeout: 252 seconds]
<sphalerite> if you don't need to replace anything else with it, you can just put (pkgs.callPackage ./transset.nix {}) in your systemPackages
<sphalerite> but compton-trans can do the same thing as transset so you probably don't even need to package it?
<gchristensen> I have a PR here which optionally (default-off) improves developer UX at the cost of binary reproducibility in dockerTools.buildImage: https://github.com/NixOS/nixpkgs/pull/47005 I'd love to get some feedback from people who have feelingls about this :)
periklis has joined #nixos
<{^_^}> #47005 (by graham-at-target, 7 minutes ago, open): dockerTools.buildImage: support impure dates
<alex``> sphalerite: compton trans is shipped with compton package?
<sphalerite> yes
<sphalerite> gchristensen: I like it! Although is there any reason not to make the interface just created = builtins.currentTime?
<gchristensen> yes, the current method will cache :)
<sphalerite> oooooh. I like it
<gchristensen> sphalerite: please comment so? :)
<sphalerite> I was trying to copy the lines from here but st isn't playing along >.<
<gchristensen> ^ I added a comment to the effect of this conversation to the PR already :)
<sphalerite> oh now you've already pointed that out :p I feel like I don't have anything valuable to add in a comment
abueide has quit [Remote host closed the connection]
<sphalerite> I've thumbsed it up
abueide has joined #nixos
<sphalerite> Should I write "I like it!" anyway?
<gchristensen> please!
jperras has quit [Quit: WeeChat 2.2]
Dedalo has joined #nixos
<manveru> looks great :)
regulus_ has quit [Ping timeout: 246 seconds]
<manveru> was always a bit of a pain getting that date from the current git commit (and wrong, if it's not committed...)
<gchristensen> maybe a question is, should we default it to now
orivej has quit [Ping timeout: 260 seconds]
abueide has quit [Ping timeout: 252 seconds]
<sphalerite> are the builds otherwise bit-for-bit reproducible?
<gchristensen> dunno
<sphalerite> IMHO, should we default it = !(are builds currently reproducible)
<sphalerite> but in the absence of further information, I'd say no to defaulting it
<gchristensen> +1
<sphalerite> Not that I'm a frequent user of dockerTools as it stands :')
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
Ariakenom has quit [Ping timeout: 260 seconds]
<manveru> well, all it changes is the metadata file i think
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/6ec64973bc3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<manveru> so the tarball won't be reproducible, but the other contents should be
<manveru> i'm more in favor of making the created attribute mandatory and showing the "now" option in the error message :)
sanscoeur has joined #nixos
<gchristensen> sphalerite: yes they are bit-for-bit reproducible based on --checking 8 times
<manveru> but that breaks backwards compatiblity :(
periklis has quit [Remote host closed the connection]
<ben> I did `nix-env -iA nixpkgs.jq`, but `man` didn't work. Then I did `nix-env -iA nixpkgs.jq.man` and `man jq` still didn't work (and I don't have ~/.nix-profile/share/man/man1/jq.1.gz). /nix/store/w8895snkv25s12cff2qss56czv1v6frf-jq-1.5-man exists, how do I make `man` look there?
<manveru> gchristensen: but only if it's already in store?
<ben> (sorry, that shoulda been `man jq` didn't work)
<sphalerite> manveru: that's what we have biannual releases for!
<sphalerite> ben: it's a bug IMO
<ben> Which part :)
lawlesseel has joined #nixos
<ben> a) should it have installed manpages by default? b) should i be able to install outputs individually like that?
<sphalerite> that there's no simple way to install the man output
abueide has joined #nixos
<ben> design but or implementation bug?
<ben> bug
<sphalerite> #35844 #44168 are relevant
<{^_^}> https://github.com/NixOS/nixpkgs/pull/35844 (by adisbladis, 29 weeks ago, merged): jquery & jquery-ui: Move to nixos/lib/testing/
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44168 (by matthewbauer, 7 weeks ago, open): make-derivation: install all outputs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47007 → altcoins.litecoin: 0.16.0 -> 0.16.2 → https://git.io/fAQ9k
<sphalerite> err #35884
<{^_^}> https://github.com/NixOS/nixpkgs/pull/35884 (by dtzWill, 29 weeks ago, open): default to including "man" in outputsToInstall
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ben> oh, nix-env cannot install individual outputs because they're still the same derivation?
<sphalerite> it doesn't install them because it unconditionally checks outputsToInstall
<ben> ok
<maurer> Hm, that seems like something we eventually might want to change
<ben> (Is this new behavior? I remember checking that manpage on my last machine...)
<maurer> e.g. install postgresql client only or server only
<gchristensen> I bet somebody could fix that without too much trouble :)
<sphalerite> what you can do is a hack like nix-env -iE '_: with import <nixpkgs> {}; symlinkJoin {inherit (jq) name; paths = [jq jq.man];}'
<ben> yikes
<sphalerite> (not tested)
<ben> probably shorter than overriding outputsToInstall :P
<sphalerite> hmm nix-env -iE '_: with import <nixpkgs> {}; jq.overrideAttrs (o: {meta = o.meta // {outputsToInstall = ["out" "man"];};})'
<sphalerite> not much
<srhb> Needs more anger
<sphalerite> of course, nix-env -u will undo the hard work behind either of those. So the best option really is to put one of those things in a declarative environment.
<srhb> nix-env -iE '_: with import <nixpkgs> {}; jq // { meta.outputsToInstall = [ "out" "man" ]; }'
<srhb> who cares about the rest :-P
periklis has joined #nixos
<ben> ended up with the same, yeah :)
<ben> Might just put it into ~/.config/nixpkgs packageOverrides, I'm not too fond of declarative envs rn
<{^_^}> [nixpkgs] @globin merged pull request #47005 → dockerTools.buildImage: support impure dates → https://git.io/fAQDY
<{^_^}> [nixpkgs] @globin pushed commit from @graham-at-target to master « dockerTools.buildImage: support impure dates »: https://git.io/fAQ9H
<ben> Thanks for the help, everybody :)
<gchristensen> yay thanks globin!
<sphalerite> ,imperative = nix-env has multiple drawbacks as an imperative package manager. nix-env -u will sometimes upgrade to the wrong thing; the outputs to install are very finicky to override; and packages that have been removed or are otherwise unavailable will remain in your profile without any warnings. Consider using a ,declarative setup instead.
<{^_^}> imperative defined
Thra11 has joined #nixos
<sphalerite> ,declarative
<{^_^}> sphalerite: Did you mean todeclarative?
<{^_^}> echo $'{ pkgs ? import <nixpkgs> {} }:\npkgs.buildEnv {\n name = "'"$USER"'-env";\n paths = with pkgs; ['; nix-env -f '<nixpkgs>' -qaP > /tmp/pkgs ; nix-env -q | while read name ; do grep -F " ${name%%-[0-9]*}" /tmp/pkgs | awk '{ print $1 }' | head -n1 | sed 's/^/ /'; done ; echo $' ];\n}'
<globin> gchristensen: sure :)
<sphalerite> ahahaha I forgot that I wrote that mess
<ben> ;_;
<ben> i feel like being able to install manpages is fundamental enough that the imperative mode should probably support it
<{^_^}> [nixpkgs] @Tomahna opened pull request #47008 → mopidy-iris: 3.25.1 -> 3.26.0 → https://git.io/fAQHJ
<sphalerite> ben: I agree. But as is, the imperative mode *is* dysfunctional in a couple of ways, and AFAIK nobody's really working on fixing it
<sphalerite> my guess is that that's because anyone who might have bothered to fix it is using declarative envs instead :p
<srhb> That seems likely..
<{^_^}> [nixpkgs] @roelvandijk opened pull request #47009 → openrazer: init at 2.3.1 (driver, daemon, lib and NixOS module) → https://git.io/fAQHY
notlar has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #47010 → ocaml ≤ 4.05: mark as broken on Aarch64 → https://git.io/fAQH8
abueide has quit [Remote host closed the connection]
jasongrossman has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @johnchildren opened pull request #47011 → nix docs: libaries -> libraries → https://git.io/fAQHg
kai_w has quit [Quit: Konversation terminated!]
<ben> I'm gonna need to reread what I said the last time I complained about declarative envs because I don't quite remember what my arguments were :<
<sphalerite> ,declarative = There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile <link to do, sphalerite!>; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
<{^_^}> declarative defined
<rawtaz> ben: karma++ for being humble :)
<infinisil> sphalerite: Are these git.io links persistent? They never seem to grow in length..
<sphalerite> infinisil: 62^5 possibilities at the current length I believe
<sphalerite> that's about 9.1e8
<das_j> Which package is gulp in?
<sphalerite> ,locate bin gulp
<{^_^}> Couldn't find any packages
<das_j> what
<sphalerite> not packaged apparently
Ariakenom has joined #nixos
<infinisil> (probably, the bot sometimes makes mistakes)
<sphalerite> nix search gulp also yields nothing
<infinisil> (ANd nix-index at that)
<das_j> Probably I can install it locally with npm
<sphalerite> aah, no actually it should be in nodePackages.gulp or something
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « tint2: 16.4 -> 16.6.1 (#46994) »: https://git.io/fAQQY
<{^_^}> [nixpkgs] @xeji merged pull request #46994 → tint2: 16.4 -> 16.6.1 → https://git.io/fAQo3
<infinisil> rawtaz: And btw, you can in a single message "<name>++" to add a karma point, tracked by the bot :P
<sphalerite> I think nodePackages doesn't have recurseForDerivations set
<sphalerite> das_j: yep it's in nodePackages.gulp
<das_j> sphalerite: Thank you!
<das_j> (I hate this npm garbage)
<rawtaz> infinisil: yeep
<das_j> ah
<das_j> sphalerite++
<{^_^}> sphalerite's karma got increased to 21
<{^_^}> [nixpkgs] @globin merged pull request #47006 → mediainfo: 18.08 -> 18.08.1 → https://git.io/fAQD3
<{^_^}> [nixpkgs] @globin pushed commit from @r-ryantm to master « mediainfo: 18.08 -> 18.08.1 »: https://git.io/fAQQb
<{^_^}> [nixpkgs] @fpletz merged pull request #46993 → ncmpc: 0.30 -> 0.31 → https://git.io/fAQoU
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « ncmpc: 0.30 -> 0.31 »: https://git.io/fAQ7v
<philipp[m]> Does anybody here have resources how to get public ipv6 addresses into nixos containers?
<philipp[m]> I'm a bit of an ipv6 noob, so I take any help I can get.
<{^_^}> [nixpkgs] @fpletz merged pull request #46965 → smcroute: 2.4.1 -> 2.4.2 → https://git.io/fAQY1
<{^_^}> [nixpkgs] @fpletz pushed commit from @r-ryantm to master « smcroute: 2.4.1 -> 2.4.2 »: https://git.io/fAQ7Y
<philipp[m]> Do I have to bridge them? What's the mode that would be nat for ipv4, since there is no equivalent in v6?
<philipp[m]> I tried bridging my eth0 to a bridge interface and putting bridging that in my container, but I can't reach the container from the outside.
<sphalerite> philipp[m]: you shouldn't need NAT. What you do need is to set the right addresses on all the interfaces
<sphalerite> and particularly the right netmasks
Kelppo has quit []
<sphalerite> (or prefix lengths)
<philipp[m]> sphalerite: I've got a public /64, so I just used /128s for the interfaces and do it point to point?
<sphalerite> on the outward-facing interface, you'll want /128 usually
<sphalerite> hm I'm not sure about point-to-point routing or whatever it is. The setup I have is that I have a bridge which the containers are connected to, and the host and the containers have the same prefix and the same length configured for that, so it behaves like a LAN
<cransom> if you have a bridge, they will still be /64s.
<worldofpeace> If I do `nix-env -q` I always see `libstdc++5`. nix-env -e has no effect.
<sphalerite> oooh yeah if you connect the public interface to the bridge I think that makes sense
<worldofpeace> Any ideas?
<sphalerite> worldofpeace: try nix-env -e 'libstdc\+\+'
<sphalerite> worldofpeace: it's a regex iirc
<cransom> if they routed you a /64, point to points can work, but you also have to turn on ip(6) forwarding
<jasom> philipp[m]: /128 with point-to-point routing seems reasonable, or you can just bridge
<sphalerite> yeah that's the way I have it set up, the bridge is only internal and forwarding is set up
<{^_^}> [nixpkgs] @globin pushed commit from @r-ryantm to master « metabase: 0.30.1 -> 0.30.3 »: https://git.io/fAQ5v
<{^_^}> [nixpkgs] @globin merged pull request #47003 → metabase: 0.30.1 -> 0.30.3 → https://git.io/fAQXc
<{^_^}> [nixpkgs] @globin merged pull request #47002 → libre: 0.5.8 -> 0.5.9 → https://git.io/fAQPw
<{^_^}> [nixpkgs] @globin pushed commit from @r-ryantm to master « libre: 0.5.8 -> 0.5.9 »: https://git.io/fAQ5J
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47012 → mixxx: 2.1.3 -> 2.1.4 → https://git.io/fAQ5U
<worldofpeace> sphalerite: thx `nix-env -e 'libstdc\+\+5'` worked
<worldofpeace> also `packages that have been removed or are otherwise unavailable will remain in your profile without any warnings`. How can I check this?
<sphalerite> I actually don't know :/
ixxie has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47013 → mediainfo-gui: 18.08 -> 18.08.1 → https://git.io/fAQ5w
<sphalerite> LnL: btw in your overlay shouldn't it be self.hello rather than super.hello?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47014 → librelp: 1.2.17 -> 1.2.18 → https://git.io/fAQ59
jackjennings has joined #nixos
jedahan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47015 → lynis: 2.6.8 -> 2.6.9 → https://git.io/fAQ5j
<{^_^}> [nixpkgs] @romildo opened pull request #47016 → numix-cursor-theme: 20160110 -> 1.1 → https://git.io/fAQdU
ihar has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @grahamc opened pull request #47017 → dockerTools.buildImage: test that created=now makes an unstable date → https://git.io/fAQd6
<gchristensen> samueldr: ^
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4bb22be3494 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<philipp[m]> Thanks for all the feedback! Now I've got a curious situation: I can connect outside from the inside but not the other way around... I think it's something in iptables.
<gchristensen> probably need to turn on packet forwarding
<philipp[m]> net.ipv6.conf.all.forwarding and ipv6.conf.default.forwarding are both enabled.
<philipp[m]> Also: How could a machine answer to my icmp ping, if it wasn't enabled?
notlar has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @grahamc closed pull request #47017 → dockerTools.buildImage: test that created=now makes an unstable date → https://git.io/fAQd6
<{^_^}> [nixpkgs] @grahamc reopened pull request #47017 → dockerTools.buildImage: test that created=now makes an unstable date → https://git.io/fAQd6
reinzelmann has joined #nixos
ixxie has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #47018 → numix-icon-theme-circle: 18-08-17 -> 18.09.19 → https://git.io/fAQFV
nDuff has joined #nixos
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> philipp[m]: I don't think forwarding should be necessary if you're bridging. I think a more likely candidate is that an input firewall rule is blocking it
<{^_^}> [nixpkgs] @romildo opened pull request #47019 → numix-icon-theme-square: 18-08-17 -> 18.09.19 → https://git.io/fAQFd
fragamus has joined #nixos
waleee has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47020 → libwebsockets: 3.0.0 -> 3.0.1 → https://git.io/fAQbY
<worldofpeace> samueldr: ping :D
<samueldr> hi worldofping (kinda busy, depending what's the scope)
periklis has quit [Read error: Connection reset by peer]
<samueldr> ^ this was a pun, not a typo
<worldofpeace> hah
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47021 → lightdm_gtk_greeter: 2.0.5 -> 2.0.6 → https://git.io/fAQbK
<worldofpeace> I don't get why having a sub config for not having X startable as needed.
foldingcookie has quit [Remote host closed the connection]
<worldofpeace> * is needed
<LnL> sphalerit: no, unless you override it out of order
<samueldr> worldofpeace: one could have a machine with some issues with X, but the VTs can work, the current graphical iso still works for them, without the option it could lead to them having an annoyance and require to get another iso
<infinisil> Or just, it's a server you run at your home and you usually don't need X, but occasionally want it to fix problems
<samueldr> and it also depends on the other reasons X isn't started by default
<sphalerite> LnL: well that's the thing, shouldn't it use self so that the order of overlays matters as little as possible and you don't get confusion à la "why is this not installing my overridden hello"?
<samueldr> infinisil: the installer image
<sphalerite> LnL: iirc the general rule was "packages from self, functions from super", no?
<samueldr> for the record, related to #46997
<{^_^}> https://github.com/NixOS/nixpkgs/pull/46997 (by worldofpeace, 2 hours ago, open): installer: autorun xserver in graphical media
<worldofpeace> samueldr: X is autorun by default, is this assumed as in the media
<samueldr> I don't understand the question, worldofpeace
<worldofpeace> samueldr: I agree now that having the subconfig can be helpful as I've had that annoyence and it's something you can't ensure
<worldofpeace> * can't ensure X would work on every machine
<worldofpeace> samueldr: Which one :D
<samueldr> [13:31:59] <worldofpeace> samueldr: X is autorun by default, is this assumed as in the media
<{^_^}> [nixpkgs] @Mic92 merged pull request #47008 → mopidy-iris: 3.25.1 -> 3.26.0 → https://git.io/fAQHJ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAQNa
<LnL> sphalerite: I think of it more as avoid self if possible, but I guess that's more reliable
jedahan has joined #nixos
<worldofpeace> samueldr: See https://nixos.org/nixos/options.html#services.xserver.autorun
<{^_^}> [nixpkgs] @Mic92 merged pull request #46986 → scalafmt: 1.4.0 -> 1.5.1 → https://git.io/fAQgf
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAQNy
<infinisil> LnL: What overlay are you talking about? May I see?
<{^_^}> [nixpkgs] @Mic92 merged pull request #46982 → vim-utils: fix broken vim-plug implementation. → https://git.io/fAQR0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAQNN
<LnL> the userPackages thing, that's become "my" overlay somehow :p
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47022 → lnav: 0.8.3 -> 0.8.4 → https://git.io/fAQAs
<{^_^}> [nixpkgs] @lheckemann opened pull request #47023 → Nethack cross → https://git.io/fAQA8
<LnL> sphalerite: you can make that same statement about functions
<sphalerite> LnL: come on, you called the file lnl-overlay.nix ;)
<sphalerite> hm good point
wpcarro has quit [Remote host closed the connection]
<LnL> well yeah, but nix-env -r -iA wasn't my idea I just made it while explaining it to somebody :)
<sphalerite> nbp: why get functions from super and not from self as well?
<sphalerite> LnL: sure, but you published it, then it got linked to from the wiki, and that's how the story goes :D
<nbp> sphalerite: because functions are aliasing self to get packages.
<{^_^}> [nixpkgs] @Mic92 merged pull request #46955 → nix-pin: 0.3.4 -> 0.4.0 → https://git.io/fAQTB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAQA5
<nbp> sphalerite: and we want to reduce the number of hop through self to 1, such that we can easily implement the security branch with an automated patching mechanism.
<elvishjerricco> nb
<elvishjerricco> nbp:
<elvishjerricco> crap, sorry
<nbp> sphalerite: going twice through `self` would miss the edge and cause a security issue as dependencies would not be patched accordingly.
ggp0647 has quit [Ping timeout: 252 seconds]
<sphalerite> security branch..?
<elvishjerricco> I don't understand that point
<infinisil> LnL: I feel like that should be self.hello as well
<nbp> sphalerite: elvishjerricco: https://github.com/NixOS/nixpkgs/pull/10851
<{^_^}> #10851 (by nbp, 2 years ago, open): Shipping Security Updates
<LnL> yeah, also overriding functions is a pretty niche usecase
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47024 → meson: 0.46.1 -> 0.47.2 → https://git.io/fAQxJ
<nbp> sphalerite: elvishjerricco: There is no other alternative for doing automatic grafting.
<nbp> Otherwise, the solution is to go for manual grafting, which is what Guix is doing, but is worse.
alex`` has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAQxO
<{^_^}> [nixpkgs] @Mic92 merged pull request #47018 → numix-icon-theme-circle: 18-08-17 -> 18.09.19 → https://git.io/fAQFV
<nbp> Manual grafting is worse for anybody who wants to maintains a security update branch for a pinned version of Nixpkgs.
<elvishjerricco> nbp: Grafting? What does this have to do with using super instead of self for functions?
<nbp> elvishjerricco: We can automatically deduce dependencies by stripping the fix-point and looking at the attribute which are being used.
<nbp> elvishjerricco: but we can only do it for a single iteration.
<{^_^}> [nixpkgs] @Mic92 merged pull request #47011 → doc/stdenv: libaries -> libraries → https://git.io/fAQHg
<{^_^}> [nixpkgs] @Mic92 pushed commit from @johnchildren to master « doc/stdenv: libaries -> libraries (#47011) »: https://git.io/fAQxR
<nbp> elvishjerricco: Automatic grafting will basically capture everything which goes through `self`.
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nbp> elvishjerricco: but if you get a function from `self`, then we are unable to capture the packages which are returned by this function.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47025 → libtensorflow: 1.9.0 -> 1.10.1 → https://git.io/fAQxg
<nbp> elvishjerricco: as the function captures the `self` of the previous iteration, and not the one which is being monitored.
ggp0647 has joined #nixos
<elvishjerricco> nbp: Why can we only do a single iteration though?
<nbp> elvishjerricco: the formula is in the PR: h = patch (g (fix f)) (g h)
<elvishjerricco> I'll read through it
<nbp> elvishjerricco: because `self` is in the first place `g` argument, and then it is `fix f` argument, which is the result of `f (f (f (f (f … ))))`
<elvishjerricco> oh
<elvishjerricco> Why not `fix (self: g (f self))`?
philippD has joined #nixos
<nbp> because we do not want to recompile.
<nbp> elvishjerricco: We want to only compile packages which got changes, not recompile every package which depends on these changes.
<elvishjerricco> why would we not want that?
lord| has quit [Quit: WeeChat 2.2]
<nbp> elvishjerricco: also fix (self: g (f self)) would not give you a result which correspond to any packages which is already installed on your system.
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAQpt
<{^_^}> [nixpkgs] @Mic92 merged pull request #47019 → numix-icon-theme-square: 18-08-17 -> 18.09.19 → https://git.io/fAQFd
<nbp> elvishjerricco: as your system is assumed to be taken from (fix f)
<nbp> elvishjerricco: The point of grafting is to reduce the amount of work before shipping security updates.
<nbp> elvishjerricco: the minimal amount of work is the recompilation of each package individually, and the replacements of the dependencies with the newly compiled versions.
<nbp> elvishjerricco: if you change the Xlib packages, you do not want to recompile every X packages.
<nbp> elvishjerricco: especially not chromium.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b0987f20133 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<elvishjerricco> nbp: Ok, that makes sense
<elvishjerricco> nbp: Still not sure how this relates to `super.writeScriptBin` vs `self.writeScriptBin`, but I'll read that PR :)
<nbp> elvishjerricco: Think about super.callPackage.
<elvishjerricco> I never understood why super is preferred for that either
<nbp> elvishjerricco: callPackage takes all its input from `self`.
Twey has quit [Quit: WeeChat 2.1]
<nbp> elvishjerricco: super.callPackage, in the above formula `h = patch (g (fix f)) (g h)`, will get packages from `fix f` and `h` and would be able to patch them.
<nbp> elvishjerricco: self.callPackage, in the above formula `h = patch (g (fix f)) (g h)`, will get packages strictly from `fix f`.
<nbp> elvishjerricco: because self.callPackage is taken from `fix f`, and the `self` of `callPackage` if `fix f`.
<nbp> elvishjerricco: However, `super.callPackage` is taken from `g`.
<elvishjerricco> wait what
patrl has joined #nixos
<nbp> elvishjerricco: which still gives us the ability to compare the inputs of both `g`.
<elvishjerricco> how is it taken from g?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47026 → jackett: 0.10.160 -> 0.10.198 → https://git.io/fAQpj
<nbp> elvishjerricco: `patch` is a function which do the grafting on packages, and exposes functions.
* nbp wonder …
lord| has joined #nixos
lord| has quit [Client Quit]
<Unode> hi all, I just updated to 18.09 and am experiencing some issues. Is 18.09 still not completely stable?
hakujin has quit [Ping timeout: 260 seconds]
<gchristensen> it is not released yet. what are you seeing?
<nbp> elvishjerricco: At least this was a limitation I had when I tested it, and now that I explain it, I guess I could take functions from (g h) instead of taking functions from (g (fix f)), as opposed of packages.
jtojnar has joined #nixos
<Unode> is one
<Unode> the package zathura is also failing to compile locally
<kini> How are people setting up printers in nixos? Is there a declarative method, or should I just be adding them to CUPS via the KDE printer settings widget or whatever?
<nbp> elvishjerricco: `g` is like `f`, except that `g` is the security branch which contains the updated version of each individual packages.
lord| has joined #nixos
<nbp> elvishjerricco: `patch` compares the recipe of (g (fix f)) with the recipe of (g h) to know if some works needs to be done.
<sphalerite> Unode: good opportunity to fix it — if nobody does, it'll simply be marked as broken for the release
<elvishjerricco> nbp: So, just so I understand, the only reason we want to patch a package without recompiling its dependents is because of those packages such as the X server which don't need applications to be changed, just the server?
<nbp> s/X server/X libraries/, yes
<symphorien> Unode: this looks like a version mismatch betwee the nix daemon and the version of nix you have in your PATH
<elvishjerricco> nbp: So we even rewrite dependents' binaries to depend on the new shared library instead of the old?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47027 → latte-dock: 0.8.0 -> 0.8.1 → https://git.io/fAQhd
<nbp> elvishjerricco: exactly
<elvishjerricco> Ok.
<Unode> symphorien: oh
<nbp> elvishjerricco: which is called grafting
<elvishjerricco> Hm
<elvishjerricco> Got it
countingsort has joined #nixos
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> Unode: oh yeah what symphorien said. Try uninstalling nix from your user profile. You may need to use /run/current-system/sw/bin/nix-env to do so
<countingsort> hey, quick question: is sh bash or dash and how to change it?
<elvishjerricco> Still not quite seeing the super thing, but reading that PR will probablby make it apparent to me
<sphalerite> countingsort: it's bash
<Unode> symphorien: yeah you are right
<Unode> that one is fixed. Now as for zathura, checking
<countingsort> sphalerite: thanks
<nbp> elvishjerricco: `super` is asking the parent attribute set, not the argument given to f or g.
<sphalerite> countingsort: it's set by environment.bin
<sphalerite> err binsh
<sphalerite> > nixos.options.environment.binsh.description
<{^_^}> "The shell executable that is linked system-wide to\n<literal>/bin/sh</literal>. Please note that NixOS assumes all\nover the place that shell to be Bash, so override the default\nsetting only if you ...
<nbp> elvishjerricco: as functions are aliasing `self`, we want to have a single step in the argument.
<nbp> elvishjerricco: not 2.
<Dezgeg> sounds like the option should be removed then...
<sphalerite> doesn't bash behave like POSIX sh when called as sh?
trcc has joined #nixos
<nDuff> sphalerite, in some respects but not entirely.
<sphalerite> oh ok
<nbp> elvishjerricco: it is hard to understand, without going through the process of fixing these issues, and noticing that functions are aliasing self and therefore adding hops.
<Unode> sphalerite: so in the case of zathura, setting synctexSupport to false is enough to make it pass.
<Unode> would that qualify as a fix?
<sphalerite> Unode: ah, good to know. Then I'd suggest opening a PR making it default to false and adding a comment mentioning that it's broken
<sphalerite> yes
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47028 → libsForQt5.libopenshot-audio: 0.1.6 -> 0.1.7 → https://git.io/fAQjE
lopsided98 has quit [Quit: Disconnected]
astrofog has joined #nixos
<sphalerite> make sure to make the PR against master and request a backport, or to make a backport PR yourself but still make sure to use git cherry-pick -x to backport it to 18.09
<Unode> sphalerite: a bit puzzled. You mentioned it's not released yet but there is https://github.com/NixOS/nixpkgs-channels/tree/nixos-18.09 . It is about to get released and I just happened to have a tricky timing?
<azazel> what's synctex?
<Unode> I asked the same to google. It's a Latex thing.
<sphalerite> Unode: it's been forked off, so it's feature-frozen and considered beta currently
lopsided98 has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> Unode: this state typically lasts around a month. The actual release will be anonunced fairly loudly on various media
<{^_^}> [nixpkgs] @phile314 opened pull request #47029 → slimserver: Relax audio scan dependency → https://git.io/fAQjF
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47030 → libmediainfo: 18.08 -> 18.08.1 → https://git.io/fA7ek
<azazel> I've recently updated the configuration for my home server and I have published on github https://github.com/azazel75/giskard-configuration . Before it was using NixOps but no more ... if someone wants to take a look ;-)
kiloreux has quit [Ping timeout: 260 seconds]
astrofog has quit [Remote host closed the connection]
<benley> soooo anyone know of a way to use go2nix on a local repository without having to set up a git remote and publish the code to some remote location? because WTF
<LnL> uh oh, it doesn't work without that?
<benley> so it seems.
<benley> the readme for go2nix is like "just publish your repo to github" and I'm like come on, I just want a fucking helloworld repo here
georges-duperon has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47031 → kgraphviewer: 2.4.2 -> 2.4.3 → https://git.io/fA7vI
<benley> oh well. everything is terrible etc
<gchristensen> I have applied the glibc LOCALE_ARCHIVE_2_11 / LOCALE_ARCHIVE_2_27 patch, 2_11 pointing to an 18.03 glibc and 2_27 pointing to an 18.09 glibc. My terminal is messed up now: I can't backspace -- it adds forward spaces instead. any tips?
hakujin has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47032 → libisofs: 1.4.8 -> 1.5.0 → https://git.io/fA7vu
<LnL> you can try reset, but if that doesn't help you probably want to rollback
<worldofpeace> samueldr: but wouldn't that add a boot entry for all the installers?
kiloreux has joined #nixos
<{^_^}> [nixpkgs] @unode opened pull request #47033 → zathura: disable synctexSupport by default → https://git.io/fA7vP
<samueldr> worldofpeace: hmm, yes, so it would mean it'd need to be somehow handled via a parameter
fragamus has joined #nixos
hakujin has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47034 → libburn: 1.4.8 -> 1.5.0 → https://git.io/fA7v7
<worldofpeace> samueldr: I could add an option but I haven't the slightest what to call it
ixxie has joined #nixos
ravloony has joined #nixos
<ravloony> Hi, does anyone have a link to an explanation of how to use nixops with a specific nixpkgs version?
<samueldr> worldofpeace: it would be something along the lines to additional boot parameters; though I'm thinking this could be delayed for an eventual rewrite of the bootloader options for the installer images... but when is this going to happen? (something I want to do eventually)
<infinisil> ravloony: Just set nixpkgs in NIX_PATH
<symphorien> gchristensen: export TERM=linux or even export TERM=vt100
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47035 → leatherman: 1.4.2 -> 1.5.0 → https://git.io/fA7fz
<symphorien> it does not solve the root of the problem, but makes the terminal usable
<infinisil> ravloony: E.g. `-I nixpkgs=/path/to/nixpkgs` as an argument (/path/to/nixpkgs could also be a channel path, or a "channels:nixos-unstable" should work too)
goibhniu has quit [Ping timeout: 260 seconds]
<ravloony> infinisil: I'll try that, thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47036 → ioping: 1.0 -> 1.1 → https://git.io/fA7fK
<rycee[m]> And people complain about my warning in the Home Manager README…
<rycee[m]> :-D
<gchristensen> rycee[m]: how and why did you find that
jedahan has joined #nixos
<worldofpeace> samueldr: hmm we have similar interests, I'm fine if that delays this since installer changes are only really fruitful for releases.
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<worldofpeace> gchristensen: now that twitter post you made makes sense :P
<rycee[m]> gchristensen: I was curious whether there were any descriptions for having two git repos in one directory since I was thinking to finally start putting dotfiles in a public repo.
<gchristensen> worldofpeace: which one?
<rycee[m]> But I still have quite a few things that are not suitable for public consumption in my configs…
<worldofpeace> For example, being in your home directory and running git clean -f -x might delete all your files.
<rycee[m]> gchristensen: and duckduckgo had your repo as the third hit.
<gchristensen> oh, believe it or not that was a _different_ accident worldofpeace :)
<gchristensen> but yes, git clean -dfx is very dangerous if your ~ has a .git
<worldofpeace> hah so you knew from experience
<rawtaz> this is so fricken weird. ive been fiddling with open-vm-tools all day, as usual, and yesterday, and ive always gotten stuff logged by the vmware service into /var/log/vmware-vmsvc.log . but now, regardless if i use the same config as before, im not getting anything in that log. not even its startup messages. suuuuuuper weird.
<worldofpeace> gchristensen: Ever forgot you were ssh'd in a terminal and be like 'wtf' when you did something
Dedalo has joined #nixos
<rawtaz> although, the file has been *changed* jsut now. but im not seeing any lines from "just now"
alex`` has joined #nixos
<sphalerite> rawtaz: I suppose it just doesn't have anything interesting to say?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47037 → libsForQt5.libopenshot: 0.2.0 -> 0.2.1 → https://git.io/fA7Jh
<rawtaz> sphalerite: i found "it".. i moved the file, restarted vmware, so it got recreated. it DOES add lines to it, but with a time that's two hours behind $now. thats odd, cuz `date` reports the right time.
<gchristensen> worldofpeace: stooop you're giving me nightmares :)
<rawtaz> sphalerite: nah, it always produce output when you start it, a number of lines
92AAAM8R8 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
* rawtaz should know, been debugging it for two days :)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47038 → kotlin: 1.2.61 -> 1.2.70 → https://git.io/fA7UC
hakujin has joined #nixos
patrl has quit [Quit: WeeChat 2.2]
<LnL> gchristensen: a while back I wrote a bash script that called rm -rf "~/$dir" at some point, guess what the contents of that variable was
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47039 → lgogdownloader: 3.3 -> 3.4 → https://git.io/fA7Uj
<infinisil> LnL: Oh noo
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47040 → jdupes: 1.10.2 -> 1.10.4 → https://git.io/fA7Tt
<gchristensen> classic!
<infinisil> LnL: Had your backups though, right?
<clever> LnL: ive heard a horror story of basically that, with rm -rf /${backuppath}
<clever> LnL: the backups where also mounted over NFS
<gchristensen> (what are backups?)
<LnL> well usually you get a permission error pretty quick with that
hakujin has quit [Ping timeout: 252 seconds]
<clever> LnL: the process was involved in creating backups, so it would also have write to the backups
<LnL> infinisil: yeah, everything except for the script but that wasn't a great loss :p
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47041 → libosinfo: 1.1.0 -> 1.2.0 → https://git.io/fA7Tc
<{^_^}> [nixpkgs] @xeji closed pull request #47024 → meson: 0.46.1 -> 0.47.2 → https://git.io/fAQxJ
<jackjennings> Can I ask nixops questions here, or is there a different channel for that?
<srhb> jackjennings: This is the most appropriate channel :)
<{^_^}> [nixpkgs] @xeji merged pull request #47010 → ocaml ≤ 4.05: mark as broken on Aarch64 → https://git.io/fAQH8
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to master « ocaml ≤ 4.05: mark as broken on Aarch64 (#47010) »: https://git.io/fA7kv
<{^_^}> [nixpkgs] @xeji pushed commit from @vbgl to release-18.09 « ocaml ≤ 4.05: mark as broken on Aarch64 (#47010) »: https://git.io/fA7kI
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47042 → keepass: 2.39.1 -> 2.40 → https://git.io/fA7kG
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
reinzelmann has quit [Quit: Leaving]
<elvishjerricco> nbp: So, in `g (fix f)`, the `super` that `g` sees is *not* `fix f`. `super` is entirely internal to the function `g` or `f`, so it still doesn't seem relevant to me.
kiloreux has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #46910 → i7z: 0.27.2 -> 0.27.3, cleanup, various fixes, maintained fork, qt5 → https://git.io/fAHmH
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fA7If
<{^_^}> [nixpkgs] @xeji merged pull request #46916 → nixos/tests/gdk-pixbuf: fix test on i686 → https://git.io/fAH4p
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/tests/gdk-pixbuf: fix test on i686 (#46916) »: https://git.io/fA7It
alex`` has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47043 → jmol: 14.29.19 -> 14.29.22 → https://git.io/fA7Im
<{^_^}> [nixpkgs] @xeji pushed to release-18.09 « nixos/tests/gdk-pixbuf: fix test on i686 (#46916) »: https://git.io/fA7I3
Denommus has joined #nixos
<Denommus> hey, if I have a nixops deployment that deploys a network of containers, how can I create a private network for them?
<Denommus> what about nat?
<sphalerite> Denommus: I'm not sure if there's a more "canonical" way to do it, but you could use tinc
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47044 → googler: 3.6 -> 3.7 → https://git.io/fA7Iy
<sphalerite> which nameserver software would everyone recommend using with nixos?
<Denommus> sphalerite: tinc? No, dude, all the containers are in my machine, that's too much XD
<Denommus> I just figured that they actually can see each other
<Denommus> what I need would be just to set fixed IPs to them
<sphalerite> Denommus: ooooh ok. networking.interfaces.<name>.ipv[46].addresses I guess?
<elvishjerricco> sphalerite: But how do you have NixOps create that network?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47045 → hylafaxplus: 5.6.0 -> 5.6.1 → https://git.io/fA7L3
<sphalerite> elvishjerricco: idk. Idk how nixops deploys containers in the first place :p
<sphalerite> it's not mentioned in the manual…
<elvishjerricco> sphalerite: I think it just uses the `nixos-container` command pretty straightforwardly.
EarlDeLaWarr has quit [Quit: Textual IRC Client: www.textualapp.com]
<elvishjerricco> So I don't think NixOps provides a way to create a private network for some machines.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47046 → harfbuzzFull: 1.8.8 -> 1.9.0 → https://git.io/fA7Lr
<elvishjerricco> Denommus: That said, they *are* already given virtual interfaces that are only accessible on your machine. If your machine is running NAT, you might be able to just refer to them by their nixops-assigned IPs, which are available in the `nodes` argument to a machine's config.
jeschli has joined #nixos
<jackjennings> If I set `deployment.keys.{name}.text`, can I interpolate `deployment.keys.{name}` elsewhere to get the path to the written file like other derivations?
<jackjennings> (in nixops-land)
<elvishjerricco> jackjennings: I think it might be at `deployment.keys.{name}.path`
samrose has joined #nixos
<Denommus> elvishjerricco: can I at least set fixed IPs for them?
<jackjennings> elvishjerricco: there’s `keyFile` — the documentation just doesn’t note if it is set by nixops if unset. I’ll give it a shot…
<elvishjerricco> Denommus: I don't think so, not with NixOps.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47047 → inboxer: 1.1.4 -> 1.1.5 → https://git.io/fA7tU
<Denommus> elvishjerricco: what about refer to their IPs?
<jackjennings> elvishjerricco: ⚡️
<rawtaz> oh my
<elvishjerricco> Denommus: Their IPs will be available in `nodes`, though I forget what the exact attr path is
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47048 → gtkwave: 3.3.93 -> 3.3.94 → https://git.io/fA7tn
<Denommus> elvishjerricco: is it a nixops or a nixos option?
<ixxie> anybody know in some detail the status of the NixUP situation?
<elvishjerricco> Denommus: It's not an option, it's an argument to the NixOS config for the machine, added by NixOps. `{ pkgs, lib, config, nodes, ... }: { }`
<ixxie> I wouldn't mind getting involved if I can help somehow... really wanna see that happen
<infinisil> ixxie: I think I've told you before, but I think NixUP is dead, and we should rock with home-manage
<infinisil> r
<ixxie> infinisil: yeah but I was hoping to hear *why*... and what direction would an alternative best go
<ixxie> because while the implementation may have been flawed the idea is good
<infinisil> There is an implementation of something like this, it's called home-manager
<infinisil> And why it's dead? Just seems like from the activity, there hasn't been any testing afaik, and very rare updates
hakujin has joined #nixos
<ixxie> infinisil: I use HM... I guess I was just hoping for something better integrated with NixOS in general
nD5Xjz has quit [Ping timeout: 246 seconds]
<ixxie> and there is a PR that is still open
<ixxie> for NixUP
<ixxie> Rycee collaborated on it
<ixxie> so they were taking some concepts of HM too
<ixxie> afaik
<infinisil> I never heard about any collaboration happening
<infinisil> only about the announcement of collaboration
<ixxie> ah so there was intent but it never happened
<infinisil> I think I asked rycee before and he said that not much was ever done together
<ixxie> sad
hakujin has quit [Ping timeout: 244 seconds]
<Denommus> elvishjerricco: ah, got it. But getting documentation for it seems hard, is there a way to figure that out in the repl?
hakujin has joined #nixos
<elvishjerricco> Denommus: Don't think so, unfortunately :/
<Denommus> not actually hard, but not very descriptive
<infinisil> ixxie: Well, rycee's doing a great job maintaining home-manager :)
<infinisil> PR's welcome as well
<ixxie> Aye aye
lawlesseel has quit [Remote host closed the connection]
__lawlesseel__ has joined #nixos
<ixxie> infinisil: will try and contribute when I learn more
<samrose> is there a supported way to build an isolated env with buildFHSUserEnv such that when a user is in that env, they cannot read/see/access files outside of that env?
<Denommus> elvishjerricco: is there a way to "echo" the contents of a variable during build?
<elvishjerricco> infinisil: I wonder if we might ever get a `nix install` that resembles home-manager
<elvishjerricco> Denommus: `builtins.trace`?
<infinisil> elvishjerricco: I'd hope so, but I somehow doubt it, at least in the near future
<elvishjerricco> Denommus: Plus everything in here: https://github.com/NixOS/nixpkgs/blob/master/lib/debug.nix
<elvishjerricco> infinisil: I envision "imperative"-style package management with Nix as just modifying a JSON file which is read by a declarative system like home-manager
<infinisil> elvishjerricco: Yeah, thought of this too
<Denommus> thanks, that helps
<infinisil> elvishjerricco: I just hope we won't be using the nix-env interface
<infinisil> Really not a fan of the CLI
<elvishjerricco> infinisil: Yea. I wouldn't be *too* upset by that, but it'd be a big missed opportunity
<elvishjerricco> Oh
<elvishjerricco> Yea the CLI is garbage and NEEDS to go
<elvishjerricco> I just meant the ABI, so to speak
<infinisil> I wouldn't mind an additional curses interface :O
<elvishjerricco> The way a nix-env profile is formatted as a derivation
<rawtaz> there's a file /run/wrappers/wrappers.IJQJEDrKi5/fusermount , i presume from having installd fuse3 - what the heck is a wrapper, and how can i make this binary available in <prefix>/bin or <prefix>/sbin in the open-vm-tools package?
bennofs has quit [Quit: WeeChat 1.3]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47049 → harfbuzz: 1.8.8 -> 1.9.0 → https://git.io/fA7mw
<elvishjerricco> rawtaz: I *think* wrappers are just copies of a program with setuid enabled, since we can't have setuid executables in the nix store
<rawtaz> hmm ok
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/fA7mX
<samrose> ok I think I get it, I need to create user, group, and chroot
<tilpner> samrose - I don't support it, but I have a buildEnv compatible function that uses bubblewrap for a similar effect
<samrose> tilpner: thanks, I was inquiring as to whether it was "supported" in the nixos unstable or stable release itself
<samrose> tilpner: never heard of bubblewrap
<tilpner> I'm currently on unstable, but this has been working for at least a year
<tilpner> So it should be fine with stable too
<samrose> tilpner: do you have examples you wouldn't mind sharing?
<rawtaz> i will rephrase; i need fusermount to be in /bin or /sbin. is there a nice way to do that? vmhgfs-fuse from open-vm-tools seems to require it, https://github.com/vmware/open-vm-tools/blob/3a0205478e242bd672356d4eab6272d3b901fe6e/open-vm-tools/vmhgfs-fuse/config.c#L155
<tilpner> samrose - default.nix: https://tx0.co/27 env.nix: https://tx0.co/28
<rawtaz> oh wait
<samrose> tilpner: thanks!
<rawtaz> i could just copy it to /bin. thought it was ro
<rawtaz> HOLY CRAP
jackjennings has quit [Quit: jackjennings]
<tilpner> samrose - To use it with e.g. steam, I have: steam-chrootenv.override { buildFHSUserEnv = bubblewrapFHSEnv.override { bwrapArgs = ''...''; }; };
<tilpner> The trick is the value bwrapArgs
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47050 → gpodder: 3.10.3 -> 3.10.5 → https://git.io/fA7Y8
<{^_^}> [nixpkgs] @LnL7 opened pull request #47051 → broken darwin packages (d) → https://git.io/fA7Y4
<tilpner> Here's my definition of bwrapSteam: tx0.co/29
zduch4c has joined #nixos
<zduch4c> hello
acarrico has joined #nixos
<samrose> tilpner: looks pretty awesome
MasseR has joined #nixos
<elvishjerricco> rawtaz: I wouldn't rely on anything outside `/nix/store` in a Nix build... Anything that requires that should be patched
Fare has joined #nixos
<elvishjerricco> rawtaz: Also, nothing should ever be run as root in a Nix build, so invoking setuid executables in a Nix build is a bad idea.
<rawtaz> elvishjerricco: yes. but im desperately trying to get this shyte to work and part of that is just making it work :D once i know what fixes the problems, i can patch cleanly :)
<zduch4c> so… I loaded the wacom_w8001 module, and the tablet on my HP EliteBook still doesn't work under NixOS. It works under Lubuntu with that same driver. Any ideas?
<rawtaz> im onto something now at least.
<infinisil> zduch4c: Have you got the right udev rules?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47052 → gpxsee: 5.17 -> 5.18 → https://git.io/fA7OT
<zduch4c> can you elaborate infinisil? I am not to keen on Linux
<infinisil> ,find hardware/wacom.nix
<infinisil> zduch4c: That file sets services.udev.packages = [ pkgs.xf86_input_wacom ];
<infinisil> (from setting services.xserver.wacom.enable = true)
<infinisil> This adds udev rules fit for wacom to your system, these are needed to detect the device and assign it the correct drivers i think
<zduch4c> I have services.xserver.wacom.enable = true in my configuration.nix
<infinisil> Maybe those udev rules there don't work for your tablet
<zduch4c> hmmm... so what can I do?
<infinisil> zduch4c: Maybe check out `cd $(nix-build --no-out-link '<nixpkgs>' -A xf86_input_wacom)/lib/udev/rules.d`
<infinisil> and have a look at the file in there
<infinisil> (those are the udev rules)
<clever> zduch4c: what module did ubuntu show in lsmod?
<infinisil> There's some way to check whether the rules worked too. udevadm is the tool to use, run `udevadm monitor` and plug in/out your devices maybe
<zduch4c> wacom_w8001 clever
<clever> zduch4c: and does nixos also show it in lsmod?
<zduch4c> after I explicitly specify it in availableKernelModules, yes, but otherwise, no
<clever> zduch4c: does it work once loaded like that?
<zduch4c> no
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47053 → flexget: 2.14.18 -> 2.14.21 → https://git.io/fA7OS
<clever> zduch4c: what about in evtest?
<clever> zduch4c: what does dmesg say involving wacom?
<zduch4c> nothing in dmesg about wacom, evtest does not list it
<infinisil> It's the udev rules i tell ya
<clever> zduch4c: next thing i would do then is compare `modinfo wacom_w8001` on both ubuntu and nixos
<clever> ubuntu doesnt have to actually be booted on the tablet
<rycee[m]> ixxie, infinisil: Yeah, unfortunately I haven't had a look at nixup or talked with the author for a long time. My intent is still to have a look at it in more detail once my current freelance assignment ends and I get some free time. Then I was also planning to try nixup for the first time :-)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47054 → fping: 4.0 -> 4.1 → https://git.io/fA73v
Thra11 has quit [Ping timeout: 252 seconds]
<clever> so oyu could use a vm or 2nd machine to speed up comparison
<zduch4c> I'll have to boot it unfortunately, too slow of a computer for that
<rycee[m]> ixxie, infinisil: But I'm not wanting to be the person it all hangs on so anybody with interest in nixup should have a look at it and perhaps even try it. It's a bit old by now but I guess should work in a virtual machine or something.
<zduch4c> output on NixOS: https://hastebin.com/conasuwora.http
<zduch4c> brb for output in lubuntu
<infinisil> rycee[m]: Yeah tbh I don't see the need to look into it if it's not going anywhere and I don't feel like pushing it myself
zduch4c has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47055 → feh: 2.27.1 -> 2.28 → https://git.io/fA73R
<rycee[m]> infinisil: Btw, you are using Emacs, right? In a sudden fit of insanity I did some form of HM module for producing an init.el file. That's why I wanted to put some dotfiles publically, since I finally felt I had something suitably interesting :-)
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<{^_^}> [nixpkgs] @vanzef opened pull request #47056 → pass-git-helper: init at 0.4 → https://git.io/fA73a
<infinisil> rycee[m]: Heh I see, I actually created such a module myself as well: https://github.com/Infinisil/system/tree/master/config/emacs
<infinisil> The module.nix file is the main thing there
<infinisil> I'm not using it very often though
<samrose> tilpner: what do you think about the idea of using nixos containers for isolation instead of bubblewrap?
<Denommus> elvishjerricco: yeah, I couldn't find the field at all :-/
<rycee[m]> infinisil: Mine is crazier. I think you'll like it :-)
<tilpner> samrose - I don't have much experience with them, and I don't see why they would be better
<Denommus> even tracing the nodes
<rycee[m]> infinisil: I did think of using the dag but eventually opted against it. It's basically centered around jweigley's use-package.
<samrose> tilpner: thanks. not so much that it would be better, but just trying to understand if it is even a nearly equal option
<infinisil> rycee[m]: Damn, didn't know that was by jwiegley too :o
<tilpner> samrose - It might work with containers, not sure how to do graphical things with them
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<infinisil> rycee[m]: Will be interested in seeing it once you do put it online
<rycee[m]> infinisil: Btw, for your module try including the generated init.el as an extraPackage to emacs.
zduch4c has joined #nixos
<samrose> tilpner: actually yes for what you are doing with steam I see what you mean. I was just thinking more in the realm of simple isolation of env
<infinisil> rycee[m]: Ah yeah, that would be nicer
<tilpner> samrose - I can't really argue either way regarding "simple isolation of env", it's very vague
<zduch4c> infinisil: clever: https://hastebin.com/kipefaweto.http
<rycee[m]> So it's automatically byte compiled and such. It gained me a few ms in startup time :-)
<zduch4c> here is the output from Lubuntu
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47057 → fwupd: 1.1.1 -> 1.1.2 → https://git.io/fA7se
<infinisil> rycee[m]: Neat!
<samrose> tilpner: in my case, I am trying to run multiple applications on one nixos machine, and figure out how to contain the application in a way that the running applications cannot know about each other's data
<tilpner> samrose - Relevant: https://github.com/jollheef/appvm
<rycee[m]> infinisil: And yeah, jweigley does many nice things :-)
<tilpner> But bubblewrap can do mount namespaces too
<samrose> tilpner: I think your approach with bubblewrap and buildFHSenv is one option for me.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47058 → fio: 3.8 -> 3.10 → https://git.io/fA7st
<tilpner> samrose - You don't need an FHS env if the application is Nix-packaged
<ixxie> rycee[m]: so I guess the answer to my question (why the PR didn't go through) is that not enought people actually tested it and looked at it to see if its good enough to be merged....
<zduch4c> clever: infinisil: anything else to check on Lubuntu?
<zduch4c> lubuntu@lubuntu:~$ dmesg | grep wacom
<zduch4c> this also doesn't output anything
<zduch4c> infinisil must be right, it's something in the udev rules
<samrose> tilpner: understood. It will likely be that the specific apps I am working with will not be nix-packaged
<infinisil> ixxie: I have a feeling also because the changes are so big, it's hard to review them
<samrose> tlpner: this says https://nixos.org/nixos/manual/#ch-containers "Warning: Currently, NixOS containers are not perfectly isolated from the host system. This means that a user with root access to the container can do things that affect the host. So you should not give container root access to untrusted users."
<zduch4c> so, you guys have any idea how to fix it under NixOS?
<rycee[m]> ixxie: I think that is a fair assessment. There was a lot of excitement but there wasn't much help given to ts468 for pushing it forward to a mergable state.
<infinisil> zduch4c: Try play around with udevadm
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/af334fe875d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<tilpner> samrose - I'm aware of that. There are multiple degrees of "contain the application in a way that the running applications cannot know about each other's data". To best answer question, what applications will you be running?
<infinisil> zduch4c: If you don't know how to use udevadm, you should find information in the man pages and/or online
<rycee[m]> ixxie: I also agree with infinisil, it is a huge PR that touches quite a few core parts of Nixpkgs.
<tilpner> *your question
<zduch4c> should I try it under Lubuntu or NixOS infinisil?
<ixxie> rycee[m]: I guess the latter explains the former
<infinisil> zduch4c: Both
<clever> zduch4c: dont see the link for the ubuntu modinfo
<samrose> tilpner: these applications will be a combo of rust and javascript, with a hash table db per app
<clever> ah, found it
<tilpner> samrose - That's not what I meant. Why do you want/need to separate their data?
<rycee[m]> Which pretty much guarantees it to take a long time to discuss and work through to a mergable state. While at the same time the code will keep changing underneath it, requiring constant rebasing.
<rycee[m]> ixxie: Aye.
<clever> zduch4c: what happens if you try to `rmmod wacom_w8001` on ubuntu?
<clever> zduch4c: does the touchscreen stop working?
<clever> zduch4c: if you reload it, does it work again?, does evtest list it?
<samrose> tilpner: each app will have a "source chain" and it is important that one running application cannot read the data of the other application's source chain
<ixxie> rycee[m]: I wish I could help but I doubt I am qualified
<ixxie> rycee[m]: I was wondering... while I have you here, I was wondering if there are neat ways to deploy HM configs using NixOps to
ravloony has quit [Ping timeout: 252 seconds]
<zduch4c> clever: after removing, the touchscreen stops working, and evtest doesn't list it; after reloading it, it starts working again, and evtest starts listing it
<rycee[m]> ixxie: Just use HM as a Nixos module. I do it all the time.
<clever> zduch4c: and evtest shows xy coords when you touch the screen?
<tilpner> samrose - Depending on how important that is, you should consider VMs over systemd-nspawn/bubblewrap
<zduch4c> yes clever
<clever> zduch4c: next thing id check is what dmesg says on nixos, when you rmmod and modprobe again
<rycee[m]> ixxie: I use nixops for a few computers and have my user configured on them with home manager.
<ixxie> rycee[m]: oh neat, didn't think that was a thing to do :P I guess that answers my other question too, about how to overlay system settings with user-specific settings in HM
<infinisil> rycee[m]: user systemd units don't get restarted for me though, which is a bit annoying
zduch4c has quit [Remote host closed the connection]
<tilpner> samrose - People are still sceptical wrt. the security of user namespaces. The container warning from the manual roughly applies to bubblewrap too, to some extent
<rycee[m]> ixxie: Basically I have a common.nix that I import into each host-specific nixops configuration and in this common.nix I just have `home-manager.users.rycee = import ../user/common.nix;`
<rycee[m]> Where ../user/common.nix is a basic Home Manager configuration.
<ixxie> and that includes your user specific stuff presumably
<rycee[m]> infinisil: Yeah, that's a bit unfortunate. Home Manager has a very basic understanding of whether there is a running systemd user session and will sometimes miss it :-/
<infinisil> rycee[m]: NixOS just recently added support for restarting user units actually
<samrose> tilpner: thanks for the advice
<rycee[m]> infinisil: I'll try revisiting that some time. I don't have any HM managed user services on my nixops hosts though so I haven't had such strong motivation to fix the situation ;-)
<infinisil> rycee[m]: Ah actually only reload, not restart: #44990
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44990 (by Ma27, 5 weeks ago, merged): nixos/switch-to-configuration: reload user units
zduch4c has joined #nixos
<rycee[m]> ixxie: Precisely. It's just a plain HM config of the form `{ home.package = [ … ]; … }`
<infinisil> I'm using user units for a bunch of things. I just got used to manually doing `scu daemon-reload` and restarting them myself
<zduch4c> clever: dmesg says nothing under NixOS after laoding and unloading
<infinisil> (alias scu = systemctl --user)
<clever> zduch4c: i glanced at the source for the driver, and i think it relies on a second module, for the serio interface
<clever> zduch4c: so we need to see if ubuntu shows any serio modules in lsmod
<infinisil> clever: Isn't udev the first thing that interacts with the hardware? Do we have any sign that it doesn't already fail at that stage?
<zduch4c> it does clever, so does NixOS
<clever> infinisil: udev should detect what the device is, over the serio channel, and then auto-load it via the alias: serio:ty02pr39id*ex*
<clever> infinisil: but if the serio driver isnt working right
Fare has quit [Ping timeout: 260 seconds]
<clever> zduch4c: which serio driver is loaded on each?
<zduch4c> wacom_w8001 20480 0
<zduch4c> serio 24576 11 serio_raw,atkbd,wacom_w8001,hp_accel,psmouse,i8042
<infinisil> I think it would be good to first see whether udev is doing its thing even. Because it's the first thing in line
<zduch4c> the same
<infinisil> (But I don't know how to do that)
<samrose> tilpner: interesting https://github.com/Mic92/nixos-shell
<ma27> infinisil: unfortunately restarting user units is way harder than I thought. I have it on my todo list, but it might take some time until I can implement this %)
<infinisil> ma27: Not sure if that's even advisable though
<ixxie> rycee[m]: I guess the home-manager.users option is added when installing HM?
<clever> zduch4c: ah, serio sounds like the ps2 family of protocols
<infinisil> ma27: I have emacs, my user session, my music, my status bar, and some more things running under user units
<infinisil> I guess if you have some exceptions it should be fine
<tilpner> samrose - While a useful tool for interactive usage, I don't think it's a valuable abstraction for your usecase (or what I understood of it)
grp has quit [Quit: box shutting down...]
<clever> zduch4c: my only other idea is to try the same kernel version as ubuntu
<ma27> infinisil: I'm not sure yet how to do it (if I'll even implement it), I think that we could skip the restart of *some* units (such as display-manager.service ATM)
<rycee[m]> infinisil: As a work-around for now you could try putting the necessary systemctl --user commands as an activation script? You could even do something like `home.activation.reloadSystemD = mkForce (dag.entryAfter ["linkGeneration"] "my custom commands") :-)
<samrose> tilpner: you are probably right
<clever> zduch4c: dang, 4.10 isnt an option on nixos-unstable
<ma27> but that's a good point, when I know more I'd open an issue to discuss this first
<infinisil> rycee[m]: Ah yeah good point, might do that at some point
Ariakenom has quit [Quit: Leaving]
<rawtaz> can someone verify that in order to have a change to a package merged to master AND also backported to 18.09, i should create two PRs - one with just a regular commit, and the backport one having done `cherry-pick -x` into the 18.09 branch?
<rycee[m]> ixxie: For using HM as a NixOS module you'll want to put something like `imports = [ "${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos" ];` in your host configuration.
<infinisil> rawtaz: Yes
<rycee[m]> ixxie: That will make the `home-manager.users` option available.
<rawtaz> infinisil: preferrably also testing the change on that branch :D
<ixxie> cheers!
<ixxie> I will give that a shot one of these days :)
<rycee[m]> ixxie: Good luck :-)
<infinisil> rycee[m]: Oh, actually it might be neat to put HM into NUR
<infinisil> If the module idea of NUR becomes reality that would even be better
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> (The module idea being https://github.com/nix-community/NUR/issues/43)
<{^_^}> NUR#43 (by Mic92, 9 weeks ago, open): Make NUR a nixos module
<rycee[m]> infinisil: Yeah, I had a look at NUR a few days ago and I like the idea. I'll have to learn more about it when I have time :-)
<worldofpeace> infinisil: This caused me great peace finding this in your dotfiles https://github.com/Infinisil/system/blob/master/config/new-modules/default.nix :)
<{^_^}> [nixpkgs] @etu opened pull request #47059 → [WIP!] gsconnect: init at 13-alpha → https://git.io/fA7ZR
<infinisil> worldofpeace: Heh yeah
<ixxie> rycee[m]: thanks!
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0214f9e25e8 (from 63 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<ixxie> good night folks
<rawtaz> nite
kiloreux has joined #nixos
jackjennings has joined #nixos
<samrose> tilpner: seems maybe if I went vm route it might be good for me to use qemu/kvm
<infinisil> ,NUR
<{^_^}> Nix User Repository: User contributed nix packages, https://github.com/nix-community/NUR
<rycee[m]> infinisil: I'd also like the idea of supporting imports of HM modules from NUR.
<rycee[m]> I could put my emacs-config module there :-)
<infinisil> rycee[m]: Ah yeah, nothing special is needed to support that though :)
<infinisil> Can just put it into nur.repos.paul.hm.foo
<samrose> tilpner: for now I am going to explore nixos containers, see if it will be enough
<rycee[m]> Yeah, would need a nur module in HM but from what I can tell it shouldn't be too hard.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47060 → gmsh: 4.0.0 -> 4.0.1 → https://git.io/fA7ZF
<rawtaz> peeps, someone with merge ability on master, can you merge https://github.com/NixOS/nixpkgs/pull/46921 ?
<{^_^}> #46921 (by rawtaz, 21 hours ago, open): open-vm-tools: 10.1.10 -> 10.3.0
<infinisil> rycee[m]: Ah, you mean from HM -> NUR, yeah
<rawtaz> aanderse: i guess you're on a deadline ;) thanks for the help
<rycee[m]> infinisil: Yeah, I was thinking of having the module set up the right imports instead of having to do it manually. Not sure if it's worth it but maybe.
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/af334fe875d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
ixxie has quit [Ping timeout: 252 seconds]
<etu> jtojnar: So I've got started with gsconnect at least. But it's quite far from working yet. But I made a WIP PR #47059 and tagged you in it if you have suggestions or so :)
<etu> jtojnar: Note, it doesn't do the install just yet :D
<{^_^}> https://github.com/NixOS/nixpkgs/pull/47059 (by etu, 6 minutes ago, open): [WIP!] gsconnect: init at 13-alpha
<infinisil> rycee[m]: It would be pretty neat if HM was just a bunch of default NUR modules in the end :o
<infinisil> (with the HM base)
<infinisil> Or maybe even the HM base being in NUR, and other modules having that as a dependency
<infinisil> Decentralize everything!
zduch4c has quit [Remote host closed the connection]
trcc has quit [Remote host closed the connection]
<rycee[m]> A more decentralized setup might be quite nice :-)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47062 → geos: 3.6.3 -> 3.7.0 → https://git.io/fA7Cv
sanscoeu_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47063 → firejail: 0.9.54 -> 0.9.56 → https://git.io/fA7Cm
DigitalKiwi has quit [Ping timeout: 240 seconds]
<rawtaz> that ryantm guys is seeeriously active
<rawtaz> -
<rawtaz> s
sanscoeur has quit [Ping timeout: 246 seconds]
<jtojnar> etu: thanks, I will take a look later
<{^_^}> [nixpkgs] @xeji opened pull request #47064 → liquidwar: fix build → https://git.io/fA7CH
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47065 → fanficfare: 2.28.0 -> 3.0.0 → https://git.io/fA7CF
<jackjennings> Is there a bare-bones example — or is it possible — of how to write a machine definition that runs on ec2, where the nix store and everything else (application data, etc) are on separate volumes (EBS, or otherwise)? I have a working deployment with everything stored together, but would like to separate them for safety. I’ve seen some references to setting this up in GitHub issues, but not a full/working example…
sanscoeu_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji opened pull request #47066 → pythonPackages.circus: fix build, add meta → https://git.io/fA7WI
<{^_^}> [nixpkgs] @bbarker opened pull request #47067 → WIP: updating plan9port → https://git.io/fA7Wc
Wharncliffe has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47068 → gcalcli: 3.4.0 -> 4.0.0a4 → https://git.io/fA7Ww
<colemickens> I'm sorta hacking together my own nix cache thing and just hit something weird.
<colemickens> I'm getting "file missing from binary cache", but I don't know why it is even expecting to find it.
Anton-Latukha has quit [Quit: Leaving.]
<colemickens> There's no corresponding narinfo file with the same hash... so how/why does Nix think it should expect to find this particular path in the cache, rather than just needing to build it?
shabius has quit [Quit: Leaving]
<clever> colemickens: how did you make the binary cache?
<colemickens> basically, I list all files in the cache, build a new cache, diff the file list, upload files that are missing.
<colemickens> There's possibly an error in my logic, but I guess I still am missing a piece of the puzzle to troubleshoot why it expects this particular file to be in my binary cache...
<clever> ah, so its `nix copy` with `file://` that actually makes the dir
<clever> one min
Mic92 has quit [Quit: WeeChat 2.2]
<clever> colemickens: for that protocol, the .nar.xz files are named after their hash
<clever> colemickens: the narinfo will have a different hash in it
<clever> in my case, 58r35bqb4f3lxbnbabq718svq9i2pda3.narinfo points to nar/15gabh5pdnr6afsp49vb0ym02r09p27b50pinn9phsy366cx2rgb.nar.xz
<clever> FileHash: sha256:15gabh5pdnr6afsp49vb0ym02r09p27b50pinn9phsy366cx2rgb
<clever> and it declares the hash to be the same as the name of the .nar.xz
<colemickens> Hm, okay, thanks.
<clever> colemickens: oh, and if you delete anything from the cache, bad things happen
<colemickens> So I must've uploaded a narinfo and failed to upload the corresponding nar.xz... I must have a bug.
<clever> colemickens: nix will cache the existance of things locally, and try to download them later
<colemickens> clever: I don't think that's my issue here since this is a new VM trying to bootstrap itself, so it wouldn't know any previous existence information.
gamble has joined #nixos
<clever> ah
<colemickens> I must just have a bug where I'm uploading narinfo without the corresponding nar.xz. Basically the only way I can think that I ended up in this situation.
<clever> grep all of the narinfo files you have for the name of the missing file
<colemickens> Yeah, I would, but it's just going to tell me the same thing probably - that my upload logic is faulty. Anyway, I've got some avenues to explore. :) Thank you.
<{^_^}> [nixpkgs] @xeji merged pull request #46983 → circleci-cli: 0.1.0 -> 0.1.2307 → https://git.io/fAQEc
<{^_^}> [nixpkgs] @xeji pushed commit from @Synthetica9 to master « circleci-cli: 0.1.0 -> 0.1.2307 (#46983) »: https://git.io/fA7l4
<gamble> hi, has anyone had success booting nixos on a carbon x1 (2018)? i've used rufus (3.3) to write nixos-graphic-18.03. in bios set OS Optimised Defaults [off], and selected USB as first device to boot from. but it is just ignored...
<cransom> are there any levers that make hydra blow up in a more visible fashion if it encounters evaluation errors?
foldingcookie has joined #nixos
<clever> gamble: the iso file is already a valid usb image, and tools like rufus tend to break it
<clever> gamble: you need to just write the image directly to the usb in dd mode
<{^_^}> [nixpkgs] @xeji merged pull request #46974 → praat: 6.0.42 -> 6.0.43 → https://git.io/fAQWk
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « praat: 6.0.42 -> 6.0.43 (#46974) »: https://git.io/fA7l2
<gamble> hmm, yes i did try 'dd' mode originally. since then some bios setting have changed, so maybe i should retry
shabius has joined #nixos
orivej has joined #nixos
<gamble> retrying with: sudo dd bs=1m if=nixos-graphical-18.03.133235.305f13d3d73-x86_64-linux.iso of=/dev/rdisk2
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47069 → eudev: 3.2.5 -> 3.2.6 → https://git.io/fA78v
<colemickens> clever: so, say I had to purge my cache and start over, can I make Nix forget about all of that? (Hopefully without having to modify my list of cache servers :/ )
<gamble> yep same result... i select "USB HDD: SanDisk Cruzer Edge" from the boot menu. and nothing happens (screen flashes, returns to boot menu).
<colemickens> eh, I just left the binary cache out of the list, it'll be fine for now.
kiloreux has quit [Remote host closed the connection]
* colemickens stares at linux and qemu building. again.
<clever> colemickens: nuke ~/.cache/nix on root
jackjennings has quit [Quit: jackjennings]
<{^_^}> [nixpkgs] @Mic92 opened pull request #47070 → Grafana: secrets outside of the nix store + smtp → https://git.io/fA78g
<gamble> pretty sure i disabled "secure boot" as well. may need to double check that... frustrating. windows 10 is pre-installed on the machine.
jedahan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47071 → earlyoom: 0.11 -> 1.1 → https://git.io/fA78D
<clever> gamble: i found you have to disable uefi entirely to boot legacy, on some machines
<colemickens> The ISO should boot in uefi mode too though, right?
<gamble> ^ yep, in my limited understanding that's what i thought too
echel0n_ has joined #nixos
<clever> colemickens: some bios's are stupid
<clever> colemickens: there is one that entirely ignores the efi vars, and only boots the path windows puts the binary at
<clever> my laptop gives me full control over secure boot
Fare has joined #nixos
<clever> my desktop only has the M$ key or off
<gamble> hmm im sure i disabled secure boot, but it seems to be re-enabled now. I have just disabled. I can also change to "both" uefi and legacy boot. worth a try?
jackjennings has joined #nixos
<gamble> legacy first?
<{^_^}> [nixpkgs] @xeji merged pull request #47066 → pythonPackages.circus: fix build, add meta → https://git.io/fA7WI
<{^_^}> [nixpkgs] @xeji pushed to master « pythonPackages.circus: fix build, add meta (#47066) »: https://git.io/fA74c
<clever> yeah, that sounds like it should help
<{^_^}> [nixpkgs] @xeji merged pull request #47064 → liquidwar: fix build → https://git.io/fA7CH
<{^_^}> [nixpkgs] @xeji pushed to master « liquidwar: fix build (#47064) »: https://git.io/fA74R
<gamble> wahoo!
<gamble> yep
<gamble> finally got the installer screen
<clever> i'm also fighting my own boot issues here
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47072 → deepin.dtkcore: 2.0.9 -> 2.0.9.4 → https://git.io/fA74z
<{^_^}> [nixpkgs] @Mic92 opened pull request #47073 → gogs: 0.11.53 -> 0.11.66 → https://git.io/fA74g
<clever> i recently switched my desktop from legacy to efi
<clever> and now windows cant chainload from grub
<gamble> thanks for the help. wouldn't have been confident about changing to legacy boot on my own
<gamble> https://nixos.org/nixos/manual/index.html#sec-installation - dumb q. do i still follow the uefi specific instructions here?
<clever> uefi is always a gamble, you never know what your going to get
<{^_^}> [nixpkgs] @xeji pushed 2 commits to release-18.09: https://git.io/fA74r
<clever> if you booted in legacy mode, then you cant modify the efi vars, so a normal efi install wont work
<clever> simplest thing is to just say "screw efi" and do a full legacy install
<clever> gpt is still an option with legacy, just need a bios boot partition, 1mb, no fs, not mounted
jackjennings has quit [Quit: jackjennings]
jonreeve has joined #nixos
echel0n_ is now known as Motherflojo
<Dezgeg> except some biosen won't do legacy boot from gpt partitioned disks
Motherflojo is now known as echel0n_
<jonreeve> So this might be a weird question, but does anyone use Nix to scaffold out a new project from a template? I posted a question on SO about it just now, but it's getting downvoted: https://stackoverflow.com/questions/52434059/how-might-nix-be-used-to-scaffold-out-a-new-project-generate-the-skeleton-of-a
<clever> Dezgeg: oh, you mean the bios is too smart, and refuses to run the MBR in the gpt disk?
echel0n_ has quit [Quit: WeeChat 2.0]
<Dezgeg> not sure if recent machines are affected by that
<clever> my desktop is also rather dumb, it ran a .efi file on a vfat, that i forgot to tag as the ESP
<Dezgeg> I'm not sure what the actual problem is (besides "it doesn't work")
jackjennings has joined #nixos
jedahan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cale has quit [Remote host closed the connection]
Cale has joined #nixos
jedahan has joined #nixos
jedahan has quit [Client Quit]
jedahan has joined #nixos
erasmas has quit [Quit: leaving]
jedahan has quit [Client Quit]
<LnL> legacy boot can be a bit finicky about the partition layout IIRC
jedahan has joined #nixos
jedahan has quit [Client Quit]
<clever> LnL: from my undestanding, with grub, it will just load and execute the blob in the first 512 bytes, which must then be able to read the stage 1.5 in the bios boot partition
<samueldr> booting is hard :(
<{^_^}> [nixpkgs] @xeji closed pull request #46977 → psmisc: 23.1 -> 23.2 → https://git.io/fAQla
<clever> with older bios's, the bios boot partition has to be near the start of the disk
jedahan has joined #nixos
<LnL> there's also something with disks that have 4k block size, but I don't remember if that was legacy or uefi
jedahan has quit [Client Quit]
<dtz[m]> genesis: sorry, what's 2.7 and old? Is that the radare2 version you're seeing?? D:
<jackjennings> Is there somewhere were all of the arguments for the machine definition are documented?
jedahan has joined #nixos
jedahan has quit [Client Quit]
<genesis> dtz[m] : lag but not least :D
<jackjennings> config, nodes, pkgs, etc…
<clever> jackjennings: if you omit the ..., then it will fail for any args you didnt name
<clever> and the error will then guide you towards finding at least the name of each
<jackjennings> clever: if I wanted to contribute to the documentation so that other people could reference this, would there be a good place to do so?
<clever> jackjennings: in the nixos docs i believe
<clever> but some args like nodes are specific to nixops
<clever> resources is also part of nixops
<genesis> dtz[m] i'm on radare2 2.9.0-git 19251 , don't remember well and don't really care, this is enough to me, i play a lot with it last week, beautiful tool.
<dtz[m]> :D
brejoc has quit [Ping timeout: 264 seconds]
<genesis> (but i didn't success to hack the stuff yet)
<gamble> any further advice on installation. i disabled secure boot, selected legacy boot as priority (so I assume that's what it has booted in!). can i still follow https://nixos.org/nixos/manual/index.html#sec-installation ? treat as a bios system or uefi?
<dtz[m]> okay just making sure I was answering what you were talking about, still not sure but doesn't sound like there's a problem to be fixed ^_^
<{^_^}> [nixpkgs] @xeji merged pull request #46891 → bitcoin: 0.16.2 -> 0.16.3 → https://git.io/fA92f
<{^_^}> [nixpkgs] @xeji pushed commit from @roconnor to master « bitcoin: 0.16.2 -> 0.16.3 (#46891) »: https://git.io/fA7By
<clever> gamble: continue, and treat it as a bios machine
<genesis> dtz[m] https://github.com/Tsai1005/musicbox_sdk/blob/master/apps/ac461x/isd_download.exe <- i try to understand how this tool concatenate and encode files for some chinese firmware
<gamble> stellar, thanks
jackdk has joined #nixos
<dtz[m]> haha @.@ good luck
<{^_^}> [nixpkgs] @xeji pushed commit from @roconnor to release-18.09 « bitcoin: 0.16.2 -> 0.16.3 (#46891) »: https://git.io/fA7BA
<dtz[m]> o7
<genesis> dtz[m] : in fact when i spoke about version long time ago, was because people said me i was using a very old version, when i was hacking on mbrola binarieS.
sanscoeur has joined #nixos
<dtz[m]> oh! lmao someone pinged me earlier and this damn chat interface--well nvm my client problems, haha, now that you MENTION it LMAO today is not August 20-something or whatever hahahaha >>.<< no wonder you're calling me on the late reply :P
<rawtaz> does anyone know if anyone is working on getting NixOps working with hetzner.de's cloud (afaik it only works with their dedicated servers)?
<genesis> dtz[m] : yes, you're lagging my friend.
<dtz[m]> maybe it's time to restore a proper setup, I've been limping on cloud services long enough. Miss me my irssi+screen haha
<{^_^}> [nixpkgs] @xeji pushed 3 commits to release-18.03: https://git.io/fA7RR
<genesis> i don't get this irssi+screen mode, despite the pression of friend
astronavt has joined #nixos
sanscoeur has quit [Remote host closed the connection]
<genesis> just get my hexchat since i used xchat since 20 years, power of habits.
<genesis> (and btw, why screen and not a bnc)
georges-duperon has quit [Ping timeout: 252 seconds]
<samueldr> probably the same reasons than yours, genesis, power of habits :)
<dtz[m]> never got into flow of bouncer properly re:backlog and such, but yeah I don't know I'd recommend it as much as ... it's what I know xD.
<samueldr> though, I advocate for bnc+irssi+screen
<samueldr> this allows using another client if needed or wanted
<genesis> you've to admit it to move toward (or forward, sometime it's better)
<samueldr> (or if you're crazy, chain a bnc, with quassel)
<samueldr> (like I do)
shabius has quit [Read error: Connection reset by peer]
shabius has joined #nixos
alevy has quit [Ping timeout: 252 seconds]
colemickens has quit [Ping timeout: 252 seconds]
alevy has joined #nixos
<rawtaz> do whatever you want, just make darn sure to always be on (the) irc
<genesis> keep my laptop open :D
<sphalerite> rawtaz: I see what you did there :D
<rawtaz> :D
<genesis> $ LANG=C uptime
<genesis> 00:49:23 up 24 days
<{^_^}> [nixpkgs] @xeji merged pull request #47055 → feh: 2.27.1 -> 2.28 → https://git.io/fA73R
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « feh: 2.27.1 -> 2.28 (#47055) »: https://git.io/fA70U
<genesis> my nixos uptime is at best :D
colemickens has joined #nixos
<genesis> makes nuclear plants great again.
Denommus has quit [Remote host closed the connection]
mayhewluke has quit [Ping timeout: 246 seconds]
<gamble> so i have /dev/sda (7.5GB) , and /dev/nvme0n1 (477GB). any suggestions on how to proceed with fdisk? still use sda and mount nvme0n1 later?
<gamble> (from fdisk -l)
<sphalerite> gamble: it sounds like /dev/sda might be a USB stick?
<gamble> doh! yep.. that makes sense
<gamble> thanks
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @Zimmi48 opened pull request #47074 → dune: 1.1.1 -> 1.2.1 → https://git.io/fA70R
<gamble> yep.. doh. ok, that simplifies that then lol
<sphalerite> :)
<{^_^}> [nixpkgs] @xeji merged pull request #46928 → you-get: 0.4.1128 -> 0.4.1148 → https://git.io/fAHDN
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « you-get: 0.4.1128 -> 0.4.1148 (#46928) »: https://git.io/fA70g
<rawtaz> could it be that systemd.service.?.path does not apply/work when the service in question is a unit of "mount" type (one that has .mount appended to it)?
Notkea has quit [Remote host closed the connection]
<rawtaz> s/work/"have any effect"/
<sphalerite> rawtaz: yes, that may well be
<rawtaz> cuz i had to copy vmhgfs-fuse from the open-vm-tools store to /bin and then use fuse./bin/vmhgfs-fuse as the "type" for my fstab entry - that finally made nixos able to mount this shared folder automatically (as in, on boot)
<{^_^}> [nixpkgs] @matthewbauer pushed 12 commits to staging-next: https://git.io/fA70j
<{^_^}> [nixpkgs] @matthewbauer merged pull request #45776 → Gstreamer: 1.14.0 -> 1.14.2 → https://git.io/fAnKk
<rawtaz> so the problem with THAT part of the shared folders issues im trying to figure out seems to be that the unit does not have a path that includes that binary
<rawtaz> im not sure how to fix that, when the systemd path option isnt working
<{^_^}> [nixpkgs] @xeji merged pull request #47020 → libwebsockets: 3.0.0 -> 3.0.1 → https://git.io/fAQbY
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libwebsockets: 3.0.0 -> 3.0.1 (#47020) »: https://git.io/fA7Ef
<sphalerite> rawtaz: that's kind of nasty. An even uglier result, but arguably a nicer way, is to set the type to "fuse.${pkgs.open-vm-tools}/bin/vmhgfs-fuse"
<rawtaz> i already tried systemd.services."mnt-hgfs.mount".path = [ pkgs.open-vm-tools "/bin" ]; but it doesnt make it work
<sphalerite> that way you don't rely on the /bin link
<rawtaz> sphalerite: right, that would be expanded as part of the derivation processing i take it
<rawtaz> yeah thats more dynamic indeed
<nDuff> I'm trying to follow example 15.2 from https://nixos.org/nix/manual/, invoking builtins.fetchGit with a url of the form "git@host:repo/path". However, that appears to be getting treated as a local path: I'm getting an error that /home/nDuff/pkgs/git@host:repo/path doesn't appear to be a git repository.
<rawtaz> still a hack though :<
Fare has quit [Ping timeout: 252 seconds]
<nDuff> How can I prevent that from being turned into a filesystem path?
<rawtaz> (im not even sure that this format of type in fstab is even intentional or if it's just a lucky coincidence that it's working this way :D)
<rawtaz> nDuff: im totally ignorant but shouldnt you have a git:// url in there or something? just guessing out loud here.
<gamble> Following > a # (make the partition bootable)
<gamble> I get "unknown command"
<nDuff> I'm accustomed to git:// being used for the git protocol, vs git-over-ssh. But then, that's what git's command-line tools expect; not to say I know what nix's tooling expects.
<rawtaz> gamble: i dont think you need to do that specific part. i didnt, it worked anyway. perhaps just lucky
<rawtaz> nDuff: yeah, thought that was what you wanted. what protocol do you intend to use?
<nDuff> SSH.
<gamble> aha, thanks. will press on
<rawtaz> gamble: worst case if it doesnt work you can always make it bootable later somehow :)
<rawtaz> nDuff: try making it an ssh url then? :D
<nDuff> ...and example 15.2 is using url = "git@github.com:my-secret/repository.git" should work :)
<nDuff> s/using/claiming/
<rawtaz> yeqh youre probably right
<sphalerite> nDuff: if you quote it, I think it should indeed work
<sphalerite> nDuff: if you don't want to quote it, I think you need to add the ssh:// url scheme
jluttine has quit [Ping timeout: 264 seconds]
haslersn has joined #nixos
<colemickens> is setting nix.maxJobs=48 sufficient for ensuring, say, I'm building the kernel using all available CPU? (assuming it's a 48 core machine)?
<haslersn> Hi. If I set the buildFlags in a Nix package to [ '' CPPFLAGS="-flag1 -flag2" '' ]; somehow the quotation marks become escaped and make says that it doesnt know -flag2. why is that?
<colemickens> What if there's only one job, but I want it to use all cores?
<rawtaz> sphalerite: heh, doesnt work with the ${pkgs.open-vm-tools}, because that resulting path contains dots, not appreciated apparently. if one could make a symlink it might work referencing that instead of course.
<sphalerite> rawtaz: this is awful xD
<samueldr> rawtaz: the path contains dots?
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/40d22a78b7b (from 40 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<samueldr> ah, version number, duh :)
<rawtaz> yup. i will probably create an issue for this and see if we can get a discussion going, because as it is now one cannot add fstab entries for shared folders easily/without hackery. then again, perhaps this isnt something that's normally done, and instead the tools should handle it automatically (just having enabled shared folders in the VM settings i mean) - that is the next thing i was going to look into, because it doesnt work either
<nDuff> Using ssh:// does indeed work, though my string is already quoted, so I'm unclear on why that was a necessary change.
<Enzime> do you guys keep your /nix on HDD or SSD?
<rawtaz> but first lets get the latest open-vm-tools into nixos, as soon as #46921 is merged so i can backport it to 18.09
<{^_^}> https://github.com/NixOS/nixpkgs/pull/46921 (by rawtaz, 23 hours ago, open): open-vm-tools: 10.1.10 -> 10.3.0
<Enzime> is it easy to keep your /nix separate to your rootfs?
<sphalerite> Enzime: both!
<sphalerite> Enzime: yes
<Enzime> sphalerite: how does that work?
<rawtaz> Enzime: i keep it in a VM on a flash drive (Mac) :)
<sphalerite> Enzime: the magic of zfs :p
<Enzime> sphalerite: I patiently await our saviour bcachefs
<rawtaz> you'll get tired of waiting after year 3 out of 10+ :P
<rawtaz> btw, did we mention zfs is here and working today? :D
<Enzime> :p
jluttine has joined #nixos
* rawtaz hands Enzime a ZFS sticker
* Enzime sticks sticker on rawtaz
<rawtaz> sezy beast
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47075 → clickhouse: 18.10.3 -> 18.12.17 → https://git.io/fA7uq
<rawtaz> sphalerite: just noticed/realized that /run/current-system/sw/bin/vmhgfs-fuse exists - shouldnt binaries in /run/current-system/sw/bin be linked to from /bin by default?
<genesis> my conservatice choice : xfs.
haslersn has quit [Quit: Page closed]
<rawtaz> sphalerite: if not, perhaps it's normal for packages to create such links for specific binaries when needed? in this case that might be justified, to be done by open-vm-tools that is
<samueldr> rawtaz: that happens for what's in systemPackages, that's what's added to your PATH
<samueldr> services can make use of things without putting them here (e.g. ${pkgs.hello}/bin/hello)
<samueldr> it may be a better workaround to use that path, and always add it to systemPackages, but I'm not sure if that would be something mergeable as-is in nixpkgs
<samueldr> (well, where better == working, since the full path with dots doesn't work)
<rawtaz> samueldr: but this one cant, because it's a "mount" type of system unit, and apparently it doesnt care about the path setting
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47076 → eid-mw: 4.4.3 -> 4.4.7 → https://git.io/fA7uE
<nDuff> How can I refer to the *build host's* bash, as opposed to the bash built for the target system?
<samueldr> yeah, that's why I'm saying as of now, it may be a working workaround, but *something* probably can be done, I don't know what :/
<{^_^}> [nixpkgs] @xeji opened pull request #47077 → nixos/tests/ferm: disable dhcpcd → https://git.io/fA7ua
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/40d22a78b7b (from 54 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
haslersn has joined #nixos
<samueldr> maybe a shim script with a clean dotless name as a derivation in /nix/store/ could do it?
<rawtaz> samueldr: let me also put it another way; open-vm-tools has a bunch of binaries, but these binaries are not linked to from /bin - shouldnt they be? i didnt put open-vm-tools in systemPackages, because vmwareGuest.enable does so.
<samueldr> nothing should be in /bin except sh for POSIXLY compatible reasons
<rawtaz> samueldr: such a shim seems like a hacky workaround, as it deviates from the normal naming style of things
<samueldr> (with nixos)
<rawtaz> right, makes sense. /bin is special, shouldnt be filled with stuff
<rawtaz> i wonder if it works to put this binary in other places, ill try that. i guess something like /usr/local would be fine to populate?
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @Taneb to release-18.09 « haskellPackages.sbv: fix location of z3 executable »: https://git.io/fA7ui
<joepie91> ,locate ab2
<{^_^}> Couldn't find any packages
<joepie91> oh
<joepie91> ,locate ab
<{^_^}> Found in packages: dirt, atom, cheat, povray, granite, sequeler, sonic-pi, and 9 more
<samueldr> systemPackages is that location, and if the vmware thing enables it, maybe it's the best location?
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @Taneb to release-18.03 « haskellPackages.sbv: fix location of z3 executable »: https://git.io/fA7u1
<samueldr> sorry, I was thinking two thoughts at the same time, can't do that, let me rephrase
Dedalo has quit [Ping timeout: 245 seconds]
<rawtaz> thank you, was having a hard time parsing that
<samueldr> I think /run/current-system/sw/bin is as best as a location than any for a safe well-known path; since the vmware option already adds open-vm-tools to systemPackages, it might be fine to rely on that, I'm just not 100% sure if this happens for other software (relying on current-system)
<samueldr> hmm, only a few uses I can see
<samueldr> possibly fine, with the proper explanation documented
<rawtaz> right, i will use that instead for now, so in fstab i will make the type be fuse./run/current-system/sw/bin/vmhgfs-fuse
jluttine has quit [Ping timeout: 246 seconds]
<rawtaz> it's still a hacky workaround to the fact that i cannot set the path for the systemd mount unit (assuming that is what's keeping it from executing the vmhgfs-fuse binary, which i can happily run manually, so it should be that)
jluttine has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed to release-18.09 « libiio: init at 0.15 »: https://git.io/fA7zU
<{^_^}> [nixpkgs] @dtzWill opened pull request #47078 → jdupes: 1.10.2 -> 1.10.4 → https://git.io/fA7zL
<haslersn> In a Nix package, can I have buildFlags that contain a space?
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47079 → debootstrap: 1.0.108 -> 1.0.109 → https://git.io/fA7zq
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to release-18.09: https://git.io/fA7zO
<{^_^}> [nixpkgs] @dtzWill closed pull request #47078 → jdupes: 1.10.2 -> 1.10.4 → https://git.io/fA7zL
<rawtaz> haslersn: can you show the snippet of code you're wanting to do it in?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47080 → double-conversion: 3.0.0 -> 3.1.1 → https://git.io/fA7zs
<rawtaz> pastebin please
<rawtaz> right
<rawtaz> i dont know, sorry
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47081 → elfutils: 0.173 -> 0.174 → https://git.io/fA7z4
<rawtaz> i would look in the syntax manual for Nix
<rawtaz> but surely someone in here knows
<rawtaz> haslersn: i dont suppse something like "CPPFLAGS=\"-flag1 -flag2\"" works?
gamble has quit [Ping timeout: 256 seconds]
<haslersn> rawtaz: I don't think it's an issue with the Nix language. Somewhere in the process, the quotes get escaped
<rawtaz> ye
<haslersn> rawtaz: No, same output. I guess the \" becomes a " in the string but gets escaped later in the process
<samueldr> haslersn: searchinf for the citation
<rawtaz> haslersn: yeah. i wonder what escapes it :o
<samueldr> but in a derivation, the attributes will be made available as bash variables
<samueldr> and it's entirely possible it's done "in a simple way"
* samueldr searches for the right code
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47082 → clipgrab: 3.6.9 -> 3.7.0 → https://git.io/fA7zP
<slabity> Hey guys, working on a derivation. I'm using autopatchelf here. It's telling me some libraries like `libdbus-1.so.3` are missing. What's the standard way to fix that?
<samueldr> if you were to set CPPFLAGS="my string with space" as an attribute in the derivation it would be exported right
<rawtaz> hm did i just screw something up here.. is there normally a /sbin directory or link in nixos?
<samueldr> no /sbin here
<rawtaz> ok good, thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47083 → easyloggingpp: 9.96.4 -> 9.96.5 → https://git.io/fA7zb
<foldingcookie> is there anything I can do to decrease the RAM usage of `nixos-rebuild switch`?
<foldingcookie> or else, a way to predict it so I know how big to size my VM?
<haslersn> samueldr: thanks. that worked.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #47084 → deepin.deepin-menu: 3.3.10 -> 3.4.0 → https://git.io/fA7gs