LnL has joined #nixos
LnL has quit [(Ping timeout: 260 seconds)]
LnL has joined #nixos
[0x4A6F] has joined #nixos
ryanartecona has joined #nixos
takle has joined #nixos
sellout- has quit [(Quit: Leaving.)]
nicknovi1 has joined #nixos
<gchristensen> interesting, the mysqlbackup service uses cron not timers
takle has quit [(Ping timeout: 276 seconds)]
<shlevy> niksnut: Around?
takle has joined #nixos
<gchristensen> quite late for eelco, 2:30am
takle has quit [(Ping timeout: 240 seconds)]
justelex_ has quit [(Ping timeout: 246 seconds)]
Wizek has quit [(Ping timeout: 240 seconds)]
Wizek_ has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Remote host closed the connection)]
justelex_ has joined #nixos
<tilpner> Is there a good way to install st terminfo without installing all the X libs?
nevermind has quit [(Quit: Textual IRC Client: www.textualapp.com)]
vaibhavsagar has joined #nixos
exarkun has left #nixos []
mizu_no_oto has joined #nixos
eacameron has joined #nixos
pie_ has quit [(Ping timeout: 260 seconds)]
s33se has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
s33se_ has quit [(Ping timeout: 240 seconds)]
<simpson> clever: I'm ordering some BeagleBones so that I can put them in Altoids tins. Would not-os be suitable for this kind of thing? What would I need to customize? Kernel and u-boot?
tghume has joined #nixos
simukis_ has quit [(Ping timeout: 240 seconds)]
hamishmack has joined #nixos
justelex has joined #nixos
eacameron has quit [(Remote host closed the connection)]
justelex_ has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
derjohn_mob has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
mudri has quit [(Quit: WeeChat 1.7.1)]
eacameron has quit [(Ping timeout: 260 seconds)]
ryanartecona has joined #nixos
eacameron has joined #nixos
vaibhavsagar_ has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
derjohn_mob has joined #nixos
acarrico has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
acarrico has joined #nixos
darlan has joined #nixos
eacameron has joined #nixos
justelex has quit [(Ping timeout: 240 seconds)]
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
revtintin has joined #nixos
eacamero_ has quit [(Ping timeout: 240 seconds)]
johnsonav has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 276 seconds)]
s33se_ has joined #nixos
<hodapp> general question for those with stronger library-fu than I have: if 'readelf -d' shows that a binary's RUNPATH includes a folder which contains (for instance) libcups.so.2, why would that binary be unable to find libcups.so.2 upon running it or running ldd on it?
s33se has quit [(Ping timeout: 268 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<hodapp> I made DraftSight run \o/
eacameron has joined #nixos
<hodapp> (without pkgs.buildFHSUserEnv)
neeasade has joined #nixos
mizu_no_oto has joined #nixos
<gchristensen> w00t!
eacameron has quit [(Ping timeout: 260 seconds)]
<clever> simpson: the kernel attribute may need to be updated, and u-boot added if you need it
<clever> simpson: and depending on if you favor cpu time or disk space, the squashfs could be swapped out for something else
eacameron has joined #nixos
takle has joined #nixos
<clever> simpson: main thing to keep in mind, is that it lacks the nix package manager, so you cant just rebuild-switch, you have to nix-build an image elsewhere, and re-flash whatever hdd its booting from
<hodapp> clever: by the way, the libcups.so.2 et al. issue from earlier was that some bundled libraries, not the main binary, weren't able to find libcups.so.2
<simpson> clever: That's not the end of the world, I suppose.
<clever> hodapp: ah, that would do it
<clever> simpson: i have also ran full nixos on some raspberry pi's so that is also an option
<simpson> clever: Is it wrong of me to prefer a full NixOS if I have the space?
<clever> simpson: depends on if you want to use it as a nixos machine, or specialize it for just one task and leave it to run forever
<hodapp> what's the state of NixOS on modern RasPi?
eacamero_ has joined #nixos
<clever> hodapp: i have ran armv6l and armv7l builds of it on my pi's
<clever> main issue is a lack of binary cache support, so it takes a week or 2 to recompile everything on channel updates
eacameron has quit [(Ping timeout: 240 seconds)]
<clever> 2017-04-21 12:54:09< Dezgeg> clever: shouldn't the banana pi router board just boot http://nixos-arm.dezgeg.me/installer/sd-image-armv7l-linux.img out-of-the-box?
<clever> this is a generic arm image Dezgeg has made, that will probably boot on most arm boards
takle has quit [(Ping timeout: 276 seconds)]
<clever> though you may need to tweak the bootloader
eacamero_ has quit [(Read error: Connection reset by peer)]
<Jookia> I use full NixOS on my Novena
<Jookia> since 2015
<hodapp> ...why does this binary distribution have a pile of .tx files, alongside the binary, which are all just symlinked to libraries elsewhere in the distribution?
<hodapp> whatever. I just shouldn't ask
eacameron has joined #nixos
<hodapp> this probably relates to the reason why the package is 525 MB
<hodapp> one of them is symlinked to /home/builduser/workspace2/BUILD_ARES_2017.1.0_COMPILE_LinuxX64/Argon/_build/linux_release64/draftsight/lib//libK2GestureWidget.so.1
hexagoxel has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
davidak has quit [(Quit: Leaving.)]
hexagoxel has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
newhoggy_ has joined #nixos
pmade_ is now known as pmade
eacameron has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
newhoggy has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
mizu_no_oto has joined #nixos
<hodapp> but now: "QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled"
acarrico has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
initialPumpkin has joined #nixos
<initialPumpkin> Is travis down for nix? Builds seem stuck: https://travis-ci.org/NixOS/nixpkgs/builds/227674449
alx741 has quit [(Quit: alx741)]
nicknovi1 has quit [(Ping timeout: 276 seconds)]
initialPumpkin has quit [(Quit: Page closed)]
schoppenhauer has quit [(Ping timeout: 260 seconds)]
systemfault has quit [(Quit: Bye!)]
schoppenhauer has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
ryanartecona has joined #nixos
mizu_no_oto has joined #nixos
dridus has joined #nixos
indi_ has joined #nixos
inflames has joined #nixos
mellowmaroon has joined #nixos
mellowmaroon has quit [(Quit: Leaving)]
DIzFer has quit [(Remote host closed the connection)]
DIzFer has joined #nixos
takle has joined #nixos
dridus has quit [(Quit: znc? wassat?)]
takle has quit [(Ping timeout: 268 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
newhoggy_ has quit [(Remote host closed the connection)]
proteusguy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
aperte has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
newhoggy has quit [(Remote host closed the connection)]
takle has joined #nixos
<inflames> I am trying to install synergy, I ran 'nix-env -iA nixpkgs.synergy' and it seemed to finish and install successfully, but I don't understand how to launch it
takle has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
athan has joined #nixos
<clever> inflames: you need to run synergs on the server and "synergyc <serverip>" on the client
<tilpner> inflames - If you're on NixOS, it might be better to use the synergy service
<clever> inflames: and the server needs a config file that describes the layout of the screens
<clever> tilpner: the nixos service for syngery is currently broken
<clever> and a nixos system wouldnt use -iA nixpkgs.
<tilpner> Welp, didn't know that :/
takle has joined #nixos
<inflames> oh, ok i'll look into that
newhoggy has quit [(Remote host closed the connection)]
<tilpner> clever - While I have you here (sorry): I can nix-env -f '<nixpkgs>' -iA gcc, but I can't install anything with nix-env without that, after switching to a local checkout yesterday. Do I need to do anything else for nix-env to work?
<clever> tilpner: nix-env is one of the weird tools, it will make no attempt to use the search path by default
<clever> it uses ~/.nix-defexpr/ instead
<clever> but -f '<nixpkgs>' will force it to use the search path
<clever> you would need to create a dummy entry under ~/.nix-defexpr/ if you want to cease using channels
<tilpner> I heard that before, right. I'll try that
<tilpner> clever - Thank you, it works! :)
takle has quit [(Ping timeout: 276 seconds)]
newhoggy has joined #nixos
aperte has quit [(Quit: aperte)]
<clever> inflames: are you on nixos or another distro?
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
takle has joined #nixos
aperte has joined #nixos
takle has quit [(Ping timeout: 276 seconds)]
ryanartecona has joined #nixos
neeasade has quit [(Quit: WeeChat 1.5)]
takle has joined #nixos
nicknovi1 has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
ertes has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 240 seconds)]
reinzelmann has joined #nixos
<inflames> nixos
<inflames> clever, ^
nil has quit [(Disconnected by services)]
eacameron has quit [(Remote host closed the connection)]
ntc has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
Guest20366 has joined #nixos
revtintin has quit [(Ping timeout: 240 seconds)]
marsel has joined #nixos
takle has quit [(Ping timeout: 276 seconds)]
MercurialAlchemi has joined #nixos
CMCDragonkai has joined #nixos
CMCDragonkai is now known as Guest91804
hamishmack has quit [(Quit: hamishmack)]
Guest20366 has quit [(Ping timeout: 260 seconds)]
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
inflames has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
osa1 has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
katyucha_ has quit [(Quit: Lost terminal)]
katyucha is now known as Guest39778
Guest39778 has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
katyucha has joined #nixos
katyucha_ has joined #nixos
marsel has quit [(Ping timeout: 240 seconds)]
inflames has joined #nixos
takle has joined #nixos
<inflames> clever, was I not supposed to install nixpkgs with nixos?
CMCDragonkai has joined #nixos
CMCDragonkai is now known as Guest195
justelex has joined #nixos
Guest91804 has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
osa1_ has joined #nixos
osa1 has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
MichaelRaskin has quit [(Ping timeout: 260 seconds)]
marusich has quit [(Quit: Leaving)]
osa1_ has quit [()]
<LnL> don't use nixpkgs channels for nixos-rebuild, but it's fine for nix-env
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
leat has quit [(Read error: No route to host)]
leat has joined #nixos
nicknovi1 has quit [(Ping timeout: 255 seconds)]
orivej has joined #nixos
ertes has joined #nixos
Filystyn has joined #nixos
marsel has joined #nixos
inflames has quit [(Ping timeout: 246 seconds)]
ertes has quit [(Ping timeout: 276 seconds)]
<vaibhavsagar_> has anyone seen this error before: "Failed to stop -.slice: Operation refused, unit -.slice may be requested by dependency only."?
<vaibhavsagar_> or "rm: cannot remove '/var/setuid-wrappers': Device or resource busy"
nschoe has joined #nixos
proteusguy has joined #nixos
bennofs has joined #nixos
justelex has quit [(Remote host closed the connection)]
justelex has joined #nixos
thineye has quit [(Remote host closed the connection)]
thineye has joined #nixos
nithor has joined #nixos
nithor has quit [(Client Quit)]
viric_ is now known as viric
nithor has joined #nixos
nithor has left #nixos []
jensens has joined #nixos
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
pie_ has joined #nixos
hotfuzz_ is now known as hotfuzz
Itkovian has joined #nixos
<sphalerite> How do the --jobs and --cores options interact with each other? AFAIU --cores specifies how many builds will run at once while --jobs specifies the -j flag for make and friends. Will using --cores C --jobs J result in up to C*J processes running at once?
<Dezgeg> yes, up to. but also the '-l $C' flag is passed to make so in practice it doesn't launch C*J
derjohn_mob has quit [(Ping timeout: 255 seconds)]
uralbash has joined #nixos
ambro718 has joined #nixos
uralbash has left #nixos []
freusque has joined #nixos
thc202 has joined #nixos
lewo has quit [(Quit: ZNC - http://znc.in)]
lewo has joined #nixos
<sphalerite> ah ok
joepie91___ has joined #nixos
joepie91___ has quit [(Changing host)]
joepie91___ has joined #nixos
<freusque> how do the nixops users among you manage deployments from different endpoints? do you use nixops export?
ekleog_ has joined #nixos
socksy_ has joined #nixos
joepie91 has quit [(Excess Flood)]
socksy has quit [(Ping timeout: 264 seconds)]
ekleog has quit [(Ping timeout: 264 seconds)]
dweller has quit [(Ping timeout: 264 seconds)]
dweller has joined #nixos
joepie91___ is now known as joepie91
jacob_ has joined #nixos
Guest195 has quit [(Ping timeout: 240 seconds)]
jacob_ is now known as Guest62124
Guest195 has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
StillerHarpo39 has joined #nixos
pie_ has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
kier_ is now known as kier
<srhb> How does a pythonPackage overlay work nowadays? Usually I've just made top level self: super: { foo = ... overlays, but if I want to add a package to pythonPackages, how do I go about that?
goibhniu has joined #nixos
takle has joined #nixos
derjohn_mob has joined #nixos
cfricke has joined #nixos
<ikwildrpepper> freusque: we do not deploy from different endpoints, we use shared deployment servers via ssh, and we have a nixops web interface as well (which will replace the ssh based deployment servers)
Guest195 has quit [(Ping timeout: 268 seconds)]
<freusque> ikwildrpepper: ok, thanks. :)
Guest195 has joined #nixos
FRidh has joined #nixos
<domenkozar> we (iohk) are using a shared deployment server as well, but we are looking into other options that would give us more accountability
aloiscochard has joined #nixos
<FRidh> instead of overriding a package you can just put a new attribute there
the-kenny has joined #nixos
takle_ has joined #nixos
takle has quit [(Ping timeout: 276 seconds)]
spinus has joined #nixos
<joepie91> anybody who has recently gotten Technic Launcher to work on NixOS? it seems to insist on trying to load 32-bits libraries for some reason
nadley_ has quit [(Remote host closed the connection)]
civodul has joined #nixos
<joepie91> cc clever (since you talked about this in the past)
<joepie91> or well, when trying to launch *
<freusque> domenkozar: thanks, perhaps i'll try sharing the ...-nixops-machines derivation
<joepie91> I've already used the expression at https://pastebin.com/HXcS14MA to set it up
oida has joined #nixos
takle_ has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
oida_ has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
endformationage has quit [(Quit: WeeChat 1.7)]
StillerHarpo39 has quit [(Ping timeout: 255 seconds)]
eacameron has quit [(Ping timeout: 276 seconds)]
newhoggy has joined #nixos
<iMatejC> (rly twice? how did that happen)
Itkovian has quit [(Ping timeout: 246 seconds)]
jbo has quit [(Quit: leaving)]
thineye has quit [(Quit: Leaving.)]
CMCDragonkai has joined #nixos
Itkovian has joined #nixos
CMCDragonkai is now known as Guest74377
<sphalerite> how can I work out the cause of X crashes? Theredoesn't seem to be anything in the journal
_Vi has quit [(Ping timeout: 240 seconds)]
Guest195 has quit [(Ping timeout: 240 seconds)]
<Jookia> sphalerite: Enable coredumps + set X to not interrupt signals
oida has quit [(Read error: Connection reset by peer)]
k2s has joined #nixos
<sphalerite> How? :D
justelex has quit [(Remote host closed the connection)]
oida has joined #nixos
justelex has joined #nixos
<Jookia> sphalerite: let me write up a note for you
<domenkozar> I'm pretty sure we're getting nix sandbox by default on in 1.12: https://github.com/NixOS/nix/issues/179#issuecomment-298556652
Phlogistique has joined #nixos
<Jookia> sphalerite: http://sprunge.us/GTJI
<sphalerite> Jookia: great, thanks
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
mudri has joined #nixos
<iMatejC> sphalerite: you could also check /var/log/X.0.log
newhoggy has quit [(Remote host closed the connection)]
<sphalerite> nothing at all unusual in any of the X logs :/
indi_ has quit [(Ping timeout: 255 seconds)]
<iMatejC> sphalerite: hm, not even in `journalctl -u display-manager` ? what display manager and window/desktop manager are you using
<sphalerite> nope, not there either. lightdm / i3
<iMatejC> hm I am using exactly the same
<sphalerite> My x session journal has a bunch of errors from applications about Resource temporarily unavailable with X, so the X server did clearly just disappear unexpectedly
bennofs has quit [(Ping timeout: 276 seconds)]
<iMatejC> you are using nixos unstable or stable? could you share somewhere the complete log?
reinhardt has joined #nixos
<sphalerite> stable
goibhniu1 has joined #nixos
<sphalerite> http://ix.io/ssi
reinzelmann has quit [(Ping timeout: 240 seconds)]
goibhniu has quit [(Ping timeout: 276 seconds)]
Guest62124 has quit [(Ping timeout: 255 seconds)]
goibhniu1 is now known as goibhniu
roconnor has quit [(Ping timeout: 260 seconds)]
<iMatejC> sphalerite: I do not see the "Resource temporarily unavailable..." errors
<sphalerite> yes, they're not in the X log
MP2E has quit [(Quit: sleep)]
nadley has joined #nixos
<sphalerite> http://ix.io/ssj excerpt of the journal at the time of the crash
<iMatejC> sphalerite: I gather that :) , I would like to see the log with those errors, I am interested in part where errors started
<sphalerite> up to that it's business as usual
<sphalerite> (the last messages before that are 13 minutes before)
bennofs has joined #nixos
Jookia has quit [(Quit: WeeChat 1.7.1)]
k2s has quit [(Ping timeout: 255 seconds)]
cfricke has quit [(Quit: WeeChat 1.7.1)]
k2s has joined #nixos
jacob_ has joined #nixos
jacob_ is now known as Guest42856
<iMatejC> sphalerite: there is not enough info, try setting this `services.xserver.displayManager.xserverArgs = [ "-logverbose 6" ];` and wait for the next time it happens, then look into logs again
<manveru> is there some easy way that i can remap keys in the nixos config?
<sphalerite> I know there is not enough info :p
<sphalerite> manveru: remap keys?
<manveru> well, i'd like the Muhenkan key to become Super_L, and the Super_L key to be Alt_L :(
<iMatejC> sphalerite: beside that, I do not know what to do else, either that or Jookia's answer
<manveru> i saw xkbOptions, but there seems to be none for this premade
ertes has joined #nixos
k0001 has joined #nixos
<avn> manveru: custom xkb layout definelly should work (xkbcomp -I ... foo.xkb $display)
<avn> also xmodmap _can_ work (I swap alt_l and super_l on my laptop with xmodmap)
<Dezgeg> nah don't ever use xmodmap, it's deprecated (and works funny with multiple keyboards and stuff)
ericsagnes has quit [(Ping timeout: 255 seconds)]
k2s has quit [(Ping timeout: 260 seconds)]
<manveru> hmm, will read up on what xkbcomp is
ertes has quit [(Ping timeout: 255 seconds)]
<manveru> i don't even have that command for some reason
justelex has quit [(Remote host closed the connection)]
<manveru> ah, found it
k2s has joined #nixos
justelex has joined #nixos
<manveru> avn: thanks, will take some time tonight to do this :)
Raimondii has joined #nixos
k2s has quit [(Ping timeout: 240 seconds)]
<avn> Yes, it a bit complicated and take some time to learn again each time (it why I used xmodmap to swap keys ;))
spinus has quit [(Ping timeout: 264 seconds)]
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
athan has quit [(Ping timeout: 276 seconds)]
oida_ has joined #nixos
newhoggy has joined #nixos
savanni has quit [(Remote host closed the connection)]
fingerzam has quit [(Remote host closed the connection)]
vdemeester has quit [(Remote host closed the connection)]
dgonyeo has quit [(Remote host closed the connection)]
zx2c4 has quit [(Remote host closed the connection)]
codedmart has quit [(Remote host closed the connection)]
bdimcheff has quit [(Remote host closed the connection)]
nz has quit [(Remote host closed the connection)]
teozkr has quit [(Remote host closed the connection)]
aristid has quit [(Remote host closed the connection)]
modafinil has quit [(Write error: Broken pipe)]
r0bby has quit [(Read error: Connection reset by peer)]
athan has joined #nixos
oida has quit [(Ping timeout: 245 seconds)]
cfricke has joined #nixos
r0bby has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
teozkr has joined #nixos
aristid has joined #nixos
nz has joined #nixos
ericsagnes has joined #nixos
bdimcheff has joined #nixos
newhoggy has joined #nixos
savanni has joined #nixos
newhoggy has quit [(Ping timeout: 276 seconds)]
dgonyeo has joined #nixos
codedmart has joined #nixos
vdemeester has joined #nixos
newhoggy has joined #nixos
oida has joined #nixos
nixy has joined #nixos
oida_ has quit [(Ping timeout: 260 seconds)]
zx2c4 has joined #nixos
modafinil has joined #nixos
fingerzam has joined #nixos
thineye has joined #nixos
oida_ has joined #nixos
kahiru has joined #nixos
oida has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
Wizek has joined #nixos
Wizek_ has joined #nixos
<sphalerite> Are we getting notifications from the bot back at any point?
newhoggy has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
zraexy has quit [(Ping timeout: 260 seconds)]
Fare has quit [(Ping timeout: 260 seconds)]
bennofs has quit [(Ping timeout: 240 seconds)]
<unlmtd[m]> any bsd users in here
snikkers has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
Phlogistique has quit [(Quit: WeeChat 1.0.1)]
Phlogistique has joined #nixos
<Phlogistique> pas
<Phlogistique> oops
<sziszi> I'm reading about "collections" in https://nixos.org/wiki/Cheatsheet#config_nix ; but I didn't found anything relevant in the manual, also I have a feeling this wiki page is slightly outdated. Can anybody point me in the right direction with this?
simukis_ has joined #nixos
<sziszi> 21653 store paths deleted, 28943.88 MiB freed
<nixy> sziszi: The wiki is pretty outdated. Let me see if I can find a good example of this for you
<sziszi> holy shit
sam_d has joined #nixos
<nixy> Yeah so this config.nix has a couple of these so called "collections" https://github.com/jwiegley/nix-config/blob/master/config.nix
<sziszi> nixy: thank you!
<nixy> Look for the buildEnv calls, but its effectively just a way to bundle multiple paths/packages into a singular one
FRidh has joined #nixos
k2s has joined #nixos
<sziszi> nixy: I think I got it, I'll try it out as soon as my nix-store --optimise finishes on my superslow disk
ertes has joined #nixos
k2s has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
engblom has quit [(Read error: Connection reset by peer)]
engblom has joined #nixos
makefu has quit [(Quit: WeeChat 1.7.1)]
snikkers has quit [(Quit: leaving)]
newhoggy has quit [(Ping timeout: 255 seconds)]
ertes has quit [(Ping timeout: 276 seconds)]
newhoggy has joined #nixos
sirius[m] has joined #nixos
Infinisil has joined #nixos
justelex has quit [(Excess Flood)]
<sphalerite> the-kenny: do you by any chance know how to get audacity to build? I wanted to update it (2.1.2 -> 2.1.3) but it's complaining about not finding ffmpeg.
<sziszi> nixy: didn't work
acarrico has joined #nixos
peacememories has joined #nixos
MoreTea has joined #nixos
<nixy> sziszi: How so? It works fine for me? Can you show me the expression you wrote?
<sziszi> and i got the message "error: selector ‘test’ matches no derivations"
<sziszi> I'm on unstable by the way
<nixy> Oh, it needs to be in a packageOverrides statement. Look at the beginning of the config from github. Its easy to miss it there because they didn't indent for it
Guest74377 has quit [(Ping timeout: 268 seconds)]
<sziszi> nixy: didn't catched my attention at first, thank you
nh2 has quit [(Ping timeout: 245 seconds)]
acarrico has quit [(Ping timeout: 260 seconds)]
Filystyn has quit [(Quit: Konversation terminated!)]
<MoreTea> Hm. I have a question about the recusive nix RFC.
<MoreTea> What exactly is this recursive nix to do? make it possible to just create the .drv files from nix? Or just run `nix-build` in a current build.
<ronny> hi
<ronny> anyone aware of a command to clean out /boot
makefu has joined #nixos
<ronny> its full and i cant remove unused data
makefu has quit [(Client Quit)]
<Profpatsch> Meeeeh, cache.nixos.org is extremely unresponsive again.
<Profpatsch> So annoying.
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
makefu has joined #nixos
<Profpatsch> It just doesn’t answer cache requests.
<gchristensen> what IP are you talking to?
<Profpatsch> That’s clearly a bug.
<Profpatsch> gchristensen: How do I find out?
makefu has quit [(Client Quit)]
<gchristensen> ping it
<Profpatsch> 52.222.171.156
makefu has joined #nixos
nh2 has joined #nixos
<MoreTea> @ronny see `man nix-collect-garbage`, be aware that this might disable rollback
peacememories has joined #nixos
<Profpatsch> ronny: also --gc in man nix-store
<the-kenny> sphalerite: Will come back later to you, very busy right now
nicknovi1 has joined #nixos
<Infinisil> Hi there! I'm trying to use the option systemd.services.<name>.environment, but for some reason it throws an error http://nixos.org/nixos/options.html#systemd.services.%3Cname%3E.environment
<Profpatsch> gchristensen: Oh!
<Profpatsch> It’s a bug in nix
pie_ has joined #nixos
<Profpatsch> download-from-binary-cache.pl: still waiting for ‘https://cache.nixos.org/bvpzl7hy0apkn13c9xab9q2rj30wnj61.narinfo’ after 5 seconds...
<Profpatsch> No, wait.
<Profpatsch> I missed a stray '
<Profpatsch> When I directly curl the narinfo, it returns instantly.
<Profpatsch> Maybe Cloudfront doesn’t like the dozens of parallel reqeusts?
<gchristensen> doesn't make a difference
mudri has quit [(Ping timeout: 240 seconds)]
<Profpatsch> So, using curl directly works
<Infinisil> Oh, my problem is inexistent, sry, i just used a string for environment, but it's really an attribute set
<Profpatsch> But nix chokes
nh2 has quit [(Ping timeout: 276 seconds)]
<Profpatsch> And I get the rabies knowing that it’s probably long fixed in 1.12
<sziszi> nixy: i used the wrong (outdated) nixpkgs config path which was outside of the XDG_CONFIG directory
<joepie91> just my luck, seems I've run into a Java bug
<sziszi> thanks!
<sziszi> looks like installing now
bennofs has joined #nixos
<nixy> sziszi: I didn't even realize we were using $XDG_CONFIG for that now lol
iyzsong has joined #nixos
Fare has joined #nixos
<hodapp> anyone have any hints on "QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled" and nothing visible in the main DraftSight window on https://github.com/Hodapp87/nixpkgs/tree/draftsight/pkgs/applications/graphics/draftsight?
<sziszi> nixy: .config/nixpkgs/config.nix was the missing piece of this puzzle
<hodapp> If I run instead from the pkgs.buildFHSUserEnv I built, it all works fine, and the library list was more or less just copied across from that
oida has joined #nixos
<hodapp> suggestions online mention things like dbus, but adding that to the libraries doesn't seem to matter
<sphalerite> the-kenny: no worries
<hodapp> is it possible this binary-only package is trying to do something janky, like dlopen from a fixed path (which I assume patchelf can't do anything about)?
<hodapp> and that's why buildFHSUserEnv is working (because it put things in the right fixed path)?
oida_ has quit [(Ping timeout: 258 seconds)]
makefu has quit [(Quit: WeeChat 1.7.1)]
acarrico has joined #nixos
<Infinisil> Anybody know how environment.variables works? I'm setting environment.variables = { TESTTEST = "Hi!"; }; but after a rebuild echo $TESTTEST doesn't print anything
<Infinisil> Even after restarting the terminal
<nixy> Infinisil: It may initialize those variables only from a login shell
makefu has joined #nixos
<nixy> Are they there if you login to another TTY?
<Infinisil> I'll try with a login shell, hold on
<Infinisil> Hmm doesn't seem to work, I tried with xterm and sakura
<Infinisil> I may try a restart, but that really shouldn't solve it
<hodapp> ...nevermind. My issue was that I needed "dontPatchELF = true;"
<Infinisil> If somebody else has the time, could they test if environment.variables.TESTTEST = "Test" works for them?
<gchristensen> Profpatsch: next time you have trouble, run this: https://gist.github.com/grahamc/df1bb806eb3552650d03eef7036a72ba
<gchristensen> send me the resulting paste
<nixy> Anybody know of a good reference for figuring out python.withPackages?
<Profpatsch> gchristensen: I removed my laptop from the dock, it switched to wifi and suddenly started working
<hodapp> nixy: what are you trying to figure out particularly+
<hodapp> ...?
<Profpatsch> cache.nixos.org is now 2600:9000:2043:fe00:10:dfa4:b0c0:93a1
pie__ has joined #nixos
<gchristensen> Profpatsch: ok please run that script now
<nixy> hodapp: How to use python.withPackages in my config.nix to make my python interpreter have libraries available
<nixy> I have seen how to use it in a shell.nix, but can't find any good examples of using it in a packageOverrides
Guest74377 has joined #nixos
<ronny> MoreTea: Profpatsch: both commands are worthless to clean out a /boot partition tht has copied around kernel images that no longer match the oens existing in the store
pie_ has quit [(Ping timeout: 255 seconds)]
<hodapp> nixy: can't you just (to steal one of the manual examples) put something like "pythonEnv = pkgs.python.withPackages (ps: [ps.pyramid]);" into config.nix, and install that into your environment?
<hodapp> that seemed to work for me
cpennington has joined #nixos
makefu has quit [(Quit: WeeChat 1.7.1)]
<Profpatsch> gchristensen: http://ix.io/stE
<hodapp> bleah. next fun error: "xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb", "Qt: Failed to create XKB context!"
<hodapp> is it normal that "grep in nixpkgs" is my go-to method of trying to figure things out?
makefu has joined #nixos
thineye has quit [(Quit: Leaving.)]
<Profpatsch> ronny: They will not remove live store paths
<nixy> hodapp: When I do that I get a 'pythonEnv matches no derivation', so it doesn't seem to be in scope
<lassulus> hodapp: I'm doing the same most of the time
<Profpatsch> So gc cannot remove an active system profile.
<ronny> Profpatsch: myproblem is NOT store paths
kuznero has joined #nixos
<kuznero> Hi All! I am trying to find an alternative to gvim in NixOS but with neovim. Can anybody help? there is a package neovim-pygui, but I have no idea how to start it...
<ronny> Profpatsch: my problem is that a gc will not fix up excess useless data in the boopt partition
<Profpatsch> ronny: How about moving everyting in /boot to a backup and rebuilding your system?
<gchristensen> ronny: I think aftere a gc do a nixos-rebuild boot to clean it up, have you tried that?
<ronny> gchristensen: that does absolutely fail due to no space left on /boot
<hodapp> nixy: can you gist your config.nix maybe?
<gchristensen> ronny: what is your bootloader?
mudri has joined #nixos
cpennington has quit [(Ping timeout: 260 seconds)]
<ronny> gchristensen: gummyboot
justelex has joined #nixos
<kuznero> and neovim-qt does not seem to share any configuration of neovim I have installed in my nix-expressions. Please help
nithor_ is now known as nithor
<hodapp> nixy: huh, this looks very similar to mine in most ways... how are you trying to install pythonEnv?
<gchristensen> ronny: ok I would find an old generation and delete the corresponding bzImage and initrd from /boot/EFI/nixos, like: https://gist.github.com/grahamc/6548259457eb6303b564697d26d8ca3d
<nixy> `nix-env -i pythonEnv`
<FRidh> niksnut: ikwildrpepper: are access log records kept for the cache on S3? Can those logs be made available?
arh has joined #nixos
<ikwildrpepper> yes we have logs from cloudfront
<ikwildrpepper> FRidh: what would you like to use it for?
<ronny> gchristensen: is there any way to access the tool that cleans them up *after* the rebuild?
<FRidh> ikwildrpepper: to compute statistics on the usage of the different packages
Infinisil has quit [(Quit: leaving)]
<hodapp> nixy: you likely need -iA
<nixy> hodapp: That was my first guess but that gives the same error
<ronny> fin
<hodapp> nixy: nix-env -f '<nixpkgs>' -iA pythonEnv perhaps?
<gchristensen> ronny: I don't know, sorry
<ronny> a nix-colect-garbage -d afre a failed nixos-rebuild boot leaves a system where the only existing generation is not in the boot menu, i suppose the only reason things stay around is the current bootet symlink?
<ronny> i deleted all kernels and ran a rebuild boot
<ronny> so after a reboot it should work again
<ronny> brb
<gchristensen> this is such a big gotcha :(
cpennington has joined #nixos
<nixy> hodapp: ayyyy that did it. Wonder why I have to explicitly specify nixpkgs
<hodapp> nixy: I don't know >_>
ertes has joined #nixos
toppler has joined #nixos
Mateon1 has joined #nixos
Mateon1 has quit [(Remote host closed the connection)]
<hodapp> blugh. what's the policy on giving URLs that sort of kind of bypass a license page?
<hodapp> should I just use requireFile and say how to get the file, even if it's possible to link directly?
Mateon1 has joined #nixos
ertes has quit [(Ping timeout: 260 seconds)]
MoreTea has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pie__ has quit [(Ping timeout: 264 seconds)]
<sphalerite> nixy: -i is generally not waht you want without -A. nix-env -iA nixpkgs.pythonEnv will work too, but nix-env -i pythonEnv will search through *all* packages for one with the *name* (not attribute path) pythonEnv. You haven't specified a name for pythonEnv at all, so I think it becomes something like "user-environment"
leat has quit [(Ping timeout: 260 seconds)]
<gchristensen> hrmm it seems nginx's module can't support a single domain name on http and https
<gchristensen> _unless_ it has forceSSL enabled
<ronny> gchristensen: it worked out tho
<gchristensen> ronny: oh?
<nixy> sphalerite: I would use -A a lot more if there was a way to make it defaults to nixpkgs. and if half of the packages weren't named inconsistently for their attribute path :(
newhoggy has quit [(Ping timeout: 276 seconds)]
<sphalerite> nixy: I usually use nox to find packages along with their attribute paths, and consider the names to be nothing but decoration
justelex has quit [(Quit: Konversation terminated!)]
<domenkozar> ikwildrpepper: any feedback on https://github.com/NixOS/nixpkgs/pull/25288
<ikwildrpepper> no, if it works, feel free to commit
<ikwildrpepper> commit -> push
<domenkozar> works for me :)
<ikwildrpepper> domenkozar: does the PR mean btw, that you cannot define environment.etc."dd-agent/conf.d" entries anymore?
<domenkozar> ikwildrpepper: I'm afraid so. I can add an option to link in additional configs
<domenkozar> if you need that
<ikwildrpepper> yeah, that would be nice, otherwise you cannot use custom agent checks
<ikwildrpepper> domenkozar: can't you use environment.etc for this combining actually?
peacememories has joined #nixos
dridus has joined #nixos
<ikwildrpepper> then you wouldn't need the ln's really
<domenkozar> ikwildrpepper: how would that work? filter all enviroment.etc that start with dd-agent?
<ikwildrpepper> no, I mean, add the fixed datadog ones, as well as the ones via the specific options, using environment.etc
romildo has joined #nixos
<domenkozar> that might give an impression that /etc/dd-agent/ folder works
<ikwildrpepper> so basically you build a environment.etc structure based on the config in stead of creating some pseudo path
<ikwildrpepper> well, it does right
<domenkozar> works: meaning that you can add files manually there
<ikwildrpepper> as you are using it
<ikwildrpepper> well no
<ikwildrpepper> it allows previous config that creates /etc/dd-agent files to still work
<ikwildrpepper> aka be backward compatible
<romildo> When writing a nix expression for a given package, execution of autoreconfHook fails with the message: aclocal: error: aclocal: file 'm4/intltool.m4' does not exist.
<romildo> Any clues on how to fix that?
<domenkozar> ikwildrpepper: how would you populated environment.etc from datadog config structure?
<domenkozar> populate*
<domenkozar> I don't see how we could keep backwards compatibility, but copy over $out/agent/conf.d-system/
<domenkozar> which is dynamic
<domenkozar> and we need to be able to override those files
<domenkozar> with ln -sf does
<romildo> I have /nix/store/21kwshpzq3ywxbwy5brapia70lrmjll5-intltool-0.51.0/share/aclocal/intltool.m4 on my system.
<domenkozar> ikwildrpepper: I'm all for using bw approach if you have an idea that would work :)
<ikwildrpepper> domenkozar: yeah, I see the problem. perhaps we should have an update script for datadog that reads the dynamic part, and generates a static list
kuznero has quit [(Quit: Page closed)]
<ikwildrpepper> (not at eval time, at update time)
<domenkozar> afaik we prefer to have as few activation scripts as possible
<ikwildrpepper> it is not ideal, but adding new options that basically do what environment.etc used to do, doesn't sound that nice either
<domenkozar> in this case bw compatibility is not hard to achieve
<domenkozar> it will error out
<domenkozar> and you'll just need to set something like
<ikwildrpepper> domenkozar: yeah, not at eval/build time, only a script what need to be run to update the package
<ikwildrpepper> how is erroring out, bw compatible ;)
iclanzan has joined #nixos
<domenkozar> ikwildrpepper: well it's nix eval time small change :)
<domenkozar> I consider that not much of a deal breaker once it happens now and there
<domenkozar> that's the leverage we have compared to other distros, to keep things clean :D
<ikwildrpepper> I do, when I need to fix it in a lot of places ;)
<ikwildrpepper> well, I think my suggestion is cleaner really
<ikwildrpepper> just puts 'more burden' on the maintainer
mkoenig has joined #nixos
<domenkozar> so a script would crawl through files in $out/agent and generate environment.etc code?
<ikwildrpepper> i'll try to look at it tonight
oida_ has joined #nixos
<domenkozar> ikwildrpepper: thanks!
alunduil has joined #nixos
takle has quit [(Remote host closed the connection)]
leat has joined #nixos
estewei has joined #nixos
ryantrinkle has joined #nixos
roconnor has joined #nixos
oida has quit [(Ping timeout: 268 seconds)]
<niksnut> FRidh: we have access logs, but we can't make them available for privacy reasons
_Vi has joined #nixos
taktoa has quit [(Remote host closed the connection)]
romildo has quit [(Quit: Leaving)]
johnsonav has quit [(Remote host closed the connection)]
nh2 has joined #nixos
reinhardt has quit [(Quit: Leaving)]
hamishmack has joined #nixos
nh2 has quit [(Ping timeout: 246 seconds)]
cfricke has quit [(Ping timeout: 260 seconds)]
justelex has joined #nixos
taktoa has joined #nixos
zraexy has joined #nixos
ilyaigpetrov has joined #nixos
taktoa has quit [(Remote host closed the connection)]
OfficialJustan has quit [(Ping timeout: 260 seconds)]
<copumpkin> for the binary cache?
smw has quit [(Ping timeout: 240 seconds)]
nicknovi1 has quit [(Ping timeout: 245 seconds)]
newhoggy has joined #nixos
<copumpkin> niksnut: does hydra keep an index from nar hashes back to expressions that generated them?
nh2 has joined #nixos
<FRidh> niksnut: understandable. I'm interested in knowing how popular packages are and so would like to have know when a certain file was requested. I suppose it may make more sense to go for a debian popcon approach instead.
taktoa has joined #nixos
bennofs has quit [(Ping timeout: 276 seconds)]
<domenkozar> niksnut: what data would have to be stripped, IPs?
nh2 has quit [(Client Quit)]
newhoggy has quit [(Ping timeout: 260 seconds)]
MercurialAlchemi has quit [(Ping timeout: 268 seconds)]
erasmas has joined #nixos
Guest42856 has quit [(Quit: Lost terminal)]
jacob__ has joined #nixos
nicknovi1 has joined #nixos
oida_ has quit [(Quit: WeeChat 1.7.1)]
smw has joined #nixos
nh2 has joined #nixos
justelex has quit [(Ping timeout: 276 seconds)]
newhoggy has joined #nixos
<asymmetric> i tried updating ipfs to latst, changed the version and ran `nix-build -A ipfs`. was expecting the build to fail and give me the correct hash, but it didn't
<gchristensen> asymmetric: it is because the hash hasn't changed, and a hash present in a fetcher overrides its inputs, if the hash has already been fixed
<niksnut> copumpkin: I suppose you could use the BuildSteps table to get the corresponding JobsetEval (and thus the inputs)
<niksnut> domenkozar: at least IPs
<niksnut> also user agents
takle has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
<asymmetric> gchristensen: hmm, that's not my experience for other types of packages though.. i just do what i did, fix the hash after running, and go ahead
<niksnut> and in general anonymization is hard
<niksnut> e.g. if I know somebody requested some paths, I can use the logs to discover what else they're doing
<asymmetric> gchristensen: or maybe i don't fully understand your comment
<LnL> asymmetric: did you change the sha256 attribute?
obadz has quit [(Ping timeout: 260 seconds)]
<asymmetric> no, i didn't, as i don't know what to change it to yet.. that's why i usually run nix-build first, watch it fail, and then update using its output.. and it usually works
<domenkozar> niksnut: sure but with just paths one could do some statistics. I don
<domenkozar> 't find it useful but anyway :)
<gchristensen> asymmetric: it is likely that before you didn't already have the downloaded file, so nix was going to fetch it anyway
<gchristensen> but this time you already have the downloaded file, so it knows based on the hash it already has it
<domenkozar> niksnut: what do you think about https://github.com/NixOS/nix/issues/179#issuecomment-298556652
obadz has joined #nixos
<gchristensen> *chants* turn it on! turn it on!
<LnL> symphorien: you have to change the hash to something else (like all zeros)
<asymmetric> ok, i'll try changing the hash to a bogus value
<LnL> asymmetric: ^, the url isn't important for the output so it'll use the "old" source since that already exists
endformationage has joined #nixos
<asymmetric> i have another question: i ran `nix-collect-garbage -d` and a) it freed up 25 GB b) now i have this error: `set: Warning: $PATH entry "/nix/store/zhhb02yrp03xzfrpk06ixb0gmwrjmjff-coreutils-8.25/bin/" is not valid (No such file or directory)`
<asymmetric> when opening a new shell
<asymmetric> the shell if fish btw
<LnL> alternatively nix-build -A ipfs.src --check will also redownload and verify the hash
noam has quit [(Read error: Connection reset by peer)]
newhoggy has joined #nixos
dlight has quit [(Remote host closed the connection)]
Sigma has quit [(Ping timeout: 240 seconds)]
<flyx> hi folks! I am getting a strangs syntax error when trying `nix-shell -p ghc-7.8.3`: error: syntax error, unexpected INT, expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):1:72
rizary has quit [(Ping timeout: 264 seconds)]
thoughtpolice has quit [(Ping timeout: 255 seconds)]
<flyx> what's this?
sellout- has joined #nixos
eqyiel_ has quit [(Ping timeout: 240 seconds)]
goodwill has quit [(Ping timeout: 264 seconds)]
[0__0] has quit [(Ping timeout: 241 seconds)]
ilyaigpetrov has quit [(Ping timeout: 276 seconds)]
leothrix has quit [(Ping timeout: 255 seconds)]
nicknovitski has joined #nixos
vdemeester has quit [(Ping timeout: 255 seconds)]
pmade has quit [(Ping timeout: 255 seconds)]
johnw has quit [(Ping timeout: 255 seconds)]
nand0p has quit [(Ping timeout: 264 seconds)]
baroncharlus has quit [(Ping timeout: 264 seconds)]
clever has quit [(Ping timeout: 255 seconds)]
codedmart has quit [(Ping timeout: 255 seconds)]
Bodil has quit [(Ping timeout: 255 seconds)]
bdimcheff has quit [(Ping timeout: 276 seconds)]
andrewrk has quit [(Ping timeout: 264 seconds)]
dvim has quit [(Ping timeout: 264 seconds)]
canndrew_ has quit [(Ping timeout: 264 seconds)]
edofic has quit [(Ping timeout: 264 seconds)]
wavewave has quit [(Ping timeout: 264 seconds)]
kragniz has quit [(Ping timeout: 240 seconds)]
Dezgeg has quit [(Ping timeout: 258 seconds)]
vdemeester has joined #nixos
nicknovi1 has quit [(Ping timeout: 276 seconds)]
nz has quit [(Ping timeout: 276 seconds)]
<LnL> flyx: you probably want nix-shell -p haskell.packages.ghc783.ghc
zx2c4 has quit [(Ping timeout: 264 seconds)]
Ankhers has quit [(Ping timeout: 264 seconds)]
avn_nb has quit [(Ping timeout: 260 seconds)]
newhoggy has quit [(Ping timeout: 276 seconds)]
Intensity has quit [(Ping timeout: 258 seconds)]
<flyx> LnL: ah yes, thanks
samae has quit [(Ping timeout: 246 seconds)]
ilyaigpetrov has joined #nixos
eqyiel has joined #nixos
eqyiel has quit [(Changing host)]
eqyiel has joined #nixos
pmade_ has joined #nixos
dgonyeo has quit [(Ping timeout: 264 seconds)]
nh2 has quit [(Quit: Leaving.)]
ben has quit [(Ping timeout: 260 seconds)]
bennofs has joined #nixos
<hyphon81> Can I use bash array in the nix script?
canndrew has joined #nixos
samae has joined #nixos
johnw has joined #nixos
lpsmith has quit [(Ping timeout: 240 seconds)]
manveru has quit [(Ping timeout: 264 seconds)]
acarrico has quit [(Ping timeout: 276 seconds)]
zx2c4 has joined #nixos
thoughtpolice has joined #nixos
bdimcheff has joined #nixos
nand0p has joined #nixos
<sphalerite> yes, it's run by bas
<sphalerite> h
andrewrk has joined #nixos
lpsmith has joined #nixos
nz has joined #nixos
ocharles has quit [(Ping timeout: 240 seconds)]
avn_nb has joined #nixos
Sigma has joined #nixos
rizary has joined #nixos
goodwill has joined #nixos
Ankhers has joined #nixos
eacameron has joined #nixos
Bodil has joined #nixos
leothrix has joined #nixos
nh2 has joined #nixos
ben__ has joined #nixos
Dezgeg has joined #nixos
<hyphon81> If I write "${array[@]}" in nix, it will be recognized as a nix value. And it output error...
edofic has joined #nixos
dgonyeo has joined #nixos
kragniz has joined #nixos
canndrew has quit [(Ping timeout: 276 seconds)]
Intensity has joined #nixos
canndrew has joined #nixos
codedmart has joined #nixos
Jackneill has quit [(Read error: Connection timed out)]
clever has joined #nixos
Jackneill has joined #nixos
stepcut has quit [(Remote host closed the connection)]
acarrico has joined #nixos
baroncharlus has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
sellout- has quit [(Quit: Leaving.)]
Guest74377 has quit [(Ping timeout: 268 seconds)]
<sphalerite> hyphon81: escape it with ''. It's rather ugly, but if you use ''${ rather than ${ nix won't interpret it
<hodapp> well, there's my PR for DraftSight. No idea if it'll be accepted, since it's a big ugly annoying binary package
dvim has joined #nixos
ocharles has joined #nixos
manveru has joined #nixos
newhoggy has joined #nixos
<FRidh> perl on staging seems to fail
thineye has joined #nixos
nh2 has quit [(Ping timeout: 260 seconds)]
newhoggy has quit [(Ping timeout: 276 seconds)]
<phorse`> does anybody here use nixos on a macbook? what do you use to adjust the screen brightness?
hyphon81 has quit [(Ping timeout: 240 seconds)]
arh1243 has joined #nixos
<ikwildrpepper> phorse`: xbacklight
arh has quit [(Ping timeout: 260 seconds)]
<phorse`> ikwildrpepper: I was trying that out last night, but it wasn't working
<phorse`> just xbacklight -inc/-dec?
<ikwildrpepper> yeah
<ikwildrpepper> lemme check if I can find anything else in my config that makes that work ;)
kahiru has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
pmade_ is now known as pmade
iyzsong has quit [(Ping timeout: 260 seconds)]
<phorse`> ikwildrpepper: thanks! if it helps, I'm just running plain i3 as my window manager - no extra dressing
hyphon81 has joined #nixos
<sphalerite> phorse`: I use xbacklight, yeah
noam has joined #nixos
spinus has joined #nixos
<hyphon81> sphalerite: Thanks!
<sphalerite> bindsym XF86MonBrightnessUp exec "xbacklight +10"
<sphalerite> bindsym XF86MonBrightnessDown exec "xbacklight -10"
<sphalerite> in i3
<sphalerite> hyphon81: if you're not using nix's ${} at all you could also put the script in a separate file and get it in the expression using builtins.readFile
<phorse`> sphalerite: ok, that's two votes for the simple solution. I must have mucked it up somehow, I'll try again tonight. Thanks!
<sphalerite> phorse`: does xbacklight work for you? I had to mess with the X config a bit because X wasn't using the right device — there's both intel_backlight and gmux_backlight in /sys/class/backlight and X was preferring intel_backlight even though gmux_backlight was the right one
nh2 has joined #nixos
<sphalerite> phorse`: of course the right solution depends a bit on how you're going to use it as well. For example, using xbacklight won't work well if you're going to be on a plain console :)
<phorse`> sphalerite: oh, this is good stuff. I have nv_backlight and gmux_backlight. When I was playing with it it made no change whatsoever, but I only fiddled for ~15 minutes.
<phorse`> and I am using x :)
newhoggy has joined #nixos
<sphalerite> phorse`: services.xserver.deviceSection = ''Option "Backlight" "gmux_backlight"''
newhoggy has quit [(Ping timeout: 255 seconds)]
<phorse`> sphalerite: thanks, that looks perfect. I'll give it a spin tonight
digitus has joined #nixos
cpennington has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
<Isorkin_> Hi. How to global install nodejs-pm2 ? package pm2 not found
ryanartecona has joined #nixos
<guillaum2> Hello. I have a projet with a default.nix somewhere on my harddrive. How can I add this file as a gc root to avoid all the dependencies included inside this default.n
<guillaum2> ...ix to be garbage collected.
<LnL> guillaum2: nix-instantiate --indirect --add-root $PWD/result.drv
<gchristensen> guillaum2: look up `man nix-store` and `--add-root`
jensens has quit [(Ping timeout: 276 seconds)]
newhoggy has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
leat has quit [(Ping timeout: 240 seconds)]
peacememories has joined #nixos
cpennington has joined #nixos
Fare has quit [(Ping timeout: 268 seconds)]
peacememories has quit [(Client Quit)]
newhoggy has quit [(Ping timeout: 255 seconds)]
meshita is now known as a_ryan
peacememories has joined #nixos
simukis has joined #nixos
simukis_ has quit [(Ping timeout: 240 seconds)]
dridus has quit [(Quit: znc? wassat?)]
cpennington has quit [(Ping timeout: 240 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
<disasm> Isorkin_: use node2nix
[0__0] has joined #nixos
newhoggy has joined #nixos
spinus has quit [(Ping timeout: 240 seconds)]
leat has joined #nixos
radvendii has joined #nixos
radvendii has quit [(Client Quit)]
newhoggy has quit [(Ping timeout: 240 seconds)]
sellout- has joined #nixos
pie_ has joined #nixos
brodul has joined #nixos
cpennington has joined #nixos
mudri has joined #nixos
aswanson has joined #nixos
newhoggy has joined #nixos
raydeo has quit [(Changing host)]
raydeo has joined #nixos
marsel has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 255 seconds)]
bennofs has quit [(Ping timeout: 240 seconds)]
ambro718 has quit [(Quit: Konversation terminated!)]
iclanzan has quit [(Ping timeout: 240 seconds)]
iclanzan has joined #nixos
newhoggy has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
ertes has joined #nixos
Guest74377 has joined #nixos
newhoggy has quit [(Ping timeout: 276 seconds)]
<aswanson> is it cool to ask troubleshooting questions here? I've never participated in a development IRC channel...
<gchristensen> you bet, aw
<gchristensen> aswanson:
newhoggy has joined #nixos
<lewo> Hi. Is it possible to get a conflict in a python closure if there are different module versions in build requires?
<aswanson> cool! I'm setting up an R development environment and getting errors installing the R 'openssl' package. It's complaining that 'pkg-config' can't find openssl.pc on its path
<aswanson> I can see that the nix store has several copies of openssl.pc in it, but the pkg-config path doesn't contain any of them
<simpson> aswanson: Are you following http://nixos.org/nixpkgs/manual/#r-packages ?
<aswanson> I am not, I hadn't thought to look for a specific section on R
<aswanson> I'll take a look through that and see what I find
<hodapp> were you doing install.packages(...) in R?
Guest74377 has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 260 seconds)]
RayNbow` has quit [(Ping timeout: 255 seconds)]
<aswanson> I was, yeah
RayNbow`TU has joined #nixos
<Isorkin_> disasm: error build - https://pastebin.com/ha30tQk9 - npm ERR! addLocal Could not install
<guillaum2> LnL: gchristensen: thank you.
<hodapp> aswanson: yeah, typical R procedure is to look in the existing R packages rather than try to install from R, as doing it from R leads to all sorts of annoyance when the packages that have native components assume all sorts of things about the environment
<Isorkin_> disasm: config - https://pastebin.com/0CchSQDC
newhoggy has joined #nixos
<aswanson> hodapp, makes sense now, but I had a lot of trouble finding the packages in the nix repo. Are they named the same?
k2s has joined #nixos
wavewave has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<hodapp> aswanson: searching with "nix-env -f "<nixpkgs>" -qaP -A rPackages" like the manual says?
<aswanson> no, I hadn't done any of the setup in the manual for R. I'll be setting that up and hoping it works as advertised
dridus has joined #nixos
<hodapp> I've been using it myself and had no problems
FRidh has quit [(Ping timeout: 276 seconds)]
<hodapp> well, I had some problems with RStudio, which I did my best to fix and commit
<hodapp> (mainly, the problems were that RStudio couldn't access the packages the R installation had installed)
<hodapp> but that was recently so it may be a bit before it makes its way into a stable release
newhoggy has joined #nixos
<contrapumpkin> niksnut: that could be a fun script to write. Might help inform a smarter GC of the cache bucket
<simukis> how can I install a cross compiler for, say, mingw? My goal is to have `x86_64-w64-mingw32-*` et al (or similar) in the environment. I’ve found makeStdenvCross, but having a hard time figuring it out
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Mic92> s3 is down and I cannot update my linux distribution
newhoggy has quit [(Ping timeout: 276 seconds)]
<gchristensen> s3 is down?
goibhniu has quit [(Ping timeout: 264 seconds)]
<Yaniel> again?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
* gchristensen finds that tough to believe...
<Mic92> gchristensen: it was for several minutes
<Mic92> looks like nixos-ipfs lost its spin
<gchristensen> I think the conclusion was that ipfs can't handle it yet
<Mic92> gchristensen: do know where this was discussed?
<jophish> Does @grwlf ever come on IRC?
<niksnut> contrapumpkin: what script?
<sziszi> gchristensen: is there any news on the wiki?
newhoggy has joined #nixos
<sziszi> or even will there be one?
<Mic92> sziszi: me and some friends started here: https://github.com/Mic92/nixos-wiki/wiki
<gchristensen> I have no stake in the wiki other than wanting it to go away or come back
ryanartecona has joined #nixos
<gchristensen> actually ... maybe making it go away will push people to bring it back, niksnut :~)
<Mic92> gchristensen: is it possible to get a dump somewhere?
<sziszi> Mic92: to be honest I'm more interested in some commit based one like gitbook.com or readthedocs.io privides
<Mic92> sziszi: you can
<gchristensen> sziszi: there is a long and tired discussion about that
<gchristensen> Mic92: I don't know
<gchristensen> sziszi: you'd have to talk to eelco :)
<Mic92> sziszi: I can add you to the repo
<contrapumpkin> niksnut: oh, the nix-cache bucket GC script. I figured it'd be fun to write a script that sucked up S3 access logs, cross-referenced them against hydra DB, and provided aggregated usage data (both that we could publish, and that we could use to inform future decisions). The obvious one would be that we could probably GC things that have never been downloaded (probably obscure expressions from ancient revisions of nixpkgs), but less
<contrapumpkin> obvious examples might be that we can probably get away with much smaller i686 builds than we're doing today, but it's hard to know without data
<sziszi> gchristensen: I'm even fine with a jekyll generator
<gchristensen> sziszi: there is a long and tired discussion about that
<sziszi> Mic92: thanks
aloiscochard has quit [(Quit: Connection closed for inactivity)]
<Mic92> sziszi: what is you github username?
newhoggy has quit [(Ping timeout: 264 seconds)]
<Mic92> If I add you as contributor, you can also push
<sziszi> thanks
k2s has quit [(Ping timeout: 240 seconds)]
nschoe has quit [(Quit: Program. Terminated.)]
newhoggy has joined #nixos
bennofs has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
newhoggy has joined #nixos
_Vi has quit [(Ping timeout: 245 seconds)]
<copumpkin> niksnut: so tbc, I'm not proposing anonymization in any traditional sense. Just saying that we could have a script that aggregates the request-level data into package/version-level data
<copumpkin> and then use that both because folks love stats, and to actually make useful decisions
mudri has quit [(Ping timeout: 276 seconds)]
<gchristensen> request-level is pretty low level
stepcut has joined #nixos
stepcut has quit [(Read error: Connection reset by peer)]
stepcut has joined #nixos
newhoggy has quit [(Ping timeout: 264 seconds)]
marsel has joined #nixos
ryanartecona has joined #nixos
Itkovian has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
<Isorkin_> How to fix error build - https://pastebin.com/ha30tQk9 config - https://pastebin.com/0CchSQDC
derjohn_mob has quit [(Ping timeout: 255 seconds)]
bennofs has quit [(Quit: WeeChat 1.7.1)]
bennofs has joined #nixos
lsyoyom has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 264 seconds)]
stepcut has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
Vorpal has quit [(Ping timeout: 240 seconds)]
<simpson> Hm. We need a networking.batman configuration.
<simpson> It's not clear how to turn the various stuff under networking.bridges and networking.firewall into an actual operating router/gateway. Are there hidden docs on this?
newhoggy has joined #nixos
aswanson has quit [(Quit: Page closed)]
MichaelRaskin has joined #nixos
<gchristensen> I can post my config
<gchristensen> simpson: can you wait a few hours? :)
bennofs has quit [(Ping timeout: 276 seconds)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<asymmetric> i am trying updating the ipfs package, but i get errors like `cannot find package "gx/ipfs/QmV5gPoRsjN1Gid3LMdNZTyfCtP2DsvqEbMAmz82RmmiGk/go-cid" in any of:`
<asymmetric> normally go packages have a deps.nix file, but this one doesn't
mudri has joined #nixos
<asymmetric> maybe i should add it, with the dependencies.. maybe they introduced new ones in the new version..
newhoggy has joined #nixos
stepcut has joined #nixos
grillon has quit [(Read error: Connection reset by peer)]
preyalone has joined #nixos
StillerHarpo39 has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
cpennington has quit [(Ping timeout: 260 seconds)]
alfie is now known as Alfie^matrix
Alfie^matrix is now known as alfie
grillon has joined #nixos
peacememories has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
bennofs has joined #nixos
newhoggy has joined #nixos
<asymmetric> but it seems ipfs uses gx for deps
_Vi has joined #nixos
kampfschlaefer has joined #nixos
newhoggy has quit [(Ping timeout: 276 seconds)]
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
joko has joined #nixos
<joko> Hello, is it possible to change binary cache before a nixos-rebuild? I'm trying with --option binary-caches, but it seems not to be working
newhoggy has joined #nixos
kykim has joined #nixos
katyucha has quit [(Killed (adams.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
katyucha_ has joined #nixos
cpennington has joined #nixos
leat has quit [(Read error: No route to host)]
stepcut has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<kykim> anyone have experience setting up nixos in virtualbox with two network adapters? Adapter1 is NAT, and Adapter2 is Host-only (i.e. vboxnet0). I'm trying to keep Adapter1 DHCP, and assign an IP address to Adapter2. I tried adding an etry in /etc/nixos/configuration.nix, but Adapter2 fails to get the assigned address.
acertain has joined #nixos
grillon has quit [(Quit: ZNC - http://znc.in)]
grillon has joined #nixos
<sphalerite> kykim: what are the names of the interfaces, and what do your entries in the configuration look like?
<lassulus> is it possible to backport the new youtube-dl to 17.03? a lot of youtube pages don't work for me anymore
newhoggy has joined #nixos
<clever> joko: one thing i sometimes do, copy the contents of /etc/nix/nix.conf to a new file, delete the symlink, then rename the copy back to nix.conf, and edit it freely
<clever> joko: nixos-rebuild will overwrite the file with a symlink at the next switch
<sphalerite> lassulus: What I do in those cases is generally to cherry-pick the appropriate commits onto my local cehckout of nixpkgs
<sphalerite> then install it from there
<lassulus> yeah, I'm also doing that, but for people who just want to use the stable channels its very unconvenient
derjohn_mob has joined #nixos
<clever> you can also copy the default.nix for it into a packageOverride in config.nix
<kykim> spahlerite: the two interfaces are "enp0s3" for Adapter1 and "enp0s8" for Adapter2 (via 'ifconfig -a')
<clever> then you dont need to maintain your own clone of nixpkgs
<gchristensen> ^ definitely preferable, but most often what we do is just backport changes for youtubledl
takle has quit [(Ping timeout: 255 seconds)]
<kykim> sphalerite: the config line is 'networking.interfaces.enp0s8.ip4 = [ { address = "192.168.56.101"; prefixLength = 24; } ];'
newhoggy has quit [(Ping timeout: 255 seconds)]
<joko> clever: great idea, thanks!
<MichaelRaskin> I think backporting youtube-dl is something that would be easily accepted as a PR, and it is not done just because too many people use unstable or master on desktop and stable on servers (and end up not caring)
itscaleb has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
<simpson> gchristensen: Are you busy or just not near your setup? I want to chat a bit about what I've found so far.
cpennington has quit [(Ping timeout: 240 seconds)]
<steveeJ> simukis: sorry I can't read the full backlog right now but saw your question earlier. have you managed to install the cross compiler?
newhoggy has joined #nixos
<simukis> steveeJ: I have no idea how to do that
aneeshusa has joined #nixos
<simukis> obviously I do not want to fetch gcc sources manually and do make install thingy
<simukis> I’m fine with nix os compiling me one, though, if there’s no prebuilt crosscompilers
<gchristensen> simpson: I can't be too involved / sharing things during work hours, lest an assumption is made that b/c it was during work hours it is owned by my employer
<clever> simukis: what cpu do you need a compiler for, and does it need to have a libc or just kernel level stuff?
<simpson> gchristensen: Ah, of course, the problem of the daylighter. I totally understand. Let *me* say, then, what I've done so far. >:3
<simukis> clever: various. I need crosscompilers for these targets at least: x86_64-pc-windows-gnu (mingw thing), powerpc{,64}-unknown-linux-gnu (with glibc), mips{,64,64le,le}-unknown-linux-gnu (with glibc)
<simpson> BATMAN works great over ad-hoc WiFi, ignoring stupid bugs in WiFi chipsets and drivers like WEP not working right.
<simukis> clever: so a generally usable approach would be nicest
newhoggy has quit [(Ping timeout: 276 seconds)]
<simpson> I want a services.alfred, but this means that there probably needs to be a networking.batman because alfred can't run until bat0 is up.
<clever> simukis: ah, ive done a mingw with libc before, but havent tried powerpc or mips
takle has joined #nixos
<simpson> And I would also like networking.batman to be able to set up gateways to the Internets automatically, because I have forgotten how to set up Linux routers.
<simpson> gchristensen: ^^^ that's about it. Talk to you later!
<clever> simukis: this is the old way of doing cross-compiles in nixpkgs
<simukis> I saaw the 2nd link, but I couldn't figure it out, I’ll look at the example, thanks!
<clever> simukis: and the new method, not sure on the formated version: https://github.com/NixOS/nixpkgs/blob/master/doc/cross-compilation.xml
<simukis> clever thanks too!
<simukis> I’ll look into them shortly
<kykim> sphalerite: i think i got it. i switch to using 'networking.localCommands' in the config.
Vorpal has joined #nixos
<kykim> damn. nope.
Vorpal is now known as Guest71075
<joko> simukis: https://nixos.org/nixpkgs/manual/#chap-cross <- the rendered file clever suggested
newhoggy has joined #nixos
<clever> ah
<joko> clever: would the new method change the hash of closures? As far as I remember that was the catch in the old method
Guest71075 has quit [(Changing host)]
Guest71075 has joined #nixos
Guest71075 is now known as Vorpal_
Vorpal_ is now known as Vorpal
<clever> joko: both methods of cross-compiling would have their own hashes, and it would also differ from natively building the same expression on the target platform
justelex has joined #nixos
<joko> Is it possible then to build your own system (e.g. a Raspberry Pi) completely from cross-compilation? I remember asking you this some time ago :)
<clever> joko: some packages dont like cross-compiling, so you cant build the entire OS via cross-compile
hegemoOn has joined #nixos
<hegemoOn> hello there
stepcut has joined #nixos
cpennington has joined #nixos
<clever> joko: and the hashes dont match up, so the first time you try to nix-env -i, it will want to re-build everything from gcc and up
<hegemoOn> i got some issues, first i tried to compile nix on top of LFS build
<hegemoOn> but its failing and never produce any binaries
<hegemoOn> no error so far
<hegemoOn> second i tried to install the binary version
<hegemoOn> and it's falling to install too
eacameron has quit [(Quit: Leaving...)]
<simpson> hegemoOn: Why not use the standard single-user Nix installer? Nix does a better job of building itself AIUI.
<joko> clever: that would be too much work still :( ... In ArchLinuxARM I was using distcc and cross-compiling to speed up stuff, but I admit it's been a long time since I've touched any arm board
<hegemoOn> i dont have sudo and i run it in root
<clever> joko: i just aim a hydra configured for native builds at my raspberry pi and then leave it for a week
newhoggy has quit [(Ping timeout: 260 seconds)]
<hegemoOn> it complains about nixbld not existing group
<hegemoOn> i created this group
<clever> hegemoOn: you need to put build users like nixbld1 into the nixbld group
<hegemoOn> but what if i want to run it as root ?
<joko> clever: I see, do you have any shareable configuration.nix?
<hegemoOn> or do i have to create a user (other than nixbld1)
<clever> hegemoOn: if you run nix tools as root, they will automaticaly drop privs down to a member of the nixbld group
<hegemoOn> ok
<hegemoOn> so far it is understandable
justelex_ has joined #nixos
<clever> and you must not put your own user into the nixbld group
<hegemoOn> but the package isnt installing
<hegemoOn> ok
<clever> it will -9 every process in the user it picks
<hegemoOn> let me test
justelex has quit [(Ping timeout: 240 seconds)]
<clever> joko: i havent actualy gotten armv7l to finish building yet, keep getting distracted, but Dezgeg has a pre-built img you can try out: http://nixos-arm.dezgeg.me/installer/sd-image-armv7l-linux.img
civodul has joined #nixos
aneeshusa has quit [(Ping timeout: 255 seconds)]
<joko> clever: thanks, I will have a look this weekend :D
aneeshusa has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<hegemoOn> seems to work better
<hegemoOn> good it's installed
<hegemoOn> woot
<hegemoOn> installed tmux !!!!
<hegemoOn> on lfs
<gchristensen> woohoo!
<hegemoOn> using nix
stepcut has quit [(Remote host closed the connection)]
<hegemoOn> what if i want to compileit ?
<hodapp> wooo!
<joko> hegemoOn: I guess you could use a small channel
<hegemoOn> it is a binary version
<LnL> nix-build -A tmux --check?
<hegemoOn> error: getting status of ???/home/plonky/default.nix???: No such file or directory
<LnL> ah nix-build '<nixpkgs>' -A tmux --check if you don't have a local checkout
thebored has quit [(Ping timeout: 240 seconds)]
stepcut has joined #nixos
<hegemoOn> cant it use already installed software and libs ?
aneeshusa has quit [(Quit: WeeChat 1.7)]
<hegemoOn> i see it download it's own bash
<hegemoOn> and glibc
newhoggy has joined #nixos
MrBiTs has joined #nixos
<MrBiTs> Hello, everybody
<joko> hegemoOn: no, it needs to use the versions that are built as nixpkgs
<hegemoOn> i already compiled a lot with LFS no need to recompilie the whole system
<MrBiTs> Is there anybody here that can explain what is rtype_lltype running on nixos-rebuild --upgrade switch?
<hegemoOn> just for compiling tmux :)
sellout-1 has joined #nixos
<hegemoOn> how interesting, it downloaded everything in binary execpt tmux to be compiled
<MrBiTs> and, more important, this process can be stoped?
<katyucha> Hi. What IDE do you use on Nixos ?
<LnL> yeah, --check only rebuilds the top level drv
stepcut has quit [(Remote host closed the connection)]
<hegemoOn> ok, i will try to learn more about nix
<hegemoOn> :)
<MrBiTs> xfce, katyucha
sellout- has quit [(Ping timeout: 264 seconds)]
<hegemoOn> looks good so far as a package manager for LFS :)
stepcut has joined #nixos
<gchristensen> hegemoOn: nix won't reuse what you've already compiled
<katyucha> I tried atom.io but I sometimes have a white empty windows...
newhoggy has quit [(Ping timeout: 255 seconds)]
<MrBiTs> sublime
<katyucha> MrBiTs: I talk about IDE, not windowmanager
<katyucha> MrBiTs: you installed it from package? I don't find it (nix-env -i sublime say nothing :( )
<MrBiTs> atom.io shows me white empty windows even in Ubuntu
sellout- has joined #nixos
sudoreboot[m] has joined #nixos
stepcut has quit [(Client Quit)]
sellout-1 has quit [(Ping timeout: 255 seconds)]
<LnL> hegemoOn: nix doesn't use anything outside of the store at build time, that would introduce impurities
<LnL> katyucha_: unfree packages are disabled by default, use NIXPKGS_ALLOW_UNFREE=1 nix-env ... or add allowUnfree = true; to you config.nix
<MrBiTs> nix-env -iA nixos.sublime
newhoggy has joined #nixos
<MrBiTs> but you need to allow Unfree
dlight has joined #nixos
<MrBiTs> or add nixpkgs.config.allowUnfree = true; to your configuration.nix
<katyucha> all right ! don't know this option ! thanks
newhoggy has quit [(Ping timeout: 264 seconds)]
* sudoreboot[m] sent a long message: sudoreboot[m]_2017-05-02_19:56:23.txt - https://matrix.org/_matrix/media/v1/download/matrix.org/bkHnWZGHCTHVGYTyMQjXCgvP
newhoggy has joined #nixos
MrBiTs has quit [(Quit: Leaving)]
<joko> clever: second nix.conf did the trick, thanks
<joko> Now if I manage to create my own channel, that would be much more convenient...
<aanderse> anyone here ever migrate an ubuntu zfs system to nixos with zfs?
<aanderse> sorry, not root... just user data
nicknovitski has quit [(Ping timeout: 260 seconds)]
<clever> aanderse: in theory, you can just set zfs to not mount the ubuntu root as /, and then start in the middle of the nixos on zfs guide
<clever> so create a new dataset for the nixos rootfs, and nixos-install to that
<aanderse> well so long as the versions are compatible....
<clever> yeah
<clever> see if the nixos iso can import the existing pool and look at the data
<aanderse> yeah
<aanderse> hmm that sounds good
newhoggy has quit [(Ping timeout: 264 seconds)]
<aanderse> thanks
trishume has joined #nixos
sigmundv_ has joined #nixos
newhoggy has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
<hegemoOn> gchristensen: compiled inside nix or on base system ?
<clever> hegemoOn: nix will only use other things made by nix
<Mic92> aanderse: I did this with arch
<Mic92> aanderse: you should be able to get at least newer versions of zfs on nixos
<aanderse> Mic92: ah, fantastic to hear :)
<aanderse> always happy to hear someone say they didn't corrupt their data
ambro718 has joined #nixos
<aanderse> because restoring backups can be time consuming
<Mic92> aanderse: zfs never let me down
<aanderse> wonderful
<hegemoOn> nix seems to be a sect
newhoggy has quit [(Ping timeout: 240 seconds)]
<aanderse> i've only installed nixos on 1 computer so far (spare laptop) but was convinced
<aanderse> will be installing on all my machines likely
<Mic92> hegemoOn: its a filter buble
<MichaelRaskin> Well, I know people who stopped using Nix and they were not ritually killed.
<hegemoOn> :)
<hegemoOn> Everything started with "impurity"
<Mic92> aanderse: in case you need an installation image witz zfs: https://github.com/nixos-users/wiki/wiki/Installation-guide#build-a-custom-installation-image
<aanderse> can't i just install it from the live env?
<Mic92> aanderse: you can, but I found it more convienent via ssh
<aanderse> ah
<aanderse> well its my desktop/file server that has zfs so i'll be right here at the console
<Mic92> and if I already build my own image adding zfs is not that much efffor.
<Mic92> *effort
<clever> i prefer running nixos-install against a usb stick, over using an iso
<aanderse> this box doesn't have a drive so i'm planning to follow the "install from linux" guide
<aanderse> ** cd/dvd drive
<clever> then the usb is just its own full nixos install, and its changes will persist
<Mic92> clever: of cource I have no drive since years
<clever> aanderse: but you can also dd the ISO onto a usb stick
<joko> I install via usb, as clever just said
<aanderse> hmm yeah maybe i'll do that
<clever> Mic92: yeah, i also recently noticed the dvd drive in my desktop isnt plugged in
newhoggy has joined #nixos
<aanderse> right that way i can test that zfs is compatible
* aanderse jots down
<Mic92> aanderse: zpool import from nixos
<aanderse> mhm
<Mic92> zpool import <poo_name>
<aanderse> and i should export from ubuntu before, preferably, iirc
<sudoreboot[m]> Anyone know what the syntax should look like when defining packages in services.xserver.desktopManager.plasma5.extraPackages?
bennofs has quit [(Quit: WeeChat 1.7)]
<sudoreboot[m]> Using the same syntax as in environment.systemPackages gives an error.
<Mic92> aanderse: if you plan to dual boot it is advisable to use the same host id in both installations
alx741 has joined #nixos
<aanderse> no dual boot, just want to fully switch over to nix
<Mic92> aanderse: it is also less hassle to use legacy mounts because as this will generate clean .mount targets in nixos/systemd
<aanderse> thank you for the tips
<Mic92> (strongly recommend if you use other fs mounts on top of zfs)
cpennington has quit [(Ping timeout: 260 seconds)]
newhoggy has quit [(Ping timeout: 276 seconds)]
<aanderse> gosh wasn't thinking to do zfs as root... but these docs make it sound easy
ryanartecona has joined #nixos
m0rphism2 has quit [(Read error: Connection reset by peer)]
nicknovitski has joined #nixos
goibhniu has joined #nixos
acarrico has quit [(Ping timeout: 264 seconds)]
<Mic92> (assumes legacy mounts)
newhoggy has joined #nixos
<clever> and nixos-generate-config should make that file for you
<aanderse> yeah it was pretty easy to install on my laptop
<aanderse> the docs work well
<clever> Mic92: line 39-75 will get eaten the next time you generate-config!!
<Mic92> clever: thanks I am aware of that
<Mic92> hence its a git
newhoggy has quit [(Ping timeout: 276 seconds)]
kykim has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<clever> Mic92: ah, and line 15 isnt needed, nixos will automaticaly find the filesystem for /
<clever> Mic92: line 84 tells it that it needs zfs to boot
m0rphism has joined #nixos
newhoggy has joined #nixos
marsel has quit [(Ping timeout: 255 seconds)]
goibhniu has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
<simukis> clever: so AFAICT what I have to do here is to "derive" pkgs.stdenv with targetPlatform set to my desired platform
<simukis> I suspect targetPlatform is a plain string here, but how would I go about "deriving" the package?
<simukis> callPackage?
<clever> simukis: i think what you did was load the entire nixpkgs with the targetplatform setup
<simukis> I didn’t do anything yet
<clever> simukis: via pkgs = import <nixpkgs> { somethinghere; }
<clever> simukis: then everything under that pkgs attribute will be cross-compile
<clever> d
<simukis> clever: can I try stuff like this out with nix-shell or somesuch?
<clever> nix-repl would help more i think
<Mic92> there will be also `nix repl` in the future
phreedom has joined #nixos
cpennington has quit [(Ping timeout: 240 seconds)]
<simukis> and with nix-repl, how do I make it "build" package(s)?
jacob__ has quit [(Remote host closed the connection)]
exarkun has joined #nixos
<clever> simukis: :b
kampfschlaefer has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Remote host closed the connection)]
<simukis> okay, so `somethinghere` cannot be just targetPlatform… it has to be passed as an argument into package derivation
newhoggy has joined #nixos
Kallegro[m] has joined #nixos
endformationage has quit [(Quit: WeeChat 1.7)]
newhoggy has quit [(Ping timeout: 240 seconds)]
alx741 has quit [(Quit: alx741)]
sigmundv_ has quit [(Ping timeout: 260 seconds)]
isidore has joined #nixos
<clever> simukis: yeah, i'm not seeing a good example in the nixpkgs docs
<simukis> import <nixpkgs> { platform = { targetPlatform = "x86_64-pc-windows-gnu"; }; } seems to not yell at me
alx741 has joined #nixos
<simukis> its just error: derivation ‘/nix/store/61vy8qciamfpid4vk1cny7z0nqvladab-bootstrap-gcc-wrapper.drv’ has incorrect output ‘/nix/store/xggr8vqz503gnsgdxrr8d3h8s49yfpcx-bootstrap-gcc-wrapper’, should be ‘/nix/store/yn4sskdsj4vmj6xdqigf5rc92v6iqhzr-bootstrap-gcc-wrapper’ now
<clever> nix-repl> (import <nixpkgs> { platform = { targetPlatform = "x86_64-pc-windows-gnu"; }; }).hello
<clever> error: attribute ‘kernelHeadersBaseConfig’ missing, at /nix/store/xrvp1z1b9rpa5nrnmv5hdzyfjdp9lha4-nixos-17.09pre106299.7f3b857d0d/nixos/pkgs/os-specific/linux/kernel-headers/4.4.nix:11:10
ertesx has joined #nixos
<clever> i dont think platform is the right field for the new setup
cpennington has joined #nixos
<clever> nix-repl> :b (import <nixpkgs> { crossSystem = { config = "x86_64-w64-mingw32"; arch = "x86_64"; libc = "msvcrt"; }; }).hello
<clever> simukis: i think the old method is still working
ertes has quit [(Ping timeout: 246 seconds)]
ertesx is now known as ertes
<clever> -r-xr-xr-x 1 root root 80K Dec 31 1969 hello.exe
<clever> simukis: yep, it built
<clever> simukis: so just by setting crossSystem correctly, this package can be cross-compiled
<simukis> clever: that produces a hello.exe for mingw; how is that applicable to producing cross-compilers that run on the host system?
<joepie91> no 4.9 kernel for me :(
<clever> simukis: do you want the cross-compiler to run on nixos or something else?
cfricke has joined #nixos
<simukis> I want to have a crosscompiler on nixos that I could use in Makefiles to build mingw executables later on
<simukis> so something like x86_64-w64-mingw32-c++ in /run/current-system/sw/bin/*
<simukis> (and also windows libs'n'all such stuff
ryanartecona has quit [(Quit: ryanartecona)]
<clever> simukis: running nix-shell on this file should give you that compiler
<clever> oops, typo
<clever> fixed
<simukis> great!
<clever> and if you have any dependencies you need, i believe you can just buildInputs = with pkgs; [ foo ]; them
<clever> and nix-shell will cross-compile the deps and put them in the env
<simukis> now to see if the same stuff works for powerpc/mips
cfricke has quit [(Ping timeout: 264 seconds)]
<clever> i think the config and arch fields are passed to gcc and configure its target triplet
<simukis> > error: Unknown CPU type: powerpc64
<simukis> :(
<clever> and the libc is used within nixpkgs to pick a libc derivation
<clever> no mips of powerpc though
preyalone has quit [(Quit: Connection closed for inactivity)]
<simukis> oh humm, I kinda hacked on it and it seems to be doing powerpc stuff too?
<clever> what values did you use?, i could make a list of examples on my githut
<simukis> https://paste.rs/C6F, it doesn’t actually build yet, because I need to figure out what to put into kernelHeaderBaseConfig
mellowmaroon has joined #nixos
<mellowmaroon> Is there a way to include multiple files in configuration.nix? Like a glob?
<clever> mellowmaroon: what kind of files?
<mellowmaroon> clever: just other .nix files. Like I split up my installed packages declartaions into a bunch of separate files
<clever> mellowmaroon: for things like package overrides, you would want to use import
<clever> mellowmaroon: import just returns the top-level object of the file you name, so you can create a file that takes { pkgs }: and returns some overrides
<mellowmaroon> clever: That's what I mean, sorry. Right now, I have an imports list at the top with explicit file paths
<clever> mellowmaroon: then do (import ./file1.nix { inherit pkgs; }) // (import ./file2.nix { inherit pkgs; })
<simukis> clever: ok it is building https://paste.rs/jsd
<simukis> clever: not sure if it will produce anything usable yet, though
<clever> mellowmaroon: imports is for whole nixos modules, which must have the same format as configuration.nix itself
<mellowmaroon> clever: so right now, I have imports = [ ./hardware.nix ./packages/a.nix ... ]; (ellipses not actually there, just more hardcoded paths)
<clever> mellowmaroon: as long as all of those files are in nixos module format, that should work
jensens has joined #nixos
<mellowmaroon> clever: what I'd like to do is have just imports = [ ./hardware.nix ./packages/**.nix ];, so I don't need to remember to change the file when I add a new .nix file
<clever> mellowmaroon: ahh, you can use builtins.readDir
<mellowmaroon> clever: I'll look that up, but does that read recursively?
<clever> mellowmaroon: no, it just lists a single dir
<clever> but you could then make it recursive with a nix function
isidore has quit [(Quit: WeeChat 1.7.1)]
<mellowmaroon> clever: Awesome! Thanks for the help :)
Raimondii has joined #nixos
<simukis> > ../../../../gcc-5.4.0/libsanitizer/asan/asan_linux.cc:222:20: error: 'SIGSEGV' was not declared in this scope
<simukis> darn it
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
endformationage has joined #nixos
nh2 has quit [(Quit: Leaving.)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
kazamatzuri has quit [(Quit: servermigration)]
hiratara has quit [(Ping timeout: 260 seconds)]
<mellowmaroon> clever: What's the significance of "default.nix" files? The example you sent looks like it tries to ignore those
<clever> mellowmaroon: if you try to import a directory, nix will automaticaly try the default.nix file in that directory
hiratara has joined #nixos
<clever> ah, and default.nix is the file doing the reading
<clever> so that code will just make a list of every .nix file that isnt default.nix
<clever> so it doesnt reference itself
<mellowmaroon> I see. Thanks :)
<simpson> Huh, is Firefox broken on the 17.03 channel? It seems like it doesn't have the right hashes for fetchurl?
<simpson> Oh, I see, my nix-repl is old. Derp.
ambro718 is now known as ambro718e
ambro718e is now known as ambro718
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
neeasade has joined #nixos
<clever> simukis: ah, it sounds like another header was leaking a signal.h include, and the code just happened to work
<clever> very similiar problem to what nix is meant to solve, unlisted dependencies that just happen to be loaded already
<clever> the problem code will have to be patched to include signal.h
<simukis> clever: I need to derive gcc package and add the patch to it now, right? can I just use gcc6?
<simukis> somehow?
StillerHarpo39 has quit [(Ping timeout: 260 seconds)]
<clever> simukis: is the problem in gcc or another package?
<simukis> gcc, I think
<clever> can you gist the entire console output from the error?
<simukis> entire is a lot
<clever> just the last 2 or 3 pages would do
<clever> was looking for a derivation name after the last line
<simukis> builder for ‘/nix/store/2djihf5dbq084ybpkglwqzq5chwdrasw-gcc-5.4.0-powerpc64-linux-gnu-stage-final.drv’ failed with exit code 2
<clever> ah yeah, that definitely is gcc failing
<simukis> so my options here are to apply the patch or to use a newer gcc
<clever> yeah
<simukis> either is fine with me; in fact I’d rather a newer gcc
<clever> and it has to be the cross gcc
<simukis> is inherit (platform) gcc6; the thing I’m looking for?
<clever> i think the crosscompiler uses pkgs.gcc.cc as the base
<clever> dont think that will do what you want
<clever> the original is just doing gcc = platform.gcc;
<clever> which copies the attrset with arch= over
<clever> nothing to do with the actual gcc version
<simukis> yeah
<simukis> https://paste.rs/XdG is my current file btw
<schoppenhauer> hi. (how) can I configure linux containers inside my configuration.nix?
<clever> simukis: i think the simplest way to force it to use gcc6 is to edit this line of all-packages.nix, 4979 gcc = gcc5;
<clever> simukis: a packageOverride can probably also do it
<clever> simukis: just gcc = pkgs.gcc6; in the override list
<simukis> that seemed to do something
<simukis> building path(s) ‘/nix/store/4r94kcsnwl27lkjfvbwcl9dkbrnm2abc-gcc-6.3.0-powerpc64-linux-gnu-stage-static’
<simukis> great
<clever> you can also bypass the need for config.nix entirely
<clever> just pass config as an argument, the same way crossSystem is being passed
<simukis> https://paste.rs/Fey is what I did
<clever> yep, exactly
<hegemoOn> falco vt220
<hegemoOn> mon premier shell
<hegemoOn> erm
<hegemoOn> sorry
<simukis> clever: it worked :)
<clever> :)
<simukis> getting mips seems like a pretty straightforward task after this
<simukis> thanks!
dridus has quit [(Quit: znc? wassat?)]
alunduil has quit [(Quit: leaving)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
justanotheruser has joined #nixos
thineye has quit [(Quit: Leaving.)]
mellowmaroon has quit [(Quit: Leaving)]
cpennington has quit [(Ping timeout: 276 seconds)]
k0001 has quit [(Quit: WeeChat 1.7)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 276 seconds)]
darlan has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
darlan has quit [(Client Quit)]
digitus has quit [(Quit: digitus)]
ambro718 has quit [(Quit: Konversation terminated!)]
sellout- has quit [(Quit: Leaving.)]
MP2E has joined #nixos
thineye has joined #nixos
thineye has quit [(Client Quit)]
erasmas has quit [(Quit: leaving)]
ryanartecona has joined #nixos
alphor has quit [(Quit: Bye!)]
zraexy has quit [(Remote host closed the connection)]
zraexy has joined #nixos
alphor has joined #nixos
markus1209 has joined #nixos
zraexy has quit [(Remote host closed the connection)]
markus1219 has joined #nixos
zraexy has joined #nixos
thc202 has quit [(Ping timeout: 240 seconds)]
markus1199 has quit [(Ping timeout: 260 seconds)]
markus1189 has quit [(Ping timeout: 268 seconds)]
darlan has joined #nixos
<simpson> Maybe I missed it in the docs, but: On NixOS, if I want to be in a Debian-like (Ubuntu is fine I guess?) root, and have binaries more or less Just Work, what would I do? Is there anything better than making a new directory and running debootstrap?
<MichaelRaskin> steam-run
<Ralith> simpson: buildFHSEnv?
<simpson> Ralith, MichaelRaskin: Can I run apt and install packages and stuff? I thought that the FHS env didn't come with that.
<Ralith> that's more debian-like than I imagined you to want
<simpson> IKR?
<MichaelRaskin> Well, if you want _apt_ debootstrap does sound natural
<MichaelRaskin> Because apt has this idea that it can just go and overwrite whatever files it wants
<MichaelRaskin> So these files would better match apt's expectations