gchristensen changed the topic of #nixos to: 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 ... nixcon videos: https://tinyurl.com/nixcon2018
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
<Ashy> ottidmes: cheers
<{^_^}> [nixpkgs] @symphorien opened pull request #51418 → dsniff: init at 2.4b1 → https://git.io/fpKPv
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
hiroshi has quit [Quit: ZNC 1.7.1 - https://znc.in]
hiroshi has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/6c6aef86be0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
Ariakenom has quit [Quit: Leaving]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @eadwu opened pull request #51419 → vscode-extensions.ms-python.python: 2018.10.1 -> 2018.11.0 → https://git.io/fpKXk
<{^_^}> [nixpkgs] @eadwu opened pull request #51420 → vscode-extensions.WakaTime.vscode-wakatime: 1.2.3 -> 1.2.4 → https://git.io/fpKXI
pie__ has joined #nixos
pie___ has quit [Remote host closed the connection]
<j_r0m> coconnor: THANK YOU :D
pkx3 has joined #nixos
pkx3__ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @pbogdan opened pull request #51421 → nodejs.updateScript, thunderbird.updateScript: fix evaluation → https://git.io/fpKXb
goibhniu has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51318 → dwm-status: 1.4.0 -> 1.4.1 → https://git.io/fpo6Z
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fpKXh
jrolfs has joined #nixos
s2mitrov has quit [Ping timeout: 250 seconds]
jrolfs has quit [Ping timeout: 250 seconds]
jrolfs has joined #nixos
jrolfs has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @hlolli opened pull request #51422 → Csoundqt init 0.9.6-beta2 and python-qt init 3.2 → https://git.io/fpK1z
jrolfs has joined #nixos
hlolli has quit [Remote host closed the connection]
freeman42x has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @davidak opened pull request #51423 → assaultcube: fix version schema → https://git.io/fpK1P
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fpK11
thc202 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #51424 → pyre: 0.0.17 -> 0.0.18 → https://git.io/fpK1M
bman3 has joined #nixos
carlosdagos has joined #nixos
freeman42x has joined #nixos
silver has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « kmod: avoid mass rebuild »: https://git.io/fpK1H
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to release-18.09 « kdeconnect: 1.3.1 -> 1.3.3 »: https://git.io/fpK17
bman3 has quit [Ping timeout: 244 seconds]
marusich has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #51425 → systems/parse.nix: support eabihf → https://git.io/fpKMt
freeman42x has quit [Ping timeout: 252 seconds]
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
jrolfs has quit [Ping timeout: 250 seconds]
hellrazo1 has joined #nixos
hellrazor has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @benley opened pull request #51426 → logind: make killUserProcesses an option → https://git.io/fpKMb
ng0_ has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
ng0 has quit [Ping timeout: 256 seconds]
Dedalo has joined #nixos
lassulus has quit [Quit: WeeChat 2.2]
rprije has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « nixos/chrony: fix misplaced ConditionCapability= directive »: https://git.io/fpKDl
<{^_^}> [nixpkgs] @thoughtpolice pushed to release-18.09 « nixos/chrony: fix misplaced ConditionCapability= directive »: https://git.io/fpKD4
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/58f61cfcddc (from 76 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
jrolfs has joined #nixos
Church_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #51409 → nixos/cockroachdb: supply defaultText for the package option → https://git.io/fpKV5
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @pbogdan to master « nixos/cockroachdb: supply defaultText for the package option »: https://git.io/fpKDp
tejing has joined #nixos
jrolfs has quit [Ping timeout: 250 seconds]
Supersonic has quit [Ping timeout: 268 seconds]
Supersonic has joined #nixos
epicmetal has joined #nixos
acarrico has quit [Ping timeout: 250 seconds]
j_r0m has quit [Quit: Page closed]
<tejing> I just tried switching channels, but when I try to 'nixos-rebuild --upgrade switch', it seems to hang after the downloads (specifically after 'building the system configuration...') I also get some warnings about about an unknown setting 'signed-binary-caches'. Am I doing somethign wrong or is something broken?
cyounkins has joined #nixos
<clever> tejing: thats when its parsing all of the nix expressions
<clever> tejing: just keep waiting
<tejing> clever: but no cpu time is being used
<clever> then its probably done that step, and checking the binary caches, which involves 100's of small http requests
<tejing> hmm, ok, I'll give it a while then
<{^_^}> [nixpkgs] @tomberek opened pull request #51427 → scrcpy: 1.3 -> 1.5 → https://git.io/fpKS3
lassulus has joined #nixos
drp has quit [Ping timeout: 250 seconds]
lassulus has quit [Client Quit]
lassulus has joined #nixos
fusion809 has quit [Remote host closed the connection]
<tejing> ok, that took quite a while but it's finally doing something again. guess I jumped the gun a little bit.
drp has joined #nixos
<jackdk> is there a nix 2.0-style equivalent to nixos-rebuild? `nix build` will show it checking caches and that might be nice for nixos too
lassulus has quit [Quit: WeeChat 2.2]
lassulus has joined #nixos
<clever> jackdk: if you dont mind it being a 3 step process, do `nixos-rebuild dry-run`, find its .drv file, `nix build /nix/store/foo.drv` and when its done, go back to normal `nixos-rebuild`
<jackdk> probably want a `--no-link` on that second command?
detran has joined #nixos
<clever> jackdk: a better option, is to patch this to use `nix build` https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/nixos-rebuild.sh#L140-L161
<jackdk> but good to know
<clever> jackdk: yeah, you may also want that, depends on your GC setup
<clever> the GC may eat the build before you can rebuild into it
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
rsully has joined #nixos
ottidmes has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @veprbl merged pull request #51110 → Add mill build tool → https://git.io/fpzMU
<{^_^}> [nixpkgs] @veprbl pushed commit from @scalavision to master « mill-bin: init at 0.3.5 »: https://git.io/fpK9c
IRCsome has quit [Ping timeout: 246 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tdeo> i'm trying to compile a package with https://pastebin.com/jNBUZp6g but i get this error: src/password_generator_widget.cpp:47:59: error: 'log2' was not declared in this scopesrc/password_generator_widget.cpp:47:59: error: 'log2' was not declared in this scopesrc/password_generator_widget.cpp:47:59: error: 'log2' was not declared in this scope on compile
<tdeo> oh
<tdeo> that pasted 3 times
<tdeo> i didn't mean to
<tdeo> but i think it might have something to do with the package and not the code
cyounkins has quit [Remote host closed the connection]
<tdeo> any ideas on how to fix?
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #51425 → systems/parse.nix: support eabihf → https://git.io/fpKMt
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fpK9P
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<tdeo> fixed it
<jackdk> what's the fix?
<jackdk> (I have a shell open trying to make it build, but if you've got it out then now I'm just curious)
<tdeo> oh i wasn't on the latest version
<tdeo> v1.2.2
<tdeo> i'm now trying to get the install phase working
<jackdk> surely there are qmake hooks that you can use?
<tdeo> it doesn't work
<tdeo> it tries to create /usr
<{^_^}> [nixpkgs] @tomberek opened pull request #51428 → rig: init at 1.11 → https://git.io/fpKHL
<jackdk> have you seen the instructions for packaging qt5 apps in doc/languages-frameworks/qt.xml?
<tdeo> oh, i didn't know that existed
<tdeo> is there somewhere to read it that isn't xml? just wondering
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/173852b9362 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<jackdk> er, yeah. just realised that file gets spliced into the nixpkgs manual: https://nixos.org/nixpkgs/manual/#sec-language-qt
<{^_^}> [nixpkgs] @veprbl pushed to master « mill-bin: nitpicks »: https://git.io/fpKHc
<tdeo> i figured out how to set the install root for the makefile
<tdeo> but i can't find how to get the actual value in there
<tdeo> installFlags = [ "INSTALL_ROOT=$out" ]; sets it to literally $out
Anton-Latukha has quit [Quit: Leaving.]
<jackdk> ha, you're the second to ask that today. try ["INSTALL_DIR=$(out)"] ?
<jackdk> at least that's what the guy in my scrollback suggested
<tdeo> worked, and it's in the nix store place
<tdeo> but... it's not being called when i run it
<tdeo> in my terminal
rauno has joined #nixos
<tdeo> do i need to make a wrapper or something?
<tdeo> it installs them in $ROOT/usr/bin
<tdeo> might be an issue
<jackdk> I have no idea. I don't use that program, don't really know the qt infra and don't know what nix expression you've got building
j_r0m has joined #nixos
<j_r0m> has anyone ever used a custom ns-3 script in nixos ? or used ns-3 at all in nixos ?
<{^_^}> [nixpkgs] @jtojnar merged pull request #51421 → nodejs.updateScript, thunderbird.updateScript: fix evaluation → https://git.io/fpKXb
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fpKHa
<j_r0m> i can't find any example of it
<tdeo> got it to work by find/replacing the makefile
<tdeo> saw it in another package
rprije has joined #nixos
<j_r0m> tdeo: is that a reply to me ? that's an interesting strategy if so
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm has joined #nixos
<jackdk> I don't think so. tdeo's been debugging build failures for qmasterpassword
Mateon1 has quit [Remote host closed the connection]
Mateon1 has joined #nixos
<j_r0m> ah . thank you
jasongrossman has joined #nixos
rsully has quit [Quit: rsully]
<teto> j_r0m: you should use ns3 as any c++ library
<teto> the usual ns3 "scratch" folder won't work (which was not a very good idea imo)
<{^_^}> [nixpkgs] @matthewbauer opened pull request #51429 → glib-networking: build .so on macOS → https://git.io/fpKQe
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer closed pull request #51429 → glib-networking: build .so on macOS → https://git.io/fpKQe
reinhardt has quit [Quit: Leaving]
orivej has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @marsam opened pull request #51430 → pythonPackages.testfixtures: 6.2.0 -> 6.3.0 → https://git.io/fpKQG
epicmetal has quit [Quit: epicmetal]
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
vk3wtf has quit [Ping timeout: 268 seconds]
endformationage has quit [Quit: WeeChat 2.3]
gerschtli has quit [Quit: WeeChat 2.2]
gerschtli has joined #nixos
hellrazo1 has quit [Ping timeout: 250 seconds]
<j_r0m> teto: thank you teto . at this point i've only ever used ns3 using (./waf --run NAMEOFSCRIPT) in non nixos environments . so it's a bit weird changing habits and workflow . i'm doing some things in postInstall at the end of the ns-3 derivation ... we'll see if that works
rprije has quit [Ping timeout: 240 seconds]
<teto> j_r0m: I've had a patch for ns3.29 for quite some time in ase you are interested but I was waiting for the waf hook to land nixos-unstable before pushing my update
palo1 has joined #nixos
<j_r0m> teto: rad . i'm still using 3.28 ; but i will certainly want to get with the program soon i reckon :)
<teto> j_r0m: just curious but do you intend/have you ever used DCE ?
<teto> (Direct Code Execution, a ns3 extension)
palo has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 246 seconds]
monokrome has joined #nixos
<monokrome> yooo
<monokrome> Weird thing, but I was in here having issues w/ a laptop that has a GTX 1070 Q-Max and I'm having the same issues on a new PC that just arrived
<monokrome> O_o
orivej has joined #nixos
<monokrome> (where nvidia driver doesn't work and I am forced to use the intel driver even though I have GPUs in the machine)
<monokrome> yeah that's wrong
<monokrome> oops wrong widnow
jackdk has quit [Ping timeout: 244 seconds]
<monokrome> (other GPU is a dedicated RTX 2080 Ti)
IRCsum has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49915 → rspamd: add hyperscan, drop obsoleted dependencies → https://git.io/fpkv0
<{^_^}> [nixpkgs] @c0bw3b pushed 8 commits to master: https://git.io/fpK7W
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50667 → opencascade: 0.17.2 -> 0.18.3 → https://git.io/fpchB
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpK74
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bjornfor opened pull request #51431 → jpeginfo: init at 1.6.1 → https://git.io/fpK7R
vk3wtf has joined #nixos
jrolfs has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dtzWill opened pull request #51432 → mtools: 4.0.21 -> 4.0.22 → https://git.io/fpK7d
<{^_^}> [nixpkgs] @jamtrott closed pull request #29059 → scitools: init at 0.9.0 → https://git.io/v5V2v
<{^_^}> [nixpkgs] @dtzWill opened pull request #51433 → radare2: 3.1.0 -> 3.1.1 → https://git.io/fpK7b
Maxdamantus has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #51366 → libwebp: 1.0.0 -> 1.0.1 → https://git.io/fpKkY
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fpK7p
<{^_^}> [nixpkgs] @dtzWill merged pull request #51262 → wget: 1.19.5 -> 1.20 → https://git.io/fpwDK
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fpK7h
<j_r0m> teto: i keep seeing it , but i haven't tried yet . our simulation uses a bunch of containers with the tap-bridge realtime network simulation
<{^_^}> [nixpkgs] @dtzWill merged pull request #51190 → mesa: 18.2.5 -> 18.2.6 → https://git.io/fpaBe
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fpK5e
<{^_^}> [nixpkgs] @dtzWill merged pull request #51352 → sqlite: 3.25.3 -> 3.26.0 → https://git.io/fpoxx
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fpK5v
<j_r0m> so in a sense we use real software inside the containers , and send it between nodes in a simulated network topology on the host layer
Maxdamantus has joined #nixos
<j_r0m> teto: do work with direct code execution ?
<j_r0m> do you*
<teto> j_r0m: I am one of the maintainer
<{^_^}> [nixpkgs] @dtzWill merged pull request #51365 → nss: 3.40 -> 3.40.1 → https://git.io/fpKkq
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to staging: https://git.io/fpK5m
<j_r0m> OH RAD! ! i'm starstruck :-O
<j_r0m> are you an ns3 genius?
jrolfs has quit [Ping timeout: 244 seconds]
MasseR has joined #nixos
rauno has quit [Ping timeout: 268 seconds]
mehak has joined #nixos
civodul has joined #nixos
<teto> j_r0m: not really but I am glad not to be the only one using my package :)
alex`` has joined #nixos
<pie__> is https://nixos.org/~eelco/pubs/nixos-jfp-final.pdf outdated at this point?
<pie__> i plan to read it soon^(TM)
aexoxea has joined #nixos
thc202 has joined #nixos
reinhardt has joined #nixos
<jasongrossman> pie__: It's not outdated.
ckauhaus has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #51433 → radare2: 3.1.0 -> 3.1.1 → https://git.io/fpK7b
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpKF0
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
j_r0m_ has joined #nixos
j_r0m has quit [Ping timeout: 256 seconds]
<j_r0m_> teto: so grateful , teto ( .. ! .. )
hotfuzz has joined #nixos
metastance has joined #nixos
hotfuzz_ has quit [Ping timeout: 245 seconds]
Tucky has joined #nixos
jrolfs has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #51222 → coqPackages.math-classes: 1.0.7 -> 8.8.1 → https://git.io/fpVWm
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.math-classes: 1.0.7 -> 8.8.1 »: https://git.io/fpKNt
hotfuzz_ has joined #nixos
hotfuzz has quit [Ping timeout: 272 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
j_r0m_ has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @Mic92 opened pull request #51434 → nix-review: 0.6.1 -> 1.0.0 → https://git.io/fpKN0
oldandwise has joined #nixos
<oldandwise> I did `# nixos-rebuild switch --upgrade` after `nix-channel --add https://nixos.org/channels/nixos-18.09 nixos` and my x64 machine has upgraded (/etc/os-release,login gui). But I saw that /etc/nixos/configuration.nix system.stateVersion = "18.03";
<oldandwise> etu: ok. Second question: I did the upgrade in my i686 netbook. But when i reboot, it is still at 18.03 and nothing changes
<oldandwise> ie, the upgrade in x64 did as expected upgrade.. but not in my i686
<oldandwise> did not see any error messages, so
<{^_^}> [nixpkgs] @Mic92 merged pull request #51424 → pyre: 0.0.17 -> 0.0.18 → https://git.io/fpK1M
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fpKNp
jrolfs has quit [Ping timeout: 245 seconds]
<tilpner> oldandwise - sudo nix-channel --list
<tilpner> Oh wait, you're root
<tilpner> Also show echo $NIX_PATH and nixos-rebuild switch
<otti0815> maybe a stupid beginner question but how do you get you dotfiles in a system? can i somehow write them as a file to import etc?
<{^_^}> [nixpkgs] @Mic92 merged pull request #51407 → Fix NetworkManager-wait-online.service → https://git.io/fpKzB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-18.09: https://git.io/fpKAd
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
<Ralith> otti0815: https://github.com/rycee/home-manager is one way
<otti0815> thank you very much for the tip
avn has quit [Ping timeout: 268 seconds]
johanot has joined #nixos
goibhniu has joined #nixos
migy has quit [Quit: migy]
migy has joined #nixos
<oldandwise> tilpner: nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
avn has joined #nixos
orivej has joined #nixos
<Myrl-saki> oldandwise: Do not change the stateVersion.
carlosdagos has quit [Quit: Connection closed for inactivity]
<Myrl-saki> Oh, hm.
<{^_^}> [nixpkgs] @manveru opened pull request #51435 → gateone: needs tornado_4 → https://git.io/fpKpJ
<oldandwise> ok.. keeping it as-is
<oldandwise> Myrl-saki: i was trying to upgrade to 18.09 my netbook.. but i couldn't. It is still 18.03
<oldandwise> Myrl-saki: It's the i686
<Myrl-saki> Yeah, I just checked the asciinema.
<Myrl-saki> oldandwise: Also, check PMs.
lo_mlatu has joined #nixos
<lo_mlatu> hi, how can i temporary diable substitutes when i'm offline?
<Myrl-saki> lo_mlatu: `--option substituters ''`
<Myrl-saki> lo_mlatu: It's probably also possible to just use `--substituters ''`
<lo_mlatu> that's it, thanks Myrl-saki!
hamishmack has joined #nixos
<sphalerite> samueldr: did you get the block device renaming thing working?
Radivarig has joined #nixos
michas has joined #nixos
oldandwise has quit [Quit: leaving]
__monty__ has joined #nixos
vidbina has joined #nixos
<exarkun1> Anyone managed to cross compile sshfs-fuse for arm? https://gist.github.com/exarkun/24aef9c44ad826ac2946d8603bd1fc05
Radivarig has quit [Ping timeout: 250 seconds]
shabius_ has joined #nixos
Ariakenom has joined #nixos
ThatDocsLady has joined #nixos
<tilpner> You should probably always say which arm you mean
<tilpner> It's in the cache for aarch64
shabius has quit [Ping timeout: 252 seconds]
<exarkun1> armv7
<{^_^}> [nixpkgs] @vbgl opened pull request #51436 → coqPackages.corn: init at 8.8.1 → https://git.io/fpKjL
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to python-unstable: https://git.io/fpKjP
graphene has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nyanloutre opened pull request #51437 → qlcplus: fix udev rules path → https://git.io/fpKj9
graphene has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to release-18.09: https://git.io/fp6ek
hjulle has joined #nixos
<v0|d> exarkun1: move glib to natbuilinpt
<exarkun1> that was my thought, indeed
<exarkun1> I wasn't able to discern an effect
<hjulle> I can't upgrade nix(os) because of the bug https://github.com/NixOS/nix/issues/2393. Is it any way to force it to install despite reporting an incorrect hash?
<{^_^}> nix#2393 (by lopsided98, 13 weeks ago, closed): Hash mismatch with builtins.fetchUrl and .xz file
<sphalerite> exarkun1: it looks like it's using the wrong C compiler, glib should be in buildInputs not nativeBuildInputs
<sphalerite> exarkun1: not sure how sshfs's build works, but if you can get it to use $CC instead of cc it ought to work
<exarkun1> it seems to use ninja
<exarkun1> which seems to have its own ideas about what cross compilation should be
<exarkun1> never actually used ninja myself, just browsed the docs briefly
<exarkun1> sounds like maybe the answer is "it's work"
<sphalerite> ninja doesn't care about that sort of stuff generally
<sphalerite> AFAIU
<sphalerite> ninja just executes the build, but the ninja files are generated by something else like meson or cmake
<exarkun1> okay, maybe it's meson then
<exarkun1> (meson is definitely involved)
Dedalo has joined #nixos
Dedalo has quit [Client Quit]
<exarkun1> turns out it is easier to just do a native compile on rpi :/ I guess sshfs is tiny.
rprije has joined #nixos
jrolfs has joined #nixos
jrolfs has quit [Ping timeout: 246 seconds]
<tobiasBora> anothertest: I know you are not connect anymore, but if by any chance you are interested by the answer to your question about iso mounting, I think to remember I managed to do something like that with the help of clever. If my memory is good, I ended up building a new iso with everything included directly in the loaded kernel/initramfs (it's only a problem when you have not enough RAM to load it in once). If
<tobiasBora> you are still interested, I still have a memo at home with the .nix needed for that. And I was not able to find a solution with an external iso not fully mounted into ram, but I'm thinking that it may be possible to use the tool used by ubuntu with nix, as I think to remember that I saw some code linked with that in the git repo of nixpkgs...
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50448 → mnist: init at 2018-11-16 → https://git.io/fpZZR
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp6JR
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.webtest: fix build »: https://git.io/fp6JK
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fp6Ji
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51411 → ntfy: 2.6.0 -> 2.7.0 → https://git.io/fpKoC
<sphalerite> exarkun1: actually cross-compiling sshfs works just fine for me
<sphalerite> `nix build nixpkgs.pkgsCross.armv7l-hf-multiplatform.sshfs`
<sphalerite> how were you trying to do it?
<{^_^}> [nixpkgs] @vcunat pushed 8 commits to staging-18.09: https://git.io/fp6UE
<{^_^}> [nixpkgs] @vcunat merged pull request #50963 → [staging-18.09] backport nss, libpng & sqlite updates → https://git.io/fpRhx
vk3wtf has quit [Ping timeout: 252 seconds]
jrolfs has joined #nixos
vidbina has quit [Ping timeout: 245 seconds]
fendor has joined #nixos
drp has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @M-Gregoire opened pull request #51438 → thunar: 1.7.10 -> 1.8.2 → https://git.io/fp6TO
trebuh has left #nixos ["WeeChat 2.4-dev"]
phreedom has quit [Ping timeout: 256 seconds]
ninjin has quit [Ping timeout: 256 seconds]
phreedom has joined #nixos
ng0_ has quit [Ping timeout: 256 seconds]
ninjin has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
jrolfs has quit [Ping timeout: 252 seconds]
ng0_ has joined #nixos
<fendor> yesterday, I tried to install NixOs on a Raspberry Pi 3, with the ARM Guide: https://nixos.wiki/wiki/NixOS_on_ARM#Installation . However, after following the instructions, I think the raspberry pi started to build the latest linux kernel from source. Naturally, after the night, it still hasnt finished compiling. Question: is that normal?
<ckauhaus> shouldn't
<ckauhaus> I did that quite a while ago and had zero local compiles
<sphalerite> fendor: if you're using the armv7 image it is normal
<sphalerite> I think
<fendor> sphalerite, I used the ARM64 image
<fendor> ckauhaus, damn it
<sphalerite> right, then it is weird
<fendor> welp, maybe I fucked something up. Has someone experience on how long the linux kernel takes to compile on a raspberry pi?
<fendor> also, if the raspberry pi is not done in the evening, should I rather abort it and try to find the issue?
<{^_^}> [nixpkgs] @jfrankenau opened pull request #51439 → iwd: 0.11 -> 0.12 → https://git.io/fp6IL
<tilpner> Try to find the issue *and* let it running
<fendor> tilpner, any pointers on how to find the issue? Should I check the channels, for example?
<tilpner> If you can find the nixpkgs rev you're using, you can check if the cache has that kernel
<tilpner> A quick test suggests current 18.09 has aarch64 linux
<tilpner> But your image might not be aarch64 or current 18.09, and you may not be using "linux" (the attribute)
<sphalerite> fendor: did it download other things from the cache?
<fendor> tilpner, I am using aarch64, I downloaded the image yesterday, so it should be 18.09
<tilpner> Emphasis on "current", not 18.09
<fendor> sphalerite, I cant tell, I think it did download some nix expressions, but I cant be sure
<tilpner> If the image was built a week ago, and Hydra was timing out on linux builds a week ago...
<ckauhaus> btw... nixos-unstable.x86_64 on Hydra seems to be blocked for >2w
jrolfs has joined #nixos
<tilpner> fendor - What does nixos-version say? Also try nix-info
<fendor> tilpner, from the download page, I read that the image was built on the 13.9
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to python-unstable: https://git.io/fp6IS
<tilpner> Unfortunately that does not help me
init_6 has joined #nixos
<fendor> tilpner, I am sorry, I am currently at uni, not home, so I can not access the raspberry pi at the moment.
<tilpner> I don't know how that image is built. It's possible that while it was built on 13.9, the builder was using an outdated nixpkgs copy
<{^_^}> [nixpkgs] @Tomahna opened pull request #51440 → bloop: 1.0.0 -> 1.1.0 → https://git.io/fp6IN
<fendor> tilpner, in the evening, I can try the nix-info command
<tilpner> I assume that's just because you haven't gotten around to setting up (tinc+)ssh, right?
Enzime has joined #nixos
<Enzime> can someone take a look at my PR?
<{^_^}> #51313 (by Enzime, 1 day ago, open): llpp: 2018-03-02 -> 30
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b7c795d5887 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<fendor> tilpner, yes and no, I didnt dare to change anything in the configuration.nix, moreover, since it should become a backup server using samba, I did not want to expose it to the internet
Ariakenom has quit [Ping timeout: 250 seconds]
vk3wtf has joined #nixos
<tilpner> That's what you can use tinc (or similar) for, so it's not public but still accessible
drp has joined #nixos
simukis has joined #nixos
<fendor> tilpner, didnt know about tinc, I will take a look at it and try to use it :)
<tilpner> (tinc only if you have a public server, but I hear toxvpn works well if you don't have one)
sigmundv_ has joined #nixos
<fendor> tilpner, I dont have a public server, the backup service is fine if it is only executed when you are in the local network
jrolfs has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to python-unstable: https://git.io/fp6LH
<{^_^}> [nixpkgs] @FRidh pushed 496 commits to staging-next: https://git.io/fp6Ld
<{^_^}> [nixpkgs] @FRidh pushed 196 commits to staging: https://git.io/fp6Lh
<{^_^}> [nixpkgs] @FRidh opened pull request #51444 → Staging next → https://git.io/fp6tJ
<tilpner> Well, then you might try toxvpn. I don't use it, but some people like it a lot
goibhniu has quit [Ping timeout: 250 seconds]
qyliss has quit [Quit: bye]
bpye has quit [Quit: ZNC 1.7.1 - https://znc.in]
qyliss has joined #nixos
bpye has joined #nixos
goibhniu has joined #nixos
feep has quit [Disconnected by services]
<exarkun1> sphalerite: what version of nixpkgs do you have?
<exarkun1> fendor: note that some rpi features aren't available on aarch64. gpio and hw video decoding.
<sphalerite> exarkun1: nixos-unstable
<sphalerite> yeah it doesn't work on 18.09 for me either
<fendor> exarkun1, thats fine, I am mainly interested in the nixos feature to deploy services declaratively
BlessJah_ has quit [Remote host closed the connection]
iyzsong has joined #nixos
<sphalerite> exarkun1: looks like meson cross-building was recently fixed by globin and volth, in 9e1b883144af1fc7c7444c4c18e7b6c24072d9ac
<sphalerite> exarkun1: so if you use unstable it should cross-compile fine
<{^_^}> [nixpkgs] @dotlambda pushed 545 commits to python-unstable: https://git.io/fp6q1
pietranera has joined #nixos
Ariakenom has joined #nixos
vk3wtf has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @johanot opened pull request #51445 → kube-router: init at 0.2.3 → https://git.io/fp6qM
<exarkun1> sphalerite: makes sense. I'm a bunch behind unstable. Thanks.
<exarkun1> seems like there has been an awful lot of cross compilation progress recently, that is cool.
pie___ has joined #nixos
BlessJah has joined #nixos
BlessJah has quit [Client Quit]
BlessJah has joined #nixos
lo_mlatu has quit [Quit: Connection closed for inactivity]
pkx3 has quit [Ping timeout: 268 seconds]
dongcarl has quit [Ping timeout: 268 seconds]
c00w has quit [Read error: Connection reset by peer]
pie__ has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos
<{^_^}> [nixpkgs] @hedning pushed to staging-next « geoclue: fix gobject-introspection naming »: https://git.io/fp6mL
<nikivi> I cant find Go on nixpkgs
<nikivi> no one packaged go language?
<tilpner> > go.name
<{^_^}> "go-1.11.2"
<etu> nikivi: It's just "go"
<{^_^}> [nixpkgs] @dotlambda pushed 541 commits to python-unstable: https://git.io/fp6m3
<etu> nikivi: On the link you linked I paginated to: "Showing results 241-255 of 1441" and it's visible there :-)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #51418 → dsniff: init at 2.4b1 → https://git.io/fpKPv
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fp6mW
orivej has joined #nixos
lnikkila has joined #nixos
periklis has joined #nixos
vk3wtf has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #51446 → vimPlugins: update → https://git.io/fp6Oa
<{^_^}> [nixpkgs] @Mic92 merged pull request #51434 → nix-review: 0.6.1 -> 1.0.1 → https://git.io/fpKN0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp6O6
<{^_^}> [nixpkgs] @vcunat pushed commit from @delroth to release-18.09 « nixos.tests.keymap: use new name of the colemak/en-latin9 keymap »: https://git.io/fp6Oj
wink has joined #nixos
<wink> hi, is github.com/bendlas lurking here by chance? :)
<{^_^}> [nixpkgs] @dtzWill opened pull request #51447 → libpng: 1.6.35 -> 1.6.36, license v2 → https://git.io/fp6sH
rprije has quit [Ping timeout: 240 seconds]
init_6 has quit [Ping timeout: 250 seconds]
dslegends has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 4.20-rc4 -> 4.20-rc5 »: https://git.io/fp6Z5
alex`` has quit [Ping timeout: 250 seconds]
<eyjhb> How can I get nixos my ssh client to try all keys in '.ssh'? Currently it only uses 'id_rsa'
<hyper_ch> what keys?
<wink> I think that's an ssh-agent/keyring issue and should be distro-independent
ng0_ has quit [Quit: Alexa, when is the end of world?]
<eyjhb> hyper_ch: general ssh keys for connecting. I have to specify 'ssh -i .ssh/id_rsa_tmp user@ip'...
<eyjhb> wink: Running NixOS, not just the package manager. Any 'easy way' of doing it?
ng0 has joined #nixos
<wink> eyjhb: I mean: I know of no "configure" option. ssh itself will only use the default names and agent/keyrign might scan ~/.ssh - but I could be totally wrong
dcol has joined #nixos
<wink> but don't ask me about nix specifice, so I'd rather shut up ;)
<tilpner> Try programs.ssh.startAgent
<dcol> I'm trying to cross compile for an ARM device on NixOS. It's going pretty well using crossSystem and so on, however I realized that my ARM device has glibc 2.23 but my toolchain gets compiled with 2.27. I've been trying to figure out how to write a nixexpression to use 2.23 glibc when compiling, but it's not going too well. Anyone who could point me in the right direction?
<tilpner> I suppose you could have an overlay of the older glibc
<tilpner> But that would rebuild everything :/
<dcol> hm I guess. but if I have a --pure shell that shouldn't be too bad?
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #51317 → audit-tmpdir hook: use abspath matching on RPATH entries → https://git.io/fpoK0
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to staging: https://git.io/fp6cL
<symphorien> dcol: is it possible to ship the nix glibc with your program ?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #51358 → libtorrentRasterbar: 1.1.10 -> 1.1.11 → https://git.io/fpKJo
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fp6cG
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #51376 → jemalloc: add option disable-initial-exec-tls → https://git.io/fpKtc
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to staging: https://git.io/fp6cR
<dcol> symphorien: possibly, but I'm trying to avoid that if possible. the device isn't that well documented, and I'm just hacking along here. I'm fine with rebuilding my cross.c environment should that be needed
<samueldr> sphalerite: didn't try yet
<{^_^}> [nixpkgs] @bkchr opened pull request #51449 → kde-applications: 18.08.1 -> 18.12.0 WIP → https://git.io/fp6cr
alex`` has joined #nixos
<sphalerite> eyjhb: it should already be trying id_rsa, id_ed25519 and whatever else you have.
<sphalerite> eyjhb: try using ssh -v to see if it offers all the ones you're expecting.
acarrico has joined #nixos
<hjulle> Is it possible to use nixos on a raspberry pi without having to compile everything from scratch on the incredibly slow pi?
<tilpner> hjulle - Pi3 is covered in the cache, Pi(<3) will be harder
<tilpner> While there are ways to build everything on your desktop and push to your Pi1/Pi2, it's not that fun
iyzsong has quit [Read error: Connection reset by peer]
<eyjhb> sphalerite: will try
<tilpner> (And that's why my 1B is collecting dust...)
jrolfs has joined #nixos
alex`` has quit [Ping timeout: 245 seconds]
<eyjhb> sphalerite: it offers the default ones, but not just everything .pub. SO I need to specify my `id_rsa_tmp` some place?
copumpkin has joined #nixos
<sphalerite> eyjhb: yes, specify -i ~/.ssh/id_rsa_tmp in the ssh command
<eyjhb> sp
<{^_^}> [nixpkgs] @volth opened pull request #51450 → [CVE-2018-18311] perl: 5.28.0 -> 5.28.1 → https://git.io/fp6Cv
<eyjhb> sphalerite: but I do not want to do that, I am seeking ubuntu like behaviour, where it will try "all" files in my `.ssh`
Anton-Latukha has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « slack: Add dark-mode version »: https://git.io/fp6CT
<tilpner> Try programs.ssh.startAgent
jrolfs has quit [Ping timeout: 268 seconds]
<schopp0r> hi. time to try again to compile nix from source with a different nix-store and state directory. can anyone suggest a good way? I was trying it manually from source, and I also tried to compile it on nixos and copy it to another machine.
<schopp0r> the machine is a debian-i686 and I have no root access and no access to /nix
dcol has left #nixos ["ERC (IRC client for Emacs 26.1)"]
dcol has joined #nixos
<schopp0r> proot also doesn't work.
<schopp0r> but I have access to a virtual machine with nixos installed, on which I, in theory, could compile it.
<symphorien> how far did you go last time ?
<eyjhb> tilpner: will do and how that resolves it! - How well does switch work in that regard?
<schopp0r> symphorien: I could manage (but don't know how exactly ...) to run nix on this machine, in /tmp/..., but when trying to compile nix from inside this /tmp/... with a store-directory in my home-dir, it failed when testing some aws-library. and then noone could tell me how to disable tests, and I could not figure it out...
<schopp0r> symphorien: and it also wasn't really "clean". I just copied all environment-variables to this machine to run it.
<tilpner> schopp0r - Does the target device allow unprivileged user namespaces?
<schopp0r> tilpner: no.
<tilpner> That would have been too easy, huh
<symphorien> schopp0r: have you tried this ?
<schopp0r> symphorien: I think I did. hm. ok, then something else failed, I cannot remember :\ (should probably have written it down)
<symphorien> the right way to remove aws-sdk-cpp would be to clone nixpkgs, modify the nix expression inside (should be easy) and then build with -I nixpkgs=/path/to/clone
<schopp0r> symphorien: ah, but that brings me to the question: how do I "cleanly" copy the stuff from /tmp/blargh3 to my other machine?
<symphorien> you don't need it
<symphorien> nix can perfectly start from an empty store
<schopp0r> symphorien: but how do I transfer the compiled nix to the other machine?
<symphorien> tar the store where it lives
<schopp0r> symphorien: I don't understand
<symphorien> please give more details
<eyjhb> This might be a stupid question, but isn't it good practice to start bash script with `#!/bin/bash`? But when doing that on nixos, it will fail to run, because bash does not reside in /bin/bash
<schopp0r> symphorien: so what I would try is use this nix-expression on a nixos-VM.
<symphorien> start with #!/usr/bin/env bash
<schopp0r> eyjhb: you start it with #! /usr/bin/env bash
<schopp0r> symphorien: and then somehow transfer the built nix package manager to the host machine
<schopp0r> symphorien: and that is the problem: how do I transfer it.
<eyjhb> I guess I have just been lucky all my life till now then ;) Thanks
<symphorien> eyjhb: only /bin/sh is fine, because it is required by POSIX
arjen-jonathan has joined #nixos
<schopp0r> symphorien: because when I build the nix-expression you linked, the then-built nix will still be in /nix/store somewhere
<symphorien> yes
<schopp0r> symphorien: so I would have to use *this* nix again to build a nix that is in /tmp/blargh
<symphorien> because the nixos nix defaults to /nix
<symphorien> BUT this is only a default
<symphorien> with some environment variable, you can override on any nix the location of the store
<symphorien> this is how nix tests itself https://github.com/NixOS/nix/blob/master/tests/common.sh.in#L5
<symphorien> so you use the nix of NixOS to build in /tmp/foo
<symphorien> then scp /tmp/foo over
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b7162eb5c4c (from 86 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<symphorien> then run /tmp/foo/store/hash-nix/bin/nix-build the way you want
<schopp0r> symphorien: but I would have to set path and libdir, etc., as well, before I can run nix-build, right?
<symphorien> ?
<schopp0r> symphorien: I cannot just run /tmp/foo/store/hash-nix/bin/nix-build without setting environment variables, can I?
<symphorien> it depends on the compiled-in defaults
<symphorien> this is where storeDir = "/tmp/blargh3/nix-store"; in my paste steps in
<schopp0r> symphorien: ah, so I could set these dirs to the final dirs in my home-directory already
<symphorien> yes you can
<schopp0r> ok
ottidmes has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
m0rphism has quit [Quit: WeeChat 2.2]
<schopp0r> *tries this now*
m0rphism has joined #nixos
<eyjhb> Sometimes followed by *cries a lot in the corner*
m0rphism has quit [Client Quit]
m0rphism has joined #nixos
m0rphism has quit [Client Quit]
m0rphism has joined #nixos
m0rphism has quit [Client Quit]
m0rphism has joined #nixos
m0rphism has quit [Client Quit]
<{^_^}> [nixpkgs] @volth opened pull request #51451 → [staging-18.09] perl: 5.28.0 -> 5.28.1, 5.26.2 -> 5.26.3 → https://git.io/fp6lx
Graf_Blutwurst has joined #nixos
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #51452 → dmrconfig: 2018-11-07 -> 1.0 → https://git.io/fp68L
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
hellrazo1 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.python-jose: 2.0.2 -> 3.0.1 »: https://git.io/fp68b
Graf_Blutwurst has quit [Quit: WeeChat 2.3]
worldofpeace has joined #nixos
<avn> Folks, any ideas how to fix `/nix/store/6s8dkfj3irwv52cap2hd9k7gaddklfs1-binutils-2.30/bin/ld: cannot find -ltinfo`?
<arianvp> Add that library to your buildInputs
johanot has quit [Quit: WeeChat 2.2]
<arianvp> I think that it is the ncurses library
<avn> arianvp: do you remember, where -ltinfo
<arianvp> What do you mean?
<arianvp> I assume you are defining your own package right?
<arianvp> Or is something else giving the error
<{^_^}> [nixpkgs] @dotlambda pushed 232 commits to python-unstable: https://git.io/fp64W
<{^_^}> [nixpkgs] @dotlambda closed pull request #51430 → pythonPackages.testfixtures: 6.2.0 -> 6.3.0 → https://git.io/fpKQG
<avn> arianvp: one of libreoffice dependencies ;) Finishing weekend rebuild
acarrico has quit [Ping timeout: 246 seconds]
Graf_Blutwurst has joined #nixos
rhalff has joined #nixos
<avn> arianvp: works, will PR in seconds. Would anyone want to review fast? (it fix libreoffice build)
<{^_^}> [nixpkgs] @vbgl opened pull request #51453 → coqPackages_8_9.coq-ext-lib: init at 0.10.0 → https://git.io/fp645
vidbina has joined #nixos
<nikivi> i opened https://github.com/housecanary/gq in VS Code and am getting these errors in Output pane https://paste.ee/p/coI8C
<nikivi> Is it possible to solve these somehow?
<nikivi> or I should just ignore these
<Graf_Blutwurst> Hi I'm trying to get the clisp written nEXT browser to work on nixos and writing a package. but I haven't figured out how to handle sbcl in nix correctly. in the normal build there's a makefile which pulls quicklisp from some url and proceeds. when executing "make next-gtk" this obvs. explodes because the ${src} is read only
<nikivi> the reason I ask is because this error seems to be due to me installing Go with Nix
<nikivi> and Nix is immutable and now it can't install packages or something
<{^_^}> [nixpkgs] @avnik opened pull request #51454 → mythes: fix link error on missed `tinfo` library (ncurses) → https://git.io/fp6BR
<ottidmes> nikivi: the only workaround I got it to copy over/link stuff from the nix store to a writable location, that is what I used to make vsliveshare work in NixOS
<{^_^}> [nixpkgs] @matthewbauer opened pull request #51455 → ghc: don’t add libiconv automatically → https://git.io/fp6BM
detran has quit [Ping timeout: 250 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
philippD has joined #nixos
<eeva> Hey guys, anyone uses pandoc and syntax highlighting for nix? If you have a KDE-style XML syntax definition for nix I'd be glad to borrow it :3
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51408 → gnumake: disable subsecond mtime on darwin → https://git.io/fpKgp
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fp6Rs
v0|d has quit [Read error: Connection reset by peer]
jperras has joined #nixos
Neo-- has joined #nixos
jabranham has joined #nixos
pie__ has joined #nixos
<jabranham> (how) can I use "nix search" to search for "hidden" packages like rPackages.ggplot2?
<{^_^}> [nixpkgs] @vcunat pushed 43 commits to staging-18.09: https://git.io/fp6E9
pie___ has quit [Remote host closed the connection]
reinhardt has quit [Quit: Leaving]
johanot has joined #nixos
ng0 has joined #nixos
dcol has quit [Read error: Connection reset by peer]
fendor has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #51456 → coqPackages.simple-io: init at 0.2 → https://git.io/fp6zR
Ariakenom has quit [Ping timeout: 250 seconds]
waleee has joined #nixos
<Graf_Blutwurst> Or does anyone in general have good reading material to learn how to make nix packages? I'll admitt I'm somewhat lost
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.moto: allow newer versions of python-jose »: https://git.io/fp6gT
fusion809 has joined #nixos
<simpson> Graf_Blutwurst: https://nixos.org/nixos/nix-pills/index.html is a commonly-read tutorial.
<simpson> Graf_Blutwurst: You're working in pkgs/development/lisp-modules/quicklisp-to-nix.nix, right? I don't really know this area of nixpkgs. It sounds like, if the Makefile has the bogus assumption that it can write to the source directory, you're going to have to either patch the Makefile or copy the source to a temporary directory first.
ng0 has quit [Quit: Alexa, when is the end of world?]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
simukis has quit [Quit: simukis]
pmade is now known as pjones`
<{^_^}> [nixpkgs] @binarin opened pull request #51457 → nvidia_legacy_340: Remove unneeded/failing patch → https://git.io/fp62H
fendor has joined #nixos
__red__ has joined #nixos
<__red__> Greetings - I need to set up a wiki for a project. Any recommendations for the more minimal-fuss wiki implementtaion to run on a nixos webserver?
<Graf_Blutwurst> @simpson no I'm not working on a existing package. rather I'm trying to get something to run that requires quicklisp etc
alex`` has joined #nixos
<Graf_Blutwurst> simpson: ahh so that's user tagging here. I always forget. sorry
<simpson> No worries.
<{^_^}> atlas-engineer/next#146 (by GrafBlutwurst, 3 days ago, open): Getting next to run under NixOS
m0rphism has quit [Ping timeout: 240 seconds]
fendor has quit [Ping timeout: 246 seconds]
samrose has joined #nixos
<symphorien> Graf_Blutwurst: maybe you need wrapGappsHook
<Graf_Blutwurst> symphorien: I'll need that for sure. But first I have to get to the point that GTK stuff fails ^^' but thanks for the pointer
<Graf_Blutwurst> First I have to figure out how to move all that stuff to a temp dir. the make script curls a quick lisp file and right now that tries to write to ${src}
<symphorien> using the network during a build will be prevented by the sandbox
<{^_^}> [nixpkgs] @matthewbauer merged pull request #50936 → dhcpcd: Use runtimeShell in dhcpcd-run-hooks → https://git.io/fpRsU
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fp6rb
<symphorien> you must pull the file with feturl or something like that and then patch the makefile to use this instead of downloading
<{^_^}> [nixpkgs] @matthewbauer merged pull request #51210 → fix: gperf 3.0 cross compilation → https://git.io/fpVeB
<symphorien> *fetchurl
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @eburimu to staging « gperf: fix cross compilation (#51210) »: https://git.io/fp6rp
<{^_^}> [nixpkgs] @FRidh pushed 543 commits to python-unstable: https://git.io/fp6oO
<Graf_Blutwurst> good to know. alright I'll have to figure out how to patch this makefile
<{^_^}> [nixpkgs] @grahamc pushed 4 commits to master: https://git.io/fp6oE
<{^_^}> [nixpkgs] @grahamc merged pull request #50452 → Rust build-support: fixing a compilation error in some crates → https://git.io/fpZ2k
drp has quit [Ping timeout: 250 seconds]
rtjure has quit [Ping timeout: 250 seconds]
Twey has quit [Ping timeout: 250 seconds]
ottidmes has quit [Ping timeout: 246 seconds]
ottidmes has joined #nixos
disasm has quit [Ping timeout: 250 seconds]
jrolfs has joined #nixos
disasm has joined #nixos
philippD has quit [Ping timeout: 250 seconds]
travelion has quit [Ping timeout: 250 seconds]
alex`` has quit [Ping timeout: 244 seconds]
acarrico has joined #nixos
Twey has joined #nixos
travelion has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
halfbit has joined #nixos
mmlb has joined #nixos
<catern> hey #nixos, is there a way to override part of a recursive attribute set? (like override version in rec { name = "foo-{version}"; version = "1.0"; })
<gchristensen> no
<gchristensen> I mean, yes, you can override `version`, but it won't change `name`
<catern> ok just checking
<catern> the helpers that build all-packages and python-packages etc are essentially for this purpose, right? they make an overridable recursive attribute set
<{^_^}> nix#2511 (by Ekleog, 4 weeks ago, open): Extensible attrsets
<gchristensen> no, if you 'override' version on a package, it still doesn't update the name
<sphalerite> catern: it's what the overlay pattern is there for. The above is an idea of what it could look like when it's integrated into the nix language directly.
jrolfs has quit [Ping timeout: 246 seconds]
Ariakenom has joined #nixos
<sphalerite> catern: I think the overlay pattern (with the self: super: stuff) is what you're talking about when you're saying "the helpers that build all-packages and python-packages"?
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed to master « jpeginfo: init at 1.6.1 »: https://git.io/fp6K6
<{^_^}> [nixpkgs] @bjornfor closed pull request #51431 → jpeginfo: init at 1.6.1 → https://git.io/fpK7R
<catern> sphalerite: yes - though specifically I'm thinking of lib.makeExtensible
<{^_^}> [nixpkgs] @bjornfor pushed 2 commits to master: https://git.io/fp6K5
<{^_^}> [nixpkgs] @bjornfor closed pull request #51166 → nixos/jenkins-job-builder: improve error handling and add accessTokenFile option → https://git.io/fp2Us
<catern> yep and the comment immediately above its definition is "Create an overridable, recursive attribute set" :)
rtjure has joined #nixos
rhalff has quit [Ping timeout: 246 seconds]
jrolfs has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed to release-18.09 « jpeginfo: init at 1.6.1 »: https://git.io/fp66h
johanot has quit [Ping timeout: 246 seconds]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fp6Ps
simukis has joined #nixos
arjen-jonathan has quit [Ping timeout: 250 seconds]
<azazel> hey guys I've enabled pcscd from configuration options (which in turn installs the pcsclite package) and them as a user I've installed opensc suite of applications that depends on pcsclite too, but looking into the hashes of the running software in nix store, pcscd and opensc depend on different releases of pcsclite and that's is probably causing the fact that I'm not able to see my smartcard, how that's possible? How can I fix it?
LogicAside has quit [Ping timeout: 250 seconds]
jperras has quit [Quit: WeeChat 2.2]
periklis has quit [Ping timeout: 244 seconds]
<clever> azazel: if you install those extra things via environment.systemPackages, it will be more likely to come from the same nixpkgs set and not have issues
<clever> azazel: and its likely channels that are to blame, what does `nix-channel --list` show as both root and non-root
LogicAside has joined #nixos
<ottidmes> clever: maybe you know, do you know how to add a loopback device to NixOS. For now I have worked around it by using the dummy kernel module, which allows you to create dummy network devices for testing purposes, which comes down to basically the same.
<azazel> clever: this is the situation https://pastebin.com/W5qq90XU
halfbit has quit [Ping timeout: 260 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #51463 → Kafka: 2.0.0 -> 2.0.1, Add 2.1 → https://git.io/fp613
fendor has joined #nixos
cyris212_ has joined #nixos
<azazel> clever: strange, a "nix-env -u opensc" did not upgrade opensc to a working release but a "nix-env -e opensc && nix-env -iA nixos.opensc" did install a version whose dependency is the same as the system pcscd
<ottidmes> azazel: its just the different outputs, as you can see the -bin postfix in pcscd
pkx3 has joined #nixos
sir_guy_carleton has joined #nixos
<fendor> to those that can remember my problem with raspberry pi building the linux kernel from source: the channel was unstable, switching to stable fixed the issue
<azazel> ottidmes: it doesn't seem to me like a valid reason for the discrepancy
<ottidmes> azazel: nix-store --query --outputs $(nix-store --query --deriver /nix/store/8j0vhzpma6ivvvk25gmvwkixxcjzfjyw-pcsclite-1.8.23)
Mateon3 has joined #nixos
<ottidmes> azazel: ah, I see, the 23 vs 24 version... hmm
<azazel> ottidmes: yes ;-)
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
jtojnar has joined #nixos
ixxie has joined #nixos
<ottidmes> azazel: not sure if that only works well with having your own nixpkgs checkout or whether its useful when using nix-channel, but maybe nix-env --file <nixpkgs> -u opensc would have worked? (I don't use nix-env, just systemPackages and nix-shell for me)
<{^_^}> [nixpkgs] @dmjio opened pull request #51464 → Add disable core optimizations → https://git.io/fp6Mo
<clever> azazel: `nix-env -i opensc` will search for a package with `opensc` in .name
__red__ has quit [Remote host closed the connection]
<clever> shouldnt be any others though...
dsx has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
<sphalerite> ,imperative azazel
<{^_^}> azazel: nix-env has multiple drawbacks as an imperative package manager. nix-env -u will sometimes upgrade to the wrong thing; the outputs to install are very finicky to override; and packages that have been removed or are otherwise unavailable will remain in your profile without any warnings. Consider using a ,declarative setup instead.
<azazel> sphalerite: thanks
<{^_^}> [nixpkgs] @globin merged pull request #51437 → qlcplus: fix udev rules path → https://git.io/fpKj9
<{^_^}> [nixpkgs] @globin pushed commit from @nyanloutre to master « qlcplus: fix udev rules path »: https://git.io/fp6DI
graphene has quit [Remote host closed the connection]
<dmj`> yo can someone merge this https://github.com/NixOS/nixpkgs/pull/51464/files
graphene has joined #nixos
<gchristensen> dmj`: probably should wait at least more than 10min :P
<gchristensen> there are three people who'd like to review it, indicatedby their listing themselves as codeowners. if they don't respond soon (but they probably will!) then someone else could merge I suppose
<cyris212_> Could someone point me in the right direction on what this error means?
<cyris212_> builder for '/nix/store/h2cd26qdmv8m5h2gxc8amwq58ga2yasb-dirvish-1.2.1.drv' failed to produce output path '/nix/store/9agq7jk70xvdrbk7mb9fj9aw219ib4l8-dirvish-1.2.1'
<dmj`> gchristensen: alright :)
pie___ has joined #nixos
<dmj`> gchristensen: it's just some utility thing, thought it could be a quickie
<dmj`> gchristensen: not like a derivation or anything
<cyris212_> The build script and expression that cause this error can be found here -> https://github.com/winpat/nixpkgs/tree/add_dirvish/pkgs/tools/backup/dirvish
<symphorien> usually it means that the build didn't create $out
<symphorien> but it does not completely fit the files you linked
dsx has joined #nixos
<symphorien> this package does not need a dedicated builder
<ottidmes> cyris212_: installPhase is not called automatically when using a builder
pie__ has quit [Ping timeout: 260 seconds]
<ottidmes> cyris212_: just use installPhase attribute rather than a dedicated builder like symphorien suggests and it should work
<cyris212_> symphorien: ottidmes: thanks a lot. I'm going to to try it out.
<enleth> ,declarative
<{^_^}> There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
<{^_^}> [nixpkgs] @domenkozar pushed to master « chrome-token-signing: fix path to opensc-pkcs11 »: https://git.io/fp6yC
<{^_^}> [nixpkgs] @domenkozar pushed to release-18.09 « chrome-token-signing: fix path to opensc-pkcs11 »: https://git.io/fp6y4
Enzime has quit [Ping timeout: 250 seconds]
waleee has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @M-Gregoire closed pull request #51438 → thunar: 1.7.10 -> 1.8.2 → https://git.io/fp6TO
waleee has joined #nixos
fendor has quit [Ping timeout: 272 seconds]
fendor has joined #nixos
fendor has quit [Read error: Connection reset by peer]
Tucky has quit [Quit: WeeChat 2.2]
c0bw3b_ has joined #nixos
Radivarig has joined #nixos
<dmj`> Is there a way to get the value of $USER in nix
<gchristensen> what for?
<dmj`> gchristensen: I want to copy some files from disk into the nix store, to be referenced by derivations
<gchristensen> ok, what do you need $USER for?
<dmj`> gchristensen: the path is relative to the user
<gchristensen> oh dear :)
<dmj`> gchristensen: I know
<dmj`> gchristensen: trust me I know
<clever> dmj`: ./foo.txt
<clever> now its relative to the nix file that needs it
johanot has joined #nixos
<gchristensen> yes, will that not work?
<dmj`> clever: it can't be relative to the directory the command is executed, since users have the repo on different locations
<dmj`> s/on/at
<gchristensen> ./foo.txt is relative to where the .nix file which contains ./foo.txt, not by where the program is executed
<gchristensen> if you have foo.bar and foo.nix in the same directory, any reference to ./foo.bar inside foo.nix will always correctly refer to foo.bar
<dmj`> gchristensen: so foo.txt will always be in a directory on the file system that is relative to the users home path, the .nix scripts could be anywhere
<gchristensen> yeah, check out that impure.nix link ^
vidbina has quit [Ping timeout: 246 seconds]
<dmj`> this is only temporary
<dmj`> until a db is chosen or a git repo is used
<dmj`> etc. etc.
Graf_Blutwurst has quit [Quit: WeeChat 2.3]
pietranera has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @Gerschtli closed pull request #51406 → nixos/pmount: add pmount programs module → https://git.io/fpKuA
ThatDocsLady has quit [Ping timeout: 252 seconds]
jrolfs has quit [Ping timeout: 250 seconds]
johanot has quit [Quit: WeeChat 2.2]
kreisys has joined #nixos
c00w has joined #nixos
<avn> Folks, can anyone take eye on https://github.com/NixOS/nixpkgs/pull/51454 ? I feel lot of folks will suffer from broken libreoffice in master.
<{^_^}> #51454 (by avnik, 3 hours ago, open): mythes: fix link error on missed `tinfo` library (ncurses)
sigmundv_ has quit [Ping timeout: 246 seconds]
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
Thra11 has joined #nixos
shabius_ has quit [Quit: Leaving]
shabius has joined #nixos
<tdeo> hi, i'm looking for a way to apply a patch to wine-staging
<tdeo> i can patch wineStable and wineUnstable fine
<tdeo> but since Staging is an override of Unstable i can't call overrideAttrs on it
cyounkins has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9bdbd595db0 (from 52 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<tdeo> is there any other option i can do here?
arjen-jonathan has joined #nixos
Neo-- has quit [Ping timeout: 268 seconds]
endformationage has joined #nixos
jrolfs has joined #nixos
v0|d has joined #nixos
sanscoeur has joined #nixos
<ottidmes> tdeo: maybe its not satisfactory, but you could also just copy staging.nix, modify it the way you want, and add it to your overlay
<ixxie> hey folks... running into `error: opening lock file '/nix/var/nix/profiles/default.lock': Permission denied
<ixxie> when doing home-manager switch
philippD has joined #nixos
klntsky has joined #nixos
simukis has quit [Quit: simukis]
<tdeo> i actually figured it out, i was able to run overrideDerivation on wineStaging which should be enough... remaking patches now and going to build
<sphalerite> ixxie: does ~/.nix-profile exist (even if its destination doesn't)?
<tdeo> aaaaand i accidentally made the patches for wine 3.14 instead of 3.18
fusion809 has quit [Remote host closed the connection]
worldofpeace has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fp6dE
fusion809 has joined #nixos
<sphalerite> anybody know tools suitable for manipulating PDFs more or less losslessly, e.g. splitting into pages and rejoining?
<sphalerite> hyper_ch: I know you do PDF things :p
reinhardt has joined #nixos
acarrico has quit [Remote host closed the connection]
<c0bw3b_> sphalerite: the "standard" tool is pdfsam but I believe it is not part of nixpkgs
<{^_^}> [nixpkgs] @peti merged pull request #51464 → Add disable core optimizations → https://git.io/fp6Mo
<{^_^}> [nixpkgs] @peti pushed commit from @dmjio to master « Add disable core optimizations (#51464) »: https://git.io/fp6F7
<clever> c0bw3b_: is source available?
<__monty__> sphalerite: You can use mutool, it comes with mupdf.
<sphalerite> clever: yes, it says right there that pdfsam basic is open source
<avn> teto: probably add `patches ? []` argument to staging would be good idea, as well as to base wine expression as well
<sphalerite> (AGPL)
<sphalerite> __monty__: that does sound a bit more to my liking :p thanks
<__monty__> np, I much prefer mupdf's rendering to poppler's. It's a pretty big quality difference for me. And I like sharing the love.
<ixxie> sphalerite: thanks, that was the issue; I accidently moved all my hidden ~ files elsewhere
<avn> sphalerite: pdftk is a king ;)
<{^_^}> [nixpkgs] @FRidh opened pull request #51467 → openblas: 0.3.3 -> 0.3.4 → https://git.io/fp6bJ
<avn> sphalerite: alhtough would be nice to replace it with pure java version, due gcj deprecation in 6.x epoch
<sphalerite> __monty__: rendering doesn't seem relevant to what I'm trying to do…
<tdeo> hmm, if i override wineStaging it adds my patch before the rest of the staging patches
<tdeo> i need it to be after the staging patches
<avn> tdeo: preConfigure probably then, or postPatch (can't remember on what stage staging patches applying)
jrolfs has quit [Ping timeout: 268 seconds]
<sphalerite> hm I don't see anything that splits a PDF into pages in mutool
<avn> tdeo: overrideDerivation staging (self: { postPatch = self.postPatch + yourcode; }) should work
<sphalerite> avn: pdftk does seem to have something though, thanks!
<tdeo> thanks, i'll try that
<avn> sphalerite: only one disadvantage -- it pull gcc/gcj 6.x, which builds solely for it. Is a pure jave fork exists, but I am not too familiar with java stuff.
<sphalerite> avn: eh, it's a one-off and I'm not short on space
acarrico has joined #nixos
<avn> sphalerite: my weekly updates sometimes going too long ;)
<__monty__> sphalerite: Unless you want to convert the pdfs to jpg or read them, sure. Having great rendering won't be an obstacle though.
jrolfs has joined #nixos
<sphalerite> __monty__: not part of my use case :p I do already use mupdf for actually viewing pdfs, or with a tiny patch for presentation fun (view with the current slide on the projector and the current and next slides on the laptop monitor, + remote control from my phone) :D
<neonfuz> Hello
<__monty__> Ooo, nice.
<neonfuz> the latest anki on nixos-unstable doesn't compile for me
<neonfuz> I was wondering, just so I can finish this nix-env -u if there's an easy way to pin packages
<neonfuz> I thought there was
<neonfuz> I looked up pinning packages, but I just want to temporarily prevent nix-env from updating it
<neonfuz> I don't want to make it permanant
<ottidmes> neonfuz: so you are normally on nixos-unstable, but you want to use nixos-18.09's version for anki, I would use the following which also works the other way around (adding stable to otherwise unstable based system)
<ottidmes> ,unstable neonfuz
<sphalerite> __monty__: https://github.com/lheckemann/presremote it's an awfully hacky HTTPish server written with bash and netcat but hey it works :p the viewing the next slide stuff is just by running multiple mupdf instances and shuffling them around with i3 and teeing the commands into all 3 instances
<neonfuz> that's not what I want
<neonfuz> I want to temporarily keep my installed version
<neonfuz> I know there's a way to do this because I've done it before
<ottidmes> neonfuz: then just add an root to it?
<neonfuz> I just don't remember which nix command it's buried under
<neonfuz> is that how you do it?
<sphalerite> neonfuz: use nix-env -iA <packages> where <packages> are the ones that aren't anki
<neonfuz> yeah ik
<neonfuz> I'm sick of doing that though
<neonfuz> every time a package beraks on me I manually do that
<neonfuz> and it takes forever
<ottidmes> neonfuz: adding a root for it would prevent it from garbage collecting, but if its still in nix-env, the newer version would be installed, its just that the old version will be kept in the store
Laalf has joined #nixos
<sphalerite> neonfuz: actually maybe using --prebuilt-only with -u will do, as a hack
<ottidmes> neonfuz: but if its just the bin folder you need, you could just add it to your $PATH
<sphalerite> but -u is kind of awful
<sphalerite> ,imperative
<{^_^}> nix-env has multiple drawbacks as an imperative package manager. nix-env -u will sometimes upgrade to the wrong thing; the outputs to install are very finicky to override; and packages that have been removed or are otherwise unavailable will remain in your profile without any warnings. Consider using a ,declarative setup instead.
<__monty__> ,declarative
<{^_^}> There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
<neonfuz> oh I found it
<neonfuz> nix-env --set-flag keep true <package>
<ottidmes> neonfuz: export PATH=/nix/store/...-anki-.../bin:$PATH, in environment.shellInit probably (or systemd service, or activation scripts (be careful with those))
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fp6NR
<neonfuz> ottidmes: I found the solution I was looking for ^
<Laalf> hello! does someone run optimus on a laptop? i have a thinkpad w530 and i am not able to set it up. i have the external outputs wired to the nvidia chip. so i need the nvidia card
dsx has quit [Quit: dsx]
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fp6Nz
<neonfuz> man it's sorta crazy that you guys didn't know about '--set-flag keep true', nix has too many features I swear lol
<ottidmes> neonfuz: I dont use nix-env, pretty sure a lot of people dont
<neonfuz> ah yeah
gspia has quit [Quit: Leaving]
m0rphism has joined #nixos
<Laalf> i was able to get optimus to run with glxgears, that is no problem. what is a problem are my external outputs
<jw358> is there a link i should read about locale problems on travis?
johnw_ is now known as johnw
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
<{^_^}> #38991 (by peti, 33 weeks ago, closed): glibc 2.27 breaks locale support
arjen-jonathan has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bb94d419fb2 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jrolfs has quit [Ping timeout: 244 seconds]
<jw358> so if i understand correctly, the fix for many problems is in https://github.com/NixOS/nixpkgs/issues/38991#issuecomment-400657551
<ottidmes> I think so, in my case I had some stuff left behind in my nix-env that conflicted with my system installed glibc
jrolfs has joined #nixos
<jw358> hot damn, it worked
<jw358> ottidmes: thanks
reinhardt has quit [Quit: Leaving]
cyris212_ has quit [Ping timeout: 256 seconds]
simukis has joined #nixos
freeman42x has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
Thra11 has quit [Ping timeout: 250 seconds]
samrose has quit [Quit: Konversation terminated!]
doyougnu has joined #nixos
Phillemann has joined #nixos
<Phillemann> nixos-unstable 16 days old. How come?
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7c73f53d836 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<cocreature> Phillemann: read the top of https://howoldis.herokuapp.com/ and look at the failed jobs on the hydra link
<gchristensen> Phillemann: congratulations, it is no longer! :)
<cocreature> but it has just updated luckily :)
arjen-jonathan has joined #nixos
<Phillemann> cocreature: I admit...I'm simply too lazy for that.
<Phillemann> The output is mostly too technical for me.
<cocreature> then I’m not sure what answer you are hoping to get
<Phillemann> Well, something condensed. "Some MacOS tests fail" or "There's this extremely tricky kernel integration test bug". :)
<clever> last i looked, it was some random linux tests
<cocreature> failing macos tests don’t block nixos-unstable afaik
<cocreature> and there is rarely a single reason that blocks updates for 2 weeks. it changes
aexoxea has quit [Quit: Goodbye!]
<Phillemann> It's complicated. Got it. :)
<gchristensen> :D
<Phillemann> Well, good to know "stuff" got fixed.
shpx has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9bdbd595db0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
mmlb has joined #nixos
waleee has quit [Quit: WeeChat 2.3]
Church_ has joined #nixos
<fusion809> Hi folks, I'm writing a nix file for building the Unplugged RA mod of OpenRA. The problem is that it needs its game engine (OpenRA itself) to be fetched using a script, fetch-engine.sh, that calls Python. As this is needed before the build, so that the engine files can be patched to work on NixOS, I have placed the fetch-engine.sh command in "extraPostFetch". The problem is that Python isn't being detected in extraPostFetch.
<fusion809> How do I give it Python? What adjustments to PATH are needed?
jrolfs has quit [Ping timeout: 245 seconds]
<fusion809> The dir /run/current-system/sw/bin doesn't have it, although $HOME/.nix-profile/bin does. But I'm not sure if I should point it to something that is only on my local system.
<vaibhavsagar> fusion809, can you replace your invocation of python with "${pkgs.python3}/bin/python"
<fusion809> That sounds excellent :). Thanks.
mehak has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<fusion809> vaibhavsagar: now I'm getting this error: https://pastebin.com/B3mLcjFT (Python 3 isn't used by OpenRA, Python 2 is, IIRC).
<avn> fusion809: build a OpenRA as derivation, build mod using existing OpenRA as library?
<fusion809> Must admit I'm a Nix beginner as what you're suggesting sounds beyond my abilities. I'm trying to build it the same way I build my RPM and Arch packages for this mod.
<avn> fusion809: or if you want build all-at-once, just replace fetch-engine.sh to copy pre-fetched engine sources from store (and write fetch derivation)
<avn> fusion809: network activity is prohibited during build
<fusion809> OK, so you're suggesting adding an extra source to the src field in the Nix file?
<timokau[m]> fusion809: Basically you can only access the network when you provide a hash of the expected result
<avn> I can't say, until look on sources and/or your expression
<timokau[m]> So you won't be able to download something in postFetch
<avn> I'd suggest to patch out built-in fetching, and unpack OpenRA sources in prePatch
<{^_^}> [nixpkgs] @matthewbauer opened pull request #51469 → gimp: fix on darwin → https://git.io/fpiv0
<fusion809> Here's my default.nix file, https://gist.github.com/8b621e5ee921960b16e1b8bee9a6d764. Must admit, most of what you's have said is beyond me. I have no idea what much of what you're saying means. As I said, I'm a beginner.
<fusion809> I know how to add additional sources to RPM and Arch package spec and PKGBUILDs, respectively, but how to do so with a Nix file is beyond me.
<{^_^}> [nixpkgs] @matthewbauer opened pull request #51470 → Fix gimp 18.09 → https://git.io/fpivX
boxscapeR has joined #nixos
<boxscapeR> Is there a way to see a list of all available python packages
<dmj`> nix repl '<nixpkgs>'
<tilpner> > builtins.attrNames pythonPackages
<{^_^}> [ "3to2" "APScheduler" "BTrees" "Babel" "BlinkStick" "CDDB" "ColanderAlchemy" "CommonMark" "CommonMark_54" "ConfigArgParse" "EasyProcess" "EditorConfig" "Fabric" "FormEncode" "GeoIP" "GitPython" "IBMQ...
<dmj`> > pythonPackages.
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):211:1
<dmj`> boxscapeR: use that nix repl
<boxscapeR> thank you
eliasp has joined #nixos
<vaibhavsagar> boxscapeR: `nix-instantiate --eval '<nixpkgs>' -A "pythonPackages"`
<Phillemann> Hm. anki fails with the latest nixos-unstable.
<Phillemann> Shouldn't all software be built by hydra?
<timokau[m]> fusion809: Is the `fetch-engine` script actually necessary? i.e. is it doing anything complicated? Otherwise you could just fetch the engine source directly using the nix fetchers
<c0bw3b_> I'm pretty sure I still don't understand what goes into staging-next
<avn> fusion809: you need own fetchFromGitHub for OpenRA, then replace all stuff https://gist.github.com/fusion809/8b621e5ee921960b16e1b8bee9a6d764#file-default-nix-L24 with copying ${openRA.src}/ (wit re-enabling +w on them)
<c0bw3b_> even after re-reading the RFC
<timokau[m]> c0bw3b_: staging-next is only stabilization of stagign
<timokau[m]> So pretty much just fixes
<c0bw3b_> the latest staging PR embeds pretty much any recent commits causing a mass-rebuild though.. not just stability or security fixes
<c0bw3b_> worse: older commits lingering in the pile are ignored (tzdata, libnftnl, iptables, ..)
<ottidmes> Phillemann: if you look back in the logs, someone asked about anki before you: https://logs.nix.samueldr.com/nixos/2018-12-03#1768995
<c0bw3b_> latest *staging-next* PR
<{^_^}> [nixpkgs] @noneucat opened pull request #51471 → polar-bookshelf: 1.0.13 -> 1.1.0 → https://git.io/fpifz
<timokau[m]> c0bw3b_: It is forked from staging, so it will be mass rebuilds. After the fork, it will only get fixes
<fusion809> Not sure if it is necessary. They actually use their own fork of the OpenRA engine. How do I add additional fetchers? Like I've tried rm the ; at line 32 and ++ fetchzip { at line 33 (with under it the details of where the engine's URL is).
samrose has joined #nixos
<fusion809> Here's the updated nix file: https://gist.github.com/e3ee3a3aefa253376b5b47f3d0c27850
<fusion809> .
<ottidmes> fusion809: place a ; after engine: https://gist.github.com/fusion809/e3ee3a3aefa253376b5b47f3d0c27850#file-default-nix-L34 its right there by the syntax highlighter
<timokau[m]> fusion809: You could just do something like `engine = fetchFromGitHub ...`. Then `${engine}` will be a variable that points to the downloaded engine
<fusion809> OK, and it'll automatically download it? Or do I have to call it somewhere>?
crmlt has joined #nixos
graphene has quit [Remote host closed the connection]
<c0bw3b_> timokau[m] ok it gets clearer, but still find it strange that commits from 12hours ago are already in staging-next
<timokau[m]> c0bw3b_: Wasn't staging-next just very recently forked from staging?
graphene has joined #nixos
<c0bw3b_> timokau[m] no idea
jrolfs has joined #nixos
<timokau[m]> c0bw3b_: Yes, looks like that was just 9 hours ago. So 9 hours ago we started a new cycle by taking everything in "staging" and putting it into "staging-next". New stuff will now go to "staging", while "staging-next" will stabilize (being built on hydra, bugs fixed). Then "staging-next" will be merged into master and "staging" becomes the next staging-next
<{^_^}> [nixpkgs] @Ralith opened pull request #51472 → renderdoc: 1.1 -> 1.2 → https://git.io/fpiJJ
<timokau[m]> fusion809: It works just as it does with `src`. It will automatically download it (as long as it is accessed somewhere, its lazy)
<timokau[m]> fusion809: Okay `src` is a bad example because it is used in the `unpackPhase` and you don't have to access it directly, but in principle you could access the `${src}` variable
ng0 has joined #nixos
<timokau[m]> So you could do `echo ${engine}` which would print the path the engine was downloaded to. Or `cp ${engine} ./engine`. Note that `${engine}` is *not* a shell variable but a nix variable.
crmlt has quit [Quit: leaving]
<c0bw3b_> timokau[m]: then I guess any PR toward staging that is ready should be merged sooner then
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50700 → libnftnl: 1.1.1 -> 1.1.2 → https://git.io/fpCY9
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging: https://git.io/fpiJE
<timokau[m]> c0bw3b_: If its ready there is no reason to hold it back. It will not influence the staging-next rebuilds.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51252 → iptables: 1.6.2 -> 1.8.2 → https://git.io/fpwgK
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging: https://git.io/fpiJa
<{^_^}> [nixpkgs] @prusnak opened pull request #51473 → applications.audio.luppp: new package (at version 1.2.0) → https://git.io/fpiJH
<avn> c0bw3b_: could you please make me favor, and look on https://github.com/NixOS/nixpkgs/pull/51454 ?
<{^_^}> #51454 (by avnik, 6 hours ago, open): mythes: fix link error on missed `tinfo` library (ncurses)
<c0bw3b_> yes i've seen it quickly, not familiar with libreoffice and such though
<c0bw3b_> issue happened after a bump of hunspell?
<avn> c0bw3b_: just broken transitive dependency, not LO itself. Probably yes, broken by hunspell. Because it was built week ago.
ixxie has quit [Ping timeout: 246 seconds]
<fusion809> I'm looking at openttd and how it works with extra sources. So far I have: https://gist.github.com/e7e91345c9eb2f101f281edcba08cf6c. It doesn't seem to be fetching engine, and decompressing it as an engine subdirectory isn't being detected.
palo1 is now known as palo
<fusion809> I'm hoping the engine is fetched, decompressed and placed within the uRA directory and named 'engine'. But, if I'm following how this works, it doesn't seem that directory is being created. I do not see any sign of the engine bing fetched.
<fusion809> being^
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hyper_ch> sphalerite:pdf things?
<c0bw3b_> avn I wonder if the real fix shouldn't rather be to declare ncurses as a propagatedBuildInputs in hunspell
<c0bw3b_> will comment on the issue
civodul has joined #nixos
sigmundv_ has joined #nixos
<Phillemann> Hm, steam also broken in nixos-unstable.
<hyper_ch> sphalerite: https://github.com/sjau/pdfforts
<hyper_ch> the maintool behind that is pdftk
m0rphism has quit [Quit: WeeChat 2.2]
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @eliasp opened pull request #51474 → kdeconnect: init module → https://git.io/fpiTP
<avn> c0bw3b_: you are right. Although I thrilling due upcoming ~12 hour rebuild of everything :/
<ottidmes> Phillemann: not to say that its not a problem (i.e. it should not be broken on unstable), but if you want a more stable system in general, I would recommend just using the stable nixos-18.09 channel and combine it with an unstable channel for those probably few packages that you really need have the bleeding edge versions of
<c0bw3b_> avn: ok I'll cook an express PR
<Phillemann> ottidmes: Somebody told me once that every package gets built by hydra, and I'm wondering how these failures can even happen.
<Phillemann> I mean, it's a 404 with steam.
<avn> c0bw3b_: np, I I'll doing now myself.
<c0bw3b_> avn: ok
<avn> I believe no need to rebuild LO and chromium to proof that all works
<Phillemann> ottidmes: It's actually ok for me to be unstable. I like to contribute issues and fixes. :)
<{^_^}> [nixpkgs] @redvers opened pull request #51475 → mediawiki: 1.29.1 -> 1.31.1 → https://git.io/fpikq
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51452 → dmrconfig: 2018-11-07 -> 1.0 → https://git.io/fp68L
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpikn
__red__ has joined #nixos
<{^_^}> #51475 (by redvers, 1 minute ago, open): mediawiki: 1.29.1 -> 1.31.1
<__red__> if there's a way to tag a PR for security reasons - I don't know how
<eliasp> what's the correct way to extend a list in Nix? mylist = mylist + ["foo"]? or is there some in-place operation like mylist.append("foo")?
freeman42x has quit [Quit: Leaving]
<c0bw3b_> __red__: done
<__red__> thanks c0bw3b_
lnikkila has quit [Ping timeout: 244 seconds]
<simpson> eliasp: `mylist ++ [ "foo" ]`
<eliasp> simpson: thanks
<simpson> There are not any in-place mutable operations on Nix values that I know of, although I'm surely about to be proven wrong.
<__red__> I didn't know if it was appropriate to add my name to the list of maintainers for the package
<__red__> so I didn't
<boxscapeR> ugh, I feel stupid. I just spend half an hour debugging because I used `<path>` instead of `import <path> {}`
<boxscapeR> I feel like types would have helped with that...
<boxscapeR> s/spend/spent
<ottidmes> Phillemann: In that case, please keep doing that! :) But its not true that every package is succesfully build by Hydra before its moves the channel to a new commit. It is always the aim though to get as close to zero failures as possible at every stable release
<avn> c0bw3b_: updated, at least pkgs.mythes builds with propagated (I push'd to same PR branch)
<c0bw3b_> __red__ well adding yourself to the list without forcibly replacing any other name should always be accepted
<__red__> RGR, thanks.
<__red__> although strictly speaking I'm not sure it's a package "per se", so I just didn't want to futz with it
<__red__> I just wanted the fix in
<Phillemann> ottidmes: Ah, I see.
<c0bw3b_> __red__: yheah exactly I'm writing a comment on your PR directly... fetching from a service module is weird.. it should be a package
<__red__> Honestly - it's over my pay-grade to know how to fix that.
<__red__> I figured it would be better for the fix to be in than for me to ignore it
<__red__> <--- Still very much at the "Cargo Cult"-stage of NixOS contributions :-/
<ottidmes> Phillemann: it just needs to pass certain tests, which is why you should use nixos-unstable rather than nixpkgs-unstable, because nixos-unstable has tests that make sure nixos should generally still work properly, but it will have a lot more issues and uncached packages than nixos-18.09 has
<c0bw3b_> __red__: NP. it still a good move to just update the service module as-is
<__red__> maybe it's something I can have a go at after this one gets committed
<__red__> I'm happy to maintain it
<fusion809> When I try to edit files in $engine, like with sed, in postPatch and preConfigure I get permission denied errors. How do I delete the fetch lines in it? This is what I have atm https://gist.github.com/a8b5066b02178d9dc486c12ea51dfa52. I'm trying to debug this, but this is turning into a time-consuming nightmare.
kisik21 has joined #nixos
<__red__> c0bw3b_: I'm also going to add some configuration docs to the wiki as right now there isn't much (any?) in the way of documentation on how to configure it
<c0bw3b_> avn: ah good :) you have a PR incoming?
<ottidmes> fusion809: you are trying to edit things in the nix store, since ${engine} will result into the path to the nix store where the engine is stored, and nix store is readonly
<c0bw3b_> __red__: karma points for you if you do. moar docs (anywhere) is always welcome yes ^^
hamishmack has joined #nixos
<ottidmes> fusion809: and since you copy with attributes in places, you keep things readonly
<fusion809> OK, so how do I edit what I need to, when I'm trying to build uRA? I need an engine directory in uRA, that contains those files, so I'm guessing this attributes talks means I'm going to have to find a cp option to remove these attributes?
vk3wtf has quit [Ping timeout: 268 seconds]
<fusion809> Well all I find attributes-wise in the cp man pages pertains to the --attributes-only option, which sounds like the opposite to what I want.
<ottidmes> fusion809: the proper solutions is probably srcs, but if you want to do it like you do know, you can do: cp --no-preserve=mode
<avn> fusion809: `cp -v -r --no-preserve=all ${engine} engine` (remove -v when you see that all works)
m0rphism has quit [Quit: WeeChat 2.2]
m0rphism has joined #nixos
jackjennings has joined #nixos
<fusion809> avn: thanks for trying to help, I do appreciate it, same thanks goes to ottidmes. Unfortunately the cp -v -r --no-preserve=all... copies it fine, but it seems still to be read-only as line 52 returns: "/nix/store/r88k69yw8zikrpsj1pkk3xgg1vi3cx0g-stdenv-linux/setup: line 101: engine/thirdparty/fetch-thirdparty-deps.sh: Permission denied"
<fusion809> Oops, that might be line 53.
<fusion809> I'll see what it's doing wrong.
<simpson> fusion809: It's likely no longer executable; you may have to run sh on it directly, I think.
<fusion809> Ah, so add `sh` to the start of line 53?
<avn> fusion809: you need to do something with fetch-thirdparty deps as well ;)
m0rphism has quit [Client Quit]
m0rphism has joined #nixos
<ottidmes> fusion809: you could do what I do here and modify it to your needs (e.g. remove the symlink check, but always copy): https://gist.github.com/ottidmes/9360fc1f0fbd8443506b45c2149388a9#file-vsliveshare-nix-L40-L55
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51471 → polar-bookshelf: 1.0.13 -> 1.1.0 → https://git.io/fpifz
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fpiLi
<fusion809> Ah, well I found what seems to have fixed things, chmod +x engine/thirdparty/*.sh
doyougnu has quit [Ping timeout: 268 seconds]
<gchristensen> ah... that is a reason to not extract in the fetcher, infinisil :)
<tejing> I'm trying to move to the 18.09 channel, and I'm finding that I can't install. It says it 'cannot download libacl1.deb from any mirror'. Tracing the dependencies, the problem seems to be coming from steam. Any ideas how to get around this easily?
<fusion809> The problem is that now I'm getting the error: unzip: cannot find or open StyleCopPlus.MSBuild.zip, StyleCopPlus.MSBuild.zip.zip or StyleCopPlus.MSBuild.zip.ZIP. I copied the buildInputs from OpenRA, hoping that it would provide the files needed by engine/thirdparty/* scripts, as it uses the same inputs as OpenRA did.
<ottidmes> fusion809: but copying like this is a hack, the proper way would be this I believe: https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/endgame-singularity/default.nix#L8-L18
<{^_^}> #49048 (by xurei, 5 weeks ago, closed): Steam won't install - cannot download libvulkan1.deb from any mirror
<tejing> c0bw3b: yeah, found that issue, and it does seem similar. still doesn't tell me what to do about it though
doyougnu has joined #nixos
vidbina has joined #nixos
<__red__> I have steam installed on my local machine which means I probably have the source files in my nix/store if we need to upload them somewhere
<avn> ottidmes: this approach works, if source designed to be unpacked side-by-side, nut by internal fetch-some-crap script
<avn> fusion809: check from where this archive should come, or why it unpacked. Sometimes it even not need to build
<avn> (although I feel pain each time when I see any dotnet code. Sometimes I though, that it not desogned for clean from-source build, only to co-existing with some artifact storage)
<c0bw3b_> tejing: actually it may well be a new that could require running the steam update script again.. could you open a new issue please?
<ottidmes> avn: sure it works, like I linked, I am using it myself too, but only because I had no other choice, but the srcs example I linked should end up with the a similar situation, maybe needing a simple move rather a cp from /nix/store
<c0bw3b_> tejing: and mention Synthetica9 and Infinisil who tackled the previous issue
<ottidmes> avn: tell me about it, vsliveshare was a pain to get working properly (half nodejs half dotnet)
sanscoeu_ has joined #nixos
mmlb has quit [Read error: Connection reset by peer]
mmlb has joined #nixos
<symphorien> can I declare a remote builder to have several architectures ? I am building i686 derivation but they are not sent to my x86_64 builders
<gchristensen> comma separated I think
sanscoeu_ has quit [Remote host closed the connection]
sanscoeur has quit [Ping timeout: 268 seconds]
freeman42x has joined #nixos
graphene has quit [Remote host closed the connection]
<tejing> c0bw3b_: issue posted: https://github.com/NixOS/nixpkgs/issues/51476
<{^_^}> #51476 (by tejing1, 4 minutes ago, open): Steam won't install - cannot download libacl1.deb from any mirror
graphene has joined #nixos
Ariakenom has quit [Quit: Leaving]
<symphorien> thanks gchristensen !
arjen-jonathan has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @jtojnar opened pull request #51477 → sublime3-dev: 3176 → 3183 → https://git.io/fpim3
dsx has joined #nixos
<dsx> How to fix sound in minecraft? sound.enableOSSEmulation is set to true, but that seems to not be enough.
<{^_^}> [nixpkgs] @bhipple opened pull request #51478 → libffi: swap src URL from FTP to HTTPS → https://git.io/fpiml
vk3wtf has joined #nixos
jrolfs has quit [Ping timeout: 246 seconds]
<ottidmes> dsx: do you have hardware.pulseaudio.enable = true; sound.enable = true; as well?
<dsx> Sure!
<ottidmes> dsx: user added to the "audio" group?
simukis has quit [Quit: simukis]
rprije has joined #nixos
<dsx> Yes. I have sound everywhere else.
<ottidmes> dsx: if minecraft is run with a minecraft user, maybe add "audio" to the minecraft user?
<dsx> No, I'm running it as my user
<symphorien> what is the right lib.platforms for "x86 linux (32 or 64 bits)" for meta.platform ?
<gchristensen> I think i686?
vidbina has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @c0bw3b opened pull request #51479 → udisks: 2.8.0 -> 2.8.1 → https://git.io/fpiYY
ng0 has quit [Quit: Alexa, when is the end of world?]
<attente[m]> i'm struggling to understand what the proper approach to development is under nixos. how are things like pkg-config, CFLAGS, and LD_LIBRARY_PATH, etc handled properly in this environment?
<clever> attente[m]: nix-shell handles all of those vars
<symphorien> i686 also works for i686 bsd and so on, right ? I would like i686-linux
<clever> attente[m]: `nix-shell -p pkgconfig`
<attente[m]> clever: thanks, this looks useful :)
<{^_^}> [nixpkgs] @bhipple opened pull request #51480 → fetchurl: fix and add extra KDE mirrors → https://git.io/fpiYE
<attente[m]> clever: for some reason when i try `pkg-config --list-all` in a nix-shell, i get no results though :(
<ottidmes> in Nix to get proper set like behavior, the only two options I got are lib.unique and attrNames (listToAttrs (map (value: nameValuePair value true) ...))?
<symphorien> ah apparently meta.platform can be a list of strings
<clever> attente[m]: you need to put other packages in the -p list, to see them
<attente[m]> clever: oh ok, thanks!
<{^_^}> [nixpkgs] @Mic92 opened pull request #51481 → radare: remove → https://git.io/fpiY6
jackdk has joined #nixos
<avn> ottidmes: I see a lot of dotnet crap dancing around `nuget restore`/`nuget push`, and IDK how to force them use only local packages to build.
<{^_^}> [nixpkgs] @johanot opened pull request #51482 → kubernetes: 1.12.2 -> 1.12.3 → https://git.io/fpiY9
<{^_^}> [nixpkgs] @Mic92 opened pull request #51483 → radare2: 3.1.1 -> 3.1.2 → https://git.io/fpiY7
<ottidmes> avn: it also does not like being in a readonly directory, or it generates binaries after the initial run, that do need to be patched in order to work, fun!
__monty__ has quit [Quit: leaving]
<symphorien> gchristensen: now that ofborg counts as checks, if I force push my PR, the history of ofborg builds seems to be lost. It may make it hard to follow discussions.
epicmetal has joined #nixos
<avn> ottidmes: not sure. but if you know how to force nuget work with chain on repos from buildInputs, you win ;) I am not big expert in dotnet, just updated mono couple times.
johanot has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #51478 → libffi: swap src URL from FTP to HTTPS → https://git.io/fpiml
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpiOE
<ottidmes> avn: I have done like 2 projects in .NET and packages 1 on NixOS, so don't know much about it either, but what you asks seems doable to me. Just create a global packages folder with symlinks to the right store paths and provide the path with: NUGET_PACKAGES
<{^_^}> [nixpkgs] @polynomial opened pull request #51485 → Add mock to the list of whisper's test inputs. → https://git.io/fpiOP
<{^_^}> [nixpkgs] @Mic92 merged pull request #51477 → sublime3-dev: 3176 → 3183 → https://git.io/fpim3
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpiOX
shpx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #50661 → pcre2: 10.31 -> 10.32 → https://git.io/fpcAy
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to staging: https://git.io/fpiO7
<gchristensen> symphorien: aye, what do you think we could do about that?
pkx3 has quit [Read error: Connection reset by peer]
nD5Xjz has quit [Ping timeout: 246 seconds]
pkx3 has joined #nixos
<symphorien> Nothing comes to my mind right now
<xantoz> I have a system that fails on systems-fsck@<dev-disk-by-uuid-to-the-EFI-partition>. It boots fine on the first generation, but any of my later generations fail for some reason.
<c0bw3b_> what is the workaround to have ofBorg running a test?
<c0bw3b_> build nixosTests.testname ?
shpx has joined #nixos
<{^_^}> [nixpkgs] @johanot opened pull request #51486 → kubernetes: 1.11.4 -> 1.11.5 → https://git.io/fpi3k
dsx has quit [Ping timeout: 252 seconds]
<avn> ottidmes: so.. we need something to simulate `nuget push`, and setup-hook crawling buildInputs make make /build/.fake_nuget_repo with symlinks
dsx has joined #nixos
dsx has left #nixos [#nixos]
ramirez7 has joined #nixos
<xantoz> the problem is it gets stuck, even though this ought to be non-fatal... I even tried adding nofail for the FS
<ottidmes> avn: yeah, so $out would contain the fake repo
<avn> ottidmes: part of repo with library/whatever we want to build. Which can be part of input for another build
<avn> Or NUGET_PACKAGES can be a list like PATH, etc?
nD5Xjz has joined #nixos
dslegends has quit [Quit: dslegends]
<avn> well, so each build need to be local mashup, or even buildInputs = [ mono (mkNugetMashup [ dotnetDep1 dotnetDep2]) ];
<avn> `NUGET_PACKAGES = mkNugetMashup [ dotnetDep1 dotnetDep2]) ];` really ;)
<ottidmes> avn: it would be cool if it could be something like: nugetWithPackages [ dep1 dep2 ]
<avn> yup
doyougnu has quit [Ping timeout: 250 seconds]
<ottidmes> which could just be a wrapper with NUGET_PACKAGES set
<eliasp> when developing a module, how do I properly test it using my current environment? for a new one, I simply included it in my configuration.nix (see: https://github.com/NixOS/nixpkgs/pull/51474), but what's the right approach for one which is already part of my regular channel? just ending up with "The option … is already declared in …" this way for those changes:
<{^_^}> #51474 (by eliasp, 1 hour ago, open): kdeconnect: init module
<avn> ottidmes: and build single dir with links to required packages
<ramirez7> Hello, I'm having trouble adding keys to my NixOps deployment: `users.extraUsers.root.openssh.authorizedKeys.keys` is set to a list of 3 keys. I successfully deploy, and I see that `/etc/ssh/authorized_keys.d/root` contains all 3 keys. But `/root/.ssh/authorized_keys` does not seem to have been updated.
<ramirez7> And my new keys are rejected
<ottidmes> avn: exactly, it would create a dir with those links set up properly and in /bin/nuget it would have a nuget wrapper with NUGET_PACKAGES pointing to that dir
<gchristensen> symphorien: I think the new mechanism is a big improvement over the comments, even if it isn't quite as nice in the force push case
<ottidmes> ramirez7: nixops add them on the fly, you could add them explicitly the way you want by just exporting them and adding them to your config yourself
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/d45a0d7a4f5 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<ottidmes> ramirez7: see nixops export and sshPublicKey in the exported JSON
johanot has quit [Quit: WeeChat 2.2]
<ottidmes> avn: if you have a simple example that uses nuget, I dont mind trying creating such a thing
<{^_^}> [nixpkgs] @Mic92 merged pull request #51483 → radare2: 3.1.1 -> 3.1.2 → https://git.io/fpiY7
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpis3
shpx has quit [Quit: Textual IRC Client: www.textualapp.com]
<ramirez7> ottidmes: hmm I'm not following. I have the public keys (from me + my team members) pasted into my nixops source code for the machine & would like `nixops deploy` to authorize all of them. fwiw, the machine itself wasn't spawned or managed by NixOps (I provisioned it on DO & put the IP in my Nix source)
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #51401 → all-packages.nix: Alias self to res, deprecating self → https://git.io/fpKEz
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fpisz
klntsky has quit [Ping timeout: 256 seconds]
<avn> ottidmes: pkgs/games/ckan/default.nix maybe? (but newer release, which is completely nuget based)
mkoenig has quit [Ping timeout: 246 seconds]
<ottidmes> ramirez7: ah, I thought you had a case of, using nixops, and then rebuilding directly yourself, because then nixops can no longer auth in it, because the ad-hoc added public key used by nixops would then be removed by the rebuild
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
mkoenig has joined #nixos
<ramirez7> I believe my `/root/.ssh/authorized_keys` file was not created my Nix (and instead created by DO upon provisioning when I pasted my public key into their UI)
<ottidmes> avn: honestly I have almost no experience with mono, I am looking at ckan, but where would that nugetWithPackages come into play?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<avn> ottidmes: newer version hae all crap like ./build shellscript, which try downloading nuget.exe, *.csproj which call nuget restore from under guts, etc.
<avn> honestly most (if not all) our mono/.net related stuff need to be revamped
feep has joined #nixos
<{^_^}> [nixpkgs] @uvNikita opened pull request #51487 → ddclient: 3.8.3 -> 3.9.0 → https://git.io/fpisd
<ottidmes> avn: ah like so, yeah that sounds problematic, because that would mean things would get stale, right (if newer versions would no longer work with current setup)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #51479 → [18.09] udisks: 2.8.0 -> 2.8.1 → https://git.io/fpiYY
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to release-18.09: https://git.io/fpisb
<__red__> c0bw3b_: am I out of line kicking the can down the road on the operational things too?
doyougnu has joined #nixos
<__red__> <-- still trying to understand NixOS culture
<avn> ottidmes: well, I'd like to do something with (and for) opensource stuff.
<c0bw3b_> __red__: no PR are here for this (review, feedbacks, taking another approach or completing stuff)
<ottidmes> avn: of course! I am packaging something right now, after I am done with that, I will see if I can update ckan and see what kind of hell will break lose and what we can do about it :P
<c0bw3b_> __red__: this PR is going to update on master only, we would then need to backport the change on release-18.09 for stable users
dbmikus has quit [Quit: WeeChat 2.3]
<c0bw3b_> (precising because you mention exisitng installations)
<avn> ottidmes: would be cool. Tell me if I can help with review/testing/whatever else.
MinceR has quit [Ping timeout: 250 seconds]
<__red__> c0bw3b_: thanks
MinceR has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #51488 → cowsay: fix cross → https://git.io/fpiGE
<gchristensen> flokli: the important packages I see!
<{^_^}> [nixpkgs] @globin pushed to release-18.09 « strongswan: fix patch's CVE number »: https://git.io/fpiGP
<LnL> :D
freeman42x has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #51481 → radare: remove → https://git.io/fpiY6
<{^_^}> [nixpkgs] @globin pushed commit from @Mic92 to master « radare: remove »: https://git.io/fpiZO
<{^_^}> [nixpkgs] @rasendubi merged pull request #51327 → loop: init at unstable-2018-10-02 → https://git.io/fpoDH
<{^_^}> [nixpkgs] @rasendubi pushed 3 commits to master: https://git.io/fpiZg
<c0bw3b_> avn: sry looks like you'll need another rework of your mythes PR (see issue last comments)
jrolfs has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
<avn> c0bw3b_: revert to nativeBuildInputs in mythes?
<c0bw3b_> avn: yep passing ncurses as nativeBuildInputs (not just buildInputs) in _mythes_
<c0bw3b_> it was almost right the first time.. my bad >;<
<avn> I still have it in my WIP branch ;)
<c0bw3b_> clever :p
<avn> c0bw3b_: Just won't do massive rebuild today/tomorrow ;)
<flokli> gchristensen: sure, cowsay is mission-critical!
<avn> c0bw3b_: it trigger browsers and LO
<{^_^}> [nixpkgs] @Mic92 merged pull request #51488 → cowsay: fix cross → https://git.io/fpiGE
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpiZF
<flokli> Mic92: awww <3
<LnL> gchristensen: if it breaks the multi-user installer doesn't work anymore
<c0bw3b_> flokli++ for cowsay ^^
<{^_^}> flokli's karma got increased to 1
<boxscapeR> Is there a way to find out in which file a nix expression is defined? For example, I want to find the definition of buildPythonPackage
<flokli> uff, seems I need to package more to get some stickers…
<avn> c0bw3b_: btw, may be _better_ solution would be sed -i Makefile.am "/noinst_PROGRAMS/d"?
<avn> (and add autoreconfHook to nativeBuildInputs?)
<c0bw3b_> avn: dunno tried to take a quicklook at the makefile but it seems it will try to build it anyway
<c0bw3b_> seems easier to have ncurses available at build time
<{^_^}> [nixpkgs] @Mic92 merged pull request #49392 → nixos/containers: don't create veths if not configured → https://git.io/fx7vJ
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpinf
<c0bw3b_> (plus the example program might be run as a kind of check program, cf arch package)
<boxscapeR> (actually it looks like you can find the path if you just look at the output from entering the function in nix repl)
<avn> ok. and I probably take look back tomorrow, and may be finish mythos with splitting outputs
<c0bw3b_> avn: afk from now, I'll check mythes tomorrow morning and merge if everythings good
<avn> c0bw3b_: I just pushed ;)
dmc has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @Mic92 merged pull request #51485 → Add mock to the list of whisper's test inputs. → https://git.io/fpiOP
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fpins
<c0bw3b_> avn: kay will wait for the eval then ^^
Church_ has quit [Ping timeout: 246 seconds]
dmc has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 2 commits to staging-18.09: https://git.io/fpinS
<avn> c0bw3b_: ty ;)