gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<{^_^}> [nixpkgs] @Gerschtli opened pull request #41815 → dwm-status: add xsetroot and alsaUtils as runtime deps → https://git.io/vha41
<{^_^}> [nixpkgs] @matthewbauer pushed to master « bind: only include libcap on linux »: https://git.io/vha4H
spear2 has joined #nixos
seafood has joined #nixos
silver has quit [Read error: Connection reset by peer]
saep has quit [Remote host closed the connection]
halfbit has quit [Ping timeout: 256 seconds]
<sir_guy_carleton> okay i've brought this up before, but i'm trying to fix this now
<sir_guy_carleton> i'm trying to run a python script, but it says it cannot find the attr module
<YegorTimoshenko[> sir_guy_carleton: could you show full stacktrace?
<sir_guy_carleton> http://termbin.com/gaos
<sir_guy_carleton> it's the dictionary script for qutebrowser
acarrico has quit [Ping timeout: 264 seconds]
<sir_guy_carleton> not something that i wrote
<{^_^}> [nixpkgs] @bhipple closed pull request #41767 → mariadb, mariadb.connector-c: fix source URLs → https://git.io/vh2iU
<YegorTimoshenko[> sir_guy_carleton: this should work: https://share.riseup.net/#QU-3bddiMPyladpmdHP_qg
<YegorTimoshenko[> place `shell.nix` alongside script you're trying to run and then call `nix-shell`. you will enter a shell that will work with that script
<YegorTimoshenko[> i've assumed python3, but if script only supports python2, replace `python3Packages` with `pythonPackages`
<gchristensen> * I think pythonPackages is python2 now, and you'd have to use python2Packages specifically
<YegorTimoshenko[> it still seems to be python2 (at least on latest nixos-unstable-small), but it would be very nice to make it point to python3
<gchristensen> oh I thought it was updated
<sir_guy_carleton> YegorTimoshenko[: i replace 'example' with the script name, right?
<{^_^}> [nixpkgs] @matthewbauer pushed 5 commits to master: https://git.io/vhaBD
<YegorTimoshenko[> sir_guy_carleton: it can be any arbitrary string
justanotheruser has quit [Ping timeout: 265 seconds]
freeman42]NixOS has joined #nixos
<YegorTimoshenko[> it is a derivation name. it is appended to nix store path to make it easier to navigate through it, also nix-env uses it to determine whether some derivation is a package update or a new package, and all nix tools use that to show what's currently being built
<YegorTimoshenko[> s/through it/through the store/
tzemanovic has quit [Remote host closed the connection]
freeman42x]NixOS has quit [Ping timeout: 264 seconds]
mahalel_ has joined #nixos
mounty has quit [Ping timeout: 264 seconds]
offline has quit [Ping timeout: 245 seconds]
cloud-maingo has joined #nixos
mounty has joined #nixos
logzet has quit [Ping timeout: 255 seconds]
q3k has quit [Ping timeout: 240 seconds]
logzet_ has joined #nixos
justanotheruser has joined #nixos
offline has joined #nixos
ericsagn1 has joined #nixos
sorixelle has joined #nixos
TolleLege has joined #nixos
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux-copperhead: LTS based on regular 4.14 »: https://git.io/vhaRY
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux-copperhead: LTS based on regular 4.14 »: https://git.io/vhaRG
nuncanada has joined #nixos
hoshineko has joined #nixos
worldofpeace has joined #nixos
logzet_ has quit [Remote host closed the connection]
lord| has quit [Ping timeout: 256 seconds]
lord| has joined #nixos
andreabe_ has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko pushed to master « wireguard-go: drop redundant relative import patch »: https://git.io/vhaRy
<worldofpeace> I'm trying to download a file from gitlab using their file api: https://docs.gitlab.com/ee/api/repository_files.html#get-raw-file-from-repository . I'm using fetchurl and I need a header option to curl so I'm using the argument curlOpts. But it's not working :( . Here's a simple snippet https://gitlab.com/snippets/1723364
<YegorTimoshenko[> worldofpeace: why not just use github-compatible raw urls? e.g. https://gitlab.com/yegortimoshenko/overlay/raw/master/default.nix
<worldofpeace> YegorTimoshenko[: Sorry I'm actually using a raw url to a file in GitLab. But it's a **private** repo so In order to curl It needs the access token in the header of the request
<YegorTimoshenko[> worldofpeace: this is definitely a nixpkgs bug. i remember fetchurl arg handling being flaky
<{^_^}> [nixpkgs] @bgamari opened pull request #41817 → cmake: Only apply application-services.patch with 3.11 → https://git.io/vhaRj
<YegorTimoshenko[> could you open an issue?
<worldofpeace> Yep. I have no idea what to describe exactly though.
<YegorTimoshenko[> quoted arguments in fetchurl curlOpts don't work
<worldofpeace> That does make sense. I was looking in nixpkgs tree and I only see unquoted arguments working.
q3k has joined #nixos
aarvar has quit [Ping timeout: 248 seconds]
<YegorTimoshenko[> maybe as a workaround ''-G -H PRIVATE-TOKEN:\ XXX'' will work
<YegorTimoshenko[> s/will/would/
<worldofpeace> :( It doesn't. Looks like I'm hacking on fetchurl now :)
<{^_^}> [nixpkgs] @bgamari opened pull request #41818 → kicad-unstable: 2018-03-10 -> 2018-06-10 → https://git.io/vha0G
lassulus_ has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
<YegorTimoshenko[> worldpeace: i believe https://github.com/NixOS/nixpkgs/pull/17757 fixes that
Supersonic112 is now known as Supersonic
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
<worldofpeace> YegorTimoshenko[: Yeah looks like it. I'm going to pester everyone now to move it forward. Looks like some changes were requested.
<gchristensen> is there a way to know which generation I'm on?
<worldofpeace> nix-env --list-generations maybe
xcmw has joined #nixos
oltoAltn has quit [Ping timeout: 245 seconds]
<gchristensen> nice thanks
<worldofpeace> YegorTimoshenko[: Yeah --retry 3 should be there
olto has joined #nixos
asuryawanshi has quit [Read error: Connection reset by peer]
<YegorTimoshenko[> worldofpeace: fixed review stuff
<worldofpeace> YegorTimoshenko[: Great!
<worldofpeace> YegorTimoshenko[: Could I use use this in an overlay until it's merged?
<YegorTimoshenko[> yes, it won't cause mass rebuild
Lev50 has joined #nixos
tzemanovic has joined #nixos
<worldofpeace> oh, then I see a merge happening soon then
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @orivej opened pull request #41819 → pruneLibtoolFiles: init setup hook → https://git.io/vha0N
tzemanovic has quit [Ping timeout: 256 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jtojnar merged pull request #41785 → sequeler: 0.5.4 -> 0.5.5 → https://git.io/vh2Aa
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/vhaEf
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41817 → cmake: Only apply application-services.patch with 3.11 → https://git.io/vhaRj
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhaEL
MP2E has quit [Remote host closed the connection]
MP2E has joined #nixos
jperras has joined #nixos
<worldofpeace> YegorTimoshenko[: I'm getting `attribute 'release' missing, at fetchurl/default.nix:136:20`
JasonGrossman has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<YegorTimoshenko[> worldofpeace: it is only present in nixos-unstable: https://github.com/NixOS/nixpkgs/commit/9274ea390348e17f766732e7fbd335e3bc164954
<YegorTimoshenko[> hm
<worldofpeace> I'm on unstable...
<YegorTimoshenko[> ah, it should be lib.trivial.releaes
<YegorTimoshenko[> lib.trivial.release
<worldofpeace> yep just tested it.
Have-Quick has quit [Quit: Have-Quick]
Have-Quick has joined #nixos
woodson has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #40948 → whois: 5.3.0 -> 5.3.1 → https://git.io/vhJN9
<{^_^}> [nixpkgs] @yegortimoshenko pushed 2 commits to master: https://git.io/vhaE1
MP2E has quit [Remote host closed the connection]
woodson has joined #nixos
xcmw has joined #nixos
<worldofpeace> alas that doesn't unintentionally fix my issues... I'll open the report in this case.
<worldofpeace> It seems it tries to resolve the token within the ops as a host and then it fails and tries the actual url without the Opts
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xcmw has joined #nixos
xcmw has quit [Client Quit]
JasonGrossman has joined #nixos
xcmw has joined #nixos
init_6 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhauT
smallville7123 has joined #nixos
smallville7123 has quit [Client Quit]
matthewbauer has quit [Ping timeout: 245 seconds]
mmlb has joined #nixos
Taneb has quit [Quit: I seem to have stopped.]
justanotheruser has quit [Ping timeout: 245 seconds]
sbdchd has quit [Remote host closed the connection]
sbdchd has joined #nixos
schoppenhauer has quit [Ping timeout: 268 seconds]
schoppenhauer has joined #nixos
sbdchd has quit [Ping timeout: 268 seconds]
nuncanada has quit [Ping timeout: 240 seconds]
cloud-maingo has quit [Quit: Connection closed for inactivity]
halfbit has joined #nixos
semilattice has quit [Remote host closed the connection]
Lev50 has quit [Quit: This computer has gone to sleep]
Edes has joined #nixos
halfbit has quit [Ping timeout: 245 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/23f2dfd9f5a (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
smallville7123 has joined #nixos
justanotheruser has joined #nixos
schoppenhauer has quit [Ping timeout: 264 seconds]
Ross has quit [Ping timeout: 245 seconds]
schoppenhauer has joined #nixos
Ross has joined #nixos
b has quit [Quit: Lost terminal]
sbdchd has joined #nixos
halfbit has joined #nixos
sbdchd has quit [Ping timeout: 260 seconds]
jperras has quit [Quit: WeeChat 2.1]
andreabe_ has quit [Quit: Textual IRC Client: www.textualapp.com]
smallville7123 has quit [Quit: rosa]
olto has quit [Quit: ZNC - https://znc.in]
olto has joined #nixos
worldofpeace has quit [Ping timeout: 240 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
init_6 has quit [Ping timeout: 256 seconds]
mizu_no_oto has joined #nixos
init_6 has joined #nixos
smallville7123 has joined #nixos
halfbit has quit [Ping timeout: 276 seconds]
hiroshi has quit [Ping timeout: 240 seconds]
hiroshi has joined #nixos
martinga_ has joined #nixos
martingale has quit [Ping timeout: 264 seconds]
halfbit has joined #nixos
smallville7123 has quit [Quit: rosa]
shiver has quit [Remote host closed the connection]
shiver has joined #nixos
MercurialAlchemi has joined #nixos
robstr has joined #nixos
Guanin has quit [Ping timeout: 264 seconds]
mahalel_ has quit [Ping timeout: 240 seconds]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
Guanin has joined #nixos
inquisitiv3 has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blankhart has joined #nixos
bluewolfy[m] has joined #nixos
andreabe_ has joined #nixos
Lev50 has joined #nixos
jmsb has joined #nixos
<jmsb> hey everyone--i am having issues running godot and glxgears. glxgears is segfaulting--could use some guidance on how to diagnose
Lev50 has quit [Quit: Leaving]
jmsb has quit [Remote host closed the connection]
tzemanovic has joined #nixos
hamishmack has joined #nixos
hyper_ch2 has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
tzemanovic has quit [Ping timeout: 248 seconds]
testuser has joined #nixos
xy2_ has joined #nixos
sbdchd has joined #nixos
bitmapper[m] has joined #nixos
Have-Quick has quit [Quit: Have-Quick]
<hyper_ch2> question: proxmox is pretty nice with creating VMs through webinterface and having that splice viewer for the vms available... if I just use kvm/qemu on my nixos, how would I integrate the splice viewer on a website on that server? anyone ever done that?
sbdchd has quit [Ping timeout: 256 seconds]
travankor has joined #nixos
xy2_ has quit [Ping timeout: 260 seconds]
goibhniu has joined #nixos
Lev50 has joined #nixos
<Lev50> Any node2nix users here?
<andreabe_> lev50: I'm using it right now
<andreabe_> not understanding it too much but still ...
<Lev50> I've been trying to get this to work http://nicknovitski.com/nix-npm-install
<Lev50> But it ends up autogenerating me a file like this https://pastebin.com/MZQzjDmC
<Lev50> And nodejs_4 support has been dropped by nix
<Lev50> So ? pkgs."nodejs-4_x"}: on line 6 fails
<andreabe_> right, I'm passing -8 to node2nix
woodson has quit [Ping timeout: 276 seconds]
<Lev50> I am as well but it doesn't do anything :(
travankor has quit [Quit: Mutter: www.mutterirc.com]
johnw_ has joined #nixos
<Lev50> Are you using nix-npm-install too?
<andreabe_> what's wrong with your file? no, I'm not
<Lev50> So nix-npm-install is a script that calls node2nix for global installations
<Lev50> Like grunt-cli is something you'd want to install with npm -g. Its meant to replace that. https://pastebin.com/ijSUc0Qi
johnw has quit [Ping timeout: 265 seconds]
mbrgm has joined #nixos
<Lev50> But this line ` ${super.nodePackages.node2nix}/bin/node2nix -8 --input <( echo "[\"$1\"]")` has the -8 and yet the autogenerated file still shows nodejs_4
inquisitiv3 has quit [Ping timeout: 264 seconds]
<Lev50> That is interesting, but not quite as elegant as what I'm trying to set up
<Lev50> Thanks for your help anyway.. this is probably something I should contact the owner of that blog to help with
<andreabe_> no problem, I just happed to be fighting with node2nix too :D
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f2ddbba1d85 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
Lev50 has quit [Quit: This computer has gone to sleep]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
reinzelmann has joined #nixos
Biappi has quit [Remote host closed the connection]
justbeingglad has joined #nixos
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm has joined #nixos
justbeingglad has left #nixos [#nixos]
thc202 has joined #nixos
LnL has quit [Read error: Connection reset by peer]
ixxie has joined #nixos
tzemanovic has joined #nixos
Ariakenom has joined #nixos
LnL has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
tzemanovic has quit [Ping timeout: 248 seconds]
johanot has joined #nixos
vandenoever has quit [Ping timeout: 264 seconds]
fendor has joined #nixos
blankhart has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #41821 → perlPackages.JSON: fix cross-compilation → https://git.io/vhaKo
vaninwagen has joined #nixos
freeman42]NixOS has quit [Ping timeout: 248 seconds]
myshoe has joined #nixos
seafood has quit [Quit: seafood]
Edes has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Izorkin opened pull request #41822 → asio: add old version 1.10.8 → https://git.io/vha6n
winem_ has joined #nixos
<{^_^}> [nixpkgs] @Chiiruno opened pull request #41823 → meguca: 2018-05-26 -> 2018-06-10 → https://git.io/vha6X
civodul has joined #nixos
sbdchd has joined #nixos
freeman42x]NixOS has joined #nixos
sbdchd has quit [Ping timeout: 245 seconds]
seafood has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
MercurialAlchemi has quit [Ping timeout: 264 seconds]
MercurialAlchemi has joined #nixos
ThatDocsLady has joined #nixos
MichaelRaskin has quit [Quit: MichaelRaskin]
Biappi has joined #nixos
smallville7123 has joined #nixos
optikfluffel has joined #nixos
JasonGrossman has quit [Remote host closed the connection]
JasonGrossman has joined #nixos
optikfluffel has quit [Ping timeout: 276 seconds]
jasongro` has quit [Ping timeout: 264 seconds]
Jetien has joined #nixos
atu has joined #nixos
Jetien has quit [Ping timeout: 256 seconds]
smallville7123 has quit [Quit: rosa]
phdoerfler has joined #nixos
<{^_^}> [nixpkgs] @rolfschr opened pull request #41824 → Fix a typo in doc/languages-frameworks/python.section.md. → https://git.io/vha1l
johanot has quit [Quit: Leaving.]
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
init_6 has quit []
asuryawanshi has quit [Ping timeout: 256 seconds]
andreabe_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/tomcat: fix eval error introduced by #40657 »: https://git.io/vha1F
<{^_^}> [nixpkgs] @xeji pushed to release-18.03 « nixos/tomcat: fix eval error introduced by #40657 »: https://git.io/vhaML
spear2 has quit [Remote host closed the connection]
spear2 has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2211 → tests: more robust check for user namespaces availability (canUseSand… → https://git.io/vhRsZ
<{^_^}> [nix] @edolstra pushed 4 commits to master: https://git.io/vhaMZ
sbdchd has joined #nixos
philippD has joined #nixos
MercurialAlchemi has quit [Remote host closed the connection]
sbdchd has quit [Ping timeout: 265 seconds]
MercurialAlchemi has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Baughn to release-18.03 « zfs: Fix "zfs-sync" for modern systemd »: https://git.io/vhaDk
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #41824 → Fix a typo in doc/languages-frameworks/python.section.md. → https://git.io/vha1l
<{^_^}> [nixpkgs] @Mic92 pushed commit from @rolfschr to master « doc/languages-frameworks/python.section.md: fix typo (#41824) »: https://git.io/vhaDa
johanot has joined #nixos
roberth has joined #nixos
<{^_^}> [nixpkgs] @orivej pushed 2 commits to master: https://git.io/vhaDS
atu has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #41821 → perlPackages.JSON: fix cross-compilation → https://git.io/vhaKo
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhays
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
TonyTheLion has joined #nixos
JasonGrossman has quit [Remote host closed the connection]
JasonGrossman has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41664 → nwipe: init at 0.24 → https://git.io/vhzQL
<{^_^}> [nixpkgs] @xeji pushed commit from @woffs to master « nwipe: init at 0.24 (#41664) »: https://git.io/vhaSc
Neo-- has joined #nixos
Neo--- has joined #nixos
ixxie has joined #nixos
Neo-- has quit [Ping timeout: 260 seconds]
humanoyd has joined #nixos
Huddo121 has joined #nixos
TacNuke has joined #nixos
qaw has joined #nixos
TacNuke has quit [Client Quit]
qaw has quit [Client Quit]
<mupf> Hello
<mupf> I tried to install NixOS using a usb stick on my old laptop. It's the exact same laptop I have now.
<mupf> But the installer throws a kernel panic in my face
atu has joined #nixos
<mupf> anyway to debug this?
tmaekawa has joined #nixos
freeman42x[nix] has joined #nixos
tmaekawa has quit [Client Quit]
<goibhniu> hi mupf, at what stage does it panic?
hoshineko has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jtojnar opened pull request #41827 → libgtop: fix darwin build → https://git.io/vhada
<{^_^}> [nixpkgs] @tokudan opened pull request #41828 → firefox-bin: 60.0.1 -> 60.0.2 critical security update → https://git.io/vhadN
freeman42x[nix] has quit [Ping timeout: 256 seconds]
<clever> mupf: and how did you write the image to the usb stick?
ericsagn1 has quit [Ping timeout: 256 seconds]
hoshineko has joined #nixos
<manveru> quick question about cross compilation... i'd like to add e.g. aarch64 to the crystal package, but the build itself must be done x86_64-(linux|darwin), is that possible?
simukis has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #41827 → libgtop: fix darwin build → https://git.io/vhada
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/vhaAt
<clever> manveru: yes
<{^_^}> [nixpkgs] @volth opened pull request #41829 → nixos/initrd-network: support hetzner → https://git.io/vhaAq
<clever> manveru: nix-build '<nixpkgs>' --arg crossSystem '(import <nixpkgs/lib>).systems.examples.aarch64-multiplatform' -A hello
<clever> manveru: this builds the hello-world app for aarch64
atu has quit [Changing host]
atu has joined #nixos
atu is now known as adamt
<adamt> That's extremely impressive.
<clever> (import <nixpkgs> { crossSystem = (import <nixpkgs/lib>).systems.examples.aarch64-multiplatform; }).hello
<clever> thats what the --arg is doing
<manveru> clever: is there a way to do that on hydra too?
<clever> manveru: just put the above expression into a release.nix file
<manveru> i meant for the nixos hydra
<clever> it will use the build slaves that have the same arch as the hydra machine
<manveru> i guess we don't really support them yet
<{^_^}> [nixpkgs] @tokudan opened pull request #41830 → firefox-bin: 60.0.1 -> 60.0.2 critical security update → https://git.io/vhaAr
<clever> the nixos hydra doesnt pre-build much with cross-compiling, but it does do some native aarch64 builds
<manveru> ok, i'll have to dig into that tonight :)
<manveru> don't really have anything but linux and darwin to test with, but i'd like to make the package avaiable to all the llvm platform targets
<mupf> goibnhi stage 2
Neo---- has joined #nixos
<mupf> clever I used dd same way as before
<{^_^}> [nixpkgs] @cleverca22 opened pull request #41831 → ntp: fix a missed syscall in seccomp → https://git.io/vhaxs
<mupf> goibhni
<manveru> you mean goibhniu :)
Neo--- has quit [Ping timeout: 260 seconds]
tzemanovic has joined #nixos
sorixelle has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
silver has joined #nixos
<goibhniu> heh ... tricky to spell, if your client doesn't do tab-completion :D
<mupf> manveru: indeed. damn mobile client
<{^_^}> [nixpkgs] @kamilchm opened pull request #41833 → ponyc: 0.22.6 -> 0.23.0 → https://git.io/vhaxM
sorixelle has joined #nixos
Alsjman has joined #nixos
hoshineko has quit [Quit: hoshineko]
<mupf> I try to dd the image again
<mupf> see if this makes any difference
hoshineko has joined #nixos
Alsjman has left #nixos [#nixos]
<mupf> indeed
<mupf> it booted
<mupf> oh alright. nevermind then :)
<mupf> and thanks
<goibhniu> unsatisfying ... but good :D
<{^_^}> [nixpkgs] @manveru opened pull request #41834 → Crystal: 0.24.2 -> 0.25.0 → https://git.io/vhapf
tzemanovic has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 265 seconds]
logiq has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #41566 → gitaly: Cause ruby-cd to be wrapped so bundler will work → https://git.io/vh0Io
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhapP
mafo has joined #nixos
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<mafo> hello anybody there?
<goibhniu> hi mafo
<mafo> hi
<mafo> i'm really stuck with a problem and looking for some ideas
<mafo> I want to debug a build with nix-shell : like nix-shell '<nixpkgs>' -A linphone
<{^_^}> [nixpkgs] @Mic92 merged pull request #41831 → ntp: fix a missed syscall in seccomp → https://git.io/vhaxs
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhahq
<mafo> and when i run a script nix-shell with an error nix-shell exits
<mafo> is there a way to keep nix-shell interactive?
<clever> mupf: i think its `set +e`
hoshineko has quit [Quit: hoshineko]
<mafo> i tried set +e but it didnt help
adamt has quit [Ping timeout: 256 seconds]
rardiol1 has quit [Remote host closed the connection]
<clever> Mic92: what do you think about backporting my openat PR to 18.03 and/or 17.09?, they may have the same issue because the previous PR was also backported
judson has quit [Ping timeout: 240 seconds]
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed commit from @cleverca22 to release-18.03 « ntp: fix a missed syscall in seccomp »: https://git.io/vhah6
<clever> Mic92: (facepalm), i think my pr that was just merged only fixes it on 32bit...
<mafo> when i set +e it get
<mafo> Builder called die: Cannot wrap '/nix/store/fq3c5vhzkiijbvsbsqxyx07y76v55n0w-linphone-3.12.0/bin/.buddy_status-wrapped_' because it is not an executable file Backtrace: 3 assertExecutable /nix/store/pa4bdc1nsw0vz1sn9fc9xrm03x5l5lws-hook/nix-support/setup-hook 6 makeWrapper /nix/store/pa4bdc1nsw0vz1sn9fc9xrm03x5l5lws-hook/nix-support/setup-hook 13 wrapProgram /nix/store/pa4bdc1nsw0vz1sn9fc9xrm03x5l5lws-hook/nix-support/setup-hook 0 _cal
<mafo> i get a backtrace and a line that says exit
<clever> mafo: backtraces, in a shell script??
<mafo> yes
<mafo> ok maybe its a backtrace from the nix-shell command
<mafo> builder called die .....backtrace ..... exit
ericsagn1 has joined #nixos
judson has joined #nixos
judson is now known as Guest15446
<mafo> what is the prefered way to debug a derivation and run build phases interactively? maybe i'm using nix-shell in the wrong way
<clever> mafo: what commands have you ran?
<mafo> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.2, nixpkgs: /home/mafo/nixpkgs
<mafo> ok
<mafo> nix-shell '<nixpkgs>' -A linphone
<mafo> set +e
lostman has joined #nixos
<mafo> genericBuild
<{^_^}> [nixpkgs] @pSub merged pull request #41794 → mariadb.connector-c: 2.3.5 -> 2.3.6 → https://git.io/vhaeh
<{^_^}> [nixpkgs] @pSub pushed 2 commits to staging: https://git.io/vhajD
tzemanovic has joined #nixos
<clever> mafo: i think genericBuild may change the s state again
<clever> e*
<clever> mafo: i would just re-launch the shell after it fails, and then try make in the dir it made
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
__monty__ has joined #nixos
<clever> Mic92: let me just upstream the fix and then file a PR with that diff
<Mic92> clever: ok
<mafo> ok thanks
hoshineko has joined #nixos
<hoshineko> hello, is it possible to have package options (nixpkgs.config.*) per-user
<YegorTimoshenko[> hoshineko: sure, add options to ~/.config/nixpkgs/config.nix and those will be available per-user
ixxie has joined #nixos
<logiq> hi, trying to use cachix on a nixos docker image, i get a `InternalException (HandshakeFailed (Error_Protocol (\\\"certificate has unknown CA\\\",True,UnknownCa))))\""}` when doing a cachix push
<logiq> has anyone seen this?
<logiq> i tried installing the cacert package, but that didn't help
<gchristensen> YegorTimoshenko[: when do you sleep?
iyzsong-x has joined #nixos
<YegorTimoshenko[> gchristensen: 1AM - 8AM GMT
<gchristensen> :D
iyzsong has quit [Ping timeout: 265 seconds]
alexteves_ has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
mafo has quit [Quit: Page closed]
phdoerfler has quit [Ping timeout: 240 seconds]
humanoyd has quit [Quit: WeeChat 2.1]
nschoe has joined #nixos
<logiq> also, can someone explain what `-f <nixpkgs>` means when installing? and how is it different from `-f .` mentioned in the manual?
phdoerfler has joined #nixos
<etu> YegorTimoshenko[: So you don't care about leap seconds? :D
<clever> logiq: `-f <nixpkgs>` will search for nixpkgs in $NIX_PATH, while `-f .` just opens the default.nix in the current dir
<logiq> clever: got it. and is `-f <nixpgs>` "better" than `nix-env -iA nixpkgs.foo`?
<clever> logiq: nix-env follows different rules, and will search for nixpkgs in ~/.nix-defexpr/, which will point to a channel called nixpkgs when added with nix-channel
<clever> logiq: <nixpkgs> and `nix-env -iA nixpkgs.` can wind up pointing to different things
<clever> logiq: and the channel is called nixos when on nixos, so you instead need `nix-env -iA nixos.foo`
<logiq> ok.. (i'm not on nixos)
<logiq> so which one should i use? :) i might have even mixed the two
<clever> logiq: id usually stick to `nix-env -iA nixpkgs.foo`
<logiq> btw, `NIX_PATH=nixpkgs=/home/asymmetric/.nix-defexpr/channels/nixpkgs` so it seems they're pointed to the same place
<YegorTimoshenko[> logiq: nix-env -iA nixpkgs.foo uses nixpkgs channel, nix-env -f '<nixpkgs>' -iA foo uses nixpkgs entry on NIX_PATH
<clever> logiq: but if you use a different name, it can run into issues
<YegorTimoshenko[> the latter works both on nixos and non-nixos (linux, darwin) systems
<logiq> ok, i guess i'll stick to the nixpkgs. form then, thanks!
<logiq> does anybody have experience with cachix? i tried posting my issue above on their chan but still got no answer
<YegorTimoshenko[> etu: i always confuse utc with gmt :-)
<{^_^}> [nixpkgs] @vcunat pushed 8 commits to release-18.03: https://git.io/vhVUF
<{^_^}> [nixpkgs] @adisbladis merged pull request #41830 → firefox-bin: 60.0.1 -> 60.0.2 critical security update → https://git.io/vhaAr
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to release-18.03: https://git.io/vhVTq
<{^_^}> [nixpkgs] @adisbladis merged pull request #41828 → firefox-bin: 60.0.1 -> 60.0.2 critical security update → https://git.io/vhadN
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/vhVTY
knupfer has joined #nixos
<etu> YegorTimoshenko[: Well, since it's a channel of really niche people, I wouldn't be surprised if someone had the opinion that leap seconds are bad for some reason ;)
<gchristensen> I only track time in Swatch Beats
acarrico has joined #nixos
<etu> gchristensen: Good man, I've tried that for a while. It was handy sometimes because I had lots of contact with people on IRC all over the timezones and we decided on meetings based on Swatch Internet time :D
<etu> clever: :D
<gchristensen> hah
<clever> !tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
andreabedini has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f2ddbba1d85 (from 12 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<srhb> Can rustPlatform be bootstrapped with musl these days?
<eisbaer> is there a way to set rules for the forward chain in iptables, because rules specified by 'extraCommands' in either networking.firewall or networking.nat are added after the 'reject all' rules
<srhb> musl target support, that is
<clever> eisbaer: mkOrder, one min
nschoe has quit [Ping timeout: 265 seconds]
sbdchd has joined #nixos
nschoe has joined #nixos
andreabedini has joined #nixos
halfbit has quit [Ping timeout: 255 seconds]
<nschoe> Hi everyone, I'm having an issue trying to develop with qtcreator. I have created a shell.nix with "buildInputs = [ pkgconfig cryptopp qt5Full qtcreator ];" inside. The ninside nix-shell I started a qtcreator, but when I try to compile I'm having error: "cannot find -lQt5Widgets, -lQt5Gui, -lQt5xml, -lQt5Core".
<nschoe> I have found this thread: https://github.com/NixOS/nixpkgs/issues/23562 which talks about it
<nschoe> But it says it should be fixed now. Am I missing something?
<{^_^}> [nixpkgs] @Assassinkin opened pull request #41837 → pythonPakchages.pynisher: init at 0.4.2 → https://git.io/vhVLg
logiq has quit [Ping timeout: 276 seconds]
knupfer has quit [Ping timeout: 268 seconds]
logiq has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41833 → ponyc: 0.22.6 -> 0.23.0 → https://git.io/vhaxM
<{^_^}> [nixpkgs] @xeji pushed commit from @kamilchm to master « ponyc: 0.22.6 -> 0.23.0 (#41833) »: https://git.io/vhVtz
MercurialAlchemi has quit [Ping timeout: 265 seconds]
gerschtli has joined #nixos
raynold has quit [Quit: Connection closed for inactivity]
xy2_ has joined #nixos
DwarfMaster has quit [Quit: WeeChat 2.1]
DwarfMaster has joined #nixos
rardiol1 has joined #nixos
<{^_^}> [nixpkgs] @Assassinkin opened pull request #41839 → pythonPakchages.deap: init at 0.4.2 → https://git.io/vhVmO
dbmikus has joined #nixos
<hodapp> nschoe: I feel vaguely like I've done this before... what NixOS version? and what/how are you trying to build?
xcmw has joined #nixos
<nschoe> hodapp, I'm no 18.03
<nschoe> hodapp, but I think I have found a solution:
<nschoe> I have deleted my qtcreator option (or rather I relaunched it with a -settingspath option), and now, when I went into the options to add the Qt kit, it found the correct Qt version.
<nschoe> hodapp, because I noticed that when I entered my shell with `nix-shell`, it downloaded a bunch of libraries etc, and everything was qt 5.11. But when I looked in the qtcreator options, it was talking abotu a qt5.9.
<hodapp> ohh, okay. you were building from within Qt Creator, not from QMake yourself?
<nschoe> So I figured this would come from this, so I restarted qtcreator with a blank settings file, and now it found qt5.11.
<nschoe> hodapp, yes indeed.
<nschoe> [shame]I configured some options in the .pro file, and then clicked the compile & run button on qtcreator [/shame]
<gerschtli> hey, does anyone know where i could get an aarch64 iso of nixos?
<hodapp> nschoe: was it picking up old user settings of yours then?
<gerschtli> i need the result of `nix-build nixos -I nixos-config=nixos/modules/installer/cd-dvd/sd-image-aarch64.nix -A config.system.build.sdImage` but i dont have an aarch64 os installed
<hodapp> nothing's shameful about build in Qt Creator; I'm just trying to remember how it gets its settings since IIRC it behaves somewhat differently from calling QMake
<nschoe> hodapp, I suppose so :/
jperras has joined #nixos
knupfer has joined #nixos
<nschoe> hodapp, what ticked me is that when I was in the config panel to chose / add a Qt Kit, it said "qt5.9" and in "path to qmake" there was "/home/nschoe/.nix-profile" and that seemed weird since I launched it from within nix-shell.
<nschoe> I checked with nix-env -q and I do have qt-5.9 installed (I know this is an error, I'll uninstall)
<hodapp> huh. wonder if it might be good to modify the Qt Creator derivation to point it by default at a specific Qt instance
<hodapp> just to avoid confusion like this
<nschoe> And since I did not know a good way to fix this, I tried launching it with "-settingspath .", figuring this would be a "fresh launch" (which it was indeeded)
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #41776 → openjdk: fix truststore-from-env patch for jdk10 → https://git.io/vh2Sw
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/vhVYg
<nschoe> And now qtreator supposedly scanned the ENV variable (or performed some black magic fuckery ^^) and found the "correct" 5.11 version. Now, in "path to qmake" I have a path inside the nix-store. Which sounds better to me.
<nschoe> hodapp, well I'm not sure, but it would be good if the qtcreator would scan the env variable to find the correct qt version.
<hodapp> likely so. hmm... is there a global Qt Creator config that the user config just overrides?
<nschoe> I'm hoping that next time I enter the nix-shell and it updates qt's version, then qtcreator will find this new version.
<nschoe> hodapp, I don't know :/
<hodapp> wondering if a derivation could write that global config to point to a certain Qt instance
<nschoe> hodapp, yes but if you did this, then qtcreator would not follow qt updates?
<hodapp> what sort of qt updates do you mean?
<nschoe> hodapp, for instance 5.9 -> 5.10 -> 5.11
<hodapp> if the Qt Creator derivation were parametrized over some Qt then it would just be updated along with it
<hodapp> similar to how - for instance - RStudio can point to specific R environments
<nschoe> hum, okay but how would this work: right now qtcreator is 4.5.
<nschoe> This is not related to qt's version, right?
<Dezgeg> gerschtli: read https://nixos.wiki/wiki/NixOS_on_ARM
<hodapp> I think it's more or less independent of Qt version, but not certain
__Sander__ has joined #nixos
lostman has quit [Quit: Connection closed for inactivity]
<gerschtli> Dezgeg: I have read it before, but is there any prebuilt image of the aarch64 version?
<Dezgeg> yes, it's linked from there
sk8forether has joined #nixos
<{^_^}> [nixpkgs] @ciil opened pull request #41840 → gshogi: init at 0.5.1 → https://git.io/vhVsD
anderslundstedt has joined #nixos
Orbstheorem has quit [Quit: leaving]
<hodapp> hmm. I'd run NixOS on my NVidia Jetson TX1 if it didn't require gigs of proprietary monkeypatched NVidia crap.
<{^_^}> [nixpkgs] @Izorkin opened pull request #41841 → samba: fix autostart service → https://git.io/vhVGJ
halfbit has joined #nixos
<Dezgeg> mainline kernel works fine except the tx1 cpufreq still needs a patch series
jD91mZM2 has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
Orbstheorem has joined #nixos
<hodapp> Dezgeg: what about CUDA & OpenGL support?
<Dezgeg> well cuda won't, but opengl should be there with nouveau
<hodapp> hummmm. can I run this off the SD card and leave the onboard flash alone?
<Dezgeg> yes
<hodapp> perhaps I'll try this
mounty has quit [Ping timeout: 264 seconds]
<hodapp> I wanted to have CUDA support, but meh, I can just reboot back into bastard-Ubuntu-derivative-with-Jetpack for that
ryantrinkle has quit [Ping timeout: 260 seconds]
asuryawanshi has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mounty has joined #nixos
<hodapp> is there much of an aarch64 binary cache out there? or... folks using cachix yet?
<hodapp> I guess it's less of an issue on the Jetson since it doesn't fall over as badly as a Pi might under load
<gchristensen> hydra builds aarch64
<hodapp> \o/
olto has quit [Read error: Connection reset by peer]
aarvar has joined #nixos
olto has joined #nixos
<{^_^}> [nixpkgs] @tiramiseb opened pull request #41842 → packer: 1.2.0 -> 1.2.4 → https://git.io/vhVnj
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
sir_guy_carleton has joined #nixos
Orbstheorem is now known as roosemberth
roosemberth is now known as Orbstheorem
knupfer has quit [Ping timeout: 264 seconds]
Orbstheorem is now known as roosemberth[hll]
roosemberth[hll] is now known as MobsterHero
MobsterHero is now known as Orbstheorem
mkoenig_ has quit [Remote host closed the connection]
mkoenig has joined #nixos
reinzelmann has quit [Quit: Leaving]
seafood has quit [Quit: seafood]
<pauldub> I'm trying to setup a projet with ruby 2.4.2 in shell.nix instead of the default 2.4.4 but I don't know how to do so, has anyone done it before?
matthewbauer has joined #nixos
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
iyzsong-x has quit [Quit: ZNC 1.7.0 - https://znc.in]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « ghcjs: remove old-time »: https://git.io/vhVlY
andreabedini has quit [Ping timeout: 264 seconds]
asuryawanshi has quit [Remote host closed the connection]
smallville7123 has joined #nixos
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @dezgeg pushed to master « libbass: Fix src hash »: https://git.io/vhV4R
smallville7123_ has joined #nixos
smallville7123 has quit [Read error: Connection reset by peer]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
selaux has joined #nixos
ryantrinkle has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
cinimod_ has joined #nixos
sorixelle has quit [Ping timeout: 245 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
tnks has joined #nixos
jensens has joined #nixos
<tnks> the program I use for mapping extra keyboard keys to programs on another distribution isn't on Nix. These programs are a dime-a-dozen, though. Is there one people prefer in Nix?
<tnks> maybe it's sxhkd.
smallville7123_ has quit [Quit: rosa]
erasmas has joined #nixos
<hodapp> what program do you use?
mounty has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #41843 → python3Packages.click: fix 'locale' path → https://git.io/vhVR6
<tnks> hodapp: on Debian I used "keylaunch"
<tnks> but for no particular reason beyond, "it worked the first time I set it up."
mounty has joined #nixos
npmccallum has joined #nixos
xcmw has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #41474 → pythonPackages.aws-sam-translator: init at 1.5.4 → https://git.io/vh4gL
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/vhV0L
<manveru> tnks: there's actkbd
halfbit has quit [Ping timeout: 276 seconds]
npmccallum has quit [Remote host closed the connection]
sgraf has joined #nixos
<adisbladis[m]> Hm. I need to detect cyclic dependencies with nix (I'm trying to break the cycle and not cause infinite recursion)
<adisbladis[m]> Has anyone done this before? Any pointers?
npmccallum has joined #nixos
<manveru> tnks: what WM/DE are you using?
<{^_^}> [nixpkgs] @Mic92 merged pull request #41829 → nixos/initrd-network: support hetzner → https://git.io/vhaAq
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/vhV0F
<JasonGrossman> adisbladis[m]: I thought at least some cyclic dependencies were OK - that's why Nix is lazily evaluated.
mounty has quit [Ping timeout: 245 seconds]
<JasonGrossman> tnks: I try to use my window manager for that, but yes sxhkd should be good.
mounty has joined #nixos
grp has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #41603 → pythonPackages.elasticsearch-curator: fix on staging → https://git.io/vhEI8
<{^_^}> [nixpkgs] @dotlambda pushed commit from @danbst to staging « pythonPackages.certifi: 2018.1.18 -> 2018.4.16, cleanup (#41603) »: https://git.io/vhVEM
ThatDocsLady has quit [Ping timeout: 276 seconds]
<sgraf> Hi, I'm trying to get my hands dirty modifying some derivation from nixpkgs so that it builds a more recent commit from github. https://github.com/NixOS/nixpkgs/blob/136403655c15b830fff4f58fd90b3e1478c7ba30/pkgs/development/tools/misc/creduce/default.nix in particular. I made an overlay (https://github.com/sgraf812/.nixpkgs/blob/44bd330f129ee1cc6a0f49d069cca340f1b1f780/overlays/creduce-master.nix), but it doesn't build yet, which is why I
<sgraf> wanted to investigate/fix the default.nix in a local clone of nixpkgs. I'm wondering how I can launch a nix-shell environment. Since this is probably supposed to be used with callPackage, I tried the following invocation: nix-shell -E 'with import <nixpkgs> { }; callPackage ./path/to/default.nix { }'. This doesn't work, because llvmPackages and perlPackages aren't automatically brought 'in scope'. How do I do that?
<sgraf> Or, in general, how do I build nixpkgs derivations locally?
logzet has joined #nixos
<sphalerite> nix build -f path/to/nixpkgs <attrpath>
Smithx10_ is now known as Smithx10
<sphalerite> or you can use any command that works with the system nixpkgs, but pass `-I nixpkgs=path/to/your/nixpkgs`, or (equivalently) put nixpkgs=path/to/your/nixpkgs in your NIX_PATH environment variable
<cinimod_> I am trying to use R via nix but nix seems to be installing a very old version of R
<cinimod_> Well installing is the wrong word - it is compiling an old version of R
knupfer has joined #nixos
<cinimod_> And then failing
<cinimod_> I thought these things were cached?
silver has quit [Ping timeout: 245 seconds]
<jD91mZM2> cinimod_: When builds fail on the build server as well they aren't cached
<jD91mZM2> cinimod_: Guessing the R package is broken. What channel are you on?
<cinimod_> From the R website: "The latest release (2018-04-23, Joy in Playing)"
<jD91mZM2> Ah, then that probably means that te R package is simply broken and that there isn't a newer version available in nixpkgs. You should make a pull request to nixpkgs!
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
woodson has joined #nixos
<YegorTimoshenko[> cinimod_: try `nix-build https://github.com/nixos/nixpkgs-channels/archive/nixos-unstable-small.tar.gz -A R` and see if `result/bin/R` runs
__monty__ has quit [Quit: leaving]
<cinimod_> I think it is fixed in HEAD
* cinimod_ goes to look
<YegorTimoshenko[> i follow nixos-unstable-small and R works for me
<sgraf> sphalerite: Thanks, didn't know about nix. Is that a recent Nix 2.0 thing?
<YegorTimoshenko[> it's on 3.5.0
<{^_^}> [nixpkgs] @flokli opened pull request #41844 → pythonPackages.GitPython: set path to git executable → https://git.io/vhVz6
<sphalerite> sgraf: yes, the nix command was introduced with 2.0. It's not a stable interface yet but a lot of people already use it, especially because of the pretty progress info :)
<jD91mZM2> sgraf: FYI you can also use the old nix-build path/to/nixpkgs -A <attrpath> (but you shouldn't since nix 2.0 is awesome)
npmccallum has quit [Ping timeout: 260 seconds]
<cinimod_> @YegorTimoshenko[ I don't know how to use your suggestion
<cinimod_> YegorTimoshenko[:
<{^_^}> [nixpkgs] @matthewbauer pushed to master « unix-tools: add glibc »: https://git.io/vhVzF
civodul` has joined #nixos
civodul has quit [Read error: Connection reset by peer]
<YegorTimoshenko[> cinimod_: you could run that in shell and it would produce a working R in `result` relative to your working directory
winem_ has quit [Ping timeout: 240 seconds]
<cinimod_> But it won't have my required packages
fendor has quit [Ping timeout: 248 seconds]
phaebz has joined #nixos
<cinimod_> I used to be able to do `nix-shell -p sEnv -I nixpkgs=/Users/dom/nixpkgs` but sadly I lost the revision at which this worked
rardiol1 has quit [Remote host closed the connection]
civodul` is now known as civodul
<jD91mZM2> cinimod_: Are you using a custom nixpkgs when installing R as well?
<jD91mZM2> Then that explains why there's no binary cache and why it might be broken
<cinimod_> I don't want to use a custom nixpkgs
* YegorTimoshenko[ sent a long message: YegorTimoshenko[_2018-06-11_15:26:01.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/ZhGoUKGsacrToxjIXqbnLgkc>
<YegorTimoshenko[> cinimod_: ^^
<cinimod_> I just don't know how to get a standard nixpkgs
Ariakenom has quit [Ping timeout: 276 seconds]
ezemtsov has joined #nixos
<YegorTimoshenko[> save this in foo.nix and run `nix-build foo.nix -I nixpkgs=https://github.com/nixos/nixpkgs-channels/archive/nixos-unstable-small.tar.gz`
<jD91mZM2> Basically don't supply -I nixpkgs and you'll use the default
periklis has joined #nixos
Acou_Bass has quit [Ping timeout: 264 seconds]
<cinimod_> But the default starts compiling a very old version of R which then fails
xcmw has joined #nixos
<cinimod_> I am trying YegorTimoshenko['s suggestion
<ezemtsov> hi. Could anyone explain please what's the approach for packaging eclipse-based proprietary tools? Need to install IBM integration bus toolkit
<cinimod_> Ok that is building R 3.5
<cinimod_> which is better but I was expecting it to be cached
<ezemtsov> on normal linux I would just put it to some folder and just run, it does not work with nix :)
<cinimod_> Nope
Lears has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
<YegorTimoshenko[> cinimod_: please show `nix-info -m` output
<YegorTimoshenko[> i guess, RcppEigen package is broken
fendor has joined #nixos
[Leary] has quit [Ping timeout: 240 seconds]
drewr has quit [Remote host closed the connection]
<cinimod_> OTOH homebrew just worked
<{^_^}> [nixpkgs] @dotlambda opened pull request #41845 → borgbackup: 1.1.5 -> 1.1.6 → https://git.io/vhV2o
* cinimod_ is sad that homebrew works but nix doesn't
<{^_^}> [nixpkgs] @woffs opened pull request #41846 → nixos/zfs: load encryption keys for all pools → https://git.io/vhV25
MichaelRaskin has joined #nixos
<tnks> manveru: I'm using i3.
halfbit has joined #nixos
doyougnu has joined #nixos
johanot has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @mnacamura opened pull request #41847 → trash-cli: enable darwin build → https://git.io/vhVaX
mbrgm has quit [Quit: ZNC 1.6.6 - http://znc.in]
<manveru> i3 has that builtin
<manveru> small excerpt from my i3.nix
jensens has quit [Remote host closed the connection]
jensens has joined #nixos
<{^_^}> [nixpkgs] @srhb opened pull request #41849 → docker: Ensure references to go are removed from docker-containerd → https://git.io/vhVVB
<gchristensen> is there a way to extract a .nar?
<manveru> `nix dump-path`
<gchristensen> I mean I have a .nar and now I want a directory of files
<maurer> nix cat-nar I think also exist?
<gchristensen> cat-nar can only cat a specific file I think
<manveru> nix-bundle must do it somehow
<tnks> manveru: cool, thanks for that, I never realized!
matthewbauer has quit [Read error: Connection reset by peer]
<Notkea> hello; I want to install pkgs.ocamlPackages.unison (https://github.com/NixOS/nixpkgs/blob/release-18.03/pkgs/applications/networking/sync/unison/default.nix) without X11 on nixos, what would be the correct way to set enableX11 to false from configuration.nix?
<YegorTimoshenko[> manveru: it doesn't
<tnks> or rather, I used the normal keybindings, and forget it can do the other keys too.
<YegorTimoshenko[> it's just an arx archive + ~chrootenv
<manveru> tnks: :)
matthewbauer has joined #nixos
<manveru> hmm
<tilpner> gchristensen - nix-store --restore /tmp/foo < foo.nar perhaps?
[Leary] has joined #nixos
<tnks> manveru: I'm a touch confused, though with your snippet. I'm using the "bindsym" keyword in my i3 config. I don't see this "keybindings =" syntax in the documentation.
Drakonis has joined #nixos
ezemtsov has quit [Ping timeout: 260 seconds]
ryantrinkle has quit [Remote host closed the connection]
Lears has quit [Ping timeout: 264 seconds]
vaninwagen has quit [Ping timeout: 264 seconds]
<sgraf> So, I'd like to replace the tools of llvmPackages_4 by llvmPackages_6 here: https://github.com/NixOS/nixpkgs/blob/55282f339b946fe7bf652dbe70120cd6ed46fe7e/pkgs/top-level/all-packages.nix#L7877 in an overlay
<sgraf> how can I do that?
<{^_^}> [nix] @symphorien opened pull request #2223 → libstore/gc.cc: ignore ESRCH when reading /proc → https://git.io/vhVwu
<{^_^}> [nixpkgs] @oxij opened pull request #41850 → uim: 1.8.6-20180501-git -> 1.8.8 → https://git.io/vhVwr
<{^_^}> [nixpkgs] @oxij opened pull request #41851 → tor-browser: 52.8.0esr-7.5-1 -> 52.8.1esr-7.5-1 → https://git.io/vhVwi
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41847 → trash-cli: enable darwin build → https://git.io/vhVaX
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhVwP
<tilpner> sgraf - What tools?
<{^_^}> [nixpkgs] @volth closed pull request #41516 → nixos/dhcpcd: add networking.dhcpcd.options to specify what to request from the DHCP server → https://git.io/vhRBX
<tilpner> self: super: { creduce = super.creduce.override { inherit (llvmPackages_6) llvm clang-unwrapped; }; }
<sgraf> tilpner: the inherited things, llvm and clang-unwrapped
sbdchd has quit [Remote host closed the connection]
blankhart has joined #nixos
azdle has quit [Remote host closed the connection]
<sgraf> tilpner: Thanks! I'll give it a shot
<tilpner> Oh, super.llvmPackages_6
<sgraf> yeah, already figured that out
<tilpner> Or... self
MichaelRaskin has quit [Ping timeout: 256 seconds]
logiq has quit [Ping timeout: 256 seconds]
MichaelRaskin has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2223 → libstore/gc.cc: ignore ESRCH when reading /proc → https://git.io/vhVwu
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vhVr0
jD91mZM2 has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @oxij opened pull request #41852 → nixos/tor: fix systemd service → https://git.io/vhVrX
matthewbauer has quit [Read error: Connection reset by peer]
jD91mZM2 has joined #nixos
matthewbauer has joined #nixos
periklis has quit [Remote host closed the connection]
jperras has quit [Quit: WeeChat 2.1]
pie_ has joined #nixos
selaux has quit [Remote host closed the connection]
matthewbauer has quit [Read error: Connection reset by peer]
wirew0rm has joined #nixos
matthewbauer has joined #nixos
<FruitieX> hey, is there any way I can append to users.extraUsers.foo.extraGroups after it's been set once somewhere in the config?
<sgraf> tilpner: Hmm... I'm not so sure that this overrides package arguments. Or at least it doesn't really change anything in the build (still llvm 4) besides adding llvm 6 as a dependency
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<FruitieX> what I'm trying to achieve is to define my user account at the top of the config file (users.extraUsers.foo = {...};)
<infinisil> FruitieX: Yeah, that will work automatically
<FruitieX> and then later append stuff to that user account's extraGroups, e.g. adding the "audio" group where I'm configuring pulseaudio, or "adbusers" where I'm configuring Android adb crap
<infinisil> FruitieX: All the groups you set in all files will get merged (concatenated in the case of lists)
<tilpner> sgraf - How do you tell? Are you sure the overlay is active?
<{^_^}> [nixpkgs] @matthewbauer pushed to master « llvm: fix darwin cross bootstrapping cmake »: https://git.io/vhVKR
Ralith_ has quit [Ping timeout: 264 seconds]
<FruitieX> infinisil: Hmm so it should work... For me it's complaining that attribute 'users.extraUsers.foo.extraGroups' already defined at [where I define my user account]
<sgraf> tilpner: I'm pretty sure, because by overriding buildInputs so that it finds the llvm 6 toolset before it finds the llvm 4 one, the configure step tells me it found 6 vs. 4
<sgraf> tilpner: Also, before the build broke at 97% of clang_delta. Can tell you in a sec if it still breaks with the modified buildInputs
<infinisil> FruitieX: Huh, that's a bit odd
Ralith_ has joined #nixos
<tilpner> sgraf - -- Found LLVM 6.0.0
<tilpner> sgraf - That's from nix-build -E 'with import <nixpkgs> {}; creduce.override { inherit (llvmPackages_6) llvm clang-unwrapped; }'
<tilpner> But how do you tell it's still using llvm4?
<{^_^}> [nixpkgs] @xeji merged pull request #41723 → udisks 2.1.6 -> 2.7.6 → https://git.io/vhg5P
<{^_^}> [nixpkgs] @xeji pushed 6 commits to master: https://git.io/vhVKQ
ixxie has joined #nixos
<sgraf> tilpner: That works for me, too... Strange
<tilpner> That suggests your overlay is not active
<infinisil> FruitieX: Checking..
<LnL> tilpner: what platform?
<tilpner> LnL - Huh?
<LnL> what platform are you on?
<tilpner> NixOS x86_64
<sgraf> tilpner: Well, if I do that buildInputs thing then it works, without it doesn't. It probably has to do with the rest of my overlay
<LnL> ok n/m then :)
<infinisil> FruitieX: Ah, you probably set it in a single file twice, which won't work without an explicit merging
<sgraf> tilpner: I'm using overrideAttrs, for what it's worth
FruitieX has quit [Ping timeout: 256 seconds]
phdoerfler has quit [Quit: Leaving.]
<tilpner> sgraf - So you weren't using the overlay I gave you? Yes, that might not work. What's it look like?
<infinisil> FruitieX: Can you gist your config?
<tilpner> sgraf - You arent't overriding llvm in there?
woodson has quit [Ping timeout: 240 seconds]
<sgraf> + the stuff I inserted... Wait a sec for a pastie
roberth has quit [Ping timeout: 240 seconds]
<tilpner> sgraf - Try (super.creduce.override { ... }).overrideAttrs (...);
matthewbauer has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #41848 → mendeley: 1.18 -> 1.19.1 → https://git.io/vhVa7
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/vhV6a
<sgraf> tilpner: Yay, that seems to have worked :)
Sonarpulse has joined #nixos
<LnL> sgraf: oh wait you where asking the question, what platform are you on?
<sgraf> LnL: I'm on Ubuntu 18.04
<LnL> weird, I'd expect .override to be enough then
<sgraf> tilpner: I still don't get why I can't call override instead of overrideAlt (and ignoring the old parameter) in that example in general. If I put all overrides inside the override block, it crashes
<sgraf> as soon as I put the binding for name inside the override block, it complains with
<sgraf> error: anonymous function at .../creduce/default.nix called with unexpected argument 'name', at ...
FruitieX has joined #nixos
<clever> sgraf: you used the wrong override function i believe
<LnL> oh, you can't override attributes with .override only inputs
<{^_^}> [nixpkgs] @FRidh merged pull request #41844 → pythonPackages.GitPython: set path to git executable → https://git.io/vhVz6
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/vhViC
<sgraf> Ahh, so that's the difference
<LnL> if you don't want to use both override and overrideAttrs you could do something like this
<LnL> creduce.overrideAttrs (drv: { name = "foo"; builtInputs = [ stdenv.cc cmake llvmPackages_6.llvm llvmPackages_6.clang-unwrapped flex zlib ]; })
xcmw has quit [Quit: Textual IRC Client: www.textualapp.com]
<sgraf> Thanks, that would probably have been my fallback
<sgraf> Thanks all of you btw., great to get this sorted out!
<{^_^}> [nixpkgs] @xeji merged pull request #41563 → fwts: 18.03.00 -> 18.05.00 → https://git.io/vh0J0
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fwts: 18.03.00 -> 18.05.00 (#41563) »: https://git.io/vhViX
phaebz has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @copumpkin merged pull request #17757 → fetchurl: add user agent → https://git.io/v6g7D
<{^_^}> [nixpkgs] @copumpkin pushed 6 commits to master: https://git.io/vhVi7
nckx has quit [Quit: Updating my GNU GuixSD server — gnu.org/s/guix]
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #41853 → network-interfaces.nix: remove duplicate code → https://git.io/vhVPf
jasongro` has joined #nixos
npmccallum has joined #nixos
nckx has joined #nixos
silver has joined #nixos
npmccallum has quit [Remote host closed the connection]
<sgraf> Hmm. Appearently, version and src attribute aren't really overrode when I call overrideAttr (like here: https://github.com/sgraf812/.nixpkgs/blob/44bd330f129ee1cc6a0f49d069cca340f1b1f780/overlays/creduce-master.nix). Does it have to overrideDerivation?
d1rewolf_ has joined #nixos
<d1rewolf_> all, I'm looking for some examples of production uses of NixOS to aid in advocacy. Does such a list exist?
jasongro` has quit [Ping timeout: 240 seconds]
JasonGrossman has quit [Ping timeout: 256 seconds]
<tilpner> Hopefully not exhaustive: https://nixos.wiki/wiki/Nix_Community#Industry
<YegorTimoshenko[> worldofpeace: fetchurl curlOpts fixed in master
<tilpner> gchristensen - Did you manage to extract the nar?
<gchristensen> tilpner: no
<tilpner> Did you try the thing I said?
<gchristensen> oh, no, I didn't see that
<tilpner> "nix-store --restore /tmp/foo < foo.nar perhaps?"
<gchristensen> thanks!
fendor has quit [Ping timeout: 260 seconds]
<clever> sgraf: rec is to blame, you have to override name and src, not version
f0x has joined #nixos
f0x has left #nixos ["So long and thanks for the fish!"]
<d1rewolf_> great, thanks guys
neof0x has joined #nixos
drewr has joined #nixos
azk has joined #nixos
<sgraf> clever: Thanks, that did it (for whatever reason)
<clever> > rec { a = "foo"; b = "b-${a}"; } // { a = "bar"; }
<{^_^}> { a = "bar"; b = <CODE>; }
<clever> > (rec { a = "foo"; b = "b-${a}"; } // { a = "bar"; }).b
<{^_^}> "b-foo"
<clever> sgraf: this is why it doesnt work to update version
johanot has joined #nixos
<sgraf> thanks
JasonGrossman has joined #nixos
<ixxie> does anybody know how much overlap exists between NixOps and Kubernetes
<YegorTimoshenko[> ixxie: in terms of functionality or codebase?
sigmundv has quit [Remote host closed the connection]
<sgraf> clever: That (removing the assignment to version) still didn't work as expected. I'm leaving now, see you tomorrow :)
<YegorTimoshenko[> nixops doesn't do autoscaling
<clever> sgraf: setting version wont have the effect your thinking, you need to set everything that originally refered to version
<YegorTimoshenko[> but, say, does do config/secret managemen
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/338b407b27d (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<ixxie> YegorTimoshenko[: functionality
<ixxie> yeah I understand Kube has the load balancing
<ixxie> I am just wondering how the two might be combined
<gchristensen> might use nixops to manage the hosts k8s installed on
fendor has joined #nixos
<ixxie> yeah the options for Kube are quite numbered
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41850 → uim: 1.8.6-20180501-git -> 1.8.8 → https://git.io/vhVwr
<{^_^}> [nixpkgs] @xeji pushed commit from @oxij to master « uim: 1.8.6-20180501-git -> 1.8.8 (#41850) »: https://git.io/vhV1P
<ixxie> so it shouldn't be hard to write kubernetes deployments in Nix I guess
<ixxie> this would be advertised except I don't think most of us do that sort of thing often?
Mrmaxmeier has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
pie_ has quit [Quit: Leaving]
<ixxie> gchristensen: so, one could probably deploy cool Nix-based build-everything networks which deploy with NixOps+Kubernetes
<ixxie> can Nix build for Windows?
matthewbauer has joined #nixos
matrium has joined #nixos
<matrium> hi, can someone tell me how to fix "error: attribute 'old-time' missing" when trying to build a haskell package with "pkgs.haskell.packages.ghcjs" from the unstable channel?
sigmundv has quit [Ping timeout: 240 seconds]
morenoh149 has joined #nixos
<morenoh149> what's the easiest way to update nix? I need to get on 2.0
<tilpner> Are you on NixOS?
<morenoh149> osx
<clever> morenoh149: single-user or multi-user install? (is nix-daemon running)
<morenoh149> I'm assuming multi-user install
<clever> morenoh149: `sudo -i`, then `nix-channel --update` and `nix-env -iA nixpkgs.nix`
<{^_^}> [nixpkgs] @matthewbauer opened pull request #41855 → Init androidenv.buildGradleApp → https://git.io/vhVMF
jasongro` has joined #nixos
Mrmaxmeier has quit [Remote host closed the connection]
Mrmaxmeier has joined #nixos
Lev50 has joined #nixos
JasonGrossman has quit [Ping timeout: 245 seconds]
blankhart has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @woffs opened pull request #41856 → nixos/zfs: fix vdev_id PATH → https://git.io/vhVDG
<matthewbauer> matrium: this should be fixed in master
<johanot> our kubernetes production cluster is based on the current nixos kubernetes module. I'm currently preparing a new PR with some more options.. Like if 111 wasn't enough.
<ixxie> johanot: awesome! Can I ask a couple of questions?
jperras has joined #nixos
<johanot> ixxie: of course!
<ixxie> johanot: are you managing any VMs with this system?
<ixxie> or just containers?
<johanot> containers only. our entire cluster counts 8 (soon 16) container nodes and 3 master nodes, mostly physical hardware. all running NixOS. But kubernetes itself manages only containers.
<ixxie> NixOS containers or Docker or what?
<morenoh149> clever: thanks
<ixxie> ^ johanot
<johanot> docker containers.. Basically our node config is: virtualization.docker.enable = true; services.kubernetes.enable = true; + a couple of thousand more lines of k8s config. :)
<ixxie> thousands!
<ixxie> so its very difficult to configure I guess?
<{^_^}> [nixpkgs] @xeji merged pull request #41849 → docker: Ensure references to go are removed from docker-containerd → https://git.io/vhVVB
<{^_^}> [nixpkgs] @xeji pushed commit from @srhb to master « docker: Ensure references to go are removed from docker-containerd (#41849) »: https://git.io/vhVST
<johanot> ixxie: No I don't think so.. We just learned the hard way, that vanilla config doesn't work very well for us. In an on-prem environment with a lot of custom network components etc. But perhaps we should look into upstreaming even more of our changes, because some of them are more or less generic - obviously.
baconicsynergy has quit [Quit: Leaving]
<andi-> johanot: how do you treat storage for anything? There is not permanent storage?
<johanot> ixxie: https://github.com/kelseyhightower/kubernetes-the-hard-way .. Have a look a this, if you haven't already. I think the biggest problem of setting up kubernetes, is handling PKI in a sane and secure manner. You don't want your secrets ending up in the store. And therefore you need something like a custom vault pki or cfssl setup, with proper key rotation setup.
<Plato[m]> I have a game that's distributed in "mojoscript" form, so a single bash script that has commands at the top and a zip file at the bottom. Were I to create a nix expression for it, what would I pass as the "src"? It's not freely available.
<johanot> andi-: Currently we run only stateless workloads, but we are in the process of setting up an on-prem Ceph cluster
<andi-> ah ok, I would have been surprise if it would be anything but ceph :-)
Mrmaxmeier has quit [Quit: ZNC 1.7.0 - https://znc.in]
<tilpner> Plato[m] - Do you just want to run it? Try steam-run
<matrium> matthewbauer: thanks, it seems to work now! :-)
<Plato[m]> tilpner: Oh, didn't know that existed.
Neo--- has joined #nixos
<andi-> johanot: I guess that will also be with nixos? Are the ceph packages/modules working (again)?
Mrmaxmeier has joined #nixos
<johanot> actually we already have a production ceph cluster in house. :) just not worked geared and tailored for kubernetes, yet.
<matthewbauer> matrium: there's still some weird ghcjs issues but we are slowly working through them
<tilpner> Plato[m] - The real answer to your question would be requireFile
m0rphism has quit [Quit: WeeChat 1.9.1]
<johanot> andi-: Yes.. AFAIK... although I'm not personally working with ceph. :) srhb?
<tilpner> Plato[m] - But I'm not really a fan of adding lots of expressions for paid closed-source software to nixpkgs, if that's what you were going to do :/
<ixxie> johanot: thanks, that is interesting
<Plato[m]> tilpner: Why not?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #41843 → python3Packages.click: fix 'locale' path → https://git.io/vhVR6
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhVSj
Mrmaxmeier has quit [Remote host closed the connection]
Neo---- has quit [Ping timeout: 256 seconds]
<andi-> johanot: Have you considered opening up the nix expressions you are using? I am in th eprocess of deploying a new kubernetes cluster at my dayjob.. I am so sick of all the other distributions...
<{^_^}> [nixpkgs] @xeji pushed commit from @srhb to release-18.03 « docker: Ensure references to go are removed from docker-containerd (#41849) »: https://git.io/vhV9I
winem_ has joined #nixos
<tilpner> Plato[m] - Did you try steam-run now? I'm assuming you were asking because it didn't run without patching?
<johanot> andi-: Will definitely look into that at some point. Just don't have the bandwidth currently to percolate our current closure for secrets.
<ixxie> johanot: I am interested to push this kinda stuff at work but we are a Windows shop, but maybe cross-compilation to windows is possible
<Plato[m]> tilpner: I'm trying. This failed, but it might have something to do with me editing the file earlier.
<Plato[m]> So I'm re-downloading
vandenoever has joined #nixos
<tilpner> Plato[m] - What errors? (And what's mojoscript form?)
<tilpner> ($SEARCH_ENGINE doesn't find much for that)
<Plato[m]> tilpner: I think mojoscript is the program that generates this bash/binary files.
<tilpner> Huh, okay
<clever> ixxie: (import <nixpkgs> { crossSystem = (import <nixpkgs/lib>).systems.examples.mingwW64; }).hello
<Plato[m]> There's actually a nix expression dealing with these. It greps for the PK header in the bash file and uses dd to scrape out a zip file.
<{^_^}> [nixpkgs] @7c6f434c pushed to master « mariadb: galera: there is no galera_new_cluster »: https://git.io/vhV9r
<clever> ixxie: this will cross-compile a 64bit windows binary for the hello package
<Plato[m]> Which I'm doing in my preliminary nix expression, but it's a hassle to run patchelf and make-wrapper and stuff.
Drakonis has quit [Read error: Connection reset by peer]
<Plato[m]> Ah yes, with a pristinely downloaded file, it seems to work.
Mrmaxmeier has joined #nixos
<ixxie> clever: cool! But after asking that I realized that they are developing in .NET and I am afraid it would still take a lot of effort
<{^_^}> [nixpkgs] @xeji merged pull request #41741 → pythonPackages.pdf2image: init at 0.1.13 → https://git.io/vh2sb
<{^_^}> [nixpkgs] @xeji pushed commit from @Gerschtli to master « pythonPackages.pdf2image: init at 0.1.13 (#41741) »: https://git.io/vhV9x
<clever> ixxie: ive also found .net stuff to be weird, ive seen a project linking a .exe file as the linux build!, and it just works when you run mono on it under nixpkgs!
Neo--- has quit [Ping timeout: 276 seconds]
<ixxie> odd
<{^_^}> [nixpkgs] @xeji merged pull request #41822 → asio: add old version 1.10.8 → https://git.io/vha6n
<{^_^}> [nixpkgs] @xeji pushed commit from @Izorkin to master « asio: add old version 1.10.8 (#41822) »: https://git.io/vhVHm
silver has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<YegorTimoshenko[> clever: .exe can be mono executables, like java .jar
gmarmstrong has joined #nixos
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @orivej merged pull request #41819 → pruneLibtoolFiles: init setup hook → https://git.io/vha0N
<{^_^}> [nixpkgs] @orivej pushed to master « pruneLibtoolFiles: init setup hook (#41819) »: https://git.io/vhVHb
<clever> YegorTimoshenko[: yeah, it was just a bit weird to be given an exe file when i askd for a linux binary
grp has quit [Quit: box shutting down...]
matrium has quit [Ping timeout: 260 seconds]
<johanot> packaged .net applications are just small native binary stubs invoking the runtime with the application as parameter. A java jar has no such stub, although it would be pretty much as simple as: "exec java -jar app.jar"
<Lev50> How can I install node2nix 1.6.0 ?
<Lev50> nix-env -f '<nixpkgs>' -iA nodePackages.node2nix installs 1.5.3. I am on macOS
<tnks> the new environment variables are still confusing me. What happened to NIX_REMOTE? I don't see it in my installation of NixOS in `env`.
* etu runs some mono-stuff on his arch-box (not yet migrated to nixos) and it's so weird with path/to/dot.exe-files is the ps output
vaninwagen has joined #nixos
mizu_no_oto has joined #nixos
Ariakenom has joined #nixos
johnw_ is now known as johnw
johnw has quit [Changing host]
johnw has joined #nixos
<infinisil> tnks: Nix 2.0 doesn't need them anymore, not sure why
<tnks> infinisil: I can imagine a world where stuff is autodetected.
<tnks> I just wish I could find clear documentation of what's up.
FRidh has joined #nixos
<Lev50> infinisil: working on this, I've clone the repo locally and run nix-build. But this isn't enough to install it for use from the command line, `which node2nix` still points me at a 1.5.3
<Lev50> very new to this... probably should rtfm but what am I missing?
<infinisil> lev50: Read the page I linked, what's the latest release?
<Lev50> Oh wow
<Lev50> my bad.
nuncanada has joined #nixos
<infinisil> ;)
<Lev50> For the sake of my learning, if I wanted to replace the official Nixpkgs version (1.5.3) with bleeding edge straight-from-the-repo 1.6.0, is there a way to do that?
<manveru> has anyone got a wordpress derivation that also allows installing plugins/themes via the web ui?
<Lev50> I've got a file /nix/store/x32p3iv0xg3d0a6hhw2j2j0wqsgyazip-node-node2nix-1.6.0
<manveru> or should i just use docker for this...
<infinisil> lev50: Does running `nix-env -f '<nixpkgs>' -iA nodePackages.node2nix` in the cloned repo work?
<infinisil> Oh wait
<infinisil> Nah that won't do
<Lev50> I wouldn't expect that to work. -f should point to local somehow
rardiol1 has joined #nixos
<infinisil> lev50: nix-build release.nix -A package.x86_64-linux
<infinisil> Something like that
<Lev50> does that not do the same as a plain nix-build ?
<Lev50> I am trying it
<infinisil> Yeah, you can install it with `nix-env -if release.nix -A package.x86_64-linux` I think
myshoe has quit [Ping timeout: 264 seconds]
<ixxie> johanot: do you think there would be any need to tools for integrating NixOS and Kubernetes beyond the configuration options?
<ixxie> Like a CLI or something?
<Lev50> I'm on macOS so guessing I should use x86_64-darwin, but trying that
<Lev50> Yeah, that worked. Thank you!
<infinisil> Nice :)
<ixxie> clever: is there a guide somewhere to crosscompilation to windows?
<clever> ixxie: i dont think one exists yet
<johanot> ixxie: nah.. kubernetes is a service just like any another service, or a collection of services rather. But, personally I think the split between "what-to-run-in-kubernetes" vs. "what-to-run-as-system-service" is unclear in kubernetes. It is apparent that many parts of kubernetes was build to solve a lot of the same problems as NixOS does. Many k8s deployment examples go so far as to say "You only need the kubelet running as a system serv
<johanot> ice, all other cluster components can be managed by kubernetes itself." All I have to say to that is: The more components you choose to run inside k8s, the more you are gonna need a tool to declaratively manage your yaml-manifests :) heh.
<johanot> to answer your question more clearly: we might want to build a nixos module dedicated to kubernetes manifest management.
alexteves_ has quit [Remote host closed the connection]
alexteves_ has joined #nixos
myshoe has joined #nixos
<ldlework> Eh
<clever> johanot: of note, yaml is a superset of json, so all yaml parsers can accept json
<tnks> another niggling thing. I installed nixpkgs.rofi and the package itself has some man pages under share/man/man1, but these are not getting symlinked into my ~/.nix-profile.
<ldlework> The whole point behind containerization and orchestrators is to unify the control surface
<clever> johanot: any time i'm dealing with something that wants yaml, i just use builtins.toJSON in nix
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/9e1d8b74706 (from 28 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9fdd97fad85 (from 22 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<johanot> clever: yeah, I already took advantage of that a couple of times, thanks. :)
<MichaelRaskin> clever: is YAML parser handling of JSON more consistent that JSON parser handling of JSON?
inquisitiv3 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #41813 → mariadb galera: fix build → https://git.io/vha8J
<{^_^}> [nixpkgs] @xeji pushed commit from @Izorkin to master « mariadb galera: fix build (#41813) »: https://git.io/vhVdG
<johanot> MichaelRaskin: in kubernetes or?
<MichaelRaskin> In general
knupfer has quit [Ping timeout: 265 seconds]
<johanot> kubectl converts yaml to json,
<tilpner> clever - lib.toYAML is just toJSON, but looks cleaner, maybe
<tilpner> (forgot a .generators)
Leira has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vhVdN
sbdchd has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to staging « unix-tools.nix: install binary instead of linking »: https://git.io/vhVFI
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
reinzelmann has quit [Quit: Leaving]
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @Anton-Latukha closed pull request #41435 → [WIP] docker, dockerTools: Unpin Go 1.9 (remove Go from Docker closure) → https://git.io/vhlVA
morenoh149 has quit [Ping timeout: 240 seconds]
harrymoreno has joined #nixos
<tnks> I think this missing manpage thing might be a defect, but I'm not sure still.
igo95862 has joined #nixos
<tnks> (originally I was thinking I didn't have something configured right).
<{^_^}> [nixpkgs] @aszlig pushed 2 commits to master: https://git.io/vhVbn
<infinisil> tnks: How did you install it?
<infinisil> Hmm when I build rofi I don't see any manpages it its output
ixxie has quit [Ping timeout: 260 seconds]
<manveru> i have `/nix/store/00qn86p84bdlc0crx3myihzc72jn6xw4-rofi-1.5.0/share/man`
<infinisil> Hmm, it's not in master
<tnks> infinisil: nix-env -iA nixpkgs.rofi
<infinisil> 17.09 has them
<d1rewolf_> guys, a coworker found a thread talking about nixos's security patches, and how they tend to lag behind other distros and even require manual patching by hand. This discussion was from 2016. Are either of these points valid today (assuming they ever were)?
<infinisil> 18.03 has it too
<infinisil> I'll bisect
<tnks> infinisil: but this seems like two problems.
alexteves__ has joined #nixos
<tnks> one is that the man pages aren't in the package, and the other is that they aren't being put into the symlink environment.
<tnks> I don't have the first problem (I think), but I do have the second.
<infinisil> tnks: cd $(dirname $(realpath $(which rofi)))
<infinisil> Does that directory contain the manpages in share/man/man1?
alexteves_ has quit [Ping timeout: 240 seconds]
<tnks> infinisil: well, one up... but yeah.
<infinisil> You're on NixOS?
<tnks> infinisil: yeah.
filwisher has joined #nixos
<infinisil> Other programs installed via nix-env -i have their man pages? It's only rofi that doesn't?
<tnks> infinisil: this exists: /nix/store/q4fsdj22yaiacadd4qfm5indkfkgw5gh-rofi-unwrapped-1.5.1/share/man/man1/rofi.1.gz
<tnks> infinisil: yeah, that seems to be the case for me.
<clever> tnks: did you apply any overrides with config.nix?
<tnks> clever: not on that package.
<infinisil> Huh that's weird
<tnks> I know. Is this at all reproducible for anyone?
<clever> tnks: if you run `nix-build '<nixpkgs>' -A rofi` and then `ls -l result/` does it contain a share/man dir?
<tilpner> d1rewolf_ - AFAIK that's still true. Differences include oss-security/distros membership and maybe propagation-speed of security fixes to non-release branches. gchristensen can probably tell you more
<tnks> clever: no... it's missing!
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/44358ff94b3 (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<clever> tnks: then nix-env is not to blame
<infinisil> It might be the same issue after all then
<clever> tnks: how did you find /nix/store/q4fsdj22yaiacadd4qfm5indkfkgw5gh-rofi-unwrapped-1.5.1/share/man/man1/rofi.1.gz ?
<gchristensen> d1rewolf_: we're pretty good about patching
<tnks> clever: I did a "which rofi" and then readlink -f'd it.
<gchristensen> often rivaling other distros on how quickly they patch
<clever> tnks: and what does just `which rofi` return?
<tilpner> gchristensen - I was referring to how it could take a few days for a fix to arrive on nixos-unstable, because it might be blocked by other things
<tnks> clever: just a moment. I'm oscillating between nixos.rofi and nixpkgs.rofi (two channels)
<gchristensen> tilpner: yeah, even with that we're frequently on par with others
<tnks> clever: but both have the man page.
<tnks> /nix/store/7wihvs7fmr8k40gyqira59ijghw2yf3s-rofi-unwrapped-1.5.1/share/man/man1/rofi.1.gz
dbmikus has quit [Ping timeout: 256 seconds]
<tilpner> Oh, huh. I didn't think it'd be hard to beat "a few days"
<tilpner> Any changes on oss-security?
<tilpner> :/
<gchristensen> I burned out pretty hard on that and haven't pushed forward on the initiative
<gchristensen> we'll get there
<infinisil> tnks: Seems that there's some channel mess up, what does `nix-info` output?
karlguy has joined #nixos
jbboehr has joined #nixos
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<tnks> infinisil: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.0.2, channels(root): "nixos", channels(tnks): "nixpkgs-18.09pre142380.23f2dfd9f5a", nixpkgs: /home/tnks/.nix-defexpr/channels/nixpkgs
<tilpner> gchristensen - Thank you!
<gchristensen> :)
<tilpner> (Is there someone who could make that their job? (and if not, how do we get someone?))
<gchristensen> well, to make it somebody's job we would need a salary worth of funding each year
<gchristensen> ^ slightly snarky / jokey, because of how stressful the work is
<tnks> clever: infinisil: I figured it out... it has something to do with a "wrapped" versus "unwrapped" package.
<ldlework> gchristensen: you pm'ed me at somepoint, but I had mode +g on, and don't know how to get weechat to show me the message, sorry
<clever> tnks: thats why i asked about overrides
<ldlework> I've turned off that mode.
<tnks> clever: yeah, but I didn't do this override.
<tnks> there's two packages in nixpkgs, "rofi" and "rofi-unwrapped"
<tnks> the later has the man pages.
<infinisil> Huh, that seems stupid
<gchristensen> tilpner: more important than "somebody's" job is to make a team of people
<gchristensen> who can lead the effort, feel supported, not burned out, etc.
winem_ has quit [Ping timeout: 245 seconds]
<tnks> data MyFeelz = NixBroken | MeBroken
winem_ has joined #nixos
<clever> tnks: its a commom problem with wrappers in nixpkgs, chrome has the same issue
<infinisil> tnks: clever: It's introduced in https://github.com/NixOS/nixpkgs/pull/36785
<tilpner> gchristensen - Other projects manage that via donations. I didn't even know where to donate until a few minutes ago, it's not advertised very well and there's been the notion of "things are paid for, donations are not urgent" in the past (not sure where from)
<tnks> clever: okay, I need to understand the motivation for wrapping rofi at all.
<infinisil> tnks: clever: I overstepped that PR multiple times because I thought "That could never have caused that"
<clever> tnks: read the bash script in the wrapped variant
<tnks> clever: yeah, I'm about to right now.
dbmikus has joined #nixos
<infinisil> I can make a PR to fix it
<tnks> clever: okay, I don't think this has much to do with the concept of wrapping... just lazy wrappers not pulling the man pages through to the new package.
<tnks> clever: thanks for chatting me through this.
<tnks> it's not that rofi is the most important thing for me. I just like to understand the pieces.
<infinisil> The wrapper only passes along $out/bin/rofi, that's the problem
<tnks> infinisil: yeah.
<infinisil> It should really pass along everything, then replace the binary
<MichaelRaskin> Obviously the wrapper author is usually the person who has already read everything man page has to offer
<tnks> infinisil: all for a theme I could care less about.
<clever> infinisil: maybe a buildenv between the wrapper and original, with the wrapper as a higher prio
jD91mZM2 has quit [Quit: WeeChat 2.0]
<infinisil> clever: Hmm.. that might be nicer yeah
<infinisil> I'll just write this in bash though
harrymoreno is now known as morenoh149
alexteves__ has quit [Remote host closed the connection]
asuryawanshi has quit [Ping timeout: 276 seconds]
saep has joined #nixos
alexteves_ has joined #nixos
<{^_^}> [nixpkgs] @bobvanderlinden opened pull request #41858 → Initial home contents → https://git.io/vhVp3
<infinisil> clever: Writing a bash script that just symlinks the files that stay instead of using buildEnv saves 1 whole derivation!
<inquisitiv3> What's the difference between all the Firefox derivations? Do I need to read the nix expressions to determine what's the difference between them?
talyz has quit [Quit: WeeChat 2.1]
etu has quit [Quit: WeeChat 2.1]
reinzelmann has joined #nixos
<{^_^}> [nixpkgs] @aborsu opened pull request #41859 → nextcloud: 13.03 -> 13.04 → https://git.io/vhVp0
<{^_^}> [nixpkgs] @Infinisil opened pull request #41860 → fix rofi wrapper only passing along binary → https://git.io/vhVhe
<infinisil> tnks: ^^
aborsu has joined #nixos
etu has joined #nixos
talyz has joined #nixos
Lev50 has quit [Quit: This computer has gone to sleep]
<tnks> infinisil: thanks. turned out I only cared about rofi-unwrapped, but I'm sure someone will appreciate it.
<infinisil> It shouldn't be that the packaged call "rofi" only contains a fraction of rofi
<tnks> yeah.
<infinisil> I'm honestly not fond of this wrapper at all
<infinisil> Stuff like this doesn't belong in nixpkgs imo
<ldlework> infinisil: it belongs in some high-level community driven options repo, right?
<illegalprime[m]> Hi! I made a patch to konsole and I want to use my patched version, so I added an overrideDerivation in ~/.nixpkgs/config.nix where src was set to a local directory. How do I tell nix to update that package?
<infinisil> Hmm..
<infinisil> ldlework: Maybe
<infinisil> ldlework: A repository where all the programs configuration can be made with nix, and there should be stuff like an option to apply a single color scheme to all applications
<{^_^}> [nixpkgs] @7c6f434c merged pull request #41860 → fix rofi wrapper only passing along binary → https://git.io/vhVhe
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/vhVhd
<ldlework> lol
<infinisil> And the modules that do this should be linked to the packages themselves, so that different versions can have different options
<ldlework> I still haven't decided if I want to make an enable option for every group of my own personal config.
d1rewolf__ has joined #nixos
<ldlework> It is like the strongest form of writer's block I've ever encountered.
<infinisil> illegalprime[m]: I recommend using `overrideAttrs` over `overrideDerivation`
<infinisil> illegalprime[m]: Assuming you made the override correctly, it should work by installing it again, it will override the old version
<ldlework> I was thinking about that nixlang enhancements sketch yesterday and the following question came to me; why wouldn't we want all attrsets to be "extensible"?
<ldlework> What's the point in having non-extensible attrsets?
<ldlework> Would it be backwards compatibility only?
<illegalprime[m]> infinisil: thank you! I was following a nix pill I think. All I need to do is override `src`?
<infinisil> ldlework: Probably nobody thought of that when Nix was implemented and it's more complicated to implement
rolf has joined #nixos
d1rewolf_ has quit [Ping timeout: 264 seconds]
<infinisil> illegalprime[m]: Yeah
rolf is now known as Guest71696
<{^_^}> [nixpkgs] @Ericson2314 pushed to ghc-gmp « ghc: Default integer-simple usage based one whether GNU MP is available »: https://git.io/vhVji
<ldlework> infinisil: sure I was more thinking whether there are legitimate distinct use-cases for why we might want to keep them, other than backwards incompatibility, that the author just assumed the reader would know
<inquisitiv3> The clipboard isn't shared between my host system (Fedora 27) and my VM (NixOS). I've added `spice-vdagent` to my package list in `/etc/nixos/configuration.nix`, ran `sudo nixos-rebuild --upgrade` and rebooted the machine.
<inquisitiv3> But when I copy something in the VM it doesn't appear in my host system's clipboard.
<{^_^}> [nixpkgs] @Ericson2314 pushed 0 commits to ghc-gmp: https://git.io/vhVj5
obadz has quit [Quit: WeeChat 2.1]
robstr has quit [Quit: WeeChat 1.9.1]
<Dezgeg> I suppose you'd need to do services.spice-vdagentd.enable = true;
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #41861 → ghc: Default integer-simple usage based one whether GNU MP is available → https://git.io/vhweU
matthewbauer has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
<inquisitiv3> Dezgeg: That did the trick! Why isn't it enabled automatically if you install the package?
reinzelmann has quit [Quit: Leaving]
<clever> inquisitiv3: things added to systemPackages cant configure nixos level options
obadz has joined #nixos
<clever> inquisitiv3: setting that enable thing does 2 things, first it adds spice-vdagent to systemPackages for you (so you can remove your own line for that), and second, it runs it on bootup
<clever> i'm guessing you just installed it, and never ran it
<inquisitiv3> I installed it, but never started or enabled any services.
<inquisitiv3> clever: So you mean that the line `services.spice-vdagentd.enable = true;` is the only thing one need to both install it and run it automatically at bootup?
<clever> inquisitiv3: yes
mojjo has joined #nixos
<inquisitiv3> clever: That feels weird. It would be more intuitive if it where the other way.
<mojjo> hi! on nixos: `pulp init` -> `TypeError: asyncWrite is not a function` Any ideas?
matthewbauer has joined #nixos
Guest71696 has quit [Quit: WeeChat 2.1]
<inquisitiv3> clever: Is there a reason why it works that way?
obadz has quit [Ping timeout: 260 seconds]
<clever> inquisitiv3: some packages can be ran on bootup without installing them, and some need to install specialized versions
<clever> and it also saves you from having to list everything twice, once in systemPackages and again in services
civodul has joined #nixos
mojjo has quit [Ping timeout: 265 seconds]
m0rphism has joined #nixos
<samueldr> from a debian-like background, it may seem weird, but it's separation of concerrns
seanparsons has quit [Read error: Connection reset by peer]
obadz has joined #nixos
<samueldr> installing something != enabling the service
MasseR has quit [Quit: WeeChat 2.0]
<samueldr> (e.g. archlinux also has a similar separation of concerns where installing something doesn't touch the services)
<samueldr> (and conversely, enabling a service doesn't necessarily means I want it in my PATH)
<inquisitiv3> clever: I meant why the service isn't enabled by default when you install the package (that's what users expect to happen). You wrote that "things added to systemPackages cant [sic] configure nixos level options".
<infinisil> ldlework: Oh and I take the 'wrappers should not belong in nixpkgs' statement back, but a single 'theme' option argument is a bit lame for such a wrapper, needs to be more like the vim one
<inquisitiv3> samueldr: Thanks for an explanation!
<clever> inquisitiv3: all nixos does with the systemPackages is put them in /run/current-system/sw/
<samueldr> systemPackages (as would nix-env -iA) only makes the packages available under ^ where clever said
<clever> inquisitiv3: its not capable of doing systemd like things and enabling services
<samueldr> well, nix-env at another location
<clever> yeah, nix-env puts it in ~/.nix-profile/
<clever> same limits there
masse has joined #nixos
GiGa has joined #nixos
GiGa has quit [Changing host]
GiGa has joined #nixos
<GiGa> Hello
<inquisitiv3> Hmm. I think that information should be more clearer from a UX perspective.
<inquisitiv3> clever, samueldr: But thanks for the explanation! That make the thought process more clear to me. :)
<GiGa> Gnome3 tends to crash for me when pressing Meta (apps view). Nvidia card (currently with nouveau driver, but I have tried Nvidia). Any ideas?
<GiGa> I'm not sure if it's Gnome Shell or GDM with the issue
roberth has joined #nixos
mizu_no_oto has joined #nixos
work_ has joined #nixos
mizu_no_oto has quit [Client Quit]
alexteves_ has quit [Remote host closed the connection]
alexteves has quit [Read error: Connection reset by peer]
<GiGa> Looks like my card is the NVCF according to Gnome, which is supported by Nouveau
<catern> eh
alexteves_ has joined #nixos
alexteves has joined #nixos
<catern> why are info manuals installed through Nix not showing up in my Emacs despite ~/.nix-profile/share/info/ being in Info-directory-list?
seanparsons has joined #nixos
<matthewbauer> you need to generate the dir file
<matthewbauer> catern: look at install-info
<catern> ah, thanks
<catern> is there some way I can have that dir file generated automatically or something?
<GiGa> Where's GDM / Gnome Shell keep its logfile on Nixos?
<matthewbauer> catern: i use something like this https://gist.github.com/matthewbauer/2dbbfa9aa1281fde5cdea77bba241eb9
<matthewbauer> but I think there is some project that managers this for you
<matthewbauer> home-manager: https://github.com/rycee/home-manager
<catern> but what does nixos do? :(
<catern> surely nixos generates a systemwide info directory?
<matthewbauer> oh yeah that would work also. i assumed you were not on NixOS.
<catern> I am indeed not on NixOS :)
Leira has quit [Ping timeout: 260 seconds]
<catern> but maybe I can steal its functionality to generate it?
<clever> catern: its an internal part of how systemPackages is handled, and doesnt really work with nix-env
<matthewbauer> it should automatically generate it on each new generation for systemPackages in here: https://github.com/NixOS/nixpkgs/blob/7485d214a696c71ec46fcf0b95418fb60eea8618/nixos/modules/config/system-path.nix#L151-L156
xorkle has joined #nixos
imalison has joined #nixos
<jtojnar> GiGa: gnome uses journal
<imalison> I keep getting an error about nixpkgs/nixos not being found on the search path any idea what this could be?
<imalison> I have what I think is a totally clean nix install
<clever> imalison: what does `echo $NIX_PATH` say?
<imalison> nixpkgs=$HOME/.nixdefexpr/channels/nixpkgs
<imalison> where $HOME is my home directory
<clever> imalison: the - in ~/.nix-defexpr/ is missing
<imalison> yeah sorry i manually typed that out
<imalison> its there
<clever> imalison: does that nixpkgs dir its pointing to exist?
<imalison> yep, and it has a nixos subdirectory
<imalison> could it be because I am running this command: nix-env -p /nix/var/nix/profiles/system -f '<nixpkgs/nixos>' -I nixos-config=/etc/nixos/configuration.nix -iA system
<clever> imalison: you need to use --set when trying to manage the system profile
<clever> imalison: what exactly are you trying to do?
sigmundv has joined #nixos
<imalison> I'm just following the installation instructions from the manual
<imalison> I'm doing an in place installation
<clever> ah
<clever> imalison: what does this command print out? and try to just paste it, rather then re-type it: nix-instantiate --find-file nixpkgs
<imalison> hmm seems like the issue had to do with using sudo
<imalison> i changed ownership of /nix to my user
<imalison> and ran it without sudo and things seemed to work
<clever> imalison: sudo can sometimes be configured to sanitize the env, and that can unset $NIX_PATH
<clever> imalison: it helps a lot to `sudo -i` and then do everything in that root shell
<imalison> yeah but sudo echo $NIX_PATH pritns the right thing
<clever> imalison: bash evals that before it runs sudo
mojjoo has joined #nixos
<clever> imalison: so your not seeing roots version of the variable
<mojjoo> hi! does anyone use purescript on nixos?
<imalison> oh right id need to do like sh -c with single quotes
<imalison> ahh i see, yeah its droping it
<clever> imalison: also try just `sudo -i` then `echo $NIX_PATH`
<illegalprime[m]> So I have:
<illegalprime[m]> ```
* illegalprime[m] sent a long message: illegalprime[m]_2018-06-11_20:54:21.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/SCpSxTnXagQsbPYSWvqNKQxL>
<imalison> yeah i just did sudo sh -c 'echo $NIX_PATH'
<imalison> and yeah it seems that it removed it
<imalison> so that was the issue
<imalison> thanks
<illegalprime[m]> in `~/.config/nixpkgs/config.nix`, but running `nix-env -iA nixos.konsole` does not rebuild konsole according to that new tree
<clever> illegalprime[m]: thats in the nixos module format, not the config.nix format
<clever> illegalprime[m]: you want { packageOverrides = pkgs: { ... }; }
<illegalprime[m]> clever: yup! you're a genius
vaninwagen has quit [Quit: WeeChat 2.1]
<infinisil> Did you know: 80% of all options are under services.*, and the service with the most ones is services.prometheus.* with 225 options!
<imalison> does anyone have experience installing nixos alongside macos using refind?
<ldlework> jesus
<infinisil> 225 options for a single package I've actually never heard about
<bgamari> How do people use nixos's Haskell snapshot?
<ldlework> infinisil: it would be cool to build something that could maintain these statistics about nixpkgs overtime
<bgamari> I'm finding that at any given moment at least one package I need is unbuildable in nixpkg's snapshot
<bgamari> either due to bounds, actual interface changes, or both
<imalison> bgamari: So areyou asking how to override that package?
<bgamari> imalison, I'm not
<bgamari> but I'm a bit surprised that I'm expected to, if that's the implication
<bgamari> do people routinely need to fix up the snapshot?
<{^_^}> [nixpkgs] @xeji merged pull request #41859 → nextcloud: 13.03 -> 13.04 → https://git.io/vhVp0
<{^_^}> [nixpkgs] @xeji pushed commit from @aborsu to master « nextcloud: 13.03 -> 13.04 (#41859) »: https://git.io/vhwkj
<bgamari> if so it seems like nixpkgs updates would become quite painful
<clever> bgamari: ive found that the datadog package from hackage needs tests disabled, and i never got around to filing a PR to fix it
knupfer has quit [Ping timeout: 265 seconds]
<bgamari> for instance, I'm finding that haskellPackages.concurrent-output doesn't build due to bounds
<bgamari> and various hasql packages fail to build due to interface changes
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #41861 → ghc: Default integer-simple usage based one whether GNU MP is available → https://git.io/vhweU
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vhwIl
<bgamari> ultimately it seems like I'm just forced do carry out the task of cabal's solver, but manually
<{^_^}> [nixpkgs] @xeji merged pull request #41659 → talloc: 2.1.12 -> 2.1.13 → https://git.io/vhzir
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « talloc: 2.1.12 -> 2.1.13 (#41659) »: https://git.io/vhwIE
imalison has quit [Remote host closed the connection]
sbdchd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Assassinkin opened pull request #41862 → pythonPackages.spglib: init at 1.10.3.65 → https://git.io/vhwIa
sbdchd has joined #nixos
sbdchd_ has joined #nixos
sbdchd_ has quit [Read error: Connection reset by peer]
<clever> bgamari: i generally just jailbreak anything that fails due to versions and see what happens
<bgamari> clever, and if it fails?
<GiGa> jtojnar: OK, so journalctl to access it?
<clever> bgamari: investigate why and if it could be patched or a version tweaked
<jtojnar> GiGa: yep
<{^_^}> [nixpkgs] @yrashk opened pull request #41863 → sit: 0.3.2 -> 0.4.0 → https://git.io/vhwIS
<jtojnar> GiGa: maybe use sudo, since gdm runs as a separate user
<bgamari> a few months ago I started adapting cabal2nix to generate nix expressions for groups of packages
<bgamari> using the solver to generate an install plan
<bgamari> it seems like this would be a more sustainable way forward
<clever> bgamari: there is also Cabal2nix (not to be confused with cabal2nix) https://github.com/angerman/cabal2nix/
<GiGa> jtojnar: standard journalctl has shown me some 12 line stack traces
sbdchd has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #41565 → fvwm: 2.6.7 -> 2.6.8 → https://git.io/vh0kd
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « fvwm: 2.6.7 -> 2.6.8 (#41565) »: https://git.io/vhwIp
<bgamari> the current scheme seems to have most of the weaknesses of a curated collection like Stackage, but without the stability of curation
<bgamari> I thought I was just Doing It Wrong(tm), but it sounds like this is expected behavior
<clever> bgamari: angerman's Cabal2nix can translate the conditional statements in a cabal file into nix if statements
<bgamari> mmm
<GiGa> jtojnar: This paste mean anything to you? https://pastebin.com/yJq6NAJr
<clever> so if a dependency depends on a flag you defined in the cabal file, nix will do the right thing
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « guake: 3.2.1 -> 3.2.2 (#41705) »: https://git.io/vhwLU
<{^_^}> [nixpkgs] @xeji merged pull request #41705 → guake: 3.2.1 -> 3.2.2 → https://git.io/vhg4N
mojjoo has quit [Ping timeout: 265 seconds]
igo95862 has quit [Quit: igo95862]
logzet has quit [Remote host closed the connection]
<jtojnar> GiGa: that is normal, will be fixed in 3.30
<jtojnar> try coredumpctl
<GiGa> jtojnar: "no coredumps found"
* bgamari tries bending angerman's code to his will
<jtojnar> GiGa: right, you will need to add `systemd.coredump.enable = true;` to your configuration.nix
johanot has quit [Ping timeout: 264 seconds]
johanot has joined #nixos
Tobba_ has quit [Read error: Connection reset by peer]
samrose has quit [Ping timeout: 260 seconds]
<GiGa> OK, switching
gmarmstrong has quit [Quit: Quit]
karlguy_ has joined #nixos
johanot has quit [Ping timeout: 264 seconds]
karlguy has quit [Ping timeout: 256 seconds]
Lev50 has joined #nixos
blankhart has joined #nixos
sigmundv has quit [Ping timeout: 260 seconds]
morenoh149 has quit [Ping timeout: 256 seconds]
jensens has quit [Ping timeout: 264 seconds]
TonyTheLion has quit [Quit: leaving]
sbdchd has joined #nixos
kiloreux has joined #nixos
pie_ has joined #nixos
MichaelRaskin has quit [Ping timeout: 248 seconds]
jensens has joined #nixos
johanot has joined #nixos
<bgamari> angerman, ping
johanot has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #41851 → tor-browser: 52.8.0esr-7.5-1 -> 52.8.1esr-7.5-1 → https://git.io/vhVwi
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/vhwYt
sorixelle has joined #nixos
hiratara has quit [Ping timeout: 265 seconds]
hiratara has joined #nixos
simukis has quit [Ping timeout: 255 seconds]
ihar has quit [Quit: WeeChat 2.0]
logiq has joined #nixos
sanscoeu_ has joined #nixos
<kiloreux> How can I use clang to compile with it my package ?
<kiloreux> I tried using clangStdenv
<kiloreux> But it didn't work and still complains about gcc
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goibhniu has quit [Ping timeout: 245 seconds]
sorixelle has quit [Ping timeout: 245 seconds]
<LnL> if it complains about gcc that means the build hardcodes 'gcc' instead of using $CXX
sanscoeur has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #41864 → nixos/nat: optional networking.nat.externalInterface → https://git.io/vhwOs
<kiloreux> It seemed like I had to explicitly set cc=clang :D .
sanscoeu_ has quit [Remote host closed the connection]
mizu_no_oto has joined #nixos
<kiloreux> LnL, How can I pass compiler arguments to clang in this case ?
jensens has quit [Ping timeout: 268 seconds]
<LnL> hmm?
<kiloreux> Something like "-Wno-format-security"
<LnL> ah
<LnL> that's a special because of hardening
<LnL> hardeningDisable = [ "format" ];
jensens has joined #nixos
myshoe has quit [Quit: Lost terminal]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<kiloreux> Thank you LnL . Trying it now.
aborsu has quit [Quit: aborsu]
testuser has quit [Ping timeout: 260 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
matthewbauer has quit [Remote host closed the connection]
Tobba has joined #nixos
inquisitiv3 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dywedir opened pull request #41867 → hyperfine: 1.0.0 -> 1.1.0 → https://git.io/vhw3z
sanscoeur has joined #nixos
blonkhart has joined #nixos
sbdchd has quit [Remote host closed the connection]
igo95862 has joined #nixos
averell has quit [Ping timeout: 245 seconds]
tzemanovic has joined #nixos
sanscoeur has quit [Remote host closed the connection]
tzemanovic has quit [Ping timeout: 240 seconds]
Acou_Bass has joined #nixos
tylerjl has quit [Quit: ZNC 1.7.0 - https://znc.in]
averell has joined #nixos
vorot93[m] has joined #nixos
baconicsynergy has joined #nixos
sanscoeur has joined #nixos
abcrawf_ is now known as abcrawf
lukec has quit [Ping timeout: 276 seconds]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
hiratara has quit [Quit: ZNC - http://znc.in]
winem_ has quit [Ping timeout: 265 seconds]
hiratara has joined #nixos
Lev50 has quit [Quit: This computer has gone to sleep]
hamishmack has joined #nixos
leothrix has joined #nixos
Ralith_ has quit [Ping timeout: 256 seconds]
sanscoeur has quit [Remote host closed the connection]
Ralith_ has joined #nixos
sanscoeur has joined #nixos
Lev50 has joined #nixos
morenoh149 has joined #nixos
slack1256 has joined #nixos
saep has quit [Remote host closed the connection]
lukec has joined #nixos
<vorot93[m]> is it me or nixos-install just got broken?
<vorot93[m]> error: while setting up the build environment: unable to bind mount '/mnt/nix/store/8k6ngyvcpg81kwha2ijnlpwy99nkl4f0-NetworkManager.conf.drv.chroot': Permission denied
filwisher has quit [Ping timeout: 268 seconds]
xy2_ has quit [Ping timeout: 240 seconds]
sbdchd has joined #nixos
baconicsynergy has quit [Quit: Leaving]
Ariakenom has quit [Quit: Leaving]
MP2E has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed to master « openzwave: disable format hardening »: https://git.io/vhwnc
asymmetric has joined #nixos
sanscoeu_ has joined #nixos
logiq has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @ldub opened pull request #41868 → go-ethereum: 1.8.8 -> 1.8.10 → https://git.io/vhwnX
sanscoeur has quit [Ping timeout: 268 seconds]
sanscoeu_ has quit [Ping timeout: 264 seconds]
nschoe has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #41869 → pcsclite: use canonical src url → https://git.io/vhwcB
jperras has quit [Ping timeout: 268 seconds]
cinimod_ has quit [Quit: Connection closed for inactivity]
work_ has quit [Quit: Connection closed for inactivity]
palo has quit [Ping timeout: 256 seconds]
lassulus has quit [Ping timeout: 256 seconds]
Lev50 has quit [Quit: This computer has gone to sleep]
Lev50 has joined #nixos
<angerman> bgamari: pong
tzemanovic has joined #nixos
<angerman> bgamari: most notably you need the compact/driver from GitHub.com/angerman/haskell.nix
lassulus has joined #nixos
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
erasmas has quit [Quit: leaving]
<angerman> bgamari: elvishjerricco has a new builder that can even build cabal components only.
dbmikus has quit [Ping timeout: 256 seconds]
<bgamari> angerman, I was just wondering about your Cabal2nix implementation
<elvishjerricco> angerman: bgamari: I've even got a Plan2Nix exe that I don't think I've pushed yet that converts cabal plans
<bgamari> ahhh
<bgamari> elvishjerricco, fantastic
<bgamari> elvishjerricco, I was reflecting on the need for that earlier
<bgamari> elvishjerricco, let me know when you push it
<bgamari> I would love to give it a shot
<elvishjerricco> The per component building is really nice though because you get to not build tests if you want, which cuts build times and dependency graph sizes down enormously
<elvishjerricco> bgamari: I'll try to clean it up and put it somewhere this week
<angerman> elvishjerricco: we should consolidate the stuff ;-)
<elvishjerricco> Gotta get a PR merged in the hackage-db package first
<elvishjerricco> If anyone wants to help there
<elvishjerricco> It's already open but there are some trivial changes to make
<{^_^}> [nixpkgs] @dtzWill opened pull request #41870 → diffoscope: 91 -> 95 → https://git.io/vhwWB
<angerman> elvishjerricco: I’ve done the x2Nix renaming to fromX stuff done and some minor bug fixes for build depends.
<elvishjerricco> For context: my stuff generates a nix expression that represents all of the Hackage index and uses that as the base for everything.
<angerman> the name change is primarily so we stop having the Cabal2Nix / cabal2nix confusion.
<elvishjerricco> So I used hackage-db for reading the index, but needed to add support for revisions
<elvishjerricco> angerman: sweet. I'll rebase onto that
<angerman> elvishjerricco: if it’s not pushed yet, I’ll push in ~2hs
sbdchd has quit [Ping timeout: 248 seconds]
jackdk has joined #nixos
<bgamari> angerman, the name change is appreciated
<bgamari> elvishjerricco, sounds sensible to me
<angerman> bgamari: package will be “nix-tools” with “fromCabal”, “fromStack”, ...
<angerman> The primary motivation really were conditionals. Because without them cross compilation is just plain painful.
<alp> elvishjerricco, sounds lovely.
kiloreux has quit [Ping timeout: 240 seconds]
<elvishjerricco> angerman: Even just GHC version conditionals are super important, so I consider this really important work
<bgamari> indeed
<angerman> Yes, os, impl, ...
<bgamari> angerman, I am a bit concerned that those names may be also a bit generic
<bgamari> although I suppose given this is intended to be used with nix this isn't the end of the world
<elvishjerricco> Hopefully one day the nixpkgs snapshot can be based on this so we can support the >Stackage snapshot and multiple GHC versions
<bgamari> since they are essentially in their own namespace
<angerman> bgamari: if you can come up with a better naming scheme be my guest.
<elvishjerricco> s/support/better support/
<angerman> bgamari: if you can come up with a better naming scheme be my guest.
<bgamari> angerman, nix-from-cabal
<{^_^}> [nixpkgs] @bhipple opened pull request #41871 → mariadb: provide multiple src url mirrors → https://git.io/vhwWj
alexteves_ has quit [Remote host closed the connection]
samrose has joined #nixos
* bgamari generallly isn't a fan of capitalized executable names anyways
* alp likes bgamari's suggestion
<elvishjerricco> Should the exes be camel case or hyphenated?
jperras has joined #nixos
* bgamari thinks hyphenated
<elvishjerricco> Agreed
<bgamari> there is very little precedent for camel-case executable names
<angerman> bgamari: so nix-tools / nix-from-cabal
<angerman> bgamari: should it be expr-from-cabal?
<bgamari> I think nix-from-cabal is fine
<samrose> when building an iso as discussed at https://nixos.wiki/wiki/Creating_a_NixOS_live_CD what is the recommended way to populate the /etc/nixos/configuration.nix file during build?
<bgamari> nix-expr-from-cabal would be a bit too wordy
<colemickens> Any idea why Neovim is built from Pypi instead of GitHub?
thc202 has quit [Ping timeout: 240 seconds]
jperras has quit [Ping timeout: 260 seconds]
<angerman> bgamari, elvishjerricco: alright, one more renaming coming up...
<elvishjerricco> bgamari: angerman: cabal3nix :P
pie_ has quit [Quit: Leaving]
<bgamari> hah
<angerman> cabal4nix
<alp> elvishjerricco, is the setup part a dedicated component too at the nix level? IIRC setup-depends vs build-depends technically allows Cabal to pick 2 different versions of something if it's in both dependency lists and the bounds require it. would that be possible with your infra?
ericsagn1 has quit [Ping timeout: 240 seconds]
<elvishjerricco> alp: I haven't even begun to deal with setup-depends. That's a thorny topic. I suspect my stuff would require quite some adaptation to support multiple versions of the same package like that
<alp> elvishjerricco, I thought about hacks to make that work back when we were discussing ths idea with bgamari mooonths ago. mostly hacky ones, really. like suffixing deps that can be instantiated with different versions at different points with "_<component name>" or something. and you instantiate the versions to whatever the cabal plan file tells you to
<elvishjerricco> alp: Maybe from-cabal should export this information somehow, in order to reduce the hacks
<elvishjerricco> Does plan.json encode setup dependencies at all? We could maybe get the info from there in from-plan
<angerman> That would also be my approach. Enrich the generated expression.
<alp> but it might not be worth worrying about this before someone actually needs it, really. however, the more the nix infra mirrors Cabal's behaviour & capabilities, the better I feel
kiloreux has joined #nixos
<elvishjerricco> Yea I feel it's likely that only having one version of each package should satisfy setup-depends correctly in pretty much all real world cases
<alp> elvishjerricco, I think so. I can see this in a plan.json file I have around: "setup":{"depends":["Cabal-2.2.0.1","base-4.11.1.0","cabal-doctest-1.0.6-a48eff49c1fa698c590e20781838379c5928e1130874d883e9eda0bffa84d9c8"],"exe-depends":[]}}}