gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/c/NixCon/live https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
emacsomancer has joined #nixos
jasongrossman has joined #nixos
arjen-jonathan has quit [Quit: WeeChat 2.3]
hellrazor has joined #nixos
acarrico has joined #nixos
mica[m] has joined #nixos
jperras_ has quit [Ping timeout: 268 seconds]
kalbasit[m] is now known as yl[m]
<romanofskiWork> kalbasit[m]: does nix-build --arg withExtraPackages "[golint, gotools]" yourelease.nix work? (I'm a n00b myself so take the advice with a grain of salt)
detran has joined #nixos
kai_w has joined #nixos
kai_w_ has quit [Ping timeout: 240 seconds]
<yl[m]> this worked for me in nix-shell: `nix-shell -I nixpkgs=. -p 'with import <nixpkgs> {}; neovim.override { withExtraPackages = [ gotools ]; }'`
<{^_^}> [nixpkgs] @kalbasit opened pull request #49498 → neovim: take withExtraPackages and add them to the PATH → https://git.io/fxFn9
<{^_^}> [nixpkgs] @romildo opened pull request #49499 → deepin: add update script and update some packages → https://git.io/fxFnj
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #49500 → albert: 0.14.21 -> 0.14.22 → https://git.io/fxFcY
joachifm has quit [Remote host closed the connection]
romanofs1iWork has joined #nixos
romanofskiWork has quit [Ping timeout: 244 seconds]
boxscapeR has quit [Remote host closed the connection]
jperras_ has joined #nixos
romanofs1iWork has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #49500 → albert: 0.14.21 -> 0.14.22 → https://git.io/fxFcY
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fxFCB
jackdk has quit [Disconnected by services]
<{^_^}> [nixpkgs] @andir closed pull request #49474 → [18.09] buildRustPackage: fix regex for separating lib and bin → https://git.io/fxdwK
jackdk has joined #nixos
sigmundv has joined #nixos
romanofskiWork has joined #nixos
romanofskiWork has quit [Ping timeout: 244 seconds]
romanofskiWork has joined #nixos
* __red__ wrestles with hydra
<andi-> whats wrong? :)
<__red__> problem between the chair and keyboard ;-)
romanofskiWork has quit [Ping timeout: 240 seconds]
<andi-> ah, the hardest kind
<__red__> I'm still very much in the cargo-cult aspect of nix development so there's still some pain doing very basic things
mkoenig has quit [Ping timeout: 240 seconds]
<__red__> this is my current minimal release.nix
<__red__> and my error is "error: undefined variable 'openspin' at"
<__red__> and I'm trying to work out why
<{^_^}> [nixpkgs] @puffnfresh opened pull request #49501 → mattercontrol: init at 1.7.5 → https://git.io/fxFWZ
mkoenig has joined #nixos
<clever> __red__: the with is missing
<clever> and a ;
hamishmack has quit [Quit: Textual IRC Client: www.textualapp.com]
<clever> 2018-10-30 20:34:50 < clever> __red__: with import <nixpkgs> { overlays = [ (import ./foo.nix) ]; }; { inherit foo bar baz; }
<__red__> ah, I deleted the ; as it was a syntax error
<__red__> and I didn't realize the "with" was part of the command ;-)
<__red__> trying again
<__red__> take 73
<__red__> ;-)
<__red__> holy crap - it built!
<__red__> well - the first one - the second one takes **forever**
Peetz0r has quit [Ping timeout: 252 seconds]
<tnks> I've avoided buildStackProject... but I'm playing around with it... I'm a bit confused about what I'm seeing using it straight from a nix-build. Are Stack-build dependencies being cached by it in /nix/store?
<__red__> Wow - this is amazing - thanks !
<elvishjerricco> tnks: I can't recommend actually building `buildStackProject`. I think it's only useful for defining a `nix-shell` that `stack` can use outside of Nix. But actually trying to use it for builds is really bad because it does *no* caching of the ~/.stack files, so *everything* is rebuilt every time.
lopsided98 has quit [Ping timeout: 252 seconds]
acarrico has quit [Ping timeout: 272 seconds]
<tnks> elvishjerricco: perfect... that is in-line with what I was thinking.
<tnks> and also... I think the stuff I'm seeing going into /nix/store is the build of Stack itself!
<elvishjerricco> tnks: I think it'd be possible to cache the ~/.stack files, but it'd take some doing.
<__red__> now to work out how to get these cached files published
<tnks> which was confusing me... I don't think it's even gotten to building my project.
lopsided98 has joined #nixos
<tnks> elvishjerricco: yeah, perfect. I was just confusing myself.
<elvishjerricco> tnks: Yea, buildStackProject puts the `stack` from nixpkgs onto the PATH for the build (and therefore the shell)
Peetz0r has joined #nixos
mkoenig has quit [Ping timeout: 244 seconds]
romanofskiWork has joined #nixos
<tnks> elvishjerricco: I'm going to stop this build then... It's uninteresting to me.
<__red__> cachix time(!)
mkoenig has joined #nixos
<__red__> oh funny - looks like I didn't have to use hydra after all
<__red__> heh
zolk3ri has quit [Remote host closed the connection]
<__red__> ah well - I'm glad I did!
<tnks> it seems cabal2nix is broken for ghc802... I tried to repair it... but no luck. Maybe ghc802 is a lost cause in Nixpkgs now?
<elvishjerricco> tnks: How is it broken?
<tnks> actually, I have an idea now that I say it out-loud... cabal2nix is just a build-tool... I don't need to use the one built for ghc802.
erictapen has quit [Ping timeout: 268 seconds]
thc202 has quit [Ping timeout: 272 seconds]
<tnks> elvishjerricco: no type-checking. it refers to self.Cabal_2_0_1_1, which doesn't even exist.
<tnks> when I change it to Cabal_2_2_0_1, the build fails.
<elvishjerricco> yuck
romanofskiWork has quit [Ping timeout: 252 seconds]
<tnks> elvishjerricco: from the perspective of a library author, I'd imagine wanting to support ghc802, though as a library consumer, I personally wouldn't want to be that behind.
<__red__> oh - apparently adding the release.nix broke nix-env locally
<__red__> since I now have release.nix and default.nix in my actual overlay directory... any execution of nix-env -iA is failing because it now thinks that my function is a set
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
<clever> __red__: the hydra server is also a binary cache
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxFl9
romanofskiWork has joined #nixos
drakonis has joined #nixos
<__red__> clever: I guess I need to move my release.nix out of the root of the overlays directory or elsewhere?
<__red__> since the plan was to have my end-users install the overlay in their local .config/nixpkgs/overlays
<__red__> having both a release.nix and default.nix in there is confusing the local nix-env terribly
<clever> __red__: you could also clone it elsewhere, and then symlink foo.nix to your default.nix
<__red__> in the release.nix I just included default.nix :-/
<__red__> I have created a circle that eats itself
drakonis_ has quit [Ping timeout: 264 seconds]
<detran> does anybody have any suggestions for how to do an encrypted drive? I'm going to do a reinstall because the 18.03->18.09 upgrade can't read my boot drive, and I want something more stable
<clever> detran: i use luks on all of my installs now
<__red__> maybe dropping this in a let block will solve that problem
Lisanna has joined #nixos
<detran> clever: do you have a writeup anywhere? I followed this last time, and I was disappointed it doesn't handle the upgrade:
<clever> detran: ive not had any troubles with upgrading and luks
<__red__> yeah - luks has been flawless for me - even going over major revs
<clever> detran: https://github.com/cleverca22/nix-tests/blob/master/kexec/justdoit.nix#L58-L74 is how i format the disk, and lines 123-125 is the extra configuration.nix entries it needs to boot
<__red__> { nixpkgs }: let pkgs = import nixpkgs {}; in {
<__red__> inherit (pkgs) hello;
<__red__> }ignore that
<__red__> wrong content
<__red__> detran: do you want to show us a copy of a cryptsetup luksDump /dev/whatever3
<__red__> whatever your root drive is
<__red__> and maybe we can help verify your translation in boot.initrd.luks.devices et al
<__red__> (at least that's how mine upgraded to)
<detran> sure! thanks for taking an interest
vidbina has quit [Quit: vidbina]
<detran> ok, so here's fdisk and luksDump:
<detran> and hardware-configuration.nix:
<clever> detran: your fdisk doesnt support GPT, so the output isnt complete
<detran> oh, do you know a tool that does?
<clever> gdisk i think, or parted maybe
<clever> on nixos, fdisk supports both seamlessly
<detran> that's what I'm on, though
<clever> ah, you have that messy setup with a cryptkey device
<clever> thats not needed at all on modern nixos
<clever> stage-1 will remember the passphrase you enter, and try it again on all other disks
<detran> oh, that's good, it was a real pain to set up initially
<clever> so if you can use that old cryptkey to add a password to both devices, you can then change the nixos config and upgrade
<clever> and just ignore it
<clever> i also refused to do that, and just put lvm on luks
silver_ has quit [Read error: Connection reset by peer]
<detran> can I transition to lvm on luks with my current install?
<clever> nope
<__red__> reading up
<clever> but you can easily transition to just a normal passphrase on both devices
<detran> with cryptsetup, right? I'll have to do some reading :)
<clever> yeah
<__red__> oh wait, you're not using initrd
<__red__> oh hang on, you are
<__red__> you can add another keyslot for a text password
<__red__> then just use boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/27e72959-dcfe-4f16-8d9e-9581f9e07e94";
<__red__> (and lose the whole boot.initrd.luks.devices block underneath I think)
<__red__> then duplicate for your swap
<clever> yep
<detran> what do you mean by keyslot?
<clever> in the output of luksDump
<clever> your devices have 8 keyslots
<clever> slot 0 is used on all, and slot 1 on one of them
<clever> each slot can be used by a passphrase or a keyfile
<clever> and any slot can be used to unlock the disk
<detran> okay, so I can use luksAddKey for that
<clever> yeah
<detran> do I need to alter the hardware-configureation.nix at all then? Can I just add the keyslots to root and swap, and provide that key when I boot?
<clever> if a keyFile is specified in the nix, it wont ask for a password, i think
<clever> so the keyFile=..; has to be removed
<clever> and then the cryptkey = ...; device becomes useless, so it can be removed
lassulus_ has joined #nixos
<detran> okay, that makes sense. Alright, that will help clear up the encrypted setup, but I think 18.09 is getting stuck finding my /boot partition, the device = "/dev/disk/by-uuid/5BAD-DF26" part
worldofpeace_ has joined #nixos
aleph- has quit [Ping timeout: 272 seconds]
<detran> and I'm not sure this will change that
<clever> what was the exact error it had?
lassulus has quit [Ping timeout: 244 seconds]
lassulus_ is now known as lassulus
<detran> hold on, let me try to dig it up
worldofpeace has quit [Ping timeout: 272 seconds]
<detran> The boot process would fail while trying to load the filesystem. Only on 18.09, though, and I've been rolled back to 18.03 since then
<detran> If I rebuild-switch the system runs just fine on 18.09, but it can't boot to 18.09
acarrico has joined #nixos
rprije has quit [Ping timeout: 252 seconds]
worldofpeace has joined #nixos
worldofpeace_ has quit [Read error: Connection reset by peer]
Supersonic has quit [Ping timeout: 252 seconds]
Supersonic has joined #nixos
<clever> detran: thats a weird one
<clever> detran: wait, exe format error....
<clever> detran: nix-store --verify --check-contents
fragamus has joined #nixos
sir_guy_carleton has joined #nixos
alex`` has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 250 seconds]
mayhewluke has joined #nixos
pareidolia has quit [Ping timeout: 272 seconds]
vk3wtf has quit [Ping timeout: 264 seconds]
<detran> clever: ok, that's finished, it didn't seem to produce any error reports
<clever> detran: thats a bit strange
<clever> cant think of anything else that would cause the error you had
<detran> well, at least I can clean up my cryptkey :)
<detran> thanks for your time
wykurz has joined #nixos
slack1256 has joined #nixos
<wykurz> hello friends, I have this PR, anyone willing to approve it? https://github.com/NixOS/nixpkgs/pull/48765
<{^_^}> #48765 (by wykurz, 1 week ago, open): cpuset: init at 1.5.8
samrose has quit [Quit: Konversation terminated!]
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #49502 → libversion: 2.7.0 -> 2.8.1; py-libversion: 1.0.0 -> 1.1.2 → https://git.io/fxFRc
sigmundv has quit [Ping timeout: 250 seconds]
sb0 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @dtzWill merged pull request #48734 → cairo: 1.15.14 -> 1.16.0 → https://git.io/fxoEZ
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to staging: https://git.io/fxFR2
hellrazo1 has joined #nixos
hellrazor has quit [Ping timeout: 250 seconds]
acarrico has quit [Ping timeout: 252 seconds]
hamishmack has joined #nixos
freeman42x has quit [Ping timeout: 250 seconds]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jperras_ has quit [Quit: WeeChat 2.2]
Rusty1 has joined #nixos
dramforever has joined #nixos
jasongrossman has quit [Ping timeout: 252 seconds]
wazboy has joined #nixos
hamishmack has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<Lisanna> is there a version of callPackage that doesn't insert the override and overrideDrv attributes into the result?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8868126cd23 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
o1lo01ol1o has joined #nixos
dvim has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @dtzWill opened pull request #49503 → hub: 2.5.1 -> 2.6.0, cleanup a bit → https://git.io/fxFu8
dramforever has quit [Ping timeout: 256 seconds]
vk3wtf has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Read error: Connection timed out]
<__red__> Guys - I have a friend who just installed nixos for the first time
<__red__> and every nix-env -iA he does does nothing for 15 minutes
<__red__> any ideas of something he missed?
romanofskiWork has quit [Ping timeout: 240 seconds]
<__red__> I've checked he has a nix-channel configured
<__red__> and got him to nix-channel --update
<__red__> oh - he just got something to install - maybe he just got a dud mirror?\
<__red__> bbia
<__red__> b
lassulus has quit [Ping timeout: 268 seconds]
tertl3 has quit [Quit: Connection closed for inactivity]
vk3wtf has joined #nixos
o1lo01ol1o has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
endformationage has quit [Quit: WeeChat 1.9.1]
orivej has quit [Ping timeout: 244 seconds]
wazboy has quit [Ping timeout: 250 seconds]
spotcheck has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
raedah has quit [Ping timeout: 245 seconds]
spotcheck has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
jtojnar has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
slack1256 has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #49504 → Musl/Glibc fixes → https://git.io/fxF2P
<__red__> is there a way to stop unpriv users running nix-env et all?
<__red__> et al even
o1lo01ol1o has quit [Ping timeout: 250 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.2]
reinzelmann has joined #nixos
o1lo01ol1o has joined #nixos
wykurz has quit [Read error: Connection reset by peer]
reinzelmann has quit [Quit: Leaving]
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #49496 → xfce4-terminal: add missing gsettings schema dependency → https://git.io/fxFOU
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fxFaO
worldofpeace has quit [Ping timeout: 272 seconds]
jasongrossman has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
palo has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @qolii opened pull request #49505 → eternal-terminal: 5.1.7 -> 5.1.8. → https://git.io/fxFV4
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
ddellacosta has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
codyopel[m] has joined #nixos
o1lo01ol1o has joined #nixos
sb0 has joined #nixos
reinzelmann has quit [Ping timeout: 268 seconds]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
lonokhov has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #49504 → Musl/Glibc fixes → https://git.io/fxF2P
<{^_^}> [nixpkgs] @matthewbauer pushed 6 commits to master: https://git.io/fxFwP
<{^_^}> [nixpkgs] @matthewbauer closed pull request #49311 → nixos/networking: do not copy /etc/rpc on non-glibc systems → https://git.io/fxHEd
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<Lisanna> omfgomfgomfgomfg
hyper_ch2 has joined #nixos
<Lisanna> my terrible hack on top of Nix worked
<Lisanna> aaaaaaaaa
reinzelmann has joined #nixos
<jasongrossman> Lisanna: Congratulations.
<Lisanna> was only possible because Nix was written in such clean C++
jD91mZM2 has joined #nixos
reinzelmann has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<infinisil> __red__: run with as many -v's as it takes to know what's up
jackdk has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
vk3wtf has quit [Ping timeout: 250 seconds]
rprije has joined #nixos
<ekleog> now let's all take a jar of oil, pour it on Lisanna's computer, and set fire so this abomination never exists again :D
<Lisanna> ekleog HEY
<Lisanna> ):<
<Lisanna> I spent days writing this
<Lisanna> I don't know C++
<ekleog> :P
<Lisanna> if you're going to burn it down then also burn down the shitty hardware the patch was designed to handle as well
<ekleog> well, that was the point
<ekleog> burn all the computers
<ekleog> and then write a purely functional computer
<Lisanna> I will be sad but I might be able to live with this
<Lisanna> ok now this is going in a direction I like
o1lo01ol1o has joined #nixos
elgoosy has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
lassulus has joined #nixos
o1lo01ol1o has joined #nixos
rprije has quit [Ping timeout: 252 seconds]
<gchristensen> __red__: never used it, but https://nixos.org/nix/manual/#conf-allowed-users
brejoc has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<jophish> clever, I got everything working
<jophish> as far as I can tell
o1lo01ol1o has joined #nixos
<jophish> I can boot to nixos, flash the FPGA and twiddle some LEDs
<jophish> The only part not in nix expressions is building the bitstream with quhartus
<jophish> and the device tree overlay
alex`` has joined #nixos
turion has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @hyperfekt opened pull request #49506 → nixos/pam: add defaults option → https://git.io/fxF6x
hyperfekt has joined #nixos
<Lisanna> "hydra-queue-runner[70983]: nix-store: error while loading shared libraries: libsqlite3.so.0: cannot open shared object file: No such file or directory"
<Lisanna> 0.0
<hyperfekt> clever: Thanks for the guidance yesterday. I just submitted the PR (https://github.com/NixOS/nixpkgs/pull/49506)! :D
<{^_^}> #49506 (by hyperfekt, 1 minute ago, open): nixos/pam: add defaults option
<Lisanna> what a terrifying message
<Lisanna> ...does hydra use the system nix or the one that was passed in at build time?
ng0 has quit [Read error: Connection reset by peer]
ng0 has joined #nixos
Thra11 has quit [Ping timeout: 250 seconds]
<Lisanna> oh, nvm, problem is unrelated to hydra
turion has quit [Ping timeout: 252 seconds]
lsyoyom has quit [Read error: Connection reset by peer]
pikajude has quit [Remote host closed the connection]
pikajude has joined #nixos
Tucky has joined #nixos
<jD91mZM2> ,help
<{^_^}> Use `,` to list all commands, `,foo = Foo!` to define foo as "Foo!", `,foo =` to undefine it, `,foo` to output "Foo!", `,foo somebody` to send "Foo!" to the nick somebody
<jD91mZM2> ,
<{^_^}> Special commands: find locate tell - Commands sorted by use count, page 0 (use ,<n> to view page <n>): library tofu dnw pr -A imperative pills profiling ping pinning unfree unstable ask declarative error escape'' overlay paste stateVersion upgrade IFD NUR allah callPackage cloudfront dentalplan escape" exec help info loot nixlang++ runtimeDeps tias timer whomademe wololo wrapper arm bootfull channels context escape-special fancy-uninstall github
<jD91mZM2> ,escape"
<{^_^}> " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
<jD91mZM2> ,escape''
<{^_^}> '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<jD91mZM2> ,escape-special
<{^_^}> A $${foo} will insert the literal string "$${foo}". Use \$${foo} in " strings or ''$${foo} in '' strings to have foo interpolated
lsyoyom has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
__Sander__ has joined #nixos
thc202 has joined #nixos
goibhniu has joined #nixos
o1lo01ol1o has quit [Read error: Connection timed out]
florianjacob has quit [Remote host closed the connection]
cornu has quit [Remote host closed the connection]
exarkun1 has quit [Remote host closed the connection]
stammon has quit [Remote host closed the connection]
tenten8401[m] has quit [Remote host closed the connection]
vaibhavsagar has quit [Remote host closed the connection]
leons has quit [Remote host closed the connection]
bennofs[m] has quit [Remote host closed the connection]
Ralith has quit [Remote host closed the connection]
timclassic has quit [Remote host closed the connection]
roberth has quit [Read error: Connection reset by peer]
yangm97 has quit [Remote host closed the connection]
IslandUsurper has quit [Remote host closed the connection]
MarkOtaris has quit [Remote host closed the connection]
clacke[m] has quit [Remote host closed the connection]
Purple-mx has quit [Remote host closed the connection]
bachp has quit [Read error: Connection reset by peer]
koschei[m] has quit [Write error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
ejpcmac has quit [Remote host closed the connection]
Mikaela- has quit [Write error: Connection reset by peer]
kklondike has quit [Remote host closed the connection]
mica[m] has quit [Remote host closed the connection]
timokau[m]1 has quit [Remote host closed the connection]
codyopel[m] has quit [Write error: Connection reset by peer]
sphalerit has quit [Remote host closed the connection]
nyanloutre[m] has quit [Read error: Connection reset by peer]
rycee has quit [Read error: Connection reset by peer]
schmittlauch[m] has quit [Read error: Connection reset by peer]
Ericson2314 has quit [Remote host closed the connection]
slabity has quit [Remote host closed the connection]
tomberekn[m] has quit [Remote host closed the connection]
yegortimoshenko has quit [Remote host closed the connection]
simbergm has quit [Remote host closed the connection]
sevcsik[m] has quit [Write error: Connection reset by peer]
hyp3rbor3ax[m] has quit [Remote host closed the connection]
tokudan[m] has quit [Remote host closed the connection]
dtz has quit [Remote host closed the connection]
ysndr_ has quit [Remote host closed the connection]
AntonLatukha[m] has quit [Read error: Connection reset by peer]
craige[m] has quit [Write error: Connection reset by peer]
Guest72811 has quit [Write error: Connection reset by peer]
PlasmaStrike[m] has quit [Write error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mac2301 opened pull request #49507 → cteate → https://git.io/fxFMN
agander has joined #nixos
o1lo01ol1o has joined #nixos
masterdonx has quit [K-Lined]
GDPR has quit [Remote host closed the connection]
GDPR has joined #nixos
<gchristensen> anyone using networkd able to give me a walk-through on NixOS + networkd configs? or am I overcomplicating it and all I do is do networking.useNetworkd = true
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c70ad805d21 (from 7 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
<gchristensen> cc Mic92, fpletz
<niksnut> gchristensen: I think that's mostly it
<gchristensen> NixOS is Too Powerful.
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<etu> yay, nixos-unstable!
florianjacob has joined #nixos
<etu> Moved to an old version, but still an improvement :-)
<gchristensen> woohoo
o1lo01ol1o has joined #nixos
<andi-> gchristensen: way to go, always on the edge :P
<gchristensen> I can always roll back....
<andi-> yep :)
<{^_^}> [nixos-org-configurations] @grahamc pushed 2 commits to graham/prometheus: https://git.io/fxFyX
<{^_^}> [nixpkgs] @dywedir closed pull request #49507 → cteate → https://git.io/fxFMN
<jD91mZM2> gchristensen: Unless it bricks your system :^)
<gchristensen> it would have to work pretty hard to brick my system
<gchristensen> but, yes
<etu> If you have databases etc it can be hard to rollback if changes have been made to things with a state...
<gchristensen> that is true, etu.
<{^_^}> [nixpkgs] @TerrorJack opened pull request #49508 → Update nodejs v10 to 10.13.0 and add nodejs v11 → https://git.io/fxFyj
<gchristensen> speaking of which. IHave this weird problem where I accidentally marked an ancient boot option as default in systemd-boot, and I can't manage to undo that. I don't really want to be able to set a default, but the best option I have is to re-set the default on every boot after I create a new system version.
erictapen has joined #nixos
hyperfekt has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
szicari has quit [Ping timeout: 245 seconds]
bachp has joined #nixos
bennofs[m] has joined #nixos
Purple-mx has joined #nixos
Ericson2314 has joined #nixos
fgaz has joined #nixos
clacke[m] has joined #nixos
dtz has joined #nixos
cornu has joined #nixos
Mikaela- has joined #nixos
Ralith has joined #nixos
simbergm has joined #nixos
leons has joined #nixos
schmittlauch[m] has joined #nixos
ejpcmac has joined #nixos
thefloweringash has joined #nixos
tokudan[m] has joined #nixos
sphalerit has joined #nixos
roberth has joined #nixos
timclassic has joined #nixos
yangm97 has joined #nixos
koschei[m] has joined #nixos
yegortimoshenko has joined #nixos
nyanloutre[m] has joined #nixos
stammon has joined #nixos
MarkOtaris has joined #nixos
rycee has joined #nixos
ysndr_ has joined #nixos
<michas> Hi, my nixos system currently does not boot, because stage1 does not find init. According to https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/stage-1-init.sh#L557 it tries to make sure that init either exists or is *not* a symlink. - Does that make any sense? It refers to the nixstore, which of course contains symlinks. - Where is my error in reasoning?
civodul has joined #nixos
<sphalerite> michas: it might be an absolute path symlink, which isn't valid before the chroot
<sphalerite> as the comment says
sigmundv has joined #nixos
<sphalerite> michas: err, actually, it makes sure that either it *does* exist *or* it's a symlink
<sphalerite> oh right, I see what you mean now.
<michas> sphalerite: Yes, it *is* an absolute path to the nix store. But shouldn't that be absolutely valid? Mind the exclamation mark in the command.
<sphalerite> Yeah I think it's wrong
<{^_^}> [nixpkgs] @HardhikShah19970 opened pull request #49509 → Update → https://git.io/fxFHU
<michas> sphalerite: But if that is indeed wrong, how comes nixos systems usually boot fine?
<michas> sphalerite: I ended up in this situation while trying to lustrate from ubuntu according to the manual.
__monty__ has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.2]
<sphalerite> michas: I'm guessing because it's not usually a symlink
<sphalerite> michas: I think that bit always passes, because if it doesn't exist it's also not a symlink
<sphalerite> ugh I can't do boolean logic this morning
o1lo01ol1o has quit [Ping timeout: 276 seconds]
hamishmack has joined #nixos
aminechikhaoui has quit [Ping timeout: 264 seconds]
Ridout has joined #nixos
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
johanot has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #49509 → Update → https://git.io/fxFHU
aminechikhaoui has joined #nixos
<{^_^}> [nix] @lheckemann opened pull request #2501 → config: use all of XDG_CONFIG_DIRS → https://git.io/fxF74
o1lo01ol1o has quit [Ping timeout: 264 seconds]
freeman42x has joined #nixos
locallycompact has joined #nixos
<{^_^}> [nixos-hardware] @yegortimoshenko merged pull request #85 → common/cpu: default microcode updates to enableRedistributableFirmware → https://git.io/fxd1Q
<{^_^}> [nixos-hardware] @yegortimoshenko pushed 2 commits to master: https://git.io/fxF7K
<{^_^}> [nixos-hardware] @yegortimoshenko pushed 0 commits to 201810/microcode: https://git.io/fxF76
sb0 has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
<Lisanna> oh shoot... hydra has its own completely independent implementation of remote building
<Lisanna> that... really sucks ):
<colemickens> how did I miss the nixos-hardware repo!?
o1lo01ol1o has quit [Ping timeout: 252 seconds]
alp has quit [Remote host closed the connection]
patrl has joined #nixos
o1lo01ol1o has joined #nixos
<locallycompact> hi, I'm trying to follow the instructions here https://github.com/obsidiansystems/obelisk
<locallycompact> I get this nix error
alp has joined #nixos
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<srhb> locallycompact: I cannot reproduce that error.
<srhb> locallycompact: Can you give us the output of nix-info?
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fxFdS
<locallycompact> I don't have nix-info
<locallycompact> this is on arch
<srhb> nix-shell -p nix-info --run nix-info
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<locallycompact> I tried the nixos variant on my nixos virtualbox and it didn't error but it still seems to be building an awful lot, is the point of this cache to skip building lots?
<srhb> Yes, it is.
<locallycompact> hmm
<locallycompact> it's even building bash 4.4
<gchristensen> please share the output of `nix show-config`
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « LTS Haskell 12.16 »: https://git.io/fxFFE
<locallycompact> on arch it's https://pastebin.com/EqNe5Nw5
<locallycompact> on nixos virtualbox it's https://pastebin.com/Uf0v5nbR
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxFFi
<srhb> The NixOS virtualbox doesn't have the reflex cache, but otherwise it looks good..
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fxFFF
<locallycompact> oh hmm why doesn't it
<locallycompact> because it was deployed iwth nixops?
<srhb> Probably because you didn't set it up.
erictapen has quit [Ping timeout: 252 seconds]
<srhb> (it isn't inherited from the deploying host or anything)
<locallycompact> I think I followed the instructions
<locallycompact> number 2
<locallycompact> and restart daemon
<srhb> That's not the NixOS instructions
<srhb> For NixOS, you set these first two options: https://nixos.org/nixos/options.html#nix.binarycache
<locallycompact> nixos 2(i)
<srhb> And rebuild/deploy
<locallycompact> oh redeploy
<srhb> Restarting the daemon will do nothing if you didn't activate the new system configuration. :)
<locallycompact> so I should put this in the nixops deployment
<srhb> Yes.
<locallycompact> ok
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-fltkhs-themes: disable Hydra build to avoid evaluation errors »: https://git.io/fxFbU
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-polyparse: drop obsolete override for ghc-8.6.x »: https://git.io/fxFbm
dramforever has joined #nixos
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<srhb> locallycompact: None of this really explains the error you're seeing though...
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxFbz
kai_w has quit [Quit: Konversation terminated!]
<srhb> locallycompact: The build was on the host machine, right? Not the vm?
<dramforever> I think I read about evaluation restrictions on Hydra a while ago
<dramforever> It was about downloading random things
<dramforever> What was the restriction?
<locallycompact> I was trying both, on the host it just errored straight away with some path problem, on the vm it started building
<srhb> dramforever: restrict-eval perhaps?
<{^_^}> [nixpkgs] @peti pushed 6 commits to haskell-updates: https://git.io/fxFbK
o1lo01ol1o has joined #nixos
<dramforever> Okay, so
<srhb> dramforever: no arbitrary builtins.fetchTarball for instance.
<dramforever> Oh
<locallycompact> oh now I'm getting this error on my host for all nix operations
<locallycompact> error: while setting up the build environment: getting attributes of path '': No such file or directory
<dramforever> But if I specify a hash, it's fine, right?
<locallycompact> since i changed my /etc/nix/nix.conf
<srhb> dramforever: It's easy to test locally by feeding a build --restrict-eval iirc
<srhb> locallycompact: pastebin the nix.conf?
<locallycompact> it just has those two lines in
<locallycompact> from 2(ii)
<locallycompact> it didn't exist prior
<srhb> locallycompact: And the error goes away if you delete the file and build something arbitrary?
<dramforever> srhb: Ah so you mean 'this doesn't work with Hydra' (probably) just meant 'this doesn't work with restrict-eval'?
* locallycompact does a sanity check
<srhb> locallycompact: Pastebin it anyway
<srhb> dramforever: Yes.
<locallycompact> sec
<dramforever> Okay, thanks
<srhb> dramforever: I know a lot of people patch out the hardcoded restrict-eval in Hydra.
<srhb> We really ought to make it configurable.
<srhb> It's extremely common in "internal hydra instances" where you trust all providers of nix expressions (employees) implicitly
<locallycompact> ok host seems fine now I must have just got osmething twisted
<srhb> locallycompact: I wish I knew what it was. What did you change?
<locallycompact> I just deleted and repasted
<locallycompact> maybe an errand character
phreedom has quit [Quit: No Ping reply in 180 seconds.]
<srhb> locallycompact: ack.. okay. Next time, it would be great if we could analyze it, it'll help debug for the next person who runs into it :D
<locallycompact> sure np
<srhb> locallycompact: But good, this is progress.
Phillemann has joined #nixos
phreedom has joined #nixos
iyzsong has joined #nixos
jD91mZM2 has joined #nixos
<dramforever> i was actually just theorizing a way to bootstrap a working nix-based installation
<dramforever> You know, starting with downloaded, statically-linked binaries and fixed-output derivation
init_6 has joined #nixos
<dramforever> and building the way up
<dramforever> in a world where cache.nixos.org doesn't exist yet
<srhb> dramforever: Sounds like a really sad world. :D
<dramforever> *yet*
<srhb> Right. There's a catch-22 though
<srhb> nixpkgs depends on tarballs.nixos.org because sources disappear from the interwebs.
<srhb> But if you're OK with that existing, it's doable!
<gchristensen> several companies do it, too.
<dramforever> i think i said 'theorizing'
* srhb nods
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<dramforever> :)
<srhb> Not trying to put you down :D
<dramforever> It's working
<srhb> I'll shut up then and let you do your thing. :-P
<dramforever> It's a really fun and useless process
<dramforever> I started by building a musl static busybox
<dramforever> Which was (ironically) busybox.override { enableStatic = true; useMusl = true; }
<dramforever> But it can be just a file
<dramforever> Then I got an equivalent of fetchurl working using 'busybox wget'
o1lo01ol1o has joined #nixos
<dramforever> Using it I was able to download and build a fixed-output version of jq [1]
<dramforever> I think that's already enough. Theoretically possible to bootstrap everything :P
<dramforever> And yes this 'busybox wget' works in restrict-eval if outputHash* is specified, so it's good to go
Phillemann has left #nixos ["WeeChat 2.3"]
<srhb> dramforever: \o/
<{^_^}> [hydra] @rbvermaa merged pull request #604 → allow users with 'restart-jobs' role to restart individual builds → https://git.io/fxi1Z
<{^_^}> [hydra] @rbvermaa pushed 2 commits to master: https://git.io/fxFNh
<dramforever> \o/
<srhb> aanderse: You can check if it was already broken before your change :)
<srhb> aanderse: The easiest way to do that is build it from a recent -unstable checkout
<aanderse> srhb: yeah. fairly certain it is not, but good to check
<aanderse> thanks
<srhb> aanderse: nix build -f channel:nixos-unstable speed_dreams -- is nice for this :)
<aanderse> ohh i need to write that one down
<infinisil> srhb: I want a command that checks the latest hydra build for success of an attribute
<srhb> If you have tab completion, -f will even complete channel names for you
<infinisil> Would be much quicker
<srhb> infinisil: Yup. In this case it's hydraPlatforms = [] though
<infinisil> Ohh
<srhb> infinisil: I use path-info for that, btw
<srhb> It's not quite the same, but useful
<infinisil> *and falls back to building it if hydraPlatforms = []
<srhb> :D
<aanderse> people here always so helpful
<aanderse> thanks
<srhb> aanderse: It's broken for me. :)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7d24cf8ea99 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<infinisil> And this tool shall be named nix-builds
<srhb> infinisil: nix-build<tab><frustration><rage><spc>
<aanderse> srhb: yup. bad choice to test against i guess.
<{^_^}> [nix] @edolstra merged pull request #2501 → config: use all of XDG_CONFIG_DIRS → https://git.io/fxF74
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fxFAA
agander has quit [Read error: Connection reset by peer]
<aanderse> well nothing that actually works depends on the library i'm upgrading directly... -_-
<srhb> Which library is this?
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<aanderse> openscenegraph
<aanderse> i'll just test it manually
<srhb> aanderse: openmw looks like it works?
<aanderse> couple apps reference openscenegraph, but don't actually use it
<srhb> Oh, meh.
<aanderse> they just piggyback the infrastructure and replace the source
<srhb> openmw even retains a reference to openscenegraph though..
freeman42x has quit [Ping timeout: 252 seconds]
<srhb> simgear is failing _because_ of openscenegraph...
o1lo01ol1o has joined #nixos
<aanderse> oh yeah? since when?
<srhb> I didn't check, just built it and it was drying on osg errors :)
<aanderse> wanna pastebin me?
Lisanna has quit [Remote host closed the connection]
<srhb> Sure
acarrico has joined #nixos
<aanderse> oh
<aanderse> this verion of simgear is from 2017.3.1
<aanderse> hmm
<aanderse> i'm betting a version bump might fix that...
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
clefru has joined #nixos
<srhb> Right. Maybe I'm not being helpful. Just looked like it might help in testing :-)
justanotheruser has quit [Ping timeout: 240 seconds]
<aanderse> ah simgear stopped received updates in 2017.4
Ridout has quit [Ping timeout: 245 seconds]
vk3wtf has joined #nixos
* Taneb actually reads the implementation of some primops
<Taneb> builtins.derivation does a lot more than I thought
<clever> and its half written in nix!
<Taneb> I know!
<infinisil> Taneb: For example?
<clefru> I can't execute <nixpkgs-unstable>.androidenv.android_8_0/libexec/tools/emulator. This will give "./emulator: line 5: /nix/store/[...]-android-sdk-26.1.1/libexec/tools/.emulator-wrapped: No such file or directory". The file is clearly there however. This smells like a linker error. "ldd -d"-ing the file shows no missing dependencies. "objdump -x" shows no crazy rpath's. Running that wrapped file with LD_DEBUG=all doesn't even produce a single line of
<Taneb> infinisil: in particular, I didn't realise it wrote the .drv to the store
<clefru> output. strace-ing shows the execve call fails right there. I am bit puzzled.
xy2_ has joined #nixos
xy2_ has quit [Remote host closed the connection]
<clever> clefru: what about file on the binary?
<clefru> file-ing "/nix/store/[...]-android-sdk-26.1.1/libexec/tools/.emulator-wrapped" gives ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.15, stripped, so I don't even have an arch mismatch
xy2_ has joined #nixos
<clever> clefru: yep, its /lib64/ld-linux-x86-64.so.2 thats not found
<clefru> oh indeed!
<clever> patchelf and --set-interpreter have to be ran
<clefru> clever: thanks, I missed that!
<Taneb> I now know more about nix than I did earlier
<clefru> I would have expected "ldd" to bark at me. Thanks!
<clefru> clever++
<{^_^}> clever's karma got increased to 31
<clever> clefru: internally, ldd is just a bash script, that runs the right ld-linux on the binary, with some env vars set
<clever> clefru: so its bypassing that
<clefru> Running "/nix/store/[...]-glibc-2.27/lib/ld-linux-x86-64.so.2 /nix/store/[..]-android-sdk-26.1.1/libexec/tools/.emulator-wrapped" works. Wohoo
<clefru> (on a personal note, Google is the worst company with respect to packaging its software for public consumption)
<Synthetica> Is there a way to allow hydra to build non-free packages?
<clever> i have found the android-sdk to work very nicely, on other distro's
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<clever> its an entire package manager
<clever> Synthetica: when you import nixpkgs, set config.allowUnfree = true;
<{^_^}> [nixpkgs] @dtzWill opened pull request #49513 → activation-script: add libc to path to provide nscd when needed → https://git.io/fxFhN
<clever> > (import <nixpkgs> { config.allowUnfree = true; }).minecraft
<{^_^}> "<derivation /nix/store/llqbnqy9d9nr0z8bq523gd6k9rmi2x2x-minecraft-2015-07-24.drv>"
<clever> > (import <nixpkgs> { config.allowUnfree = false; }).minecraft
<infinisil> (it doesn't output anything in that case lol)
<clever> lol
<Mic92> gchristensen: what is your use case?
<Mic92> for networkd
<srhb> Does anyone know offhand what a minimal aws policy for Hydra might look like?
<srhb> ... er, for nixops
* srhb is staring at a Hydra page at the same time
<infinisil> Synthetica: There's also unfreeRedistributable fyi
<clever> Synthetica: allow port 22 to your deployer, and 80/443 to everyone else
patrl has quit [Ping timeout: 252 seconds]
<clefru> as to my broken emulator binary, it looks like this was broken 9 days ago by the removal of said patchelf https://github.com/NixOS/nixpkgs/commit/950608bae0b4fd15d603c5ec4686c170df85a1d3#diff-8732e6195b98297321a5343f293624cfL68
patrl has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #49514 → curl: 7.61.1 -> 7.62.0 → https://git.io/fxFjd
<gchristensen> Mic92: first a laptop, later: a server with two NICs and one bond, then:a server with three NICs, no bonds, and many VLANs
<Mic92> gchristensen: what are using at the moment on your laptop?
<gchristensen> networkmanager... usually wifi, sometimes ethernet over USB or Thunderbolt
<{^_^}> [nixpkgs] @clefru opened pull request #49515 → androidsdk: emulator(-check) binaries still require patchElf. → https://git.io/fxbeR
<Synthetica> clever: So if I understand you correctly, there is no way to do that via the configuration tab?
WilliamHamilton[ has joined #nixos
<Synthetica> infinisil: It's not a publicly accessible hydra server, so I'm not worried about legal ramifications
<clever> Synthetica: it has to be done in the nix files
<Mic92> gchristensen: personally I also use networkmanger on laptop as I found it more convinient especially for wifi. You can actually use both together networkd if you want something special with networkd it was designed to coexist. For example I setup my tinc interface with networkd: https://github.com/Mic92/dotfiles/blob/master/nixos/vms/modules/retiolum.nix#L66
<Mic92> the server sounds like a more compelling use case for networkd
<gchristensen> Mic92: right. my goal is to try it in all my scenarios, not just compelling use cases, and see how it goes :)
<Mic92> gchristensen: I also have a more sophisticated networkd example for dhcp/laptop, I have something in my history
<Mic92> git history
<infinisil> Mic92: So if I ever set up my own router running NixOS, you'd recommend networkd over the standard stuff?
agander has joined #nixos
<gchristensen> if you use bonds and vlans, and you like your computer to reliably boot, and networkd works as advertised, I would :)
<Mic92> gchristensen: I never used that. Fpletz did more in this direction I think.
<gchristensen> aye
<gchristensen> vlans and bonds in the `scripted` mechanism frequently results in broken boots for me
<andi-> I have used that with networkd for a while.. It brings up the bond and adds vlans.. Just not with nixos :/
patrl has quit [Ping timeout: 252 seconds]
<Mic92> infinisil: you might still want to use a different dhcp server if you need static leases. The dhcpserver in networkd is a bit basic.
dramforever has quit [Ping timeout: 256 seconds]
<Mic92> andi-: what do you mean by that?
patrl has joined #nixos
<andi-> It was back when I still had to deal with puppet
<Mic92> We still broken udev rules that we ship for predictable network interfaces.
<andi-> I usually only matched via pci path or mac address since that seems to be the only thing you can really depend on.
<Mic92> upstream systemd uses different one. This broke at least the matching rules for systemd-nspawn that are shipped with systemd.
orivej has joined #nixos
nikivi has quit [Quit: ZNC is awesome]
<Mic92> gchristensen: I can tell that networkd at least does not suffer from race condition.
<gchristensen> a great improvement already
<gchristensen> samueldr: I can confirm your channel going back in time patch has been deployed, too
<samueldr> gchristensen: more context? or just telling me you also verified?
<gchristensen> I verified
<samueldr> ok
<gchristensen> afair we weren't sure if it had been deployed yet or not
<samueldr> let's wait and never have concrete proof it worked :)
<samueldr> in the issue eelco confirmed it wasn't and it now is
<gchristensen> I don't think we can prove a negative like this
<gchristensen> beyond looking at the service on the machine, reading the source of the program it calls, and comparing to see: yep, this is the patched version
<samueldr> exactly
<samueldr> oh
<samueldr> I thought "negative about the proof"
<gchristensen> ah :)
silver has joined #nixos
<gchristensen> I missed that update
zolk3ri has joined #nixos
zolk3ri has quit [Client Quit]
zack_moe has joined #nixos
sgraf has joined #nixos
agander has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @johanot opened pull request #49516 → nixos/kubernetes: KubeDNS -> CoreDNS → https://git.io/fxbJZ
o1lo01ol1o has joined #nixos
<sgraf> Hey, I'm using the stable channel of nixpkgs, but like to upgrade one particular package in my home-manager configuration (think configuration.nix). To make it conrete, it's haskellPackages.stack that we are talking about. I'd like to have version 1.9.1 instead of 1.7.1 installed. How would I do that?
emerij has joined #nixos
<{^_^}> [nixpkgs] @LightDiscord opened pull request #49517 → protonmail-bridge: 1.0.6-1 -> 1.1.0-1 → https://git.io/fxbJ6
dramforever has joined #nixos
jperras has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #49518 → strace: 4.24 -> 4.25 → https://git.io/fxbJ7
genesis has quit [Remote host closed the connection]
<emerij> Trying to deal with glibc locale issues (https://github.com/NixOS/nixpkgs/issues/38991) in context of NixOps (host runs 18.03)
<{^_^}> #38991 (by peti, 28 weeks ago, open): glibc 2.27 breaks locale support
<emerij> I want to understand what the effect of setting `config.glibc.installLocales = true` is, but can't find documentation. Any hints?
<clever> emerij: its a bool that gets passed into this derivation
<clever> but its not clear what it does from there
<clever> just that its a nixpkgs level option, so it has to go under nixpkgs.config
<clever> if your using nixos
justanotheruser has joined #nixos
nuncanada has joined #nixos
patrl has quit [Ping timeout: 252 seconds]
<qyliss^work> Does anybody know why OfBorg would be getting a different hash checksum from GitHub than I am? I've tried on two different machines, on different networks, and they all get a hash that's different to what OfBorg gets... https://github.com/NixOS/nixpkgs/pull/49158#issuecomment-434677633
detran has quit [Remote host closed the connection]
<clever> qyliss^work: and if you temporarily make the hash invalid (just change 1 digit) what hash do you get?
<qyliss^work> the ofborg one
<qyliss^work> oops :D
<clever> you gave it the hash of something else, with a similar name, and it kept using that file, because you claimed thats what the hash was
<qyliss^work> I was using nix-prefetch-url
<clever> nix-prefetch-url doesnt do the cleanup fetchpatch does
<clever> so thats the hash of the raw patch, not the cleaned up patch
<qyliss^work> oh
<qyliss^work> is there a similar command for fetching patches?
<clever> not really
<clever> just give it a clearly wrong hash and read the error
<gchristensen> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
jperras_ has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #49521 → python3Packages.gplaycli: 3.21 -> 3.25 → https://git.io/fxbTd
genesis has joined #nixos
<qyliss^work> That's what I do for most things
<qyliss^work> But prefetch-url is useful because I can run it from by editor and save that step
detran has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
CcxWrk has quit [Ping timeout: 244 seconds]
<clever> emerij: ah
nikivi has joined #nixos
jasongrossman has joined #nixos
<emerij> So I suppose this changes the glibc derivation and pretty much everything is rebuilt as a result
<clever> emerij: yeah
o1lo01ol1o has quit [Ping timeout: 264 seconds]
mayhewluke has quit [Ping timeout: 264 seconds]
reinzelmann has joined #nixos
<arianvp> nh2: im looking at the consul error currently
<arianvp> I found a related issue that was also filed by you a year ago :P
<arianvp> If I grep through my history, I literally have hundreds of "Current command vanished from unit file" errors
Dedalo has joined #nixos
<arianvp> I think something is borked in switch-to-configuration
<nh2> arianvp: which related issue, is it linked?
<arianvp> yeh I just linked it
nD5Xjz has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #49522 → youtube-dl: 2018.10.05 -> 2018.10.29 → https://git.io/fxbLG
<arianvp> my theory currently is
<arianvp> ExecStop is changed => Daemon reload => Stop is triggered, but ignogred because unit changed
<arianvp> I literally have thousands of matches for "Current command vanished from unit file" in my journal on my desktop
Rusty1 has joined #nixos
<arianvp> happens every time I upgrade.
<nh2> arianvp: I just commented, there's no ExecStop in my unit file
goibhniu has quit [Ping timeout: 252 seconds]
<arianvp> then it could be the ExecStart that is ignored, because it's changed? Anyhow, systemd doesn't seem to deal well with Units changing the Exec paths between daemon-reloads
<arianvp> but that's problematic, as that's the way we do things in NixOS
<arianvp> :/
nD5Xjz has joined #nixos
<arianvp> Okay, I think I got it
<arianvp> i'll write up a bit more in the issue
<symphorien> arianvp: you override Execstart ?
<symphorien> you must do: ExecStart = [ "" "new-value" ]
<arianvp> That error message gets printed when:
patrl has joined #nixos
<symphorien> otherwise system just appends instead of ignoring the old value
<symphorien> *systemd
<arianvp> I can reliably trigger the "Vanished" error if the unit file is deleted prior to daemon-reload
<arianvp> on daemon-reload you get that warning
troydm has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #49523 → youtube-dl: backports → https://git.io/fxbto
<arianvp> nh2: odd
<arianvp> so in your log file, you do see that consul is being terminated
<arianvp> consul Caught signal: terminated
mayhewluke has joined #nixos
<arianvp> nh2: could you dig up the logs of a consul server that did stop properly?
<nh2> arianvp: no, I posted 2 log files there in the issue description. One where stuff is working correctly and got stopped, and one where it didn't get stopped at all.
<arianvp> thanks
<arianvp> First thing I note that we should fix... Systemd sends a SIGTERM but consul expects a SIGINT for graceful shutdown according to the docs
<{^_^}> [nixpkgs] @dtzWill opened pull request #49524 → grv: 0.2.0 -> 0.3.0 → https://git.io/fxbqq
<arianvp> if you look at the logs, you see consul is actually hard-killed and exits with exit-code 1 instead of 0
<arianvp> but that has nothing to do with our problem though
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reinzelmann has quit [Quit: Leaving]
<arianvp> nh2: usually switch-to-configuration logs what services it's gonna stop, start and restart
<arianvp> does consul show up in there?
<clever> arianvp: ive also been wanting to know, how to make it restart, not stop+start
<__red__> clever: I solved my release.nix problem by moving the release.nix file out of the root directory of the repo - so overlays no longer parses it and my hydra configuration just references releases/release.nix instead (!)
<clever> __red__: thats one way to fix it
<nh2> arianvp: right, I don't really care for graceful shut down, it's totally fine for me if it exits 1 (also it's not a hard-shutdown, consul still quits by itself vs being killed)
<__red__> Now I just need to work out how to get my users to configure my hydra server as a binary cache
<__red__> and I'm done
<arianvp> clever: only unit files with `X-RestartIfChanged` are restarted
<arianvp> others are `Stopped` then `Started`
<clever> arianvp: ahh
<arianvp> You can also set `X-ReloadIfChanged`
<arianvp> for for example nginx
<nh2> arianvp: I think I did write the switch-to-configuration output into the issue description, it's the nixops output at the very bottom
<clever> arianvp: no reload support in this service
<nh2> so yes, consul.service shows up there
<arianvp> clever: perhaps we should document this somewhere. I found out by ... reading source code
goibhniu has joined #nixos
fragamus has joined #nixos
<clever> arianvp: same, but i forgot that minor detail
iyzsong has quit [Read error: Connection reset by peer]
jperras_ has quit [Quit: WeeChat 2.2]
<arianvp> woohoo debugging perl code
<arianvp> fu
<arianvp> fun*
<arianvp> we should formally verify switch-to-configuration.pl with TLA+ or something
<arianvp> :/
<arianvp> so many subtle bugs like this
jperras has joined #nixos
<clever> arianvp: :D
<clever> remove all perl!
<arianvp> write in Coq, extract a C program
<michas> sphalerite: I created an issue for boot issue we discussed earlier: https://github.com/NixOS/nixpkgs/issues/49519
<clever> i want a base nixos install to not have perl in the closure!!
<{^_^}> #49519 (by michas2, 52 minutes ago, open): Stage 1 boot script does not recognize existing init
<arianvp> clever: someone is working on a python port right?
<clever> arianvp: havent heard of that
<arianvp> there's a PR
<arianvp> somwhere
CcxWrk has joined #nixos
<ma27> arianvp: IIRC there's an open PR which rewrites switch-to-configuration.pl with python
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #49525 → hugo: 0.49.2 -> 0.50 → https://git.io/fxbmq
CcxWrk has quit [Excess Flood]
<{^_^}> #48378 (by bgamari, 2 weeks ago, open): [WIP] Port switch-to-configuration script to Python
<gchristensen> O.o
<sphalerite> michas++
<{^_^}> michas's karma got increased to 1
CcxWrk has joined #nixos
Dedalo has joined #nixos
<arianvp> clever: apparently they are documented and apparently `restartIfChanged` is the default
<arianvp> i'm confused now :)
jperras has quit [Ping timeout: 252 seconds]
<arianvp> oooh but `stopIfChanged` is also true by default
<arianvp> this thing needs an `enum` instead of three booleans. this is very confusing
<arianvp> restartBehaviour = restart | reload | stop and start
<clever> yeah
init_6 has quit []
<arianvp> shall I file an issue for that?
<clever> arianvp: sure
aanderse has quit [Ping timeout: 252 seconds]
patrl has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @baracoder opened pull request #49527 → smartgithg: 18.1.4 -> 18.1.5 → https://git.io/fxbY2
jperras has joined #nixos
<Mic92> arianvp: make sure that the old attributes go to nixos/modules/rename.nix
<Mic92> mhm. but the problem is that we cannot use our usual renaming strategy if it is an enum.
<Mic92> maybe some warning instead?
<clever> Mic92: delete all the old flags, and document it!
<Mic92> clever: I think for transitioning we could map them for an enum an deprecate them.
<Mic92> clever: this is useful for people upgrading multiple machines.
<{^_^}> #49528 (by arianvp, 2 minutes ago, open): systemd: Interactions of `restartIfChanged, reloadIfChanged, stopIfChanged` is fragile
ashkitten has joined #nixos
<ekleog> Mic92: oh, looks like we commented at the same time ^^'
<Mic92> ekleog: do you really want this broken behavior for further 6 months?
troydm has joined #nixos
sb0 has joined #nixos
<ekleog> Mic92: well, I personally don't care, but I hope we can break as few people as possible
<ekleog> (like, I have the fix in my local config now ^^')
<ekleog> then, given how frequently hydra is releasing these days, maybe it's an utopi
<ekleog> aa
<Mic92> ekleog: I think the current behavior is worth then asking users to add a one-line fix.
<Mic92> *worse
<ekleog> I totally agree
<ekleog> well, that fixing the current behaviour is worth asking users to add a one-line fix
<Mic92> yeah, I meant the old behaviour.
<ekleog> but I'm not sure one-line fixes should be expected from release-channel users :/
<ekleog> like, we don't even have a mechanism to push news :(
* ekleog almost lost access to a headless machine located at relatives' place with this
<ekleog> thankfully I was updating my laptop before other machines :)
<Mic92> mhm. What is the best way to go forward?
<Mic92> adding a flag to stable?
<ekleog> if hydra bumped every day I'd say revert for 18.09 and be fixed as unstable, but… :/
<ekleog> like, we lived with this behavior for ~1.3 years, 5 months isn't that many
<ekleog> but with hydra bumping irregularly it could mean making users make one-line changes *twice* :(
CcxWrk has quit [Quit: ZNC 1.7.1 - https://znc.in]
<schopp0r> hi. is anyone here using the Android Debug Bridge on nixos, with a Motorola Moto G6? Because ADB doesn't recognize mine...
<Mic92> link set up is idempotent though.
<ekleog> hmm and adding `virtual` and `virtualType` would be idempotent too, indeed
<Mic92> schopp0r: we have a udev rules package for that. Maybe it needs an update.
<etu> schopp0r: I used it the other day with a Nexus 5
<gchristensen> is there a new critical issue we're trying to address?
<Mic92> ekleog: can we maybe make a udev rule like ip link set up?
CcxWrk has joined #nixos
<schopp0r> Mic92 how is it called?
<Mic92> schopp0r: it gets activated by programs.adb.enable = true;
<etu> schopp0r: I just pulled down androidenv.platformTools and used it
<etu> Mic92: oh
<gchristensen> not sure we should take special action over a bug which has been open for several months now
<etu> didn't know there was a module for it
<ekleog> gchristensen: the problem is the backport of the fix made it in hydra just now and isn't backwards-compatible
<gchristensen> we can cancel the evaluation so it doesn't get released
<ekleog> Mic92: hmm, would that work with configuring the interface's IP with `networking.interfaces`?
<Mic92> schopp0r: pkgs.android-udev-rules
<{^_^}> [nixpkgs] @peti pushed 6 commits to master: https://git.io/fxb3u
<Mic92> ekleog: mhm. is this not supposed to also set the interface up?
<schopp0r> Mic92 so you say that I should override the stable version of these rules with some newer revision=
<schopp0r> ?
<Mic92> schopp0r: this might fix the problem it was generally well maintained.
<Mic92> I have not done this in a while.
<Mic92> not sure if someone else did it.
<ekleog> Mic92: I think it doesn't, because I just did http://ekleog.xelpaste.net/YPEi73 to get things back to a working state
<gchristensen> on 18.09 the probably immediate thing to do is revert the backport and we'll release pretty soon. then diagnose what is going on, and see about a proper patch to backport.
<gchristensen> 18.09 release fairly regularly.
<ekleog> does it? it's still on evaluations ~1 week ago right noww
<schopp0r> gah, how can I find out the checksum of a git repo again?
<ekleog> (after a bump from ~2/3 weeks ago in the last few days)
<gchristensen> ekleog: the latest bump of 18.09 is from yesterday
CcxWrk has quit [Max SendQ exceeded]
<ekleog> gchristensen: yeah, but with a commit from 1 week ago
<gchristensen> ah I see. at any rate, we can make sure it gets through
CcxWrk has joined #nixos
szicari has joined #nixos
<arianvp> clever: do you think there's ever a good reason to use "stop-and-start" instead of "restart" ?
<{^_^}> [nixpkgs] @Mic92 pushed to release-18.09 « Revert "tinc: remove unnecessary networking.interfaces" »: https://git.io/fxbsG
<Mic92> ekleog: ^
<arianvp> I can only imagine "stop-and-start" to allow for buggy situations, because the "stop" and the "start" are executed by different unit files
<clever> arianvp: maybe when updating things in /etc/ can break a running service
<Mic92> oh man touching our network stuff only causes headaches.
<ekleog> Mic92: Thanks! :) do you notify the issue so they know it's not fixed in 18.09 or should I?
<schopp0r> ok, I need some assistance … I am not sure how to do this. so in my configuration.nix, I can use overrideDerivation on android-udev-rules I think. But will this package then also be used? because I did not explicitly install it, it gets automatically installed, so I wonder whether adb.enable=true; won't still trigger the installation of the non-patched version.
CcxWrk has quit [Excess Flood]
<arianvp> I hate mutable state
<arianvp> headaches
<clever> arianvp: also, when you nixos-rebuild under xen, and i tries to restart xen services, they fail in weird ways
<clever> arianvp: and 5 minutes later, due to a lack of services in dom0, the hypervisor watchdog assumes the world is ending, and forces a hard reset
<gchristensen> arianvp: a service's STOP action may change from revA to revB, so using revB's stop or restart directive to restart revA's service might be invalid.
<Mic92> ekleog: I guess we add a test or though in future.
<Mic92> s/though/so/
<arianvp> =(
<ekleog> Mic92: yeah that sounds good, nixos needs more tests
<{^_^}> [systemd] @fpletz pushed 326 commits to nixos-v239: https://git.io/fxbsw
<{^_^}> [systemd] @fpletz merged pull request #24 → rebased onto upstreams stable v239 → https://git.io/fx747
<Mic92> ekleog: it needs more people fixing broken tests.
<ekleog> and it'd be a nice way to test with both networkd and scripts :)
<Mic92> or better get rid off scripting
<arianvp> gchristensen: I see
<ekleog> weeeeell tests I've written haven't broken yet 😇 it's nothing using OCR though, just some networking stuff
<arianvp> yay more tests
<ekleog> I think with https://github.com/NixOS/nixpkgs/pull/44439 we can make it less likely that tests break
<{^_^}> #44439 (by Ekleog, 12 weeks ago, open): [RFC] Use `meta.tests` to link from packages to the tests that test them
<ekleog> just because more people will know they should run them :)
<Mic92> or ofborg.
<ekleog> yeah, ofborg is step 2 of the big plan :3
<gchristensen> +1
<ekleog> building [derivation].meta.tests
<symphorien> I made a PR to nox so that nox-review can detect which tests changed
<ekleog> anyway, time to finish this update with other machines and go to sleep now, see you :)
<symphorien> but evaluating all the tests is really resource hungry
<schopp0r> hm. there is some packageOverrides setting ...
<schopp0r> but will it work in /etc/nixos/configuration.nix?
endformationage has joined #nixos
<Mic92> symphorien: we can let of borg figure this out instead.
<Mic92> nix-review does also use ofborgs evaluation if available.
<Mic92> If I would re-do nixos/nixpkgs then adding a package to nixos would also import its module and not the otherway around.
ekleog has quit [Quit: back soon]
<arianvp> schopp0r: You can do this in /etc/nixos/congiguration.nix
<arianvp> nixpkgs.config.packageOverrides =
<arianvp> or nixpkgs.overlays = ...;
<arianvp> (If you use an overlay instead of a packageOverride)
<schopp0r> ok thx. I now manipulated it directly but if that works I try to use package overrides.
justanotheruser has quit [Ping timeout: 252 seconds]
ekleog has joined #nixos
dramforever has quit [Ping timeout: 256 seconds]
samrose has joined #nixos
Itkovian has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #49522 → youtube-dl: 2018.10.05 -> 2018.10.29 → https://git.io/fxbLG
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fxbnS
<{^_^}> [nixpkgs] @timokau merged pull request #49523 → youtube-dl: backports → https://git.io/fxbto
<{^_^}> [nixpkgs] @timokau pushed 6 commits to release-18.09: https://git.io/fxbnH
<__red__> So I'm building a gcc port for a microcontroller and nothing compiles because the .a files seem to have been munged. Is that something that buildPhase would do? maybe with patchelf? Secondary hint is this: http://localhost:3000/build/6/nixlog/1 == look at the very end of that log for a mass of "wrong ELF type" messages
<clever> > avrgcc
<{^_^}> "<derivation /nix/store/8b60ix00757mzg350604vcd06wy66799-avr-gcc-8.2.0.drv>"
<clever> __red__: which microcontroller is are you on?
<__red__> it's for the parallax propeller
<__red__> it's the software that I'm porting
<clever> ah, dont have that one memorized
<clever> but you could look at how avrgcc handles things
<clever> > avrgcc.meta.position
<__red__> oh, great idea
<{^_^}> "/var/lib/nixbot/state/nixpkgs/pkgs/development/misc/avr/gcc/default.nix:54"
<__red__> thanks
<{^_^}> [nixpkgs] @joachifm merged pull request #49330 → fstrcmp: init at 0.7 → https://git.io/fxH7T
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fxbcL
<__red__> umm
<__red__> I don't see that in nixpkgs -
<__red__> clever: which tree does your bot search on?
<tilpner> nixpkgs master
<__red__> so you'd expect to see gcc in here - right?
nD5Xjz has quit [Ping timeout: 244 seconds]
<tilpner> Right
<tilpner> :u
<__red__> it's not
<__red__> :-)
<clever> > lib.version
<{^_^}> "19.03pre-git"
<tilpner> I forgot how the update works
aminechikhaoui has quit [Ping timeout: 252 seconds]
dbmikus has joined #nixos
<tilpner> It probably hasn't been pulled in a few days
<clever> __red__: the history button for that dir reveals this commit deleted things
justanotheruser has joined #nixos
<lukego> Is there a nixos config variable that corresponds to the nix parameter '--allow-new-privileges' ?
freeman42y has joined #nixos
kreisys has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbmikus_ has joined #nixos
<__red__> clever - went back in time and I see how they did it now - thanks
nD5Xjz has joined #nixos
billsun has joined #nixos
aminechikhaoui has joined #nixos
dbmikus has quit [Ping timeout: 252 seconds]
freeman42x has quit [Ping timeout: 252 seconds]
Itkovian has joined #nixos
erasmas has joined #nixos
rembo10 has quit [Remote host closed the connection]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ThatDocsLady has joined #nixos
rembo10 has joined #nixos
rembo10 has quit [Client Quit]
Itkovian has joined #nixos
jperras has quit [Quit: WeeChat 2.2]
rembo10 has joined #nixos
<arianvp> nh2: I found another herring
<wirew0rm> if anyone is interested, i finally managed to build the toolchain for the esp32 with nix: https://gist.github.com/wirew0rm/4881987e7549b390c3acd5767f3b8d6a
locallycompact has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @fpletz pushed to package/systemd-v239.20181031 « systemd: 239 -> 239.20181031 »: https://git.io/fxbl0
<andi-> wirew0rm++
<{^_^}> wirew0rm's karma got increased to 1
<andi-> very nice
nD5Xjz has quit [Ping timeout: 260 seconds]
<simpson> wirew0rm: Very cool. Are you anticipating putting this into the cross-compilation subsystem in nixpkgs?
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dedalo has joined #nixos
<wirew0rm> simpson: For now the toolchain is built in a very nix-unfriendly way (not modular, using crosstool-NG), but I've allready looked into it.
<wirew0rm> Not sure if i can pull it off, that's why I first built it this way, to have some early sucess :)
nD5Xjz has joined #nixos
<kreisys> ... so I tried to change /'s fsType to "btrfs" on an ec2 instance to see what would happen... now nixos-rebuild is building llvm? does this make sense? lol
<{^_^}> [nixpkgs] @fpletz opened pull request #49529 → systemd: 239 -> 239.20181031 → https://git.io/fxb8u
<wirew0rm> but yeah `nix-build -p pkgsCross.esp32.defelopment.esp-idf.examples.hello-world` would definitely be nice
<tnks> I just realized that I don't understand how NIX_PATH is interpretted... I made a gist: https://gist.github.com/shajra/2303b16db076df6b6954f9e326e39ac6
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ea30555a03d (from 67 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<clever> tnks: it helps a lot to instead use `nix-instantiate --find-file nixpkgs`
<clever> then you can test with things that arent a full nixpkgs
<clever> tnks: also, does /home/tnks/.nix-defexpr/channels/nixpkgs exist?
<gchristensen> ekleog, Mic92 ^ bump
<tnks> clever: it definitely exists.
<clever> tnks: NIX_PATH=/home/tnks/.nix-defexpr/channels nix-instantiate --find-file nixpkgs
<tnks> clever: /home/tnks/.nix-defexpr/channels/nixpkgs
<clever> tnks: ls -lh /home/tnks/.nix-defexpr/channels/nixpkgs
<tnks> clever: lrwxrwxrwx 1 root root 86 Dec 31 1969 /home/tnks/.nix-defexpr/channels/nixpkgs -> /nix/store/dj29d920nj4vybllwa6vi12f4nw70v2z-nixpkgs-19.03pre155767.8070a6333f3/nixpkgs
<tilpner> tnks - nix#1865
<{^_^}> https://github.com/NixOS/nix/issues/1865 (by matthewbauer, 37 weeks ago, open): attribute 'nixpkgs' in selection path 'nixpkgs.hello' not found
<clever> tnks: ls -lh /home/tnks/.nix-defexpr/channels/nixpkgs/
<clever> it sounds like it may be a bug in `nix eval`
lonokhov has quit [Quit: WeeChat 2.2]
<tnks> okay, not good that it's a bug... but good that my expectations about something basic is not upside-down.
<tnks> tilpner: clever: thanks for the help and tips. I think the issue is my problem... reading more now.
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mic92> gchristensen: ok. so it hopefully contained the revert commit already?
<gchristensen> yeah
<Mic92> gchristensen: I hope people do get into planes now because I broke someones vpn.
<Mic92> *do not
<{^_^}> [nixpkgs] @fpletz pushed 3 commits to release-18.09: https://git.io/fxbRq
<{^_^}> [nixpkgs] @timokau opened pull request #49533 → pythonPackages.pyzmq: use zeromq4 → https://git.io/fxbRi
hyper_ch2 has quit [Quit: Page closed]
<arianvp> nh2: I need you to check something for me :')
<arianvp> Could you confirm the failed to stops only occured on server nodes?
<arianvp> because then I'm pretty sure I've found the issue =)
worldofpeace has joined #nixos
<Mic92> fpletz: changing any network related in nixpkgs frustrating.
<{^_^}> [nixpkgs] @Mic92 merged pull request #48771 → nixos/containers: Introduce several tweaks to systemd-nspawn from upstream systemd → https://git.io/fxK4d
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxbEe
dramforever has joined #nixos
<azazel> hi guys, what if I want to use all the functions in the derivation's build shell from inside a Makefile recipe? a Makefile run during the build process I mean
<dramforever> source $stdenv/setup maybe?
<dramforever> What are things like `self: super: { ... }` called?
<dramforever> I think there's a function in nixpkgs for composing such functions, but I can't find it
<azazel> dramforever: overlays, usually... or overrides
<dramforever> azazel: Do you happen to know the function that composes that kind of things together?
<dramforever> The function I had in mind takes a list of them and returns one function
<dramforever> Uh I was wrong
<dramforever> composeExtensions takes two and returns one
<dramforever> azazel: Thanks anyway :)
patrl has joined #nixos
mayhewluke has quit [Ping timeout: 246 seconds]
<dramforever> Looks like they took the verb 'extends' from class inheritance
<dramforever> And used the corresponding noun 'extension'
<alex``> What is the way to install a npm package? (command-line program)
<{^_^}> [nixpkgs] @dotlambda merged pull request #48183 → pythonPackages.atomman: init at 1.2.3 → https://git.io/fxWKM
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/fxbzk
YellowOnion__ has joined #nixos
<azazel> alex``: see https://nixos.org/nixpkgs/manual/#node.js-packages
YellowOnion_ has quit [Ping timeout: 264 seconds]
patrl has quit [Quit: WeeChat 2.2]
Tucky has quit [Quit: WeeChat 2.2]
michas has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
drakonis1 has joined #nixos
boxscapeR has joined #nixos
xy2_ has quit [Read error: Connection reset by peer]
<boxscapeR> So, I have {allowUnfree = true;} in my home-manager config file, and I can use unfree programs if they're listed in the same file, but I try nix-shell -p <some unfree program>, nix still tells me that I have to put { allowUnfree = true; } into my config.nix file. And it does work if I do that. Is that a bug or am I misunderstanding how it should wo
<boxscapeR> rk?
<clever> boxscapeR: nix-shell only obeys the main config.nix file
<boxscapeR> hm, okay
<clever> so you have to set it in the file the error tells you to set it in
<boxscapeR> So I guess if I want to set the option fully with home-manager I will have to set it twice, once for the config.nix file and once for nixpkgs.config
<{^_^}> [nixpkgs] @qolii opened pull request #49535 → linux-hardkernel: 4.14.73-149 -> 4.14.78-150 → https://git.io/fxb2Z
Mic92 has quit [Quit: WeeChat 2.2]
Mic92 has joined #nixos
xy2_ has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
astronavt has joined #nixos
Ariakenom has quit [Ping timeout: 250 seconds]
<symphorien> is ldd recursive ?
<clever> yes
<symphorien> thanks
detran has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
Mateon3 has joined #nixos
<Mic92> symphorien: there is also lddtree https://github.com/ncopa/lddtree
<boxscapeR> hm, when I try to install steam, or use it in nix-shell, it tells me that curl gets a 404 for various .deb files. But when I try to manually run curl with those same URLs, I can download the files. Any idea what the reason for that could be?
Mateon1 has quit [Ping timeout: 250 seconds]
Mateon3 is now known as Mateon1
tylerjl has quit [Quit: ZNC 1.7.1 - https://znc.in]
agander has joined #nixos
Vskilet has joined #nixos
<Vskilet> Hi ! :)
<boxscapeR> hello
<nyanloutre[m]> salut !
leothrix has joined #nixos
<Vskilet> I 've a problem with nixos on a Thinkpad t440p
<nyanloutre[m]> <freenode_box "hm, when I try to install steam,"> what channel are you using ?
<Vskilet> I've no wifi
boxscapeR has quit [Remote host closed the connection]
thc202 has quit [Ping timeout: 244 seconds]
jperras has joined #nixos
thc202 has joined #nixos
<Vskilet> I try to add iwlwifi in module Kernel on boot but that's not working
boxscapeR has joined #nixos
<Vskilet> Someone has an idea ?
<{^_^}> #49095 (by Synthetica9, 6 days ago, merged): steam: ran update-runtime.py
Lisanna has joined #nixos
<boxscapeR> nyanloutre[m] sorry for leaving IRC there for a second, lost my internet connection. I'm using 18.09
jperras has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @kalbasit opened pull request #49536 → hugo: 0.49.2 -> 0.50 → https://git.io/fxbV7
<Lisanna> I wish hydra showed *all* the build steps for a job, so I could get an idea of how close the job is to being done
<Lisanna> instead of apparently generating them on the fly
detran has joined #nixos
jperras has joined #nixos
<Mic92> gchristensen: I guess you need to hurry up if you want a rust port :)
<yl[m]> What's the best way to make available binaries to neovim? I opened https://github.com/NixOS/nixpkgs/pull/49498/files yesterday for my attempt but I'm still unsure if this is the best way. cc clever, infinisil, Mic92.
<Mic92> yl[m]: adding go to the PATH might be not always the best solution, because there might be different versions required depending on the projects.
<gchristensen> Mic92: of hydra? :)
<Mic92> gchristensen: for activation scripts.
<gchristensen> aw
justanotheruser has quit [Read error: Connection reset by peer]
<yl[m]> Mic92: I'm not trying to add go, but goimports, gotools and such. These are required by vim-go vim plugin. Are you suggesting that every project should provide neovim dependencies?
mayhewluke has quit [Ping timeout: 246 seconds]
<Mic92> yl[m]: ok. this might make sense. We probably need a way to propagated packages from plugins to vim's PATH.
<Mic92> like this was done for ruby.
<Mic92> the current approach was to patch plugins instead.
<yl[m]> oh, in the override?
<yl[m]> yea I'm looking at it
<yl[m]> hmmm
<Mic92> yl[m]: in theory we could add packages there that are meant for propagating
<yl[m]> this might work. The vim-go plugin looks for go binaries in $GOBIN. I might just replace `$GOBIN` with the makeBinPath that I have
<Mic92> yl[m]: it could be also set in the vimrc configuration
<Mic92> if that is supported
<yl[m]> it might `let bin_path = go#config#BinPath()`
<gchristensen> Mic92: just not so convinced on porting from perl -> python, really. porting is dangerous I think, and I'd rather do it as few times as possible.
<yl[m]> I have to track down where that is in the config
mayhewluke has joined #nixos
<gchristensen> especially when the dbus bindings are apparently actively discouraged and not great.
<Mic92> gchristensen: To be honest I don't expect them to break.
<gchristensen> obviously not ;)
<{^_^}> #49363 (by nyanloutre, 2 days ago, merged): [18.09] Steam update
<nyanloutre[m]> This is the fix
<sphalerite> use gdbus via python's gobject bdingins instead? :D
<symphorien> gi is not easy to cross compile, apparently
<Mic92> gchristensen: also if we really want, we can still shell-out busctl instead.
<Mic92> or systemctl for that matter
<{^_^}> [nixpkgs] @kalbasit closed pull request #49498 → neovim: take withExtraPackages and add them to the PATH → https://git.io/fxFn9
dramforever has quit [Quit: Page closed]
<gchristensen> that does address the dbus concern but not the general danger
<gchristensen> I would at least like @edolstra to assign someone to review it
<Mic92> gchristensen: this sounds like FUD too me. The responsibility is still contained. The systemd update that just went through changed way more things and had less reviews.
masterdonx has joined #nixos
masterdonx has quit [K-Lined]
alex`` has quit [Ping timeout: 268 seconds]
alex`` has joined #nixos
<gchristensen> I have been bitten by rewrites. This is the most critical juncture of nixos. I'm not saying no, I'm asking for great care
<gchristensen> have to go
<Taneb> I'd like it if there were more bindings to Nix the tool like the perl bindings
phreedom has quit [Ping timeout: 256 seconds]
Taneb is now known as GHOSTLY_SPOOK
Thra11 has joined #nixos
GHOSTLY_SPOOK is now known as Taneb
<Mic92> not very complete AST-Support is working in progress: https://github.com/Mic92/pythonix/pull/2
<{^_^}> Mic92/pythonix#2 (by costrouc, 1 week ago, open): [WIP] feature: nix ast to python
<Taneb> Mic92: sorry, I changed nick just in time to prevent you from tab-completing
<Mic92> Taneb: also https://github.com/haskell-nix/hnix which is more of reimplementation and then there is rnix, which is a nix parser.
<Taneb> Mic92: I more mean nix-the-tool/protocol than nix the language
<Taneb> But that's more reimplementation than binding
<{^_^}> [nixpkgs] @xeji merged pull request #49087 → wolf-shaper: init at 0.1.6 → https://git.io/fxMDX
<{^_^}> [nixpkgs] @xeji pushed commit from @magnetophon to master « wolf-shaper: init at 0.1.6 (#49087) »: https://git.io/fxboH
<Mic92> Taneb: many nix tools also have json output these days.
<Mic92> Sometimes json is even faster then bindings because people write fast json parser for languages.
<boxscapeR> thanks nyanloutre[m]
<Taneb> Mic92: something for me to think on, I guess
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « strace: 4.24 -> 4.25 (#49518) »: https://git.io/fxb63
<{^_^}> [nixpkgs] @xeji merged pull request #49518 → strace: 4.24 -> 4.25 → https://git.io/fxbJ7
worldofpeace has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #48847 → gxplugins-lv2: init at 0.5 → https://git.io/fxilI
<{^_^}> [nixpkgs] @xeji pushed commit from @magnetophon to master « gxplugins-lv2: init at 0.5 (#48847) »: https://git.io/fxb6y
sigmundv has quit [Ping timeout: 252 seconds]
srl295 has joined #nixos
ThatDocsLady has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji closed pull request #49536 → hugo: 0.49.2 -> 0.50 → https://git.io/fxbV7
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
<chris|> is there a way to append to an existing list in a configuration, as in eg. systemd.services.foo.wants += [ "bar.service" ] adds "bar.service" to the existing list of foo.wants ?
<clever> chris|: all list options are append by default
<{^_^}> [nixpkgs] @xeji merged pull request #49521 → python3Packages.gplaycli: 3.21 -> 3.25 → https://git.io/fxbTd
<{^_^}> [nixpkgs] @xeji pushed commit from @Ma27 to master « python3Packages.gplaycli: 3.21 -> 3.25 (#49521) »: https://git.io/fxbiR
EarlDeLaWarr has quit [Quit: Textual IRC Client: www.textualapp.com]
goibhniu has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @lheckemann opened pull request #49537 → nixos stage-1: fix init existence test → https://git.io/fxbiK
<{^_^}> [nixpkgs] @xeji merged pull request #49525 → hugo: 0.49.2 -> 0.50 → https://git.io/fxbmq
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to master « hugo: 0.49.2 -> 0.50 (#49525) »: https://git.io/fxbii
<chris|> curious, I could have sworn that was not the case... thanks :)
<{^_^}> [hydra] @nlewo opened pull request #607 → Add JSON search API endpoint → https://git.io/fxbix
<{^_^}> [nixpkgs] @xeji merged pull request #49527 → smartgithg: 18.1.4 -> 18.1.5 → https://git.io/fxbY2
<{^_^}> [nixpkgs] @xeji pushed commit from @baracoder to master « smartgithg: 18.1.4 -> 18.1.5 (#49527) »: https://git.io/fxbPk
orivej has quit [Ping timeout: 268 seconds]
goibhniu has joined #nixos
<clever> chris|: the only time its not, is when the service has a default value, any non-default will overwrite it
emerij has quit [Ping timeout: 268 seconds]
<clever> chris|: but then multiple non-defaults will concat to eachother
goibhniu has quit [Read error: Connection reset by peer]
emerij has joined #nixos
<chris|> got it
<chris|> one more question, can I get the name of an attribute as a string, eg. "${config.systemd.service.postgresql}.service" becomes "postgresql.service" ?
<clever> not really
johanot has quit [Quit: WeeChat 2.2]
aleph- has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @fadenb opened pull request #49538 → saml2aws: 2.6.1 -> 2.10.0 → https://git.io/fxbXs
Ariakenom has joined #nixos
emerij has quit [Ping timeout: 268 seconds]
sir_guy_carleton has joined #nixos
mbrgm has quit [Quit: ZNC 1.7.1 - https://znc.in]
mbrgm has joined #nixos
orivej has joined #nixos
Thra11 has quit [Ping timeout: 268 seconds]
aleph- has quit [Ping timeout: 252 seconds]
aleph- has joined #nixos
<{^_^}> [nixpkgs] @grische opened pull request #49540 → x265: 2.7 -> 2.9 → https://git.io/fxb1s
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #49533 → pythonPackages.pyzmq: use zeromq4 → https://git.io/fxbRi
<{^_^}> [nixpkgs] @FRidh pushed commit from @timokau to master « pythonPackages.pyzmq: use zeromq4 »: https://git.io/fxb1r
<{^_^}> [nixpkgs] @fpletz merged pull request #49538 → saml2aws: 2.6.1 -> 2.10.0 → https://git.io/fxbXs
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fxb1X
<{^_^}> [nixpkgs] @FRidh pushed 79 commits to staging-next: https://git.io/fxb1H
<{^_^}> [nixpkgs] @fadenb opened pull request #49541 → saxon-he: 9.8.0.6 -> 9.9.0.1 → https://git.io/fxb1A
drakonis has quit [Ping timeout: 268 seconds]
erictapen has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #49542 → openjpeg: adding patch for CVE-2018-7648 → https://git.io/fxbM6
<{^_^}> [nixpkgs] @c0bw3b closed pull request #49262 → Openjpeg Patching CVE-2018-7648 → https://git.io/fxHUS
<{^_^}> [nixpkgs] @FRidh merged pull request #49476 → cudatoolkit, cudnn: many updates → https://git.io/fxdXL
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to master: https://git.io/fxbDf
<{^_^}> [nixpkgs] @xeji merged pull request #49505 → eternal-terminal: 5.1.7 -> 5.1.8. → https://git.io/fxFV4
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fxbDT
<{^_^}> [nixpkgs] @fadenb opened pull request #49543 → sc-controller: 0.4.4 -> 0.4.5 → https://git.io/fxbDZ
c0bw3b_ has joined #nixos
phreedom has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #49503 → hub: 2.5.1 -> 2.6.0, cleanup a bit → https://git.io/fxFu8
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « hub: 2.5.1 -> 2.6.0, cleanup a bit (#49503) »: https://git.io/fxbDB
<Lisanna> Wow, nixops can't fall back to my second binary cache if the first one has an error?
goibhniu has joined #nixos
<Lisanna> Very convenient. Can't fix the binary cache without nixops deploy, can't do nixops deploy without the first binary cache being healthy x_x
<steveeJ> rycee: I'm having a tricky issue. I want to share importable home-manager snippets between systems. some of the systems use the nixos module and others use the tool. the issue I'm facing is that nixos module expects all the options prefixed with "home-manager.users.<user?>" while the tool doesn't
<steveeJ> I'd need the imports to be prefixed, can nix do that?
<rycee> steveeJ (IRC): You can use imports.
<infinisil> Lisanna: Whoa really..
<rycee> steveeJ (IRC): I also use `home-manager.users.youruser = import youruser.nix;` where youruser on some other system is linked to `~/.config/nixpkgs/home.nix`
<infinisil> Either that's a bug and nobody thought of it or it has some deeper reason we don't know yet
arjen-jonathan has joined #nixos
<steveeJ> rycee: ah, so if I reduce all the imports in one file that would work! awesome, thanks a bunch!
<steveeJ> rycee: I didn't think of using `import <path>.nix` vs `imports = [ <path1>.nix <path2>.nix ]` :-D
<{^_^}> [nixpkgs] @grische opened pull request #49544 → openh264: 1.7.0 -> 1.8.0 → https://git.io/fxbDh
<Lisanna> infinisil well, removing it from the substituter list makes nixops deploy work
<Lisanna> but this seems silly
goibhniu has quit [Ping timeout: 252 seconds]
<schopp0r> Hi. I am (still) trying to compile nix with another store-dir on a non-nixos-computer. now I have a nix-environment in the directory /tmp/blargh3 which seems to work, but now I need to compile it with a store-dir in this environment. I get the error message
<schopp0r> error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I), at /home/senjak/nix-nix-2/inner/default.nix:1:13
<schopp0r> I am not quite sure how to create such a directory. Just cloning nixpkgs from git and pointing to it will probably not suffice, right?
boxscapeR has quit [Remote host closed the connection]
<infinisil> schopp0r: export NIX_PATH=nixpkgs=/path/to/nixpkgs
<schopp0r> infinisil, yes, but how to create the nixpkgs-directory?
<infinisil> Clone nixpkgs
Vskilet has quit [Ping timeout: 256 seconds]
Rajsun has joined #nixos
aleph- has quit [Quit: WeeChat 2.2]
sigmundv has joined #nixos
o1lo01ol1o has joined #nixos
aswanson has joined #nixos
<yl[m]> is there a way in nixpkgs to find if nixpkgs have a particular commit hash? In https://github.com/NixOS/nixpkgs/commit/f1987fb58f57828944ca822bbb39b3de87f01863 `colemak/en-latin9` was renamed to `colemak` and I'd like to have my configuration.nix work for both 18.09 and unstable which means I have to figure out which keyboard mapping to use
<{^_^}> [nixpkgs] @xeji pushed commit from @fadenb to master « saxon-he: 9.8.0.6 -> 9.9.0.1 (#49541) »: https://git.io/fxbSt
<{^_^}> [nixpkgs] @xeji merged pull request #49541 → saxon-he: 9.8.0.6 -> 9.9.0.1 → https://git.io/fxb1A
<{^_^}> [nixpkgs] @fadenb opened pull request #49545 → dotnetPackages.SharpFont: 3.1.0 -> 4.0.1 → https://git.io/fxbSO
peacememories has joined #nixos
<Lisanna> is there any way on hydra, either on the web view or a JSON API, to query how many steps are remaining in a job?
<schopp0r> omg who wrote the nixos.org page? it is UNUNSABLE with mobile internet. and above that, for example the page https://nixos.org/nixpkgs/ is USELESS. why is there no link to the github page?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/56b88fb03f3 (from 76 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Lisanna> schopp0r pretty much all of the interesting information about nixpkgs is in the manual, which is linked at the top
<yl[m]> schopp0r: what's useless about the nixpkgs page?
<o1lo01ol1o> I have a couple executables linked in /root/ from the /nix/store/ that I need to run as another user, however, I can't chmod them ("Read-only file system"). Does anyone know why?
<schopp0r> yl[m], does it say anything really interesting?
<aswanson> schopp0r: there are also links to the nixpkgs github via https://nixos.org/nixos/packages.html#
<yl[m]> schopp0r: like Lisanna said, all the info are in the manual (except it's not visible on the top, but in the menu accessible with the button on the top right)
<Lisanna> but, it would probably be more useful if that page on the site just redirected directly to the github page, since the README is far more up-to-date than that static page will ever be
turion has joined #nixos
<schopp0r> yl[m], to me it looks like one of those bullshit-buzzword-bingo-pages from oracle about java, or from m$ about whatever.
<schopp0r> or from SAP
<yl[m]> schopp0r: thankfully it's open-source. If you think there's more information to put there why not submit a PR?
<schopp0r> Lisanna, yep.
<schopp0r> yl[m], the website is open source? oO
<steveeJ> zimbatm: how do you put rust crates (into your shell.nix) for direnv to consume?
<schopp0r> lolwut, there is a link to github ... but only for the license. ROFL
<schopp0r> well I'll look into it as soon as I have solid internet (I am currently in a train … in germany … which means that I only occasionally have internet \o/ )
<{^_^}> [nixpkgs] @fadenb opened pull request #49546 → shutter: 0.94 -> 0.94.2 → https://git.io/fxb9D
<{^_^}> [nixpkgs] @xeji merged pull request #49386 → tribler: 7.0.2 -> 7.1.2 → https://git.io/fxQF8
<{^_^}> [nixpkgs] @xeji pushed commit from @leenaars to master « tribler: 7.0.2 -> 7.1.2 (#49386) »: https://git.io/fxb9b
<c0bw3b_> fwiw I don't find annoucing the license and supported platforms useless at all
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #49471 → scuttlebot: add native build dependencies → https://git.io/fxdu9
<{^_^}> [nixpkgs] @xeji pushed commit from @patrl to master « Added native build dependencies for scuttlebot (#49471) »: https://git.io/fxbHi
Dedalo has quit [Quit: Textual IRC Client: www.textualapp.com]
elgoosy has quit [Ping timeout: 250 seconds]
alex`` has quit [Ping timeout: 268 seconds]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #49517 → protonmail-bridge: 1.0.6-1 -> 1.1.0-1 → https://git.io/fxbJ6
<{^_^}> [nixpkgs] @xeji pushed commit from @LightDiscord to master « protonmail-bridge: 1.0.6-1 -> 1.1.0-1 (#49517) »: https://git.io/fxbQM
sigmundv__ has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c7dc8ec5728 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixpkgs] @fadenb opened pull request #49547 → simgrid: 3.20 -> 3.21 → https://git.io/fxb7U
astronavt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @xeji merged pull request #48529 → closurecompiler: 20180805 -> 20180910 → https://git.io/fxuuP
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « closurecompiler: 20180805 -> 20180910 (#48529) »: https://git.io/fxb7R
sigmundv__ has quit [Remote host closed the connection]
<Zajcev_> guys, I can't fing how to configure and use tcp wrappers in nixos, can anybody help?
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #49548 → c-ares: 1.14.0 -> 1.15.0 → https://git.io/fxb7H
<{^_^}> [nixpkgs] @c0bw3b opened pull request #49549 → [18.09] openjpeg: adding patch for CVE-2018-7648 → https://git.io/fxb5U
<__red__> man, I wish there was an overlays.d or equivalent ;-)
<catern> there is tho?
<catern> ~/.config/nixpkgs/overlays or something I think
<{^_^}> [nixpkgs] @joachifm merged pull request #49312 → nixos/ddclient: Fix #49258 → https://git.io/fxHuW
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master:
<__red__> yeah - but your .nix files have to be in overlays
<__red__> so I can't pull down multiples and put them in the same place if the overlays all choose to have a default.nix
MichaelRaskin has joined #nixos
<__red__> .config/nixpkgs/overlays.d/overlayone/default.nix
<__red__> .config/nixpkgs/overlays.d/overlaytwo/default.nix
<__red__> etc
<samueldr> ~/.config/nixpkgs/overlays/ will import according to the same rules than nix does an import AFAIK; this means that ~/.config/nixpkgs/overlays/file.nix will be loaded, and ~/.config/nixpkgs/overlays/any_directory/default.nix would
<samueldr> https://nixos.org/nixpkgs/manual/#sec-overlays-install -> If the path is a directory, then we take the content of the directory, order it lexicographically, and attempt to interpret each as an overlay by: (1) Importing the file, if it is a .nix file. (2) Importing a top-level default.nix file, if it is a directory.
<__red__> oh, that's awesome
<__red__> thank you(!)
<samueldr> you're welcome, the section is terse, though I think everything is laid out
<{^_^}> [nixpkgs] @xeji pushed commit from @grische to master « openh264: 1.7.0 -> 1.8.0 (#49544) »: https://git.io/fxbdW
<{^_^}> [nixpkgs] @xeji merged pull request #49544 → openh264: 1.7.0 -> 1.8.0 → https://git.io/fxbDh
simendsjo has joined #nixos
<{^_^}> [nix] @janpath opened pull request #2502 → Fix typo in comments → https://git.io/fxbFf
<{^_^}> [nixpkgs] @c0bw3b opened pull request #49550 → [18.03] openjpeg: adding patch for CVE-2018-7648 → https://git.io/fxbFk
simendsjo has quit [Quit: ERC (IRC client for Emacs 26.1)]
carlosdagos has quit [Quit: Connection closed for inactivity]
agander_ has joined #nixos
agander has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji reopened pull request #49536 → hugo: 0.49.2 -> 0.50 → https://git.io/fxbV7
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.beta: 3.3.0.13 -> 3.3.0.14 »: https://git.io/fxbFi
mayhewluke has quit [Ping timeout: 272 seconds]
<{^_^}> [nix] @matthewbauer opened pull request #2504 → Use nativeBuildInputs for nix-shell → https://git.io/fxbFA
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #49545 → dotnetPackages.SharpFont: 3.1.0 -> 4.0.1 → https://git.io/fxbSO
<{^_^}> [nixpkgs] @xeji pushed commit from @fadenb to master « dotnetPackages.SharpFont: 3.1.0 -> 4.0.1 (#49545) »: https://git.io/fxbbq
agander_ is now known as agander
drakonis has joined #nixos
<{^_^}> [nixpkgs] @grische opened pull request #49551 → handbrake: 1.1.0 -> 1.1.2 → https://git.io/fxbbd
<{^_^}> [nixpkgs] @matthewbauer opened pull request #49552 → setup.sh: avoid running the same hook twice → https://git.io/fxbbp
drakonis_ has quit [Ping timeout: 264 seconds]
aanderse has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #49553 → subversion_1_11: init at 1.11.0 → https://git.io/fxbNa
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peacememories has joined #nixos
erasmas has quit [Quit: leaving]
vk3wtf has quit [Ping timeout: 264 seconds]
jD91mZM2 has quit [Quit: WeeChat 2.2]
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
toppler has joined #nixos
<toppler> Hey. I'm getting "selector 'i686-linux' matches no derivations" trying to do "nixos-install" on a VPS. I don't think I've seen that one before. Any clues?
xy2_ has quit [Ping timeout: 268 seconds]
oida has quit [Remote host closed the connection]
vk3wtf has joined #nixos
oida has joined #nixos
EarlDeLaWarr has joined #nixos
galen has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @manveru opened pull request #49554 → kexpand: init at 2017-05-12 → https://git.io/fxbpK
drakonis_ has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
turion has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.17.2 -> 1.17.3 »: https://git.io/fxbh8
drakonis has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #49535 → linux-hardkernel: 4.14.73-149 -> 4.14.78-150 → https://git.io/fxb2Z
<{^_^}> [nixpkgs] @xeji pushed commit from @qolii to master « linux-hardkernel: 4.14.73-149 -> 4.14.78-150 (#49535) »: https://git.io/fxbhV
aswanson has quit [Quit: WeeChat 2.2]
aswanson has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zolk3ri has joined #nixos
judson has joined #nixos
<judson> I've got a package I'm trying to use for development that I believe is not building because of sandboxing.
<judson> Is there a way to get an exception for nix-shell?
<toppler> Ah. Seem that nixos-install doesn't want to be called in a nix-shell.
<judson> Specifically the Ruby gem tiny_tds fails during miniportile with ruby/2.3.0/net/ftp.rb:243:in `initialize': getaddrinfo: Name or service not known (SocketError)
<symphorien> Judson: if you are a trusted user, --option sandbox false
toppler has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
toppler has joined #nixos
drakonis has joined #nixos
<steveeJ> I'm trying to build a nix expression for the cargo crate just. during the evaluation it fails the following test: https://github.com/casey/just/blob/master/src/justfile.rs#L236-L258
<steveeJ> that's basically a script that has the shebang `#!/usr/bin/env sh`. why would that fail in the `rustPlatform.buildRustPackage rec`?
Ariakenom has quit [Quit: Leaving]
<judson> Hm. That doesn't seem to work.
<steveeJ> IIUC this is a sandboxing issue, and the sandbox doesn't provide `/usr/bin/env`
<judson> I don't get a DNS request during the nix-shell build
<symphorien> Judson: if you are not a trusted user it is silently ignored
romanofskiWork has joined #nixos
<judson> How would I check that?
<{^_^}> [nixpkgs] @tohl opened pull request #49555 → sbcl added info manual, tested on nixos x86_64 → https://git.io/fxNfJ
<symphorien> nix show-config
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @yurkobb opened pull request #49556 → supercollider: build with alsa (midi) support on non-darwin → https://git.io/fxNft
vk3wtf has quit [Ping timeout: 264 seconds]
ggp0647 has quit [Remote host closed the connection]
ggp0647 has joined #nixos
arjen-jonathan has quit [Quit: WeeChat 2.3]
Ridout has joined #nixos
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kalbasit closed pull request #49536 → hugo: remove obsolete dependencies → https://git.io/fxbV7
worldofpeace has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #49555 → sbcl added info manual, tested on nixos x86_64 → https://git.io/fxNfJ
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fxNUt
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @symphorien opened pull request #49557 → rustc: build with system llvm and jemalloc → https://git.io/fxNUZ
zolk3ri has quit [Ping timeout: 256 seconds]
zolk3ri has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #49158 → doh-proxy: init at 0.0.8 → https://git.io/fxS9Y
<{^_^}> [nixpkgs] @dotlambda pushed 5 commits to master: https://git.io/fxNTv
rprije has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #49524 → grv: 0.2.0 -> 0.3.0 → https://git.io/fxbqq
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fxNTr
davidak has joined #nixos
pie__ has quit [Ping timeout: 272 seconds]
<davidak> is there some place where the nix roadmap discussion takes place? looked in forum and github, but found nothing
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #49338 → improve shell.nix warning messages → https://git.io/fxHNA
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/fxNki
<{^_^}> [nixpkgs] @tohl opened pull request #49558 → sbcl updated, tested on nixos x86_64 → https://git.io/fxNkX
zarel has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a2d39a802d8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @ikarulus opened pull request #49559 → bump version librepcb-unstable: 2018-06-28 -> 2018-10-31 → https://git.io/fxNkx
<bsima> Hey, does anyone know how to get hoogle working with haskell's developPackage nix function?
<clever> davidak: https://www.youtube.com/watch?v=8M6yvJC00J4 is the main source ive seen so far
<Zajcev_> guys, is there any way to get pam_mysql on nixos?
<davidak> clever, i just watched it and want to discuss some part now
jperras has quit [Quit: WeeChat 2.2]
zack_moe has quit [Ping timeout: 252 seconds]
<wirew0rm> simpson: I started working on using nix to build the toolchain and integrating it into pkgsCross, but it will probably take a while: https://github.com/wirew0rm/nixpkgs/tree/xtensa_esp32-none-elf_crossToolchain
<Zajcev_> bsima: pam_pgsql I've found, it works with mysql as well?
tertl3 has joined #nixos
<bsima> Zajcev_: no you'll have to modify the nix expression
<Zajcev_> oh ...
<bsima> that nix expression will install pam_pgsql, you should change it to install pam_mysql by pointing it to the correct git repo and giving it any other deps it needs
<Zajcev_> it's out of my borders :-0
<bsima> would be a great contribution to nixpkgs though :)
<bsima> the PR review process is very fast and friendly, in my experience
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #49129 → Linux headers: Cleanup → https://git.io/fxyFn
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to staging: https://git.io/fxNI1
agander has quit [Ping timeout: 272 seconds]
<Zajcev_> bsima: honestly, I don't know how :-(
<Zajcev_> I'll rather switch to postgres
<drakonis> the process is quick and painless
<Zajcev_> or maybe it's time to get deeper knowledge
<bsima> Well yeah, I'd prefer postgres to mysql too :)
<drakonis> compared to the other big distributions it is extremely quick
<Zajcev_> drakonis: link to tutorial? :-)
<drakonis> the slowest part is updating the channels
<drakonis> the wiki should have one
<MichaelRaskin> Well, as for review — there is always a risk of getting unlucky and not being noticed in time.
<Zajcev_> ok
<drakonis> we can always get better there
<drakonis> too many PRs :v
dbmikus_ has quit [Ping timeout: 260 seconds]
<drakonis> https://nixos.wiki/wiki/Nixpkgs start here
<Zajcev_> ok
<{^_^}> [nixpkgs] @worldofpeace opened pull request #49560 → update some elementary thirdparty apps → https://git.io/fxNLf
<Zajcev_> PR = pull request I guess ... :-)
<drakonis> would definitely like a automated staging area for new packages
<drakonis> would cut down on PRs
<MichaelRaskin> Well, fixed-output derivations (usually found as src values) still need at least non-maliciousness review…
<drakonis> can derivations not be fixed output?
<clever> by default, derivations are not fixed-output
<drakonis> i'm... surprised
<clever> a non-fixed-output derivation, has the $out path based on a hash of every input
<clever> so if any input changes, $out changes, and it will usually not find it in /nix/store, and rebuild
<drakonis> very nice, didn't know that was a thing
<clever> those derivations are also pure when the sandbox is on, so the only thing that they can possibly access, is the inputs, that are hashed
<clever> so as long as its not using rng and date/time to decide things during the build, its pure, and reproducible
<clever> fixed-output derivations declare the hash of the output in the nix, so $out is based purely on that declared hash, not the inputs
<clever> so the sandbox is relaxed and allows network access
<drakonis> good, speaking of reproducible builds, how's the interaction with the project
<clever> but if you fail to meet the output hash you claimed, the build finishes
<drakonis> well, a new thing every day
<{^_^}> [nixpkgs] @7c6f434c merged pull request #49558 → sbcl updated, tested on nixos x86_64 → https://git.io/fxNkX
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fxNtU
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1fd8625eae9 (from 5 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @ikarulus opened pull request #49561 → upgrade kicad 5.0.0 -> 5.0.1 → https://git.io/fxNtm
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @zarelit opened pull request #49562 → ntp: fix ntpd shutdown by using upstream patch → https://git.io/fxNtR
c0bw3b_ has left #nixos [#nixos]
<{^_^}> [nixpkgs] @zarelit opened pull request #49563 → ntp: fix ntpd shutdown by using upstream patch → https://git.io/fxNtV
hyp3rbor3ax has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
dbmikus_ has joined #nixos
mayhewluke has joined #nixos
Peetz0r has quit [Ping timeout: 264 seconds]
zarel has quit [Quit: Leaving]
dbmikus_ has quit [Ping timeout: 264 seconds]
Peetz0r has joined #nixos
<{^_^}> [nixpkgs] @nicknovitski opened pull request #49564 → androidenv.androidsdk: patch x64 interpreter path of emulator{,-check} → https://git.io/fxNqF
<emily> is there anything special I need to do to use the valve steam play/proton stuff, esp. on non-Steam executables?
jperras has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2502 → Fix typo in comments → https://git.io/fxbFf
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fxNmn