Wizek__ has quit [(Ping timeout: 240 seconds)]
<manveru> oh well, just bump the rev/version in elm-format.nix then?
<ahstro> manveru: Then it doesn't build..
<ahstro> Oh, I just got an idea
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c closed pull request #25552: lightworks: init at 14.0.0 (master...master) https://git.io/v9VH5
NixOS_GitHub has left #nixos []
<ahstro> Nope, invalid idea
<yegortimoshenko> ahstro: well, they probably don't build a static binary for npm release, which is why it won't work outside fhs chrootenv
ylwghst has quit [(Remote host closed the connection)]
ylwghst has joined #nixos
kkini has joined #nixos
__monty__ has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
<__monty__> Is there a way to have a remote machine act like a transparent cache? So a miss would install the relevant package into the cache's nix store and be reported as a hit, just a slow one?
<rycee> infinisil: I searched a bit for a patch putting XDG support in curl but couldn't find any, not even a reported issue. I thought that was quite surprising.
<infinisil> Kinda surprising, curl has so many features
WilliButz has quit [(Quit: WeeChat 1.9)]
<__monty__> Is XDG cross platform?
<rycee> __monty__: Yes, it is quite possible using nginx: https://github.com/nh2/nix-binary-cache-proxy
<yegortimoshenko> does anyone know why python3.withPackages causes a lot of dev paths to be pulled into system closure?
thc202 has quit [(Ping timeout: 264 seconds)]
<infinisil> __monty__: --option ssh-substitutor-hosts <your ssh host running sshd>
<MichaelRaskin> __monty__: are you sure you want this as a cache and note as remote builder?
<__monty__> rycee: Thanks. infinisil: Can I find that in the nix manual?
<__monty__> MichaelRaskin: I probably want both : ) Currently it's set up as a remote builder but there's no reason to do the downloads on my wifi then upload deps to the builder then download the result.
<rycee> __monty__: Note, the code there is a bit intertwined with nixops stuff. For my setup I extracted and cleaned it up a bit into a proper NixOS module.
<MichaelRaskin> Well, if you never build anything locally, won't every dependency be in the remote store anyway?
<__monty__> MichaelRaskin: I assume so but the remote store isn't automatically used as a cache.
<manveru> ahstro: well, would be glad if you figure it out :)
<__monty__> What I mean by transparent cache is that it'd build things that are missing, or get it from cache.nixos.org.
<MichaelRaskin> Well, you can forbid cache.nixos.org on the endpoint machine, but leave it enabled on the builder
<__monty__> MichaelRaskin: Then the local machine is completely without cache.
johnw_ has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<MichaelRaskin> It can use the builder as a cache. With ssh substituter or with nix-serve
ylwghst has joined #nixos
<__monty__> Oh ok, looking into that currently.
<MichaelRaskin> Also, remote builder can use caches on its own
<LnL> yeah distributed builds will do exactly that
<MichaelRaskin> I.e. when you send a job to a remote builder, you do not enforce that it will be built there and not substituted.
<__monty__> I must have something not set up right because everything's still happening locally.
Arcaelyx has quit [(Ping timeout: 264 seconds)]
Thra11 has quit [(Quit: IRC for Sailfish 0.9)]
<LnL> but it sometimes copies stuff between machines even if it's available from the cache
<MichaelRaskin> I guess you can forbid local builds completely.
<LnL> ah yes, builders silently ignored if there's some kind of issue
<MichaelRaskin> build-max-jobs = 0
ylwghst has quit [(Remote host closed the connection)]
<__monty__> MichaelRaskin: That's what I'm already doing. Nix-env doesn't care.
<LnL> that should work, did you restart the daemon?
<ahstro> manveru: Thanks for the encouragement :)
<__monty__> LnL: Running nix in single user mode.
ylwghst has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] danielfullmer opened pull request #31265: adapta-gtk-theme: 3.91.2.147 -> 3.92.1.72 (master...adapta-3.92.1.72) https://git.io/vFCb2
NixOS_GitHub has left #nixos []
<LnL> ok, same with -j0?
<manveru> ahstro: actually trying it too :)
<ahstro> manveru: Cool! Let me know if you figure it out :)
WilliButz has joined #nixos
<manveru> domenkozar: maybe you can help?
Arcaelyx has joined #nixos
<manveru> for me it keeps failing with `git: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory)`
<manveru> so... maybe it needs git to build now?
orivej has quit [(Ping timeout: 260 seconds)]
<__monty__> LnL: Hmm, good call asking to try out the flag. Now it refuses to build.
simukis has quit [(Ping timeout: 240 seconds)]
<__monty__> Should I report this as an issue?
<manveru> ahstro: looks like it needs git in Setup.hs
yegortimoshenko has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
<manveru> such a pain :|
<ahstro> manveru: Yeah, I'm aware. Problem is, git refuses to be there.
<ahstro> Tried adding it to buildTools, librarySystemDepends, buildDepends and a bunch of other places, but to no avail
<manveru> jup
<LnL> __monty__: so that means the builder is skipped for some reason
justanotheruser is now known as xustanotheruser
<__monty__> Yeah, looking into why ssh refuses to use the key I authorized on the remote.
seanz has joined #nixos
seanz has quit [(Client Quit)]
<__monty__> Should I open an issue about the build-max-jobs not working?
<manveru> wish i knew more about haskell with nix...
<__monty__> manveru: You can always ask in #haskell ; ) I'm just getting started with haskell+nix myself.
<LnL> __monty__: yeah, you could also check nix-unstable maybe it's fixed there
<manveru> well, that mkDerivation looks like nothing i've ever seen before
<ahstro> HAHAH!!! YES! People, we have a build!
<manveru> maybe addSetupDepends?
<manveru> i guess in the worst case we can just sed that damn file and set a fixed hash
<manveru> ahstro: how?
<ahstro> manveru: I barely know... Moved some stuff about. Now I'm going to figure out why it works
<manveru> can you paste a diff?
<manveru> s/paste/gist
ylwghst has quit [(Remote host closed the connection)]
deech has joined #nixos
ylwghst has joined #nixos
<manveru> ooh
deech has left #nixos []
deech has joined #nixos
<manveru> well, i got git to work, but turns out that the .git is gone
Wizek has quit [(Quit: Connection closed for inactivity)]
c0bw3b has left #nixos []
asuryawanshi has joined #nixos
<deech> Hi all, can anyone offer advice on installing NixOS using only WiFi? I followed the instructions here (https://chris-martin.org/2015/installing-nixos) for getting wpa_supplicant to work but it's not connecting.
ma27 has quit [(Ping timeout: 240 seconds)]
tgunb has quit [(Ping timeout: 260 seconds)]
<__monty__> LnL: I was missing the .ssh/config stuff, since I use a non default key file. But it's still not working. Terminal ssh access is simple now.
<MichaelRaskin> there is a parameter of fetchgit called something like leaveDotGit
ambro718 has quit [(Ping timeout: 252 seconds)]
<tilpner> deech - Easiest is probably using the graphical ISO to connect to wifi, then install networkmanager during nixos-install, so you never have to touch wpa_supplicant
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bendlas pushed 1 new commit to master: https://git.io/vFCNB
<NixOS_GitHub> nixpkgs/master e64dc25 Herwig Hochleitner: Revert "services.xserver: assert that either desktop- or window manager is not "none""...
NixOS_GitHub has left #nixos []
<deech> Is networkmanager included in the ISO? Also an issue I had with the Graphical ISO was that Plasma locks the screen after a while and doesn't take a blank password.
asuryawanshi has quit [(Ping timeout: 255 seconds)]
<tilpner> deech - I think it is. Or another graphical network management thing, it's been a while
<__monty__> LnL: I'll troubleshoot further tomorrow, I'm admitting defeat for today. nn everyone
__monty__ has quit [(Quit: leaving)]
yegortimoshenko has joined #nixos
<deech> tilpner: Awesome, I'll try that! Any advice on the screen locking?
<manveru> ahstro: i think... i got it to build
<ahstro> manveru: Cool! :D
<tilpner> deech - Don't let it lock :/
<manveru> it's busy eating all my cpu atm
<manveru> will know in a minute
<tilpner> (unhelpful, I know. Don't know about the password)
<tilpner> (Or disable it in the settings after booting, I guess)
<deech> tilpner: Ok thanks! I'll open an issue.
markus1189 has joined #nixos
betaboon has quit [(Quit: WeeChat 1.9.1)]
<manveru> ahstro: it's failing in Elm.Docs now...
rosa has joined #nixos
betaboon has joined #nixos
<manveru> seems unrelated
<ahstro> manveru: Disable Haddock :)
<manveru> what's that?
markus1199 has quit [(Ping timeout: 240 seconds)]
<manveru> doHaddock = false?
<manveru> let's see
<ahstro> dontHaddock
amfl has quit [(Read error: Connection reset by peer)]
amfl has joined #nixos
<manveru> well, same thing
<manveru> it doesn't fix it though
<manveru> that's not elm-format, afaict
<ahstro> manveru: Weird...
<manveru> hehe...
<manveru> https://github.com/elm-lang/elm-compiler/issues/1566 domenkozar has been there too
ylwghst has quit [(Remote host closed the connection)]
<ahstro> Haha
ylwghst has joined #nixos
<manveru> must be aeson maybe?
notdaniel has quit [(Ping timeout: 258 seconds)]
<manveru> let's see...
<manveru> that dependency was messed up with i ran the update script
notdaniel has joined #nixos
<manveru> lol
<manveru> at least it builds... now i just have to disable the testts
ylwghst has quit [(Remote host closed the connection)]
ylwghst has joined #nixos
<manveru> that was also disabled in the original package, so i guess there are like 4 open issues for elm atm
<manveru> tbh that doesn't really inspire confidence in the language
hellrazor has joined #nixos
noobly has joined #nixos
Fare has quit [(Ping timeout: 248 seconds)]
<manveru> ahstro: well, it finally built!
<ahstro> manveru: Sweet :)
<manveru> i guess you got it built already anyway
python476 has joined #nixos
<manveru> the symlink from elm-format to elm-format-0.18 is still missing
<ahstro> manveru: Yeah, got it working :) Check the old version for that
<manveru> ah right
<manveru> still curious what your solution was
<manveru> mine looks like this now
deech has quit [(Ping timeout: 248 seconds)]
<ahstro> manveru: I went with a bit more convoluted solution. I'm working on a PR, so I'll link it in a sec :)
<manveru> thanks
<manveru> you probably made git work ;P
<manveru> problem with keeping .git though is that the hash changes depending on the system or git version...
<manveru> unless someone found a fix for that now
<MichaelRaskin> There is also an option of writing a script named git
hellrazo1 has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
hellrazor has quit [(Ping timeout: 248 seconds)]
<manveru> well, i gotta get some sleep, cu guys tomorrow
ylwghst has joined #nixos
<manveru> that new elm-format doesn't seem to change a whole lot other than order of imports
<manveru> and removing some parens
<ahstro> Import order is amazing though! :D
<manveru> o.O
<manveru> well... i gotta say that's quite a different solution :)
<manveru> also much less likely to get merged
<ahstro> manveru: Haha yeah, and to a different problem
<ahstro> manveru: Why? It's in response to an issue about switching from Stack to Nix
kp__ has quit [(Quit: WeeChat 1.9.1)]
<manveru> but yay for nix everywhere
<manveru> haha
<manveru> ok, didn't know he was interested in nix
<ahstro> manveru: Apparently so. The issue is from may though, so I hope it's still relevant...
<manveru> yup
<manveru> oh well, cu man
<manveru> good luck
<ahstro> Good night, and thanks!
<manveru> btw using elm here: https://github.com/manveru/nixos-installer
<manveru> ;)
riclima has joined #nixos
riclima has quit [(Client Quit)]
ylwghst has quit [(Remote host closed the connection)]
ahstro has quit [(Ping timeout: 260 seconds)]
ylwghst has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
takle has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] matthewbauer opened pull request #1664: Setup nix_path correctly in nix-profile-daemon (master...patch-4) https://git.io/vFCx5
NixOS_GitHub has left #nixos []
EvilMachine has joined #nixos
orivej has joined #nixos
lambdamu has joined #nixos
ylwghst has joined #nixos
lambdamu_ has quit [(Ping timeout: 240 seconds)]
ylwghst has quit [(Client Quit)]
<EvilMachine> Hello… I have a question: I’m wondering how flexible NixOS is, with its central configuration in a afaik limited environment. Could I use it? My systems are usually relatively custom. I currently use Gentoo on an ARM single-board server, and on my desktop, and e.g. the ARM server is *heavily* customized. I have countless self-made tools and scripts, hooking into udev, cron jobs, ACPI events, sensors, mobile phone IR-like rem
<EvilMachine> ote control, self-written home automation, self-written init system extension and custom event system, plus, soon, a custom Plan-9-like file system supporting circular loops. And I’m writing a graphical shell to replace the “desktop” paradigm.
<EvilMachine> I fear that switching to NixOS from Gentoo, will be pointless, since all that custom stuff will not be integratable with the central configuration.nix.
<EvilMachine> But it’d be pretty cool if I *could*.
ylwghst has joined #nixos
<infinisil> EvilMachine: There aren't any fundamental problems with ARM, self-made tools and stuff, udev, cron jobs, acpi, sensors, no idea about remote control, filesystem should be no problem too. What sounds like a problem though is the init system stuff, nixos doesn't play well with anything other than systemd
<infinisil> EvilMachine: And you can split your config however you like, nix is very flexible in that regard
<EvilMachine> infinisil: Ah, understood. systemd is anti-Unix cancer. It turns the entire point on its head. If I wanted that, I’d use Windows. So thank you for your time. (The little that you have, until my OS shall stomp out said cancer. ;)
EvilMachine has left #nixos []
<infinisil> Really, he left just like that? lol
rosa has quit [(Quit: rosa)]
<infinisil> I'm not unix enough to get the "systemd is cancer" point, it worked pretty well for everything I needed it for
python476 has quit [(Ping timeout: 248 seconds)]
<MP2E> I don't have any strong opinions towards or against any init system. I just use whatever works. and yeah it seems to be fine
<MP2E> *shrug*
xustanotheruser has quit [(Ping timeout: 258 seconds)]
<ertes> i have strong opinions against systemd, but the value of NixOS outweighs the cost of systemd for me
<ertes> also if i were, like EvilMachine, to write my own OS, i would write it using nix
<gfixler> ertes: what's the worst thing about systemd?
<ertes> nix itself has nothing to do with systemd
mbrgm has quit [(Ping timeout: 248 seconds)]
<ertes> gfixler: it's opaque and complicated… and it has caused trouble for me in the past
<gfixler> ertes: is there a better option? (this is not my wheelhouse - just curious)
<ertes> for example at some point systemd kidnapped the syslog socket, and i only realised that when i really needed logs and found that they were empty
<gfixler> gross
<ertes> gfixler: not sure… my first instinct would be s6, but s6 doesn't support anything linux-specific
justanotheruser has joined #nixos
mbrgm has joined #nixos
<ertes> recently there was a different system announced on the skaware mailing list that was linux-specific, but it was in its infancy, and i couldn't really evaluate it, because it wasn't actually released yet
justanotheruser has quit [(Client Quit)]
justanotheruser has joined #nixos
<infinisil> Sooo, systemd is kinda bad, but we don't have a better replacement?
<ertes> infinisil: i would still go with s6 and layer the linux-specific stuff on top of that
<ertes> requires some coding on my part though, but i don't have to reinvent the init system itself
<ertes> process supervision and service dependencies (s6-rc) are taken care of, as well as many other aspects like socket activation (although i consider that an anti-pattern for the most part)
yegortimoshenko has quit [(Read error: Connection reset by peer)]
asuryawanshi has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
kier has quit [(Ping timeout: 258 seconds)]
ylwghst has joined #nixos
ylwghst has quit [(Client Quit)]
ylwghst has joined #nixos
asuryawanshi has quit [(Ping timeout: 258 seconds)]
kier has joined #nixos
<infinisil> Okay then :) I'll try to keep s6 in mind
srdqty has quit [(Ping timeout: 248 seconds)]
srdqty has joined #nixos
mithsv has quit [(Ping timeout: 246 seconds)]
<infinisil> rycee: (and maybe freeman42x or fearlessKim[m] if that's teto on github): https://github.com/Infinisil/nix-xdg
notdaniel has quit [(Quit: Leaving)]
<infinisil> and others interested in having programs conform to the XDG base directory standard I guess ;)
noobly has quit [(Quit: Page closed)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
ryantrinkle has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ryantrinkle> does anyone have a nextcloud nixos container or anything like that set up?
MP2E has quit [(Remote host closed the connection)]
MP2E has joined #nixos
srdqty has quit [(Ping timeout: 248 seconds)]
srdqty has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
Havvy has quit [(Read error: Connection reset by peer)]
fragamus has joined #nixos
<eqyiel[m]> ryantrinkle: not a container, but it would be trivial to put it in one https://github.com/eqyiel/deployments/blob/41c27789d217dce194845e6cf26104408ade7448/realms/tsumugi.rkm.id.au/nextcloud.nix
<ryantrinkle> eqyiel[m]: awesome; thanks!
<eqyiel[m]> ryantrinkle: :D
hellrazo1 has quit [(Ping timeout: 240 seconds)]
hellrazo1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFWet
<NixOS_GitHub> nixpkgs/master 07e2460 Michal Rus: hubstaff: init at 1.2.14
<NixOS_GitHub> nixpkgs/master 5369837 Orivej Desh: Merge pull request #28873 from michalrus/hubstaff...
NixOS_GitHub has left #nixos []
takle has joined #nixos
Havvy has joined #nixos
damke_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vFWes
<NixOS_GitHub> nixpkgs/master 318b3fb Volth: tixati: init at 2.55
<NixOS_GitHub> nixpkgs/master bc2aaeb volth: tixati: unfree license
<NixOS_GitHub> nixpkgs/master 0c104e4 Orivej Desh: Merge pull request #30558 from volth/tixati-2.55...
NixOS_GitHub has left #nixos []
rosa has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
damke has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
erictapen has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31265: adapta-gtk-theme: 3.91.2.147 -> 3.92.1.72 (master...adapta-3.92.1.72) https://git.io/vFCb2
NixOS_GitHub has left #nixos []
vaibhavsagar has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
vaibhavsagar has joined #nixos
asuryawanshi has joined #nixos
asuryawanshi has quit [(Ping timeout: 248 seconds)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<rosa> Does nix os use the standard /lib* and /usr/lib* paths
ylwghst has quit [(Ping timeout: 248 seconds)]
ylwghst has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/vFWfa
<NixOS_GitHub> nixpkgs/master 316de02 aszlig: python/meliae: Fix version string for download URL...
NixOS_GitHub has left #nixos []
ylwghst has quit [(Ping timeout: 248 seconds)]
rosa has quit [(Ping timeout: 248 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
theseriousadult has joined #nixos
rosa has joined #nixos
ma27 has joined #nixos
ylwghst has joined #nixos
rosa has quit [(Ping timeout: 240 seconds)]
proteus-guy has joined #nixos
k_sze has joined #nixos
fragamus has joined #nixos
srdqty has quit [(Ping timeout: 248 seconds)]
srdqty has joined #nixos
b has quit [(Quit: Lost terminal)]
asuryawanshi has joined #nixos
asuryawanshi has quit [(Ping timeout: 255 seconds)]
damke_ has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
fragamus has joined #nixos
jacob has joined #nixos
k_sze has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #31268: services.xserver: fix defaults of X11 (master...x11-defaults) https://git.io/vFWTO
NixOS_GitHub has left #nixos []
ma27 has quit [(Ping timeout: 248 seconds)]
hellrazo1 has quit [(Ping timeout: 248 seconds)]
hellrazo1 has joined #nixos
<MasseR> This is a longshot, but I have an old 32bit install with nix updates from ~½ year ago. Apparently 32 bit is no longer properly supported. Is it possible to use nix to change to 64bit system without a complete reinstall?
<hyper_ch> MasseR: you sure you use 32bit and your hardware is 64bit compatible?
<MasseR> should be yeah
<MasseR> It's not *that* old
<hyper_ch> MasseR: download 64bit is
<hyper_ch> run it
<hyper_ch> mount your root system in /mnt
<hyper_ch> make a copy of your hardware configuration nix first
<hyper_ch> and configuration.nix
<hyper_ch> follow normal install instructions
<hyper_ch> but you can already use your existing configratuion files
marusich has quit [(Quit: Leaving)]
takle has joined #nixos
<hyper_ch> and just cut down on stuff that get installed at first because it might try to build stuff in the live environment
<hyper_ch> (so I just do a minimal install then)
<hyper_ch> and once that done, boot into that minimal install, restore your full previous configuration.nix and hardware nix and rebuild
theseriousadult has quit [(Ping timeout: 258 seconds)]
<hyper_ch> that's how I'd upgrade from 32bit to 64bit
ma27 has joined #nixos
<MasseR> Thanks. I'll try
<hyper_ch> depending on how much stuff it builds it might be that the live system can't do everything.. that's why I said cutting down on things there
<hyper_ch> and just make sure you have backup copy of configuration and hardware-configuration nix files
ma27 has quit [(Ping timeout: 240 seconds)]
<rgrinberg> Hi, I installed gdb using nix but the symlink to the gdb binary wasn't made. Anyway I can debug this?
<sphalerite> rgrinberg: how did you install it?
<rgrinberg> the way I install everything: $ nix-env -i gdb
<sphalerite> nix-env's awfulness strikes again
<sphalerite> You want nix-env -f '<nixpkgs>' -iA gdb instead
<sphalerite> It's much more predictable and much faster
<gfixler> Back at it; Pill #3 says "Now that's interesting. When only nix-1.7 was installed, bin/ was a symlink to nix-1.7. Now it's a real directory, no symlink."
<gfixler> I missed the moment where that happened.
<gfixler> I thought this was still nix-1.7
<sphalerite> gfixler: there's also the bit where it refers to 1.7 >.>
<rgrinberg> sphalerite: what do I feel in for <nixpkgs>?
rosa has joined #nixos
<sphalerite> rgrinberg: literally '<nixpkgs>'
<rgrinberg> sphalerite: hmm. that doesn't work. it says it installed gdb but the symlink still isn't there
<rgrinberg> Note that I'm using nix on OSX (if that makes a difference)
<rgrinberg> It does say it installed gdb though: installing ‘gdb-8.0’
<sphalerite> gfixler: the merging part happens when you install another thing besides nix, in 3.2 (installing nix-repl) and the beginning of 3.3 (installing man)
<sphalerite> rgrinberg: where are you expecting the symlink to appear?
<gfixler> sphalerite: that was the only thing I could possibly guess, but was still unsure
<rgrinberg> ~/.nix-profile/bin (that's where all other symlinks are located)
<sphalerite> rgrinberg: what does `nix-build '<nixpkgs>' -A gdb ; ls result/bin` say?
theseriousadult has joined #nixos
<rgrinberg> sphalerite: there you go ^
<sphalerite> weird, what about just ls result?
<rgrinberg> include lib nix-support share
<rgrinberg> Ah I see. so there's no bin dir
<rosa> how is nix's dynamic linker/loader configured
<sphalerite> It probably is a macOS-specific issue then as you suspected, it's fine on my linux machine here. I've currently lent my mac to a friend so I can't test it
<sphalerite> rosa: using rpaths in the executables and libraries
<rgrinberg> sphalerite: ah well. back to homebrew for gdb. How am I'm waiting for the day when I can get rid of homebrew
<rosa> ok
<sphalerite> runpaths*
<sphalerite> rgrinberg: ##nix-darwin may also be helpful
<rosa> what is the minimum gcc version required
<rosa> as my gcc 5.3.1 doesnt support -R nor -rpath
<sphalerite> rosa: you shouldn't need to worry about that, since nixpkgs handles nix's dependencies
<rosa> I know but i want to manually create one
<sphalerite> And rpath has been around for a long time, you're probably just using it wrong. Since it's a linker option, it has this really nasty way of being called, something like -Wl,-rpath
<rosa> ok
ylwghst has quit [(Ping timeout: 248 seconds)]
ma27 has joined #nixos
<rosa> Ill try that
ylwghst has joined #nixos
kyren_ has joined #nixos
kyren has quit [(Quit: ZNC - http://znc.in)]
Ivanych has joined #nixos
<sphalerite> How do I get the blank ExecStart= that's used to override an option in a service for systemd?
<rosa> As i want to attempt getting libc to be loaded from a non system directory
<kyren_> hey, I was wondering if there was a nixos-ey way of starting a virtualbox vm on startup
<rosa> add it to the start up script?
<rosa> every distro should have a start up script somewhere
<rosa> Otherwise auto starting xorg would not be possible
<kyren_> I mean, ultimately that comes from configuration.nix, but that's kind of what I'm asking
<kyren_> it's a bit weird though since the vm would be stateful, other distros have a configuration file for virtualbox that allows this though, I'm just wondering what the best approach is
<kyren_> I could always make some kind of custom systemd script or something, but I didn't know if there was a simpler / better way
datakurre has quit [(Remote host closed the connection)]
datakurre has joined #nixos
ambro718 has joined #nixos
MP2E has quit [(Remote host closed the connection)]
<sphalerite> kyren_: yeah I think a systemd service is the way to go
<kyren_> yeah, I can just make a user service I guess, thanks!
<sphalerite> Something like `systemd.services.myvm = {serviceConfig.Type = "oneshot"; wantedBy = "multi-user.target"; script = "${pkgs.virtualbox}/bin/VBoxManage startvm myvm";};`
<sphalerite> well a user service will only start on login
vcunat has joined #nixos
<kyren_> oh, yeah okay well if I can put that into configuration.nix that would be easier
<kyren_> it feels a bit weird because it's mixing the pure system config and the statefulness of virtualbox
<sphalerite> yeah there's always a point where that happens really
ylwghst has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jensbin opened pull request #31270: Typora: 0.9.31 -> 0.9.38 (master...typora_update) https://git.io/vFWI4
NixOS_GitHub has left #nixos []
p4cman has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #30266: matrix-synapse: 0.22.1 -> 0.24.1 (master...matrix-synapse) https://git.io/vdaPD
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #31254: graphite: override django and django_tagging (master...graphite-python-overrides) https://git.io/vFCaq
NixOS_GitHub has left #nixos []
theseriousadult has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vFWI9
<NixOS_GitHub> nixpkgs/master 42b70ae Maciej Kazulak: nixpkgs manual: add rstudio shell.nix example...
<NixOS_GitHub> nixpkgs/master 37d5539 Peter Simons: Merge pull request #31192 from mulderr/master...
NixOS_GitHub has left #nixos []
simukis has joined #nixos
asuryawanshi has joined #nixos
<sphalerite> My login shells don't seem to be sourcing my bashrc. Is this normal behaviour?
betaboon has quit [(Ping timeout: 240 seconds)]
<hyper_ch> sweet, latest nixos unstable small fixed the filezilla popup annoyance :)
asuryawanshi has quit [(Remote host closed the connection)]
<hyper_ch> sphalerite: no
<hyper_ch> sphalerite: well, did you say to use bash as default shell?
<hyper_ch> sphalerite: do you have in your .profile the entry to run .bashrc?
<sphalerite> hyper_ch: I didn't say anything in particular, bash is the default shell
<sphalerite> No, but I shouldn't need that AFAIU
<hyper_ch> I thought upon login etc... .profile is run
<hyper_ch> and .profile runs then the .bashrc
<sphalerite> man bash says that bashrc is "The individual per-interactive-shell startup file"
<sphalerite> So it should be loaded by every interactive bash AFAIU
<hyper_ch> no idea
<sphalerite> And no, .profile may be read by non-bash shells so it really shouldn't source bashrc
<hyper_ch> but check your .profile just to be sure :)
<sphalerite> This is only for login shells as well, running bash from an existing shell works just fine
<ArdaXi[m]> Doesn't bash source profile for login shells and bashrc for interactive shells?
<hyper_ch> it's all computsy automagic stuff :)
iyzsong has joined #nixos
<ArdaXi[m]> According to the man-page, they're exclusive, so a login shell not sourcing .bashrc is expected behaviour
<kyren_> sorry to bother again, I have one more annoying question about virtualbox actaully, there seems to be some stuff in the package about "enableExtensionPack", but I can't find it in "man configuration.nix" and I'm not sure how to use it
<sphalerite> ArdaXi: right... Guess I'm symlinking .bash_profile to .bashrc
<hyper_ch> hmm, damn man pages... they contain just too much real facts...
<sphalerite> Why is there even such a distinction
<ArdaXi[m]> Linus: You don't really want to do that, especially if you have non-idempotent env vars in there
<ArdaXi[m]> Because if you have `export PATH="/some/dir:$PATH"` your path will grow with every shell you start
<rosa> It didnt work
<sphalerite> ArdaXi: nah, only aliases
<ArdaXi[m]> I would recommend sourcing your `.bashrc` from `.bash_profile` instead
<ArdaXi[m]> Just to keep the distinction for moments it is meaningful
<sphalerite> kyren_: it's an option for the package iirc
<rosa> -Wl,-rpath./lib.so results in "/usr/bin/ld: unrecognized option: -rpath./lib.so
<sphalerite> kyren_: so you'll want to add an overlay that sets it to true for the vietualbox package
<sphalerite> rosa: you're missing a comma there. What are you trying to achieve anyway?
<hyper_ch> good morning, vcunat
<rosa> Where
<vcunat> hyper_ch: good morning :-)
<hyper_ch> vcunat: in the filezilla popup issue, why does your "closing" appear sooner than my reply that it works again. despite you having it closed later? its somewhat weird
<hyper_ch> ok, you replied already
<vcunat> it is weird
<vcunat> a GitHub bug probably
<hyper_ch> file a bug against github? :)
<vcunat> I don't know of any bugtracker
<vcunat> I had asked support for some fixes a couple times
<hyper_ch> ok :)
<vcunat> but it's probably not worth for such a tine one-time issue
<hyper_ch> also weird, before my comments was indicated "an hour ago" now it's back to "44 minutes"
<hyper_ch> and now 43...
<hyper_ch> I guess github's timeline is wibbly wobbly timey-wimey stuff
<gfixler> wow, `nix-store -q --references/--referrers`
<gfixler> this is how things should be
<vcunat> hmm, I wouldn't have connected you to @sjau\
<kyren_> thanks sphalerite, I think I've got it working with packageOverrides now, I'm still a bit new to nixos but I figured it out :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #31271: fetchurl: add passthru (master...fetchurl) https://git.io/vFWLK
NixOS_GitHub has left #nixos []
yegortimoshenko has joined #nixos
<yegortimoshenko> can /nix/store contain fifo pipes and/or devices?
<sphalerite> kyren_: good to hear! Fwiw packageOverrides is the old, less awesome version of overlays
<sphalerite> yegortimoshenko: no
thc202 has joined #nixos
<vcunat> such things would be impure (and e.g. not transferrable to another machine)
<yegortimoshenko> sphalerite: what about hard links?
<sphalerite> why does nix-env from nixUnstable always give me "unexpected end-of-file" if I try to install something? I use `nix-shell -p nix` to revert to 1.11 temporarily as a workaround, but it's not nice
<sphalerite> yegortimoshenko: hard links are allowed but managed by nix
scribbler has quit [(Remote host closed the connection)]
<sphalerite> also not sure how they behave if shared with file outside the nix store
<vcunat> well, the information about hardlinking isn't encoded/preserved
<sphalerite> Yeah
<sphalerite> yegortimoshenko: what are you trying to achieve?
scribbler has joined #nixos
<kyren_> I didn't see how to use an overlay in the system-level configuration.nix, is that a thing that exists / is easy / makes sense as a concept?
<vcunat> nix has an auto-hardlinking feature
<vcunat> (optional, off by default)
<yegortimoshenko> oh, i'm writing an utility that produces a statically linked binary from path to nix store executable...
<sphalerite> gfixler: even better, nix 1.12 has `nix why-depends`
<yegortimoshenko> it essentially builds a chroot environment and unpacks a tar archive from memory
<sphalerite> gfixler: you may also like nix-store -q --tree
<sphalerite> and --graph!
<sphalerite> yegortimoshenko: not sure what any of that has to do with fifos, device nodes or hard links?
<Mateon1> Hi, I seem to be having an issue with the unstable channel. It seems there is a syntax error in a nix expression: unexpected $undefined, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at /nix/store/vrlhx68hkb1bqmf14jhip9yly7l92023-nixos-18.03pre119292.cfafd6f5a8/nixos/pkgs/os-specific/linux/bcc/default.nix:29:27
<gfixler> sphalerite: I don't even fully follow that, but it sounds exciting
<Mateon1> Is that an issue on my side (like outdated nix), or did something break on unstable?
<gfixler> sphalerite: yeah, graph and tree are amazing
<yegortimoshenko> sphalerite: i unpack a tar archive (created via `tar cf closure.tar $(nix-store --query --requisites <path>)`) and i'd like to know what kinds of files it can contain
<hyper_ch> FRidh[m]: already in full support mode this early on a sunday morning?
scribbler has quit [(Ping timeout: 248 seconds)]
<sphalerite> gfixler: nix why-depends walks through a transitive dependency path showing you which file in each path references the next
<yegortimoshenko> this reuses much of chrootenv rewrite code, and should make it possible to effortlessly build "static binaries" for other linux distros
<sphalerite> yegortimoshenko: aah right so it's more about the assumptions you can make than trying to put nasty things in the store :) yeah it's fine. I don't see why you're worried about hardlinks though?
<sphalerite> yegortimoshenko: I think we already have something like that, hang on
<gfixler> sphalerite: don't think I have why-depends working here
<sphalerite> gfixler: it's in 1.12, which is available in nixpkgs as nixUnstable
<gfixler> sphalerite: ah, okay - baby steps
<sphalerite> yegortimoshenko: https://github.com/matthewbauer/nix-bundle
<yegortimoshenko> oh, yeah, that is essentially the same thing, didn't see that :-)
<yegortimoshenko> thanks
<gfixler> so I have Nix installed on Ubuntu, and no Vim yet, and I get a sudo apt install <selected package> message when trying to run vim
<gfixler> is that just me falling past the nix stuff at the front of $PATH and Ubuntu/apt telling me this?
<gfixler> does Nix ever give such information about what to install when something is missing?
<gfixler> very strange being in a system on top of a system atm
<Mateon1> gfixler: I think that's a bash script responsible for that
<Mateon1> Nix definitely supports showing what packages to install, I see that on my NixOS system
<gfixler> cool
<gfixler> I would think it would rule at that
<Mateon1> But I have no idea what actually decides what to show on not installed commands
<gfixler> would be nice if I could ask who's speaking to me :)
<gfixler> $ whoisreplying vim
joehh has joined #nixos
<ArdaXi[m]> That is the command-not-found handler, it's installed into the global bashrc/zshrc/etc
<ArdaXi[m]> On NixOS, that is, on Ubuntu you should be able to add it manually
<Mateon1> On my nixos system, the file responsible is /run/current-system/sw/bin/command-not-found
<ArdaXi[m]> It'd be interesting to know what package installs that
<gfixler> ArdaXi[m]: this was Ubuntu talking to me from behind Nix
<Mateon1> Which, fittingly, comes from a package called "command-not-found"
<ArdaXi[m]> Yeah, I know
<ArdaXi[m]> Mateon1: That's not in all-packages afaict
joehh has quit [(Remote host closed the connection)]
<sphalerite> yeah it's in a module iirc
joehh_ has joined #nixos
<sphalerite> nixos/modules/programs/command-not-found/command-not-found.nix
<sphalerite> So it's a nixos-specific feature
<sphalerite> although we could probably factor it out to work in nix-on-other-OS systems
<ArdaXi[m]> Yeah, I see, no idea why that derivation is defined in the module, rather than as a package
<sphalerite> to convince people to switch to nixos? :p
<gfixler> from my /etc/bash.bashrc: # if the command-not-found package is installed, use it
<ArdaXi[m]> Though, nix-index provides something similar
<Mateon1> You can probably just copy that perl script somewhere on your ubuntu system, and call into it instead
<sphalerite> true, and I think nix-index is more reliable?
<ArdaXi[m]> I'd use that instead, yeah
hotfuzz_ has joined #nixos
<sphalerite> it's certainly more versatile
<sphalerite> just requires an expensive cache build
<ArdaXi[m]> To be fair, the NixOS one requires that too, just not one on your side
<ArdaXi[m]> And one that used to be very prone to breakage for that reason
hotfuzz has quit [(Ping timeout: 248 seconds)]
<sphalerite> right
<sphalerite> I love nix 1.12
<sphalerite> sshfs + nix copy --all = boom instant binary cache so I don't need to worry about removing expensively built stuff in a GC on my chromebook
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vFWtx
<NixOS_GitHub> nixpkgs/master 07eeeb3 Frederik Rietdijk: Python: move expressions in python-modules to their own folders
NixOS_GitHub has left #nixos []
<MichaelRaskin> You mean that nix-serve is needed less now?
<MichaelRaskin> Ah, it also automates enumeration
<sphalerite> That and it's less of a fuss to set up a binary cache in different places
<sphalerite> I think
erictapen has joined #nixos
<sphalerite> tbh I've not really used nix-push so I may be overestimating how hard it is
<sphalerite> well… it doens't have a manpage by the looks of it, that's not a good sign
scribbler has joined #nixos
<sphalerite> nope, it's just 1.12's nix-shell not pulling in manpages… I think
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vFWqc
<NixOS_GitHub> nixpkgs/master 6254141 Frederik Rietdijk: Python pkgs: remove old/unused patches
NixOS_GitHub has left #nixos []
disasm has quit [(Remote host closed the connection)]
ambro718 has quit [(Ping timeout: 248 seconds)]
<joehh_> sphalerite: certainly a man page on nix 1.11
asuryawanshi has joined #nixos
<sphalerite> joehh_: yeah
asuryawanshi has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vFWqy
<NixOS_GitHub> nixpkgs/master 14da187 Frederik Rietdijk: Python update-python-libraries: fetch and update asynchronously
NixOS_GitHub has left #nixos []
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
Wizek_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vFWmG
<NixOS_GitHub> nixpkgs/staging 5f3b84e Nikolay Amiantov: cc-wrapper: disable POSIX compatibility
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 240 seconds)]
marzzzello has joined #nixos
leat has quit [(Ping timeout: 255 seconds)]
ixxie has joined #nixos
proteus-guy has quit [(Remote host closed the connection)]
c0bw3b has joined #nixos
raxius has joined #nixos
<Mateon1> A while ago I asked about breakage in the unstable channel, it seems that there is a nix syntax error there. Is that an issue on my side (something outdated), or did unstable break?
<Mateon1> The issue is in pkgs/os-specific/linux/bcc/default.nix on line 29
<sphalerite> It's weird, the unstable channel shouldn't advance if it's broken
<sphalerite> I'll take a look
<Mateon1> The exact error is: error: syntax error, unexpected $undefined, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at /nix/store/vrlhx68hkb1bqmf14jhip9yly7l92023-nixos-18.03pre119292.cfafd6f5a8/nixos/pkgs/os-specific/linux/bcc/default.nix:29:27
<MichaelRaskin> I think there was a weird combo when _some_ 1.11.x versions of Nix worked, but not all of them.
<MichaelRaskin> It has been fixed since in the master branch.
<Mateon1> Ah, so I just need to wait for the fix to be pushed to unstable
<sphalerite> evaluates fine for me, but I'm running 1.12
<Mateon1> I'm on 1.11.7
<sphalerite> uh... why?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<sphalerite> that has some security bugs iirc, you should really update
<MichaelRaskin> Is 1.12 _released_?
<sphalerite> MichaelRaskin: no
damke has joined #nixos
<sphalerite> I mean update to nix 1.11.15
<MichaelRaskin> Ah, but 1.11.7 is quite old, yes
<Mateon1> Hm... How can I update? I'm using nixos, and `nix-env -q '.*nix.*'` only shows nix-repl
<MichaelRaskin> I would call nix-unstable 1.12-pre to avoid confusion
<sphalerite> Mateon1: which nixos version are you on?
ixxie has quit [(Ping timeout: 240 seconds)]
<sphalerite> Looks almost like you're still on 16.09 or something D:
<Mateon1> I'm on version 17.03
damke_ has quit [(Ping timeout: 240 seconds)]
<sphalerite> You need to upgrade to 17.09, .03 is no longer supported
rosa has quit [(Quit: rosa)]
<sphalerite> but even on 17.03 I think you should have a newer version than 1.11.7
<sphalerite> weird
<Mateon1> Ah, I have that set in system.stateVersion, will adjusting that update my system?
<sphalerite> no, definitely not!
<sphalerite> you shouldn't need to touch stateVersion
<sphalerite> first check the release notes at https://nixos.org/nixos/manual/release-notes.html#sec-release-17.09 to make sure you're prepared for any compatibility breakages, then update your system channel to 17.09 (sudo nix-channel --add https://nixos.org/channels/nixos-17.09 nixos) and rebuild and boot into the new system (sudo nixos-rebuild boot && sudo reboot)
pSub has quit [(Read error: Connection reset by peer)]
pSub_ has joined #nixos
<Mateon1> Ah, I see, I just need to replace the nixos channel
<sphalerite> oops, forgot the nix-channel --update part
<sphalerite> run that after the nix-channel --add
<Mateon1> Yeah, I know about the rest, thank you :)
nh2 has joined #nixos
<Mateon1> Whoops, it seems that services.tor.relay was changed, previously it used relay.isRelay and relay.isExit, now it's a relay.role enum
leat has joined #nixos
yegortimoshenko has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFWOM
<NixOS_GitHub> nixpkgs/master a4085e2 Orivej Desh: subsurface: 4.6.0 -> 4.7.2
<NixOS_GitHub> nixpkgs/master 4e3a595 Orivej Desh: Merge pull request #31267 from orivej/subsurface...
NixOS_GitHub has left #nixos []
FreakingOut1987 has joined #nixos
<FreakingOut1987> anyone have a good estimate on how much space /nix would need on a separate partition?
ambro718 has joined #nixos
Itkovian has joined #nixos
erictapen has joined #nixos
nh2 has quit [(Ping timeout: 264 seconds)]
<Mateon1> FreakingOut1987: On my system it takes 70 gigabytes, but I never ran a garbage collection (Cause I'm unsure how to prevent something I built but didn't install from getting deleted).
<Mateon1> Whoops, sorry, I read the wrong number, it's 110 gigabytes
<FreakingOut1987> holy crap
<manveru> FreakingOut1987: depends heavily on what you install...
<FreakingOut1987> manveru, you think 10GiB would be enough?
<FreakingOut1987> if I actively curate lol
<manveru> i guess... you'd have to be very conservative
<MichaelRaskin> Well, it is a good idea to have twice as much space as an actual install needs. Because a glibc update makes you update everything, and in Nix you first get the new stuff then remove the old stuff.
<MichaelRaskin> (There are ways around that, but it is complicated)
tgunb has joined #nixos
<manveru> if all you need is like i3, a term, and a browser, it should be ok
<FreakingOut1987> hmm okay
hellrazo1 has quit [(Ping timeout: 248 seconds)]
ison111 has quit [(Ping timeout: 240 seconds)]
hellrazo1 has joined #nixos
kyren_ has quit [(Quit: Page closed)]
<hyper_ch> vcunat: what do you mean by what's my dns setup?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ma27 has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
asuryawanshi has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
asuryawanshi has quit [(Ping timeout: 240 seconds)]
FRidh has joined #nixos
fpletz has quit [(Quit: ^D)]
Anton-Latukha has joined #nixos
<Pneumaticat> oh manveru: were you the person who asked about how to teach cups how to print using ghostscript and foo2hbpl1 like a year ago?
<Pneumaticat> did you ever figure that out?
<manveru> heh...
<manveru> not really
rosa has joined #nixos
<Pneumaticat> alas :B
<Pneumaticat> I've got a dell C1760nw, so it seems I'm in the same situation
<manveru> yeah
<manveru> i got it kinda working, just not with cups
<Pneumaticat> ah
<Pneumaticat> your command was very helpful though, so thank you :)
<Pneumaticat> it's the only way I could get it to work too
<manveru> :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from 80d2a86 to eec55d4: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable eec55d4 Frederik Rietdijk: python.pkgs: maintenance updates
NixOS_GitHub has left #nixos []
<manveru> it sometimes refuses to print some docs... so i have to use my macbook for those
<Pneumaticat> oh
<manveru> still not sure what causes it
<Pneumaticat> weird omo
<Pneumaticat> I've only tested with one pdf so far so shrug
<manveru> aye
<manveru> i don't print much these days, so i don't mind much
<Pneumaticat> yeah me too
<manveru> but it's definitely the last time i'll get a printer from dell
<Pneumaticat> thankfully I have another black and white printer that I use far more frequently
<Pneumaticat> yeah omg
ma27 has joined #nixos
dza_ has joined #nixos
mithsv has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vFWGW
<NixOS_GitHub> nixpkgs/python-unstable d2b008a Frederik Rietdijk: python.pkgs.six: 1.10.0 -> 1.11.0
NixOS_GitHub has left #nixos []
<dza_> Hi. I compiled simple (https://pastebin.com/wVRKybYv) program with nixpkgs.gcc (using different verions 49,5,7). gcc -g3 -O0 -ggdb src/main.cc -o main I ran program under gdb and did several step commands. Step command jumps through lines as if it compiled without debugging info. Here gdb log https://pastebin.com/Jgv2ycUQ If I compile this program with default ubuntu gcc and debug it with nixpkgs.gcc everything is good.
<dza_> How should I compile program with debug info with nixpkgs.gcc ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vFWG7
<NixOS_GitHub> nixpkgs/master 5fde24c Frederik Rietdijk: python.pkgs.urwid: fix build
NixOS_GitHub has left #nixos []
nh2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 2 new commits to master: https://git.io/vFWGN
<NixOS_GitHub> nixpkgs/master 5633431 Maximilian Bosch: statsd: repackage with node2nix
<NixOS_GitHub> nixpkgs/master 51536b2 Sander van der Burg: Merge pull request #31235 from Ma27/statsd-with-node2nix...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from d2b008a to 29e2462: https://git.io/v5aIf
<NixOS_GitHub> nixpkgs/python-unstable b1d00a7 Frederik Rietdijk: python.pkgs: maintenance updates
<NixOS_GitHub> nixpkgs/python-unstable 29e2462 Frederik Rietdijk: python.pkgs.six: 1.10.0 -> 1.11.0
NixOS_GitHub has left #nixos []
joehh_ has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vFWGj
<NixOS_GitHub> nixpkgs/master 20bb7d5 Eelco Dolstra: krita: 3.2.1 -> 3.3.2
NixOS_GitHub has left #nixos []
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 248 seconds)]
Mateon3 is now known as Mateon1
fpletz has joined #nixos
zarel has joined #nixos
<gfixler> I can't stop thinking the old way
rtjure has quit [(Read error: Connection reset by peer)]
kahiru has quit [(Ping timeout: 248 seconds)]
<gfixler> I see nix-env --upgrade, and that it upgrades everything it can, and I think "But that could break dependencies everywhere!"
<gfixler> then I realize
<CrazedProgrammer> the power of nix :)
fpletz has quit [(Changing host)]
fpletz has joined #nixos
<gfixler> generations are a list, right, not a tree?
<gfixler> if I roll back from 5 to 4, then create a new generation, that's a new 5 that overwrites the old 5?
rtjure has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] svanderburg pushed 1 new commit to master: https://git.io/vFWZ2
<NixOS_GitHub> nixpkgs/master cf610f8 Sander van der Burg: fast-cli: pinpoint to a 1.x version, since 2.x requires nodejs 8 or greater
NixOS_GitHub has left #nixos []
<CrazedProgrammer> gfixler: should create generation 6, at least that's how it works for the nixos configuration
<gfixler> ah, so new tacks onto the end, even if you're not at it
<CrazedProgrammer> yep
<gfixler> if 5 is crap, can I delete it so I never accidentally roll back to it?
damke_ has joined #nixos
damke has quit [(Ping timeout: 240 seconds)]
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
nh2 has quit [(Ping timeout: 240 seconds)]
asuryawanshi has joined #nixos
<c0bw3b> gfixler yes you can with nix-env --delete-generations <gen_number>
<c0bw3b> so nix-env --list-generations first
<gfixler> c0bw3b: cool, thanks
<c0bw3b> and you need to do it in root or sudo if you want to list the system global gens and not your user env gens
<gfixler> didn't know there were system global gens
<c0bw3b> well these are the ones listed in Grub when you boot
p4cman has quit [(Quit: Connection closed for inactivity)]
<gfixler> at what level are drivers, e.g. video, printer, and wifi?
<Orbstheorem> Hi, I added "displayManager.session.script = "~/.xinitrc" to my configuration.nix (full https://paste.gnugen.ch/raw/Y03N) but when I rebuild I get the error message "cannot merge definitions of services.xserver.displayManager.session given in /nix/..... and /nix.... and /etc.nixos.configuration.nix
ma27 has quit [(Ping timeout: 240 seconds)]
<Orbstheorem> Is there a better way to have my xinirc called?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vFWZF
<NixOS_GitHub> nixpkgs/master b50693d Tuomas Tynkkynen: kernel, initrd: Remove legacy ubootChooser
NixOS_GitHub has left #nixos []
<c0bw3b> gfixler : system most likely
<c0bw3b> everything from /etc/nixos/configurations.nix (options services packages) will be system-wide
ma27 has joined #nixos
<Mateon1> How can I `lock` a built directory in the nix store, so garbage collection doesn't delete it?
leat has quit [(Ping timeout: 248 seconds)]
<c0bw3b> Mateon1 : you create a symlink to it somewhere outside of the nix store
<LnL> nix-build -o foo will create an indirect root for you
<Mateon1> Is that enough? I have symlinks to those directories in my /home
<LnL> or you can create a symlink in /nix/var/nix/gcroots/...
<Mateon1> Ah, I'll try that, just to be sure
ma27 has quit [(Ping timeout: 246 seconds)]
ma27 has joined #nixos
<Mateon1> Okay, great, that worked, and I freed 26400 MiB on the garbage collection
<c0bw3b> 26GB ?!
<MichaelRaskin> Not that much.
<c0bw3b> no yheah one can always do more but i guess i'm a nix-collect-garbage maniac then because I never reach that point :p
marzzzello has quit [(Remote host closed the connection)]
<MichaelRaskin> A single generation can take that much for me
Itkovian has joined #nixos
FreakingOut1987 has quit [(Remote host closed the connection)]
ma27 has quit [(Ping timeout: 248 seconds)]
ma27 has joined #nixos
<Mateon1> Deleting all old generations freed up more space, another 32000 MiB
sigmundv__ has joined #nixos
<hyper_ch> that's a lot of MiBs
fendor has joined #nixos
civodul has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #31274: radeon-profile: 20161221 -> 20170714 (master...radeon-profile) https://git.io/vFWco
NixOS_GitHub has left #nixos []
leat has joined #nixos
<sphalerite> Orbstheorem: if you put a script called .xsessionrc in your home it completely replaces any sessions selected in the display manager. Not sure if that fits your use case but it could be helpful?
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vFWCT
<NixOS_GitHub> nixpkgs/master 91de995 Franz Pletz: browserpass: 1.0.6 -> 2.0.7
<NixOS_GitHub> nixpkgs/master b032b35 Franz Pletz: linux_mptcp: 0.92.1 -> 0.93
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to release-17.09: https://git.io/vFWCn
<NixOS_GitHub> nixpkgs/release-17.09 f826b44 Franz Pletz: browserpass: 1.0.6 -> 2.0.7...
<NixOS_GitHub> nixpkgs/release-17.09 b82dc92 Matthieu Coudron: kernelmptcp: 0.91.3 -> 0.92.1...
<NixOS_GitHub> nixpkgs/release-17.09 7c2d929 Franz Pletz: linux_mptcp: 0.92.1 -> 0.93...
NixOS_GitHub has left #nixos []
ma27 has quit [(Ping timeout: 248 seconds)]
ma27 has joined #nixos
asuryawa_ has joined #nixos
asuryawanshi has quit [(Ping timeout: 258 seconds)]
asuryawa_ has quit [(Ping timeout: 252 seconds)]
nh2 has joined #nixos
asuryawanshi has joined #nixos
<bgamari-> Is there any way to make the indentation of emacs nix-mode closer to what is typical of nixpkgs?
<hyper_ch> what is the indentation like now there?
<bgamari-> well, perhaps a better question
<bgamari-> is there any canonical style guide?
<bgamari-> thanks
sigmundv__ has quit [(Ping timeout: 240 seconds)]
<c0bw3b> domenkozar > ping? :)
nh2 has quit [(Ping timeout: 255 seconds)]
nh2 has joined #nixos
fragamus has joined #nixos
python476 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #31276: zimg: 2.4 -> 2.6.1 (master...zimg) https://git.io/vFWl4
NixOS_GitHub has left #nixos []
lars_ has joined #nixos
rosa has quit [(Ping timeout: 240 seconds)]
<cocreature> Hey, is there a way to apply to a custom pkgs to a machine in a nixos test? E.g. I have http://nixpaste.lbr.uno/HHbgrEc5?nix but the machine doesn’t use by patched pkgs since make-test seems to fetch its own afaict
nh2 has quit [(Read error: Connection reset by peer)]
<Twey> Is there a function in nixpkgs to convert a Nix list into a bash array to pass through the environment?
<hyper_ch> 2 spaces indents are just horrbile IMHO :)
stanibanani has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #31277: bdf2psf 1.158 -> 1.170 (master...bdf2psf) https://git.io/vFW86
NixOS_GitHub has left #nixos []
<hyper_ch> Twey: on the '' you have 4 indents
asuryawa_ has joined #nixos
<Twey> hyper_ch: Nah, two for [, two for ''
<hyper_ch> but '' isn't on a new line
<hyper_ch> see line 8
<Twey> hyper_ch: Yep
<Twey> hyper_ch: Opened subtrees get indents, not newlines
<hyper_ch> but the 4 indent looks much nicer
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #31279: rewritefs: 2016-07-27 -> 2017-08-14 (master...rewritefs) https://git.io/vFW4U
NixOS_GitHub has left #nixos []
<Twey> hyper_ch: So you can indent multiple times with only one newline
jensens has joined #nixos
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<Twey> hyper_ch: The 4-indent looks worse because the "{ " sequence is two characters, so 2-indent lines up nicely (e.g. lines 3/4)
<hyper_ch> Twey: 4 indent looks so much cleaner
asuryawa_ has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #27965: lib/types: add signed/unsigned integer types (master...intBetween) https://git.io/v7whM
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 246 seconds)]
tgunb has quit [(Ping timeout: 248 seconds)]
<Twey> hyper_ch: It leads to weird rightward drift
asuryawanshi has joined #nixos
<Twey> I guess with extra spaces it's not horrific, but it looks pretty weird to have all that whitespace sitting in the middle of the line
<Twey> The 2-space just lines up naturally without having to do anything odd
<gchristensen> nixpkgs dictates 2-space indent for nix code
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch pushed 1 new commit to master: https://git.io/vFW44
<NixOS_GitHub> nixpkgs/master 14f232d Piotr Bogdan: ultrastardx: fix build
NixOS_GitHub has left #nixos []
<Twey> gchristensen: Yeah, I don't use this style for things in nixpkgs (though I have plenty of gripes with the nixpkgs style)
<Twey> hyper_ch: If you do it that way then 2-space vs 4-space makes virtually no difference anyway
<gchristensen> cool :)
<Twey> hyper_ch: The whole point is that the 2-space looks much nicer in Pico style (and I happen to prefer Pico style because I dislike having whole lines dedicated to terminators of things)
<hyper_ch> Twey: optically it makes a huge difference
<hyper_ch> I have no idea what pico style is
<LnL> is there a way to use fetchpatch for a subproject or do I need to commit the patches then?
<hyper_ch> also, to my knowledge, there's no world shortage on spaces-for-indents :)
<Twey> hyper_ch: I used to have opinions on how many spaces was the right number of spaces, until I shifted between a bunch of codebases and realized that really it's the shape of it that matters. So long as you have more than one the shape is perfectly visible (though once you go over about six you end up having to insert a heck of a lot more linebreaks)
<hyper_ch> :)
<c0bw3b> Twey: what is Pico style? i have no idea and you got me curious :)
<Twey> I don't like wasting vertical or horizontal space. I'm a big fan of newlines for separating things, but I feel that gets diluted a lot if you have the Java syndrome of spending half your vertical space on lines that are just ‘}’
<c0bw3b> Thanks
<Twey> IMO single delimiters aren't nearly important enough to warrant having their own line
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<Twey> Though I've been generating a lot of Nix lately and using a super-sparse vertical form with linebreaks for just about everything, because it's easier to code :þ
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vFW4x
<NixOS_GitHub> nixpkgs/master 0d9f2f0 Tuomas Tynkkynen: platforms.nix: Clean up more 'uboot' legacy...
NixOS_GitHub has left #nixos []
zarel has quit [(Remote host closed the connection)]
jcpetruzza has joined #nixos
p4cman has joined #nixos
stanibanani has quit [(Ping timeout: 240 seconds)]
tgunb has joined #nixos
<jcpetruzza> hey, i'm installing nixos 17.09 on an old macbook. I think I need efifb loaded while booting (I'm not seeing the luks decrypt prompt otherwise, just a blank screen), but the module seems to be missing
asuryawa_ has joined #nixos
<jcpetruzza> I added "efifb" to `boot.initrd.kernelModules` but the logs say the module was not found, and I can't find it either when searching the nix store
<jcpetruzza> any ideas?
Harekiet has left #nixos []
asuryawanshi has quit [(Ping timeout: 255 seconds)]
<hyper_ch> no idea what efifb is
<Dezgeg> it's built-in I think
<jcpetruzza> efifb is so that you can use the framebuffer of efi for output
arianvp2 has joined #nixos
<jcpetruzza> if it is built-in, it is not running during boot. do you know how I can check if it is there?
kp__ has joined #nixos
joncfoo has quit [(Ping timeout: 246 seconds)]
iyzsong has quit [(Ping timeout: 260 seconds)]
<Dezgeg> well it shows up as CONFIG_FB_EFI=y in /proc/config.gz, dunno why it isn't working
<hyper_ch> I avoid efi as much as I can
joncfoo has joined #nixos
<gchristensen> hyper_ch: then you may choose to not participate in this conversation with a user who must use efi
<MichaelRaskin> I think NixOS has CONFIG_FB_EFI=y
<MichaelRaskin> So EFI framebuffer support should be built in
<jcpetruzza> I'd expect to see efifb related output on journalctl -b but there is none. I was using ubuntu on that machine before, and can see the efifb output on dmesg there.
pierrec1 has joined #nixos
<MichaelRaskin> Hm. Did you try asking GRUB to add video=efifb:macbook to the kernel command line?
<pierrec1> Hi guys
pie_ has quit [(Read error: Connection reset by peer)]
<pierrec1> Just installed nixos and I'm a bit unsure about a couple of things...
<jcpetruzza> Yeah, I tried `boot.kernelParams = [ "video=efifb:macbook,SVIDEO-1:d" ]` earlier
pie_ has joined #nixos
<pierrec1> Like I would like to use firefox 57 or 58 (devedition I guess)
<pierrec1> but I'm not sure what incantation I need in my configuration.nix to use it?
<jcpetruzza> I didn't see efifb output then either
<jcpetruzza> @MichaelRasking Checked and I also have CONFIG_FB_EFI=y, btw
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vFW09
<NixOS_GitHub> nixpkgs/master 611829b Franz Pletz: imagemagick: 6.9.9-20 -> 6.9.9-21
<NixOS_GitHub> nixpkgs/master 4f8c533 Franz Pletz: imagemagick7: 7.0.7-8 -> 7.0.7-9
<NixOS_GitHub> nixpkgs/master 7113039 Franz Pletz: wireguard module: add device name environment var...
NixOS_GitHub has left #nixos []
<averell> firefox-bin is at 56.0.2, firefox-beta-bin and firefox-devedition-bin are available, and versions differ depending on which channel. you can just add it like any other package
<lars_> how can i get nm-applet working in plasma?
<lars_> i have networkmanager and networkmanagerapplet in configuration.nic
<lars_> *nix
<MichaelRaskin> jcpetruzza: I am not sure if vga= option could help
<adisbladis> lars_: plasma-nm is included in plasma
<pierrec1> @averell: thanks for the tip. I'll try firefox-devedition-bin
<lars_> adisbladis: bash: plasma-nm: command not found
<MichaelRaskin> pierrec1: and then there is also Mozilla's Nix overlay with fresh Firefox versions
<symphorien> lars_: I don't know about plasma, but networkmanagerapplet provides the command nm-applet (which is gtk-based)
<adisbladis> lars_: Its not a separate command. Provided you have the networkmanager service enabled it should pop up in the tray automatically.
<lars_> nm-applet says about wifi-networks that "device not ready"
<pierrec1> @MichaelRaskin: I saw that repo on github but I'm not sure how to use it yet... Are overlays explained in the documentation somewhere?
<lars_> i guess i have some service unstarted?
leat has quit [(Ping timeout: 240 seconds)]
JosW has joined #nixos
<adisbladis> lars_: systemctl status network-manager
<manveru> is there an easy way to make a nixos-manual given a specific nixpkgs without using the nixos module?
<vcunat> hyper_ch: you answered all of my question, but it didn't help me to get closer to the problem unfortunately.
<pierrec1> thanks
<hyper_ch> vcunat: but why not set it to retry?
<lars_> adisbladis: Unit network-manager.service could not be found.
<adisbladis> lars_: Did you enable the service or did you just add the package to systemPackages?
<vcunat> hyper_ch: it's more of a decision for wireguard upstream anyway
<lars_> i just added it to systemPackages
<hyper_ch> vcunat: so I should file bug there?
<Orbstheorem> sphalerite: > Orbstheorem: if you put a script called .xsessionrc in your home it completely replaces any sessions selected in the display manager. Not sure if that fits your use case but it could be helpful?
<hyper_ch> it's a dns issue somewhere... if I use the lan IP it works
<lars_> im trying to get the wifi working from the default generated config
<Orbstheorem> Usefull, thanks!
<vcunat> but you'll probably get the same answer from glibc's cache
<vcunat> (for some time)
<adisbladis> lars_: Ahh, to actually run the service you should add "networking.networkmanager.enable = true;" to your configuration.nix
<vcunat> negative answers have their time-to-live as well
pierrec1 has quit [(Remote host closed the connection)]
<sphalerite> manveru: nix-build nixpkgs/nixos -A config.system.build.manual
<sphalerite> Orbstheorem: glad to hear it :)
leat has joined #nixos
<hyper_ch> vcunat: at least I think if I use IP it works.... let me retry
<lars_> adisbladis: i have networking.wireless.enable = true, what does that do?
<vcunat> you may add the address to /etc/hosts :-)
jsgrant has joined #nixos
<lars_> ah, thanks
<vcunat> but I guess it can change - otherwise you wouldn't bother with DDNS
<lars_> adisbladis: do i need the networkmanager in my systemPackages?
<manveru> sphalerite: thx :)
<adisbladis> lars_: networking.wireless.enable sets up wpa supplicant (this is not required if you have networkmanager)
jcpetruzza has quit [(Quit: WeeChat 1.9)]
<adisbladis> lars_: No you do not.
<adisbladis> Just activating the service is enough :)
<lars_> i tried wpa supplicant but didnt understand what it does
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 5 new commits to release-17.09: https://git.io/vFWE2
<NixOS_GitHub> nixpkgs/release-17.09 aa9baed Andreas Rammhold: networking.wireguard: added `allowedIpsAsRoutes` boolean to control peer routes...
<NixOS_GitHub> nixpkgs/release-17.09 af9bb2d Joerg Thalheim: wireguard: fix function for adding routes...
<NixOS_GitHub> nixpkgs/release-17.09 003102c Franz Pletz: wireguard module: add device name environment var...
NixOS_GitHub has left #nixos []
<adisbladis> lars_: It handles wifi encryption and such (can also connect to networks), networkmanager also uses this.
<adisbladis> lars_: You probably want networkmanager though :)
<hyper_ch> vcunat: just tested it, with IP it works
<lars_> yea i figured :D
ylwghst has joined #nixos
<lars_> wait, so do i need networkmanager in systemPackages? no? if i enable it in networking, nixos installs it already?
<Dezgeg> use networking.networkmanager.enable in place of networking.wireless.enable IIRC
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30688: vrb: init at 0.5.1 (master...pr-vrb-init) https://git.io/vdNAo
NixOS_GitHub has left #nixos []
<sphalerite> yeah, and you need to remove networking.wireless.enable = true; which is somewhat counterintuitive
<hyper_ch> vcunat: so file bug with wireguard?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vFWE1
<NixOS_GitHub> nixpkgs/master f4914d4 Théo Zimmermann: bignums: init at various versions...
<NixOS_GitHub> nixpkgs/master 1ddadc6 Théo Zimmermann: coqPackages.math-classes: 1.0.6 -> 1.0.7...
NixOS_GitHub has left #nixos []
<vcunat> I personally don't think it's a mistake not to retry
<adisbladis> lars_: Exactly. If you enable the service it gets installed anyway.
<vcunat> hyper_ch: I would be interested why glibc returns the negative answer at that point (presumably that's what happens), but it seems difficult to find out
<sphalerite> vcunat: that multiple negation though!
<vcunat> clearly I'm not a native BBC-English speaker
<vcunat> :-)
<sphalerite> Failing to avoid multiple negation can make not being misunderstood difficult
<sphalerite> :D
<adisbladis> sphalerite: And that would be double plus ungood!
<hyper_ch> using double negations in daily language is a normal thing and corretly understood as single negation
<hyper_ch> "nobody didn't say anything"
<gchristensen> usually only just spoken I think?
<Dezgeg> yeah, right
<sphalerite> hyper_ch: not necessarily, it depends on how it's used :p
<Twey> hyper_ch: That's not really idiomatic… ‘nobody said nothing’ is the usual colloquial double negation in English
<Twey> But yeah, dialect- and situation-dependent
<hyper_ch> Twey: I don't know english :)
<Twey> If you're speaking to a logician, they probably didn't mean it that way :þ
<sphalerite> For example, "it wouldn't be unwise" is double negation that works out positively
<hyper_ch> it's only my 4th language, so I have shortcomings there
<Twey> hyper_ch: Sure, no criticism, just correction ;)
<sphalerite> language is fun
<lars_> have you heard of lojban?
<sphalerite> Yes, it's scary
<Twey> Lojban isn't scary, it's warm and friendly
ylwghst has quit [(Ping timeout: 260 seconds)]
<vcunat> Lojban is nicely designed
<vcunat> reminded me of Prolog
<gchristensen> I'm not sure lojban can be described as friendly or warm
<vcunat> now on NixCon we had a suggestion to start writing nixos docs in Lojban :-)
<avn> fun idea ;)
<gchristensen> that will be a big help with the docbook debates, an even harder tool to get started with :)
<MichaelRaskin> I wonder if there is a grammar checker for Lojban or maybe Ithkuil
doublehp has joined #nixos
<vcunat> harder? Lojban is the easiest human language I've seen
<doublehp> when running apps with /bin/su -c, apart from the $PATH and stdin, what else can differ from an interactive shell ?
<doublehp> I have a bug in a script that works fine from user console, but not from su; i wonder about env variables
ylwghst has joined #nixos
<doublehp> /bin/su -c '/home/dhp/.sh/fetch_youtube.sh 2>&1' fails when run by root, but script works from user shell . it includes a call to /home/dhp/.nix-profile/bin/youtube-dl . so, maybe NIX env is not set properly under su
<sphalerite> doublehp: How does it fail? And why would you run youtube-dl as root, that seems like a bad idea
<ldlework> vcunat xu do jimpe
<ldlework> mi se bangu la lojban
<ldlework> mi finti la karda :)
<lars_> i've found saying some simple things in lojban very hard
<ldlework> if you can call a function you know lojban
<vcunat> :-)
<lars_> yea but you have to know a specific function to every situation
<doublehp> sphalerite: youtube-dl fails internally, on some links; work for 95% links, and fails sometimes; always the same links; so it has something to do with an internal call of youtube-dl
<ldlework> you mean like every language?
<doublehp> but those links always work fine from user console
<lars_> and the positional arguments without keywords is hard to remember
<ldlework> without keywords? lol
<lars_> no, i mean that things such as adverbs
<ldlework> fa fe fi fo fu
<doublehp> i have checked, it's not related to $PATH, so, the problem may be an alias, or an other env var
<ldlework> whats hard about that
<ldlework> xunre bolci
<ldlework> adverb
radvendii has joined #nixos
<lars_> the fafefifofu are only syntactic, not semantic
<ldlework> red ball
<sphalerite> doublehp: an actual error message would be helpful. But I also really don't think you should be running youtube-dl as root, why are you trying to?
<ldlework> a keyword system would multiply required vocab up to 5x
<ldlework> i dont get that argument at all
<lars_> many languages have keywords that denote the semantic meaning in a sentence
<doublehp> root runs su -c user !!!
<ldlework> not predicate specific argument keywords
<doublehp> sphalerite: the actual error message is not helpfull at all. Really
<lars_> i'm talking about keywords but really mean prepositions and cases
ryantrinkle has quit [(Ping timeout: 240 seconds)]
<ldlework> nothing hard about prepositions either
<radvendii> idris is giving me weird errors about ld missing gmp. This seems like a nix problem. I've installed idris by putting haskellPackages.idris in my systemPackages, and I tried putting gmp there too but it didn't fix the issue
<lars_> take for example the engish preposition "to"
<radvendii> is there something else I need to do to install idris properly?
<ldlework> its overloaded?
<doublehp> sphalerite: https://paste.debian.net/994271/
<ldlework> and can mean many things?
ahstro has joined #nixos
<lars_> usually, in sentences with multitransitive verbs, to marks the things are going to
<ldlework> right you can do that with lojban as well
<doublehp> sphalerite: for 90% other links, it works fine; but I have about 10 links throu 300 whic failed with same issue
<lars_> how?
<ldlework> maybe you should read la karda
<sphalerite> doublehp: what does this have to do with nix? This youtube-dl isn't installed through nix
<ldlework> if youve had trouble
<sphalerite> (the error message was helpful!)
<doublehp> $ which youtube-dl => /home/dhp/.nix-profile/bin/youtube-dl
<ldlework> i authored it, to make it as easy as possible to learn. it is very popular and covers prepositions
<ldlework> if you think there is something lojban cant do, its probably you just havent learned it yet
<radvendii> ooh, can y'all give me the elevator pitch for lojban? what does it have on volapuk/esperanto/ido?
thblt has joined #nixos
<doublehp> sphalerite: ls -l /home/dhp/.nix-profile/bin/youtube-dl => /home/dhp/.nix-profile/bin/youtube-dl -> /nix/store/ymmck83fk6f4cvzsmip9fgblzafykxcq-youtube-dl-2017.10.20/bin/youtube-dl
<sphalerite> doublehp: yeah but it's involving some code that lives in /usr/lib64 which isn't nix-managed. Try `pip uninstall youtube-dl`as root
<ldlework> you can use fi'o to use any predicate place as a preposition
<sphalerite> radvendii: no ambiguity
<ldlework> and there are tons of shortform BAI preps
<doublehp> sphalerite: you are right; under su, it's not using the NIX one; how do I make su use NIX env ?
<ldlework> radvendlii if i wernt mobile i would
<radvendii> sphalerite: there is no way to make a sentence that could have resulted from two different syntax trees?
<lars_> never knew about the prepositions
<doublehp> /bin/su -c 'which youtube-dl' dhp => /usr/bin/youtube-dl # this is a start
<sphalerite> doublehp: adding -l to the su command might help
<sphalerite> radvendii: I believe so. I'm not an expert
<doublehp> nope
<doublehp> ah ... I had set path the wrong way
<lars_> and how would you say you are doing something _fast_ or _sloppily_ and such?
<radvendii> sphalerite: interesting. I'll look into it
jensens has quit [(Ping timeout: 255 seconds)]
<doublehp> sphalerite: you were right in the fact, under su, I am not using su; and when using "/bin/su -c '/home/dhp/.nix-profile/bin/youtube-dl ..." it works fine. So ...
ylwghst has quit [(Ping timeout: 240 seconds)]
<ldlework> radvendii search la karda
<lars_> jbovlaste had 500 error so no idea what radvendii means
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #31280: pdns-recursor: 4.0.4 -> 4.0.6 (master...pdns-recursor) https://git.io/vFWzS
NixOS_GitHub has left #nixos []
<sphalerite> lars_: it's radvendii 's nick
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #31281: firefox-bin: Fail on unsupported architectures (master...firefox-bin-arch-check) https://git.io/vFWzb
NixOS_GitHub has left #nixos []
<radvendii> ldlework: will do
<lars_> kek, what did i think :P
<gchristensen> nice, sphalerite
<sphalerite> gchristensen: what's nice?
c0bw3b has quit [(Ping timeout: 240 seconds)]
<gchristensen> your FF pr
<sphalerite> ooh right
jcpetruzza has joined #nixos
<sphalerite> hm actuallty maybe it should use stdenv.platforms rather than the assertion
<sphalerite> s/assertion/throw/
<sphalerite> since this won't prevent it from showing up in searches IIUC
<srhb> Isn't the whole "hidden from searches" thing a misfeature anyway?
ison111 has joined #nixos
<ghostyy> hi, how do i install an unstable package on stable nixos?
<srhb> I'm thinking of the inevitable confusion often shown in the channel here.
<ghostyy> i need an unstable kernel in particular
<sphalerite> srhb: that's a fair point. But stdenv.platforms is definitely the way to do this, as we can then fail earlier
<srhb> ghostyy: Which kernel in particular? You might not need to get anything from the unstable channel at all.
<srhb> sphalerite: Right, ok. :)
<sphalerite> srhb: should we need to, that is.
<vcunat> kernels are normally backported
<ghostyy> https://www.servethehome.com/amd-ryzen-with-ubuntu-here-is-what-you-have-to-do-to-fix-constant-crashes/ "There have been numerous reports of SMT issues and it is a known fix that got rolled out in the Linux 4.10 and 4.11 kernels"
<ghostyy> so i think i need a 4.10 or 4.11 kernel
<sphalerite> ghostyy: we're already on 4.13
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/1a8a95e879 (from 25 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/7c2d929e38 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b032b3544f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/eafd703a63 (from 29 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<vcunat> boot.kernelPackages = pkgs.linuxPackages_4_13
<ghostyy> why do i have a 4.9.58 kernel then?
<ghostyy> vcunat, thanks!
<sphalerite> err, with linuxPackages_latest that is
<vcunat> or that
<vcunat> I prefer to do major bumps manually
<ghostyy> what is linuxpackages_latest?
<srhb> ghostyy: An alias for the latest branch. 4.13 in this case.
<sphalerite> vcunat: I prefer for my config not to stop evaluating on a nixpkgs bump :D
<ghostyy> i use luks on boot...
<hyper_ch> srhb: wouldn't testing be latest? last time I tried latest it was still 4.9 kernel
c0bw3b has joined #nixos
<srhb> hyper_ch: Oh..
<Dezgeg> testing is the -rc* ones, so probably a bad idea
<sphalerite> ghostyy: I'm using 4.13 with luks and it's fine
<hyper_ch> srhb: I might be mistaken
<sphalerite> ghostyy: and should it fail you can always boot an older system generation :)
<ghostyy> alright, ill try it then
<srhb> hyper_ch: linuxPackages_latest is currently an alias for linuxPackages_4_13 -- just checked.
<ghostyy> ah right
<vcunat> yes, in 17.09 at least
<hyper_ch> srhb: ok :) tried it a while back though
<srhb> Right. :)
<srhb> In unstable as well.
<hyper_ch> ah, I was wondering for 4.14 the other day.... :)
ahstro has quit [(Ping timeout: 260 seconds)]
lfish has joined #nixos
ilyaigpetrov has joined #nixos
<sphalerite> Should I @ping maintainers on github when opening a PR against their package?
<gchristensen> sure
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #31276: zimg: 2.4 -> 2.6.1 (master...zimg) https://git.io/vFWl4
NixOS_GitHub has left #nixos []
jcpetruzza has quit [(Quit: WeeChat 1.9)]
<ghostyy> great, rebooting worked fine, im now on 4.13.9
Fare has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #31275: ddcutil: 0.8.2 -> 0.8.4 (master...ddcutil) https://git.io/vFWCX
NixOS_GitHub has left #nixos []
thblt has quit [(Ping timeout: 258 seconds)]
nhill1 is now known as nhill
<averell> works for me, exact same setup/keysize and grub2. except i'm on nixos-unstable.
dotlambda has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michalrus opened pull request #31283: users-groups module: use `buildEnv` in per-user profiles (master...per-user-profiles-buildEnv) https://git.io/vFW2R
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFW2z
<NixOS_GitHub> nixpkgs/master 8877ba4 rnhmjoj: bdf2psf 1.158 -> 1.170
<NixOS_GitHub> nixpkgs/master dcf16a8 Orivej Desh: Merge pull request #31277 from rnhmjoj/bdf2psf...
NixOS_GitHub has left #nixos []
damke has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #31284: glade: fix (master...glade-fix) https://git.io/vFW2D
NixOS_GitHub has left #nixos []
dotlambda has quit [(Ping timeout: 260 seconds)]
vcunat has quit [(Quit: Leaving.)]
<ilyaigpetrov> Can I build nixos cd from ubuntu?
<MichaelRaskin> Yes.
vcunat has joined #nixos
endformationage has joined #nixos
<avn> even you can build nixos from ubuntu, and make it bootable (although is not so well supported and documented)
<lfish> Hello. I'm following the nix pills and I'm having trouble with building graphviz in the 12th one. I'm on nixos. The problem is with ./configure when calling nix-build graphviz.nix (I'm using all the scripts from the series so far). I have no trouble with configure from a nix-shell. Any ideas?
<sphalerite> lfish: what error are you getting?
<ilyaigpetrov> I need some hints about how to build nix iso from other OS to handle this issue: https://github.com/NixOS/nixpkgs/issues/5829#issuecomment-281087262
fendor has quit [(Ping timeout: 248 seconds)]
<ilyaigpetrov> I have win10 + bash and may install ubuntu
<lfish> the configure script is passing an invalid flag to a library ./configure. It's passing --cache-file=/dev/null to libltdl's ./configure
<lfish> the error message says "configure: error: invalid variable name: `--cache-file'"
<srhb> ilyaigpetrov: nix-build '<nixpkgs/nixos/release.nix>' -A iso_minimal iirc
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31280: pdns-recursor: 4.0.4 -> 4.0.6 (master...pdns-recursor) https://git.io/vFWzS
NixOS_GitHub has left #nixos []
<ilyaigpetrov> srhb: so I have to install nix-build on my ubuntu first
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #31285: opera:46.0.2597.39->48.0.2685.52 (master...patch-70) https://git.io/vFWaK
NixOS_GitHub has left #nixos []
<srhb> ilyaigpetrov: Doesn't that come with Nix in general?
Ivanych has quit [(Ping timeout: 240 seconds)]
<ilyaigpetrov> srhb: I don't have nix, I need a minimal nix iso to figure out why nix doesn't boot on my machine, see GH issue above
joehh_ has joined #nixos
<srhb> ilyaigpetrov: Ah.
taaf[m] has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #31286: masscan: init 2017-02-04 -> 1.0.4 (master...masscan) https://git.io/vFWaM
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
<ilyaigpetrov> Maybe I can run some nixos in VM, but it will be slow while building for sure
<sphalerite> ilyaigpetrov: yes, you need nix to build the nixos iso. You can install nix on ubuntu though
<ilyaigpetrov> sphalerite: any links? This one: https://nixos.org/nix/manual/#ch-installing-binary ?
<srhb> Er
<srhb> ilyaigpetrov: ^
<sphalerite> ilyaigpetrov: yep
takle has quit [(Remote host closed the connection)]
<sphalerite> oh, hm, the docs are outdated there. The install script does multi-user on darwin by default now, right gchristensen ?
<gchristensen> right
<sphalerite> ilyaigpetrov: if you just need a minimal nixos iso, you can get it from the website too though
<ilyaigpetrov> sphalerite: non of brebuilt iso's (net, graphical) on the site works for me
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vFWap
<NixOS_GitHub> nixpkgs/master 4f8b980 Vladimír Čunát: torcs: fix libGL when the OS uses non-mesa...
NixOS_GitHub has left #nixos []
<sphalerite> ilyaigpetrov: what do you plan to do differently in the one you build yourself?
<ilyaigpetrov> sphalerite: so I have to compile one that log boot messages to a file
<sphalerite> aah right
<sphalerite> How will you do that?
<sphalerite> If it's with a kernel parameter, you can just put it in on GRUB
<sphalerite> or systemd-boot, or isolinux or whatever the loader is
<ilyaigpetrov> sphalerite: no, rsyslog needs to be configure with a nix config
Ivanych has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to release-17.09: https://git.io/vFWVG
<NixOS_GitHub> nixpkgs/release-17.09 a01887a Joachim F: Merge #30696: torcs: fix build & cleanups...
<NixOS_GitHub> nixpkgs/release-17.09 23cf1ed Vladimír Čunát: torcs: fix libGL when the OS uses non-mesa...
NixOS_GitHub has left #nixos []
<sphalerite> Ah right
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel opened pull request #31287: hplip: 3.17.9 -> 3.17.10 (master...hplip) https://git.io/vFWVa
NixOS_GitHub has left #nixos []
pierrec_ has joined #nixos
justbeingglad has joined #nixos
<lars_> i have my home folder on a separate partition, how do i make it appear as /home?
marantz has joined #nixos
<clever> lars_: fileSystems."/home" = { fsType = "ext4"; device = "/dev/sda10"; };
justbeingglad has left #nixos []
<lars_> thanks
<lars_> and with what can i see what the device is?
<sphalerite> lsblk/blkid
<sphalerite> How do you usually identify it? :)
<lars_> with gparted when i made it
<lars_> and previously i have used ubuntu and its installer set that automatically
Ivanych has quit [(Ping timeout: 248 seconds)]
<marantz> anyone here ever get ofxclient working on nixos? used nix-env to install it, but it seems to depend on python-keyring which depends on python-secretstorage but using nix-env to install the individually doesn't setup the linkage they need to find eachother? I'm pretty new to nixos so maybe I don't know how to install python packages correctly
<clever> lars_: if you had mounted home to /mnt/home/, nixos-generate-config would have configured it for you
<lars_> manual didn't say in the installation steps :)
<marantz> manual? ofxclient docs don't know about nixos, but there is something in nix-pkgs for it
trevorriles has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vFWwJ
<NixOS_GitHub> nixpkgs/master 0610584 Vladimír Čunát: factor-lang: fix libGL when the OS uses non-mesa...
NixOS_GitHub has left #nixos []
<lars_> i think nixos needs a gui installer (or an ncurses one) and some sensible configuration for a default gui
<lars_> that would bring more users
<sphalerite> lars_: manveru is working on a gui installer :)
<lars_> where is this project?
<clever> ive also worked on one a bit
<sphalerite> https://github.com/manveru/nixos-installer it's not very done yet though
<clever> https://www.youtube.com/watch?v=ETVJW59bL2s and the link is in the description
<sphalerite> Also, I think the issue with a graphical installer is that it might set a false precedent which would lead a lot more people to install nixos, but not actually retain them
Fare has quit [(Ping timeout: 255 seconds)]
<clever> sphalerite: lol, identical repo name!
<sphalerite> Because nixos is pretty tinker-heavy for getting stuff to work
<joehh_> is there a reliable way to move /nix to a different partition?
<sphalerite> but idk
<joehh_> the root disk I've got it on is full
<sphalerite> joehh_: mv :D
<joehh_> :)
<clever> joehh_: ive done it once before, i had to use a debug flag in the initrd, and manualy mount the new /nix before continuing the boot
<clever> joehh_: and you need to boot from something else to perform that mv
<sphalerite> joehh_: more seriously, I'd boot into the installer, copy it over, mount it into place, nixos-generate-config --root /mnt, and nixos-install
<clever> joehh_: if you use grub, that "something else" can be https://github.com/cleverca22/nixos-configs/blob/master/rescue_boot.nix
<sphalerite> Or you can do clever-style stuff where you don't have to use an installer
<clever> that puts the entire installer into /boot (300mb cost) and adds it to the grub menu
<joehh_> thought using the installer might be the answer
<sphalerite> the installer is less scary, the clever way is cooler :D
<lars_> sphalerite: i think there could be a gui for setting common things in the configuration.nix
<lars_> aimed for the regular user
<clever> ive been wanting something that can parse it into an AST, apply some mutations, then serialize it back out
jb55 has joined #nixos
<lars_> i speak from behalf of people who need to use linux for work stuff and like config options but do not really understand how computers work
<joehh_> clever: very cool
<sphalerite> lars_: I'd say nixos is generally not ready for that category of people
<sphalerite> or even aimed at them
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/20875876e0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
asuryawa_ has quit [(Remote host closed the connection)]
<sphalerite> Well, it's ready for them if they have a friendly nerd who does all the sysadmin stuff, in which case it's perfect. But for a non-technical user who has to manage it themselves, nixos really isn't a good fit
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFWwo
<NixOS_GitHub> nixpkgs/master de1e0ee rnhmjoj: masscan: 2017-02-04 -> 1.0.4
<NixOS_GitHub> nixpkgs/master 2240e80 Orivej Desh: Merge pull request #31286 from rnhmjoj/masscan...
NixOS_GitHub has left #nixos []
<sphalerite> I'd even go so far as to say linux distros in general aren't a good fit for them
<MichaelRaskin> We haven't yet scaled our processes to merge the PRs with the same speed as they are added…
<lars_> id like to get linuxes to the point where they are a good fit for an average user
<sphalerite> So many of the solutions for issues with ubuntu are "type these commands which can only really be reversed by restoring a backup"
<MichaelRaskin> sphalerite: next you would say that computers are not a good fit for them
hexamod has joined #nixos
<lars_> exactly that is the reason i'm trying nixos
<sphalerite> MichaelRaskin: idk, macOS for instance seems a lot more suited. Not that I like macOS, but it's better suited for that use case IMHO
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vFWwD
<NixOS_GitHub> nixpkgs/release-17.09 75bc6fc Vladimír Čunát: factor-lang: fix libGL when the OS uses non-mesa...
NixOS_GitHub has left #nixos []
<clever> sphalerite: one great thing with nixos, i can just take you config, throw it into a vm, and perfectly reproduce your system, right down to the software/config problems
joehh_ has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #31218: Remove manual rpath settings now that meson is fixed (master...meson-rpath) https://git.io/vFcbD
NixOS_GitHub has left #nixos []
<clever> sphalerite: as long as its not a hardware issue
<sphalerite> They certainly have a good and intuitive software installation story
joehh_ has joined #nixos
<MichaelRaskin> sphalerite: the main thing I know about Macs, is that they can deliberately fail to work with a WiFi network that is OK for literally everything else.
<sphalerite> clever: absolutely, and I think nixos has great technical foundations to be much better than macOS for end users. But in terms of the chrome it's still a loooong way off
<clever> sphalerite: yeah
<lars_> clever: i would imagine that story would make it support for normal people a lot simpler
<lars_> IT-support
leat has quit [(Ping timeout: 240 seconds)]
<clever> lars_: yep, as long as the end-users dont try to forcibly modify files under /nix and "sudo make install" random junk
damke has quit [(Ping timeout: 240 seconds)]
<sphalerite> MichaelRaskin: oh?
pierrec_ has quit [(Quit: pierrec_)]
<lars_> if they know how to install make and use sudo, then they are not average users anymore :D
<lars_> but yea they are still the kind of users i am
<sphalerite> MichaelRaskin: fwiw I have that issue with one of my laptops that's running nixos as well ;)
<MichaelRaskin> To make IT support feasible, we need a cryptolocker actually hit double-digit percentage of worldwide personal computer base.
<sphalerite> lars_: they don't necessarily know what they're doing, they might have just googled how to do something and found these instructions that say to run sudo make install
<MichaelRaskin> sphalerite: well, there it is more like «no Apple device works, no non-Apple device fails»
<rycee> Quick question. Anybody seen an error like this before? "error: creating symlink from ‘/etc/nixos/result.tmp-27440-1730106898’ to ‘/nix/store/ci9j6ms78lyklicjq8b6i5n3z4xh85ll-home-manager-generation’: Permission denied"
<MichaelRaskin> sphalerite: and «deliberate» means it connects, works for 30 seconds, stops working
<rycee> "/etc/nixos/result.tmp-27440-1730106898" seems very odd to me.
<lars_> sphalerite: but if their environment doesnt have make :)
<MichaelRaskin> In a repeatable way.
<clever> rycee: what is your working directory?
<lars_> but i get your point
<clever> lars_: oh, and there are the users that just nix-env -iA nixos.gcc
<clever> lars_: and expect the -dev packages to fix everything
<sphalerite> MichaelRaskin: nice… any idea of the political motivation behind building in that sort of bug?
<MichaelRaskin> I am not sure it is political
<MichaelRaskin> It is Apple, they cannot in quality control since iPhone1
<rycee> clever: Would nix create such a tmp path in CWD?
<MichaelRaskin> Something locks up, a 30-second watchdog gets it.
<lars_> i mounted my other partition as /home and now nix-env gets me this error:
<MichaelRaskin> And I have no idea what is wrong because it is Apple.
<lars_> getting information about ~/.nix-defexpr: No such file or directory
<clever> rycee: some commands try to create a symlink in the current directory
<clever> lars_: did you move your old home folder over?
<lars_> no
<rycee> clever: Good lead. I'll check with the reporter. Thanks!
<sphalerite> MichaelRaskin: oooh like the "IPv6 stops working after 20 minutes" issue I was having on a Hetzner server until yesterday. That was fun
<clever> lars_: you will want to do that
<lars_> how do i do that properly?
<clever> lars_: mount the new home to not /home, then move the old /home into the new /not-home place
<clever> lars_: then umount, and mount it to /home
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<rycee> clever: Yes, that's it. Many thanks! :-)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31284: glade: fix (master...glade-fix) https://git.io/vFW2D
NixOS_GitHub has left #nixos []
<sphalerite> MichaelRaskin: getting flashbacks to trying to get the bcm4331 wifi in my old laptop to work on linux. Absolute horror story
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31212: fava: 1.3 -> 1.5, refactor and fetchfromPypi (master...fava-1.5) https://git.io/vFc9W
NixOS_GitHub has left #nixos []
<sphalerite> (old laptop = macbook pro)
<MichaelRaskin> Broadcom is just bad.
<sphalerite> yes
<MichaelRaskin> I think now there are better workarounds available, but still, broadcom.
pierrec_ has joined #nixos
<MichaelRaskin> But Apple doesn't have the excuse of having no idea what Broadcom gear wants: they actually can get Broadcom to provide documentation and even drivers
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30993: pythonPackages.py3exiv2: init at 0.2.1 (master...py3exiv2) https://git.io/vFqO9
NixOS_GitHub has left #nixos []
<lars_> clever: but where is my old home now?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30951: docs: add section on common darwin issues (master...darwin-docs) https://git.io/vFLp9
NixOS_GitHub has left #nixos []
<clever> lars_: the old home is probably still in /home
<clever> lars_: and can only be seen if you umount the new home from /home
<sphalerite> MichaelRaskin: the 4331 is actually an apple-specific wifi chip
<lars_> what?
marantz has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] afldcr opened pull request #31288: gitea: 1.2.1 -> 1.2.3 (master...master) https://git.io/vFWrW
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30559: dump1090: init at bff92c4 (master...dump1090) https://git.io/vd7L2
NixOS_GitHub has left #nixos []
<lars_> so you can mount a drive on any location even if it exists already?
<clever> yes
<clever> ive heard of people hiding their porn in /boot, under the boot partition
<clever> so it can only be found if you first umount the /boot partition :P
<sphalerite> That reminds me, I haven't read bash.org in a while
<sphalerite> Wonder if there's any new stuff there :p
<clever> ive also seen many nixos users failing to mount /boot
<clever> so nixos-rebuild wrote to the /boot directory on /, not the /boot partition
<clever> then at reboot, all changes got reverted
joehh_ has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin> sphalerite: yes, from time to time
pierrec_ has quit [(Quit: pierrec_)]
leat has joined #nixos
<lars_> clever: umount: /home: target is busy
<clever> lars_: its best done when booted into a different OS
<clever> lars_: otherwise, things are going to be using /home and making it very difficult
<lars_> i see
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #31289: vapoursynth: R38 -> R39 (master...vapour) https://git.io/vFWrM
NixOS_GitHub has left #nixos []
<tilpner> lars_ - You can --bind mount /home into visibility
<lars_> tilpner: what's that mean?
<tilpner> sudo mount --bind / /mnt/ && cd /mnt/home should let you access your shadowed home
<tilpner> (If I understood your problem correctly...)
<sphalerite> oooh never thought of it that way, nice trick tilpner
tgunb has quit [(Ping timeout: 240 seconds)]
kiloreux has joined #nixos
ixxie has joined #nixos
tmaekawa has joined #nixos
tanonym has joined #nixos
* sphalerite uploaded an image: file1509905747065.jpg (81KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/eWIWgdgqTXxLpXovVssoiApM>
codygman has joined #nixos
<sphalerite> Hopefully my next nix build machine
<gchristensen> uhh
<codygman> Should I have any issues making my /etc/nixos/configuration.nix file a symbolic link to somewhere in my home directory?
<tilpner> codygman - You don't need a symbolic link! You can just put nixos-config=/home/codygman/nixos/configuration.nix into your NIX_PATH
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFWov
<NixOS_GitHub> nixpkgs/master d05b21d Kamil Chmielewski: goDeps: support fetchFromGiHub to fetch Go libs...
<NixOS_GitHub> nixpkgs/master 99640dc Orivej Desh: Merge pull request #19311 from kamilchm/goDeps-FromGitHub...
NixOS_GitHub has left #nixos []
srdqty has quit [(Ping timeout: 255 seconds)]
<tanonym> If I want to set up a ZFS NixOS box as a personal fileserver and backup where is a good place to start reading up on fileserver setup and such?
<tilpner> codygman - Then it won't even look into /etc/nixos
<sphalerite> codygman: if you prefer a symlink you can use that too though
<sphalerite> gchristensen: just some aesthetic damage ;)
* tanonym hunts around for a refurbished Toughbook to replace my current Lenovo laptop.
srdqty has joined #nixos
mithsv_ has joined #nixos
lfish` has joined #nixos
<codygman> tilpner, sphalerite: I think I'll add the nixos-config environment variable. Thanks!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vFWoO
<NixOS_GitHub> nixpkgs/master 587037c Vladimír Čunát: lilypond: disable parallel building...
NixOS_GitHub has left #nixos []
<lars_> i rebooted to nixos installer
<lars_> how do i mount my old home to anywhere?
<lars_> where is it?
<tilpner> You didn't need to reboot :/
tmaekawa has quit [(Client Quit)]
<gchristensen> sphalerite: but why? :o
<sphalerite> codygman: NIX_PATH environment variable containing nixos-config=/path/to/config
<sphalerite> not nixos-config env var!
lfish has quit [(Ping timeout: 240 seconds)]
<sphalerite> gchristensen: because it has an ARM CPU and I already own it!
<gchristensen> hmm what is your project? :)
Sonarpulse has joined #nixos
<sphalerite> less waiting for builds on my chromebook
<lars_> tilpner: ok, now i try your trick
<tilpner> lars_ - No, there's no need
<tilpner> lars_ - The trick would have allowed you to see it without rebooting. Since you rebooted, you don't need the trick
<codygman> sphalerite: Oh! Thanks
<gchristensen> sphalerite: oh cool :)
<sphalerite> anyone know how I can find out which drivers make the sensors in /sys/class/thermal/thermal_zone* available?
mithsv has quit [(Ping timeout: 248 seconds)]
mithsv_ is now known as mithsv
<gchristensen> sphalerite: I'm trying to convince myself to get a pixel2
<lars_> now my computer freezed when i tried to log in :(
<sphalerite> gchristensen: don't, wait for the librem 5 to come out and get that ;)
<clever> lars_: do you own your own home folder?
fingerzam has joined #nixos
<MichaelRaskin> gchristensen: just wait until they make sure all of them ship with Android installed
<sphalerite> (or, better, preorder one now)
<lars_> clever: no idea now that i cant log in
<gchristensen> lol
<sphalerite> MichaelRaskin: what?
<sphalerite> lars_: you should still be able to log in on a console (ctrl-alt-f2)
<MichaelRaskin> Google managed to fail shipping forever and ship a few pre-bricked devices
<gchristensen> niiice
<sphalerite> niiiiice
<codygman> sphalerite: Look good? echo "export NIXPATH=\"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/home/cody/nixosdotfiles/configuration.nix:/nix/var/nix/profiles/per-user/root/channels\"" > ~/.bashrc
<MichaelRaskin> Not really bricked much, maybe just not installed at all
joehh_ has joined #nixos
<lars_> ok, console works
<clever> codygman: configuration.nix has an option to control NIX_PATH
<MichaelRaskin> Whatever, not something where a user can press a single button and wait for update to install.
<sphalerite> codygman: yeah, nix.nixPath
<MichaelRaskin> Apparently, to return the favour, Apple has let the activation servers for iOS crash.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat force-pushed glibc-2.26 from d5b65a9 to 9bb67d5: https://git.io/vFWoo
<NixOS_GitHub> nixpkgs/glibc-2.26 0c01c58 Vladimír Čunát: gcc6: fix build with new glibc, by upstream patches
<NixOS_GitHub> nixpkgs/glibc-2.26 9bb67d5 Vladimír Čunát: glibc: 2.25-49 -> 2.26-75...
NixOS_GitHub has left #nixos []
<lars_> so what do i do now? why nixos got angry for losing my home folder?
<sphalerite> lars_: sudo chown lars /home/lars
ylwghst has joined #nixos
<sphalerite> you may need -R depending on whether the perms are wrong on everything
fendor has joined #nixos
<lars_> the partition was a home folder for ubuntu previously
ryantrinkle has joined #nixos
<lars_> ls -l shows "1001" as the owner and group
<sphalerite> aaah, so it's probably a UID mismatch
<lars_> my new user's uid is 1000
<lars_> so, i need to do sudo chown lars /home/lars -R?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat force-pushed glibc-2.26 from 9bb67d5 to d5b65a9: https://git.io/vFWoo
<NixOS_GitHub> nixpkgs/glibc-2.26 5cdf7ee Vladimír Čunát: glibc: 2.25 -> 2.26...
<NixOS_GitHub> nixpkgs/glibc-2.26 d5b65a9 Vladimír Čunát: gcc6: fix build with new glibc, by upstream patches
NixOS_GitHub has left #nixos []
<clever> lars_: yeah
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat force-pushed glibc-2.26 from d5b65a9 to 9bb67d5: https://git.io/vFWoo
<NixOS_GitHub> nixpkgs/glibc-2.26 0c01c58 Vladimír Čunát: gcc6: fix build with new glibc, by upstream patches
<NixOS_GitHub> nixpkgs/glibc-2.26 9bb67d5 Vladimír Čunát: glibc: 2.25-49 -> 2.26-75...
NixOS_GitHub has left #nixos []
<clever> lars_: then lars will own his own home folder
ambro718 has quit [(Ping timeout: 246 seconds)]
<vcunat> (OMG, GitHub disallows reopening a PR after force-pushing, but encourages force-pushing to update existing PRs)
<lars_> and then nix-env can use its files and not be angry with me?
<clever> lars_: if you correctly copied them over
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #31290: arx-libertatis: 2017-02-26 -> 2017-10-30 (master...arx) https://git.io/vFWob
NixOS_GitHub has left #nixos []
<MichaelRaskin> vcunat: GitHub, because Git UI was too consistent.
<lars_> but my home folder was a home folder for a ubuntu, and there was no nix
<clever> lars_: nixos should also repair the missing files when you login, if you have write access
<vcunat> I can understand the desire to hide the low-level nature of original git UI.
<lars_> so now if i log off, gui login should work?
scribbler has quit [(Remote host closed the connection)]
<clever> lars_: maybe
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #31291: timescaledb: 0.5.0 -> 0.6.0 (master...patch-71) https://git.io/vFWKv
NixOS_GitHub has left #nixos []
mithsv has quit [(Quit: mithsv)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30898: nat-traverse: init at 0.7 (master...nat-traverse) https://git.io/vFIs5
NixOS_GitHub has left #nixos []
<orivej> clever: re. "parse it into an AST, apply some mutations, then serialize it back out" — what kinds of mutations? purely syntactic (where the AST is enough), or partially semantic (where it is useful to know the values)?
<clever> orivej: lets say i want to use a gui to enable services.openssh.enable
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever> orivej: but i want to also preserve any functional code in the nix file
mw has left #nixos []
radvendii has quit [(Ping timeout: 240 seconds)]
<clever> orivej: and if that node already exists with a value of false, it should change it to true, rather then add an invalid duplicate entry
<orivej> I see, thank you
radvendii has joined #nixos
* clever goes offline for a few hours
FossiFoo has joined #nixos
<FossiFoo> hi. i'm trying to get flutter.io to work, but it seems to ship at least dart as a prebuilt exe and that won't run. what is the easiest way around these kind of things?
erictapen has quit [(Ping timeout: 246 seconds)]
<the-kenny> FossiFoo: easiest way is likely using a FHS user env. That emulates a "normal" linux filesystem layout inside a shell :)
<the-kenny> FossiFoo: see https://nixos.org/nixpkgs/manual/#sec-fhs-environments for an example.
goibhniu has joined #nixos
<the-kenny> The other approach is patching the binary via patchelf, which might be easy, but gets more and more annoying the more executable there are. And it breaks down when there's some sort of package installer or auto-update mechanism.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31119: libgit2: 0.25.1 -> 0.26.0 (staging...u/lg) https://git.io/vFs0r
NixOS_GitHub has left #nixos []
<FossiFoo> yeah, i read about that, but i guess i would somehow have to modify the flutter stack to do this inbetween fetching dart and running it
<FossiFoo> so that first thing looks pretty promising. thanks :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #30982: libgit2: fix hash (master...u/fix-libgit2-hash) https://git.io/vFth6
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bgamari opened pull request #31292: gcc: Refactor treatment of configure flags (master...gcc-refactor) https://git.io/vFWKA
NixOS_GitHub has left #nixos []
benages has left #nixos ["http://quassel-irc.org - Chatee cómodamente donde sea."]
scribbler has joined #nixos
mithsv has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Write error: Broken pipe)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<Twey> Is it invalid to have a stdenv.mkDerivation call without an "out" output? I get an Error: _assignFirst found no valid variant!
<Twey> Unless I call my first output "out"
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
<Twey> And that's with just phases = ["unpackPhase" "buildPhase"], and I've provided a builder for buildPhase
<infinisil> Twey: Derivations need to produce an output, that's all they do, it's a pure function from inputs to output
<Twey> infinisil: Right, but why does my output always need to be called "out"?
<infinisil> ahh, you mean the literal name out
<Twey> Right
<Twey> I wouldn't be confused if things broke when I specified no outputs
<Twey> Well, maybe a little — seems like a good trivial case to not break on — but not much
<MichaelRaskin> I think a lot of things still expect the main output to exist and be called "out"
<Dezgeg> yes
<infinisil> Probably it's deeply integrated into nixpkgs
<MichaelRaskin> What would nix-build do, for example?
<sphalerite> MichaelRaskin: produce the first output, according to the nix manual
<Twey> MichaelRaskin: nix-build allows one to specify an output
hexamod has joined #nixos
<Twey> But yes
<Dezgeg> nix-build would build the first output
<Twey> Also that
<Dezgeg> but still, as you've found out, stdenv does assume there always is an 'out'
scribbler has quit [(Remote host closed the connection)]
joehh_ has quit [(Remote host closed the connection)]
<Twey> Hrm, hrm
scribbler has joined #nixos
<Twey> I suppose the convention is that binaries go in "out" and libraries in "lib"?
<Twey> I think gcc does this
<tanonym> How would I get nix to tell me what version of efl is installed if it isn't listed with nix-env -qA enlightenment.efl?
<Dezgeg> typically libraries go to 'out' and binaries to 'bin'
<Twey> Dezgeg: Oh really
<Twey> Okay
<infinisil> I've never seen a "bin" output though
<MichaelRaskin> Sometimes binary to out, libraries to lib. Or dev.
<Dezgeg> but there are some rare cases with 'lib' as well
<infinisil> it's always in $out/bin
<MichaelRaskin> glibc.bin
<MichaelRaskin> It all depends on what the stereotypical role of the package is
joehh_ has joined #nixos
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<FossiFoo> oh, man, this still seems like its going to be annoying as hell
pierrec_ has joined #nixos
goibhniu has quit [(Ping timeout: 264 seconds)]
<FossiFoo> now i get errors like https://pastebin.com/aMx63S8S , but how am supposed to know what needs to be installed? :\
pie_ has quit [(Ping timeout: 248 seconds)]
<doublehp> thanks
doublehp has left #nixos ["Leaving."]
__monty__ has joined #nixos
<FossiFoo> ah, turns out, that is just a bash script
<FossiFoo> digging... -_-
pierrec_ has quit [(Remote host closed the connection)]
joehh_ has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFWi3
<NixOS_GitHub> nixpkgs/master d824944 Linus Heckemann: firefox-bin: Fail on unsupported architectures
<NixOS_GitHub> nixpkgs/master 5db01ac Orivej Desh: Merge pull request #31281 from lheckemann/firefox-bin-arch-check...
NixOS_GitHub has left #nixos []
<__monty__> rycee: I'm looking into nix-binary-cache-proxy and I'm wondering whether I can even use nixops to deploy it to a non nixos machine running nix in single user mode?
fendor has quit [(Ping timeout: 240 seconds)]
pie_ has joined #nixos
<sphalerite> __monty__: I don't think you can use nixops to deploy anything non-nixos
<vcunat> yes, nixops is only for nixos
<lars_> does anyone know how to install R in nixos?
<vcunat> disnix is much more universal
<vcunat> (it can reportedly deploy services even to *BSD and Windows)
<lars_> there seems to be 2 packages, nixos.R and nixos.rWrapper
<lars_> whats the difference?
<__monty__> Ok, no problem. Could I just clone this to the remote machine and nix-install? https://github.com/nh2/nix-binary-cache-proxy
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vFWiE
<NixOS_GitHub> nixpkgs/master 9c5bf72 Frederik Rietdijk: python.pkgs: maintenance updates
<NixOS_GitHub> nixpkgs/master 5d21308 Frederik Rietdijk: python.pkgs.six: 1.10.0 -> 1.11.0
NixOS_GitHub has left #nixos []
<lars_> is that necessary or does the r in nixpkgs already implement that?
<lars_> i mean, why is that in nixpkgs manual and not already in the nix expression?
<sphalerite> because not everybody needs those exact packages
radvendii has quit [(Ping timeout: 264 seconds)]
<lars_> but, why the setting of an environment is not in nixpkgs and people could install r packages imperatively using r?
<sphalerite> because that's less reproducible
<sphalerite> You can do it imperatively though
<lars_> if i just install nixos.r can i install r packages using r itself?
<sphalerite> Maybe
mithsv has quit [(Quit: mithsv)]
<sphalerite> It might work, but nixpkgs tends to expect you to use nixpkgs rather than one of the many language-specific package manager
<sphalerite> s
mithsv has joined #nixos
<sphalerite> rWrapper is the nixpkgs-supported way in any case
<sphalerite> you could also do something like `nix-shell -p 'rWrapper.override {packages = with rPackages; [foo bar baz]}'` to get the packages you need
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFWPJ
<NixOS_GitHub> nixpkgs/master 35539c6 rnhmjoj: arx-libertatis: 2017-02-26 -> 2017-10-30
<NixOS_GitHub> nixpkgs/master 4d78942 Orivej Desh: Merge pull request #31290 from rnhmjoj/arx...
NixOS_GitHub has left #nixos []
<symphorien> <lars_> if i just install nixos.r can i install r packages using r itself? << if you do so, imperatively installed R package might break if you update r and then garbage collect the former version of r
<FossiFoo> i hate that everybody makes their software so magical... i'm becoming rms style grumpy
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
kiloreux_ has joined #nixos
<sphalerite> FossiFoo: looks like you have the nix disease :D
<FossiFoo> i can curl "https://pub.dartlang.org/api/packages/node_preamble", but apparently dart's "pub" tool can not because of that "Handshake error in client (OS Error: | CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(ssl_cert.c:345))"
fragamus has joined #nixos
<FossiFoo> why the hell does all of this always have to be so "easy"
<sphalerite> maybe NIX_SSL_CERT is getting unset or something
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFWPR
<NixOS_GitHub> nixpkgs/master a9b3981 volth: timescaledb: 0.5.0 -> 0.6.0
<NixOS_GitHub> nixpkgs/master c6a1e43 Orivej Desh: Merge pull request #31291 from volth/patch-71...
NixOS_GitHub has left #nixos []
<sphalerite> or NIX_SSL_CA_CERT or whatever, can't remember the exact name
kiloreux has quit [(Ping timeout: 246 seconds)]
<FossiFoo> sphalerite: is that supposed to be an env var?
<sphalerite> it is for something or other, I don't know exactly though. I think it's only for non-nixos systems. I really don't know what I'm talking about :p
<lars_> how do i need to modify this snippet for it to work in configuration.nix? https://nixos.org/nixpkgs/manual/#r-packages
<sphalerite> lars_: you want it in systemPackages?
<lars_> yes?
<lars_> do i?
<FossiFoo> ah, seems like https://github.com/NixOS/nixpkgs/issues/13744 is related
<sphalerite> lars_: replace everything up to and including "super." with "(" and everything after the first "};" with ")". Put that in systemPackages
<sphalerite> err, also remove the semicolon before )
tazjin has quit [()]
<lars_> so that it starts (rWrapper.override {...)?
<FossiFoo> ah, everything is a mess. apparently not setting SSL_CERT_FILE (which i didn't have) is somehow "magic"
scribble_ has joined #nixos
Isorkin has joined #nixos
vcunat has quit [(Ping timeout: 264 seconds)]
vcunat has joined #nixos
simukis has quit [(Ping timeout: 240 seconds)]
<sphalerite> lars_: yeah so you have (rWrapper.override {packages = …;}) in the systemPackages list
scribbler has quit [(Ping timeout: 258 seconds)]
<lars_> what do i do to the symbol "self" in the middle?
<sphalerite> repalce it with pkgs
<sphalerite> actually you should be able to remove it
<sphalerite> assuming you have `systemPackages = with pkgs; [ … ];`
<lars_> okay
ylwghst_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 11 new commits to master: https://git.io/vFWXY
<NixOS_GitHub> nixpkgs/master f8ce957 Ben Gamari: expat: Don't run tests when cross-compiling
<NixOS_GitHub> nixpkgs/master bba7c21 Ben Gamari: libunistring: Don't run tests when cross-compiling
<NixOS_GitHub> nixpkgs/master 97c1211 Ben Gamari: libidn: Don't run tests when cross-compiling
NixOS_GitHub has left #nixos []
<FossiFoo> aw, man, this is just another case where i wonder whether i should just install a gentoo and be over with the pain... ;_;
<FossiFoo> how do you even cope?
<lars_> sphalerite: is rWrapper.override a function in rWrapper namespace, that lets me override some of the attributes in rWrapper?
ylwghst has quit [(Ping timeout: 240 seconds)]
simukis has joined #nixos
<sphalerite> lars_: pretty much
<the-kenny> FossiFoo: the big question here is how `pub` searches for the ssl certificate stuff.
<sphalerite> well no, it lets you override the attributes passed to the rWrapper function
<sphalerite> FossiFoo: then you'll miss nix :p
<lars_> sphalerite: now the r package names are not in scope and i get an error from that. to where did that self.rPackages point?
<FossiFoo> the big question is: how the heck am i supposed to know? :\
<FossiFoo> i mean... i guess it might be open source
<FossiFoo> i'll look
<the-kenny> FossiFoo: actually it shouldn't matter in a fhs-user-env. Can you share your shell.nix file?
<FossiFoo> this removes me like 4 degrees from what i wanted to do in the first place...
<lars_> can i browse the whole pkgs hierarchy somehow?
<sphalerite> lars_: could you paste what you actually have?
<sphalerite> FossiFoo: it claims to be
<sphalerite> lars_: nix-repl '<nixpkgs>'
<sphalerite> symphorien: that doesn't include rPackages
<FossiFoo> its just starting bash with curl and git so far: https://pastebin.com/qhYvRC0m
<FossiFoo> curl just for debugging actually
<symphorien> ah sorry
ixxie has quit [(Ping timeout: 248 seconds)]
<the-kenny> FossiFoo: can you throw in `pkgs.cacert` there too?
<lars_> sphalerite: https://pastebin.com/yrJavzw2
<FossiFoo> i now get a new warning: "collision between `/nix/store/v0s4641iz551wnl1y97kvnbw0gv1izda-nss-cacert-3.32.1/etc/ssl/certs' and `/nix/store/bb7s6m8vawqab5djl18pvbimangdrvzh-flutter-chrootenv-etc/etc/ssl/certs'" but otherwise its the same
<sphalerite> lars_: replace `packages = [` with `packages = with rPackages; [`
mithsv has quit [(Quit: mithsv)]
mithsv has joined #nixos
hexamod has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<lars_> so rPackages is in pkgs namespace?
<sphalerite> yes
<lars_> how could i have found that myself?
<sphalerite> if you do nix-repl '<nixpkgs>' you'll get a REPL with tab-completion that has all of pkgs in scope
<lars_> ohh
<lars_> thank you, now it works
<FossiFoo> digging further...
<sphalerite> lars_: you see how a GUI installer isn't all that's missing to make nixos more palatable for a typical user though? :p
<lars_> yea
<lars_> but i still think a functional distro is the way to go there
<lars_> it just needs loads of ux work
babs has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
erictapen has quit [(Ping timeout: 258 seconds)]
mguex has left #nixos ["WeeChat 1.9.1"]
<FossiFoo> the dart:http library uses the dart:io http client... *showel*
<sphalerite> lars_: I think it's the way to go *everywhere* :p
babs_ has joined #nixos
python47` has joined #nixos
martinklepsch|BN has joined #nixos
michiel_l_ has joined #nixos
<FossiFoo> so they depend on the external openssl library?
seequ__ has joined #nixos
andymandias has quit [(Ping timeout: 248 seconds)]
CodeWarr1or has joined #nixos
josePhoenix_ has joined #nixos
nixy_ has joined #nixos
radvendii has joined #nixos
<lars_> sphalerite: well, me too but this is not an exception :)
<FossiFoo> now i can go and look for "ssl_cert.c", which i guess is in openssl somewhere...
c0bw3b has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<sphalerite> FossiFoo: nix-build '<nixpkgs>' -A openssl.src
Biappi_ has joined #nixos
CcxWrk_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #31295: mkvtoolnix: 16.0.0 -> 17.0.0 (master...mkvtoolnix) https://git.io/vFW1z
NixOS_GitHub has left #nixos []
hyper__ch has joined #nixos
pikarudolph has joined #nixos
pmade_ has joined #nixos
<FossiFoo> or... github ;)
x1n4u- has joined #nixos
<sphalerite> I have `alias nixpkgs="nix-build --no-out-link '<nixpkgs>' -A"` in my shell init because I use it so much
catern_ has joined #nixos
scribble_ has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<sphalerite> eww
jmc_fr has joined #nixos
nh2 has joined #nixos
<jmc_fr> Hello nixos !
abcrawf_ has joined #nixos
<jmc_fr> I'm new to nixos, have successfully installed in a virtualbox
<jmc_fr> successfully but ...
<jmc_fr> after reboot Xfce works fine, with for example firefox which runs ok
<jmc_fr> but ... I cannot login as root !!!
<jmc_fr> so my install is not ok
<MichaelRaskin> Can you run sudo su - ?
<tilpner> Do you remember setting a root password during nixos-install?
<jmc_fr> yes, I set a root password
<FossiFoo> either way, i highly doubt that openssl does anything "wrong" at this point...
<jmc_fr> no, not able to do sudo su
<tilpner> And if you switch to a TTY (ctrl+alt+f2), you can't login with "root" and that password?
<tilpner> Try variations to account for different keyboard layouts too (I need to switch y and z sometimes)
<sphalerite> MichaelRaskin: why sudo *and* su -? sudo -i seems to be less dodgy IME and is shorter to type
<FossiFoo> then again, i didn't install openssl in the nix-shell, so this (maybe?) is some statically linked version? am i thinking correctly?
<MichaelRaskin> Hm, old habit, but why did I get it…
<MichaelRaskin> su - probably just as a way to really enforce login-like shell startup
Biappi_ has quit [(Quit: ZNC - http://znc.sourceforge.net)]
leat has quit [(Ping timeout: 240 seconds)]
fragamus has joined #nixos
babs_ has quit [(Quit: Leaving)]
<sphalerite> MichaelRaskin: I seem to recall someone having trouble recently because of combining sudo and su
<sphalerite> but sudo -i already does the login shell bit! :)
mithsv has quit [(Quit: mithsv)]
qknight__ has joined #nixos
mithsv has joined #nixos
<qknight__> clever: can hydra also checkout git submodules?
<MichaelRaskin> Look at sudo config. Can you trust your understanding of what precisely sudo is going to do?
mithsv has quit [(Client Quit)]
<hyper__ch> how would I alter a file in nix store though the command line
<sphalerite> fair enough haha
mithsv has joined #nixos
<qknight__> clever: you know, using user@remote with /home/hydra/.ssh/config's ssh key for a closed repository
catern_ is now known as catern
martinklepsch|BN is now known as martinklepsch
pmade_ is now known as pmade
x1n4u- is now known as x1n4u
pikarudolph is now known as pikajude
<MichaelRaskin> hyper__ch: that's risky. Are you sure there are no workarounds?
pikajude has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
hyper__ch is now known as hyper_ch
<sphalerite> Dezgeg: how is your binary cache kept up to date?
<sphalerite> ooh hyper_ch has grown another underscore
<hyper_ch> MichaelRaskin: yes, I need to konw the content of the resolv.conf when wireguard starts... so I want to alter its unit file to add a cat /etc/resolv.conf as first execstart
<hyper_ch> I shrunk again
<MichaelRaskin> Maybe change the build?
<sphalerite> hyper_ch: you should do that by modifying the corresponding nixos option
__monty__ has left #nixos []
pikajude has joined #nixos
bitchecker has quit [(Ping timeout: 240 seconds)]
<hyper_ch> sphalerite: nixos wireguard has no options for adding execstart or something
<MichaelRaskin> You can remount /nix/store/ rw, but there are many interesting consequences.
<FossiFoo> fwiw, curl works with or without SSL_CERT_FILE set
leat has joined #nixos
prooftechnique has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin> Editing expression is much less risky plan
<sphalerite> hyper_ch: yeah you might need to alter the module
<jmc_fr> tilpner: tty2 requires a "nixos login", and my user name has no password so far, so unable to log in
Bane^ has quit [(Ping timeout: 260 seconds)]
<tilpner> jmc_fr - No, login as root, not as your main user
<tilpner> jmc_fr - You said you set a password for root, so that should work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vFWMP
<NixOS_GitHub> nixpkgs/master 4874862 Markus Mueller: babeld module: init
NixOS_GitHub has left #nixos []
bitchecker has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to release-17.09: https://git.io/vFWM9
<NixOS_GitHub> nixpkgs/release-17.09 188973c John Boehr: phpPackages.redis: rev 4a37e4 -> 3.1.4...
<NixOS_GitHub> nixpkgs/release-17.09 9090b2e John Boehr: phpPackages.apcu: 5.1.2 -> 5.1.8 and enable tests...
<NixOS_GitHub> nixpkgs/release-17.09 8257995 Markus Mueller: babeld module: init...
NixOS_GitHub has left #nixos []
<FossiFoo> oh, well, out of time for yak shaving... so much for hacking a bit of dart then...
<FossiFoo> i'll probably be back later to get this to work. thanks so far
Bane^ has joined #nixos
<jmc_fr> tilpner: OOOOOK !
<hyper_ch> simply adding an ExecStart=cat /etc/resolv.conf > /tmp/resolv.boot didn't work
<jmc_fr> tilpner: it was a problem of keyboard, kind of y interchanged with z
<MichaelRaskin> Qwertz?
prooftechnique has joined #nixos
<jmc_fr> tilpner: perfect, thanks
<tilpner> :)
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
c0bw3b has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31295: mkvtoolnix: 16.0.0 -> 17.0.0 (master...mkvtoolnix) https://git.io/vFW1z
NixOS_GitHub has left #nixos []
<jmc_fr> in "sudo -i", what means "-i" ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #31289: vapoursynth: R38 -> R39 (master...vapour) https://git.io/vFWrM
NixOS_GitHub has left #nixos []
nh2 has quit [(Quit: Leaving.)]
<ArdaXi[m]> `sudo -i` on its own means "Start a login shell as root"
Lisanna has joined #nixos
boegel has joined #nixos
<jmc_fr> :MichaelRaskin trying to login as "Azerty", but still in "Qwerty" - I know how to fix it with "loadkeys fr" but what is the equivalent for "configuration.nix" ?
<sphalerite> Alright, I think I've come to the conclusion that running unstable on my chromebook is not workable.
<gchristensen> too many rebuilds / not enough cache?
<sphalerite> jmc_fr: i18n.consoleKeyMap
<jmc_fr> :ArdaXi[m] this is ok for me, got it from the Manual, but why "-i" ?
<Lisanna> sphalerite: speaking of, why does the default Nix installer set you up to pull from nixpkgs-unstable anyways?
lars_ has quit [(Quit: Page closed)]
MinceR has quit [(Ping timeout: 240 seconds)]
jtojnar has quit [(Quit: jtojnar)]
<sphalerite> gchristensen: yep
<sphalerite> jmc_fr: the "login shell" bit
<Lisanna> also, I'm getting a syntax error for something that looks like valid syntax to me, does this look like valid syntax? in [ c // { name = "${name}-${c.name}"; foo = foo'; } ]
<jmc_fr> sphalerite: OK, "-i" like "logIn shell bIt" ... ;-)
anton__ has joined #nixos
<Lisanna> the error it's reporting is "error: syntax error, unexpected UPDATE, at <...>"
<sphalerite> jmc_fr: exactly haha
<sphalerite> jmc_fr: or like "log In"
<sphalerite> Lisanna: put parentheses around the update expression
<sphalerite> i.e. before c and after }
<Lisanna> what update expression?
<Lisanna> ...uhh, okay
<sphalerite> `a // b` is an update expression
<jmc_fr> so I put i18n.consoleKeyMap = "fr" for french keys
<jmc_fr> what about i18n.defaultLocale ?
<Lisanna> that fixed it... but why?
<MichaelRaskin> jmc_fr: you explicitl mentioned z/y, and y is like the only thing azerty leaves in the qewerty place.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 3 new commits to master: https://git.io/vFWDQ
<NixOS_GitHub> nixpkgs/master 9e2f54a Sauyon Lee: python.pkgs.faulthandler: init at 2.6
<NixOS_GitHub> nixpkgs/master a5f5bee Sauyon Lee: python.pkgs.pyobjc: init at 4.0b1
<NixOS_GitHub> nixpkgs/master 7486ae8 Sauyon Lee: quodlibet: 2.6.3 -> 3.9.1
NixOS_GitHub has left #nixos []
<MichaelRaskin> Lisanna: poor parser gets confused
<Lisanna> MichaelRaskin: ):
<sphalerite> Lisanna: because [ a // b ] could be parsed as "list of a, //, and b"
MinceR has joined #nixos
<sphalerite> in principle.
<MichaelRaskin> In a sense it couldn't, in that it is not a valid parsing
<jmc_fr> MichaelRaskin: I mixed some keys, not especially y and z ... sorry for the confusion ...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vFWDd
<NixOS_GitHub> nixpkgs/master 1774cc0 makefu: snapraid: fix release checksum
<NixOS_GitHub> nixpkgs/master 68d4912 Orivej Desh: Merge pull request #31177 from makefu/pkgs/snapraid/fix...
NixOS_GitHub has left #nixos []
<sphalerite> but that's the direction it goes in before failing
<MichaelRaskin> That's true
<Lisanna> well, that makes me sad ):
<MichaelRaskin> And of course for function calls it is impossible even in principle to disambiguate.
<MichaelRaskin> You don't like parentheses?
mithsv has quit [(Quit: mithsv)]
<Lisanna> no, I'm sad that the parser can't figure that out
mithsv has joined #nixos
<Lisanna> i.e. that it doesn't eliminate invalid branches in ambiguities
<MichaelRaskin> Well, that avoids garden path parsing at least.
<sphalerite> yeah I think it's sensible
<sphalerite> if you really don't want the parens, use a let! :p
<Lisanna> ...actually, some people think I use too many parens in my Nix code <.<
<sphalerite> I find that putting complex expressions inside lists is confusing, so I'd prefer the let binding myself
<MichaelRaskin> Hm, maybe we should go eat these people.
<infinisil> s/eat/eat with/ ???
<MichaelRaskin> No, eat these people. You know, trolls want food.
<Lisanna> I feel like that might violate the Nix contributing code of conduct or something...
<Lisanna> ...actually, wait, Nix doesn't have one... okay, let's go eat them
scribbler has joined #nixos
<MichaelRaskin> Yeah, it still runs on «someone thinks it is completely out of hand, and nobody wants to contradict this opinion»
<ee1943> I've noticed a lot of people have local checkouts of nixpkgs
<ee1943> what's the point of that?
<vcunat> contributing, for example
<vcunat> many use cases for nixpkgs checkouts can be replaced by overlays, nowadays
<jmc_fr> still fighting with my keymap
<ee1943> like having the latest versions of packages?
<ee1943> as a usecase for overlays
<jmc_fr> I did i18n.consoleKeyMap = "fr"
<jmc_fr> then nixos-rebuild test
<infinisil> overlays can only change packages
JosW has quit [(Quit: Konversation terminated!)]
<vcunat> ee1943: channels tend to run only a few days behind
<jmc_fr> but I'm still in qwerty
<infinisil> with a local nixpkgs you can make any change to nixpkgs, including nixos, and see the result in your system
<MichaelRaskin> jmc_fr: not sure that would work without reboo
<MichaelRaskin> reboot
<judson> I'm wondering if something like nox could do something scons like with the .nix files it loads? I guess the problem would be that it would take as long to check the ages of files...
<vcunat> yes, text-console stuff is probably not restarted on system activation
<jmc_fr> MichaelRaskin: switch ? or reboot ?
<ee1943> infinisil: I see. I had a local checkout to add a dictionary to hunspell, but the loss of the binary cache kinda sucks
<ee1943> I guess I should have used an overlay in this case
<MichaelRaskin> jmc_fr: switch (or nixos-rebuild boot) + reboot
<vcunat> ee1943: that makes no difference to binary cache
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vFWSf
<NixOS_GitHub> nixpkgs/master 8c190c3 Tuomas Tynkkynen: lib/types.nix: Disable 32-bit integer types for now...
NixOS_GitHub has left #nixos []
<vcunat> ee1943: you get it the same if you use a nixpkgs checkout
<sphalerite> judson: as in cache evaluation?
<vcunat> (but of course, if your expressions change hashes to something that's not in binary cache, you're out of luck, regardless of that change being caused by overlay or whatever else)
<ee1943> hmmm, weird. I used the master branch and ended up rebuilding firefox etc
<judson> sphalerite - yeah.
<sphalerite> ee1943: yeah don't use master, use one of the unstable branches
<judson> Although, experimenting with e.g. `find ~/.nix-defexpr/channels/nixpkgs/ -mmin -30` definitely takes less time than `nix-env -qa`
<jmc_fr> MichaelRaskin: I did a `nixos-rebuild boot' and it doesnot reboot .... ???
<jmc_fr> so : reboot
<ee1943> thanks sphalerite :)
<MichaelRaskin> It makes the new build what-will-get-booted next time
<vcunat> ee1943: that's correct. Firefox on master is not in binary cache ATM. Builds take some time to happen.
<jmc_fr> MichaelRaskin: after reboot : still not ok (qwerty)
<jmc_fr> I doubledcheck my configuration.nix : "i18n = { consoleKeyMap = "fr"; + other stuff }
<jmc_fr> so my configuration.nix should be ok .... ???
<MichaelRaskin> Hm, should be…
<tilpner> jmc_fr - consoleKeyMap only applies to console, are you testing from e.g. TTY2?
<samueldr> \o/ finally got around to release the source for the graphics I made for nixcon
<tilpner> jmc_fr - If you XFCE to use a different keymap, set services.xserver.layout = "fr";
<jmc_fr> tilpner: ooookay again ....in the console it's ok ... how to get it under XFCE ?
<tilpner> *if you want
<jmc_fr> ok, going to try
mithsv has quit [(Quit: mithsv)]
mithsv has joined #nixos
mithsv has quit [(Client Quit)]
mithsv has joined #nixos
<jmc_fr> tilpner: it works fine .... thks also MichaelRaskin !
<jmc_fr> guys, I simply love the nixos way of life !
<jmc_fr> coming from 15+ years in linux (but not dev, just for my current usage) : I love the configuration.nix thing
ftzm has joined #nixos
<infinisil> jmc_fr: You can also do `i18n.consoleUseXbkConfig = true; services.xserver.layout = "fr";` btw
marzzzello has joined #nixos
<infinisil> jmc_fr: Nice to hear! Loving it too :D
<jmc_fr> infinisil: consoleUseXbkConfig = true instead of consoleKeyMap = "fr", is that right ?
<jmc_fr> just to understand the logic
<c0bw3b> yes that's it
<c0bw3b> consoleUseXkbConfig = true says to use the same settings as X for the console
<infinisil> consoleUseXkbConfig just makes the console use the same as for X11, which is useful if you also set xserver.xkbVariant or so
<jmc_fr> c0bw3b: ok, thks
ftzm has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
<c0bw3b> au fait :) https://nixos.org/nixos/options.html all possible options are listed here / with a short description to help understand what they do
<jmc_fr> c0bw3b: good to know, effectivement
<infinisil> The same is available in `man configuration.nix`, if you're into manpages
ambro718 has joined #nixos
<justin-sleep> anyone here do Android development on NixOS? How do you deal with accepting the licenses for the SDK?
<jmc_fr> I'm not into manpages, I'm into womanpages ;-) (... emacs user...)
<infinisil> I had to use android-studio for university, but it wouldn't run correctly on my nixos :/
jacob has quit [(Quit: Lost terminal)]
<Lisanna> why can't the nix-repl or any of the tracing tools print a lambda? that seems like a really useful function to have ):
<Lisanna> makes debugging kind of hard
<justin-sleep> infinisil: android-studio just gives me a grey screen, so I gave up on that
<justin-sleep> it also did that on my older gentoo installation, though, so doubt that was nixos-specific
<infinisil> justin-sleep: Same happened to me, what DE/WM are you using?
<justin-sleep> bspwm
<justin-sleep> probably that honestly
<infinisil> Because I tried android-studio in a NixOS VM with KDE and it worked no problem there
<jmc_fr> guys, now that I have my first nixos working (in a VirtualBox), what next ? I just take the configuration.nix and use it as is for my real install on hardware ?
<Lisanna> jmc_fr: that's pretty much what I did
<MichaelRaskin> We-ell
<MichaelRaskin> You'd better not forget to regenerate hardware-config
<Lisanna> and update the boot options
<Lisanna> like grub device
<jmc_fr> MichaelRaskin: oh yes ! good to remember
<MichaelRaskin> And mount options, too…
python47` has quit [(Read error: Connection reset by peer)]
<MichaelRaskin> Ah no, these get generated
<jmc_fr> Lisanna: ok ok, not totally straight
<tilpner> And hope your hardware is well supported :/
<Lisanna> jmc_fr: but in essence yes, I prototyped my first configuration.nix on a virtualbox :)
<jmc_fr> hardware : let's see ...
<tilpner> Make sure to enable networkmanager before nixos-install-ing, in case you're stuck without lan
<jmc_fr> how often do you "sudo apt-get update && sudo apt-get upgrade" or that knd of things ?
<jmc_fr> (well, it's not only "how often" but also "how ...")
<tilpner> I only do that every few weeks, or when I hear about an important update I want to have
<infinisil> networkmanager breaks horribly for me..
<infinisil> Have been using wpa_supplicant manually for all the time
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
FRidh has quit [(Quit: Konversation terminated!)]
<tilpner> On a default installation, you would "sudo nixos-rebuild switch --upgrade"
<tilpner> Well, that's the closest equivalent to the apt-get line you posted. You don't always need to switch
<justin-sleep> has no one gotten android development working successfully? or am I missing something?
<c0bw3b> jmc_fr https://nixos.wiki/wiki/Cheatsheet usual commands
<catern> blargh, I feel worried that nixops will kill nix/nixpkgs because it's a distraction from the really valuable things to do with nix
<tilpner> justin-sleep - Sort of
<justin-sleep> After installing android-sdk, $ANDROID_HOME isn't set, for one thing
<justin-sleep> do I need to change it after every rebuild?
<tilpner> I don't remember that being a problem, but I was using android-studio
vcunat has quit [(Quit: Leaving.)]
<tilpner> You could set environment.variables.ANDROID_HOME = ...; to automate the path update
<infinisil> catern: nixops will kill nix/nixpkgs? how do you mean that?
<jmc_fr> why is my firefox a nightly
<jmc_fr> ?
mithsv has quit [(Quit: mithsv)]
<Lisanna> catern: seeing as nixops kind of depends on nix / nixpkgs, I don't see how that follows at all
mithsv has joined #nixos
<Lisanna> if anything nixops will bolster nix / nixpkgs by getting more users
<jmc_fr> Nightly 56.0.2 istead of firefox .... ?
<MichaelRaskin> jmc_fr: it's fine
<MichaelRaskin> There are trademark use rules
<MichaelRaskin> Our build in Nixpkgs is not a Certified Proper Way To Build Firefox.
mithsv has quit [(Client Quit)]
mithsv has joined #nixos
mithsv has quit [(Client Quit)]
<infinisil> jmc_fr: firefox can't be redistributed under the "firefox" name due to legal reasons
<infinisil> You can compile it yourself with the firefox name though
<infinisil> it's not an actualy nightly version
mithsv has joined #nixos
<MichaelRaskin> Then I think Mozilla Nix Overlay (that thing exists) has expressions to make the Official Firefox Binaries work on NixOS.
<MichaelRaskin> (release/beta/nightly)
hellrazo1 has quit [(Ping timeout: 240 seconds)]
<infinisil> Am using that currently
<infinisil> actual nightly works well :D
Itkovian has joined #nixos
<jmc_fr> ok
hellrazo1 has joined #nixos
<catern> infinisil: Lisanna: because it's a distraction from the really valuable things to do with nix
<jmc_fr> when you do a nixos-rebuild switch --upgrade, how do you know what changed, what got upgraded ?
<infinisil> Ohh, the devops hype thing
<c0bw3b> infinisil ugh yes... *sigh*
<infinisil> catern: I'm not sure what you mean exactly by distracting from the valuable things, nixops builds on nixos, nixpkgs and nix
<Yaniel> jmc_fr: because "firefox" is a registered trademark and the artwork is copyrighted
<Yaniel> the application is the same, nix just ships the unbranded version
erictapen has quit [(Ping timeout: 248 seconds)]
snikkers has joined #nixos
<sphalerite> justin-sleep: I also got android studio working fine
<sphalerite> In i3, fwiw
MP2E has joined #nixos
<jmc_fr> Yaniel: infinisil: MichaelRaskin: #1 firefox is a trademark, but not nightly ? and #2 nightly/nixos is not the mozilla nightly but is firefox in fact ??
<justin-sleep> hmm, I'm not sure why it's not working for me
endformationage has quit [(Quit: WeeChat 1.9.1)]
<justin-sleep> sphalerite: it just freezes on a grey screen after startup
<justin-sleep> I'm using openjdk 1.8.0_152
<MichaelRaskin> jmc_fr: Mozilla wants that when people see «Firefox» crash, they have some reasonably good idea if it is Mozilla's fault.
<jmc_fr> MichaelRaskin: okay, it makes sense
<MichaelRaskin> The name «Nightly» for _software_ is hopefully hard to trademark…
<sphalerite> jmc_fr: the Firefox you get from the Firefox attr in nixpkgs is, other than the branding, basically the same as "real" Firefox
<MichaelRaskin> But this is _our_ evaluation, not Mozilla's.
<jmc_fr> trademark "nightly" : ;-)
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<MichaelRaskin> I guess Mozilla will get it invalidated
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<jmc_fr> when you do a nixos-rebuild switch --upgrade, how do you know what changed, what got upgraded ?
<MichaelRaskin> Well, in the beginning it shows you what needs to be done to get stuff into store.
CcxWrk_ has quit [(Quit: ZNC 1.6.4 - http://znc.in)]
CcxWrk has joined #nixos
<MichaelRaskin> Which doesn't help much if you reshuffle stuff between two already-built endpoints.
<MichaelRaskin> In general, it doesn't provide a summary
<jmc_fr> MichaelRaskin: but not asking to confirm ? I'm currently doing one, it dod not ask for anything
<MichaelRaskin> It is not asking to confirm, no.
ison111 has quit [(Quit: WeeChat 1.9.1)]
justbeingglad has joined #nixos
<infinisil> You can always rollback anyways
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vFWQt
<NixOS_GitHub> nixpkgs/master 30f6d63 Tim Steinbach: linux: 4.14.0-rc7 -> 4.14.0-rc8
NixOS_GitHub has left #nixos []
<MichaelRaskin> I think NixOS is about thinking in terms of stable states, not in term of transitions
<infinisil> There are release notes for every major release though
<c0bw3b> jmc_fr i have the habit of running nixos-rebuild dry-build first
<c0bw3b> so it tells me what will be fetched and installed and stop
<jmc_fr> infinisil: MichaelRaskin: ok
<c0bw3b> then I can proceed with the real nixos-rebuild switch.. or not!
<Yaniel> you can also build the new state without switching and then switch later IIRC
<infinisil> nixos-rebuild build
<jmc_fr> c0bw3b: ok, dry-build, seems a good idea. Coming from debian, I have the mpression of at least a little control of what's going on with anupgrade
<MichaelRaskin> It will also try to build as much as possible in case of failure
hiratara has quit [(Ping timeout: 246 seconds)]
rct has joined #nixos
edwtjo has joined #nixos
edwtjo has quit [(Changing host)]
edwtjo has joined #nixos
acarrico has joined #nixos
nand0p has joined #nixos
pchiusano has joined #nixos
p4cman has joined #nixos
CodeWarrior has joined #nixos
feepo has joined #nixos
mjvoge02 has joined #nixos
philipcristiano has joined #nixos
Itkovian_ has joined #nixos
yrashk has joined #nixos
schaary has joined #nixos
carter has joined #nixos
CodeWarrior has quit [(Ping timeout: 246 seconds)]
<jmc_fr> thks for everything, guys. I really very much enjoy the nixos approach !
hiratara has joined #nixos
sk23[m] has quit [(Ping timeout: 240 seconds)]
freeman42x has quit [(Ping timeout: 240 seconds)]
grahamc has quit [(Ping timeout: 240 seconds)]
gudea[m] has quit [(Ping timeout: 252 seconds)]
tobim[m] has quit [(Ping timeout: 252 seconds)]
corngood has quit [(Ping timeout: 252 seconds)]
Khorne[m] has quit [(Ping timeout: 252 seconds)]
ison[m] has quit [(Ping timeout: 252 seconds)]
mrdaak[m] has quit [(Ping timeout: 252 seconds)]
r3mfKm[m] has quit [(Ping timeout: 252 seconds)]
matrixkrav has quit [(Ping timeout: 252 seconds)]
reactormonk[m] has quit [(Ping timeout: 252 seconds)]
taohansen has quit [(Ping timeout: 252 seconds)]
cornu[m] has quit [(Ping timeout: 252 seconds)]
retrry[m] has quit [(Ping timeout: 240 seconds)]
yochai[m] has quit [(Ping timeout: 240 seconds)]
AndersonTorres[m has quit [(Ping timeout: 240 seconds)]
jack[m] has quit [(Ping timeout: 240 seconds)]
efx[m] has quit [(Ping timeout: 240 seconds)]
dkellner[m] has quit [(Ping timeout: 240 seconds)]
trikl[m] has quit [(Ping timeout: 240 seconds)]
Sovereign_Bleak has quit [(Ping timeout: 240 seconds)]
tommyangelo[m] has quit [(Ping timeout: 246 seconds)]
aniketd[m] has quit [(Ping timeout: 246 seconds)]
aminech[m] has quit [(Ping timeout: 246 seconds)]
mtncoder[m] has quit [(Ping timeout: 246 seconds)]
pstn has quit [(Ping timeout: 246 seconds)]
jluttine[m] has quit [(Ping timeout: 255 seconds)]
<c0bw3b> w00t !
WinterFox[m] has quit [(Ping timeout: 248 seconds)]
admin[m]1 has quit [(Ping timeout: 255 seconds)]
JameySharp[m] has quit [(Ping timeout: 255 seconds)]
codyopel has quit [(Ping timeout: 255 seconds)]
spacekitteh[m] has quit [(Ping timeout: 255 seconds)]
Barnabas[m] has quit [(Ping timeout: 255 seconds)]
Bane^ has quit [(Ping timeout: 260 seconds)]
Nobabs27[m] has quit [(Ping timeout: 246 seconds)]
nixo[m] has quit [(Ping timeout: 276 seconds)]
danielrf has quit [(Ping timeout: 276 seconds)]
smbarte2[m] has quit [(Ping timeout: 276 seconds)]
EB[m] has quit [(Ping timeout: 276 seconds)]
Leo[m]1 has quit [(Ping timeout: 276 seconds)]
seif[m] has quit [(Ping timeout: 276 seconds)]
Dezgeg[m] has quit [(Ping timeout: 276 seconds)]
adisbladis[m] has quit [(Ping timeout: 276 seconds)]
Pneumaticat has quit [(Ping timeout: 276 seconds)]
sargon[m] has quit [(Ping timeout: 276 seconds)]
Ralith has quit [(Ping timeout: 264 seconds)]
Manish[m] has quit [(Ping timeout: 264 seconds)]
stites[m] has quit [(Ping timeout: 264 seconds)]
Elephant454[m] has quit [(Ping timeout: 264 seconds)]
dalaing has quit [(Ping timeout: 264 seconds)]
magnap has quit [(Ping timeout: 264 seconds)]
equalunique[m] has quit [(Ping timeout: 264 seconds)]
herzmeister[m] has quit [(Ping timeout: 264 seconds)]
M-liberdiko has quit [(Ping timeout: 240 seconds)]
ninegua[m] has quit [(Ping timeout: 240 seconds)]
wizzup[m] has quit [(Ping timeout: 240 seconds)]
trevorriles[m] has quit [(Ping timeout: 240 seconds)]
nocent has quit [(Ping timeout: 240 seconds)]
the_m4ur1[m] has quit [(Ping timeout: 240 seconds)]
sudoreboot[m] has quit [(Ping timeout: 240 seconds)]
thomad[m] has quit [(Ping timeout: 246 seconds)]
moredhel1 has quit [(Ping timeout: 246 seconds)]
peel[m] has quit [(Ping timeout: 246 seconds)]
AlanPearce[m] has quit [(Ping timeout: 246 seconds)]
itorres has quit [(Ping timeout: 246 seconds)]
Itkovian has quit [(Ping timeout: 258 seconds)]
puffnfresh has quit [(Ping timeout: 240 seconds)]
zigschots20[m] has quit [(Ping timeout: 240 seconds)]
abbafei[m] has quit [(Ping timeout: 240 seconds)]
unlmtd has quit [(Ping timeout: 240 seconds)]
MawKKe[m] has quit [(Ping timeout: 240 seconds)]
voobscout[m] has quit [(Ping timeout: 240 seconds)]
kainospur[m] has quit [(Ping timeout: 240 seconds)]
zoya-kosova[m] has quit [(Ping timeout: 240 seconds)]
dtz has quit [(Ping timeout: 240 seconds)]
aspiwack[m] has quit [(Ping timeout: 240 seconds)]
Yaniel has quit [(Ping timeout: 240 seconds)]
randomenduser[m] has quit [(Ping timeout: 255 seconds)]
Oo[m] has quit [(Ping timeout: 255 seconds)]
icetan has quit [(Ping timeout: 255 seconds)]
AdamSlack[m] has quit [(Ping timeout: 255 seconds)]
Phil[m]1 has quit [(Ping timeout: 255 seconds)]
jsv[m] has quit [(Ping timeout: 255 seconds)]
tokudan[m] has quit [(Ping timeout: 255 seconds)]
kitten[m] has quit [(Ping timeout: 255 seconds)]
hedning[m] has quit [(Ping timeout: 255 seconds)]
bennofs[m] has quit [(Ping timeout: 255 seconds)]
offlinehacker[m] has quit [(Ping timeout: 255 seconds)]
jyp[m] has quit [(Ping timeout: 255 seconds)]
thematter[m] has quit [(Ping timeout: 255 seconds)]
Wysteriary[m] has quit [(Ping timeout: 255 seconds)]
StuK[m] has quit [(Ping timeout: 255 seconds)]
krawiec[m] has quit [(Ping timeout: 255 seconds)]
Li[m] has quit [(Ping timeout: 255 seconds)]
pvn[m] has quit [(Ping timeout: 255 seconds)]
malteof[m] has quit [(Ping timeout: 255 seconds)]
spawnthink[m] has quit [(Ping timeout: 255 seconds)]
musicmatze[m] has quit [(Ping timeout: 255 seconds)]
bdimcheff has quit [(Ping timeout: 255 seconds)]
ArdaXi[m] has quit [(Ping timeout: 255 seconds)]
demyan[m] has quit [(Ping timeout: 246 seconds)]
AsherGottlieb[m] has quit [(Ping timeout: 246 seconds)]
sziszi[m] has quit [(Ping timeout: 246 seconds)]
apocolocyntos[m] has quit [(Ping timeout: 246 seconds)]
qrilka[m] has quit [(Ping timeout: 246 seconds)]
dylanjust[m] has quit [(Ping timeout: 246 seconds)]
WilliamHamilton has quit [(Ping timeout: 246 seconds)]
nkpart[m] has quit [(Ping timeout: 246 seconds)]
etcinit[m] has quit [(Ping timeout: 252 seconds)]
AmineChikhaoui[m has quit [(Ping timeout: 252 seconds)]
rnhmjoj[m] has quit [(Ping timeout: 252 seconds)]
bhipple[m] has quit [(Ping timeout: 252 seconds)]
Phyra[m] has quit [(Ping timeout: 252 seconds)]
ycy[m] has quit [(Ping timeout: 252 seconds)]
sirius[m] has quit [(Ping timeout: 252 seconds)]
Kallegro[m] has quit [(Ping timeout: 252 seconds)]
baconicsynergy[m has quit [(Ping timeout: 252 seconds)]
pierrebeaucamp[m has quit [(Ping timeout: 252 seconds)]
sphalerite has quit [(Ping timeout: 276 seconds)]
scott1 has quit [(Ping timeout: 248 seconds)]
jlle[m] has quit [(Ping timeout: 248 seconds)]
M-berdario has quit [(Ping timeout: 264 seconds)]
edef[m] has quit [(Ping timeout: 264 seconds)]
xurxo[m] has quit [(Ping timeout: 248 seconds)]
akavel[m] has quit [(Ping timeout: 248 seconds)]
eqyiel[m] has quit [(Ping timeout: 248 seconds)]
mpuppe[m] has quit [(Ping timeout: 248 seconds)]
wmertens[m] has quit [(Ping timeout: 248 seconds)]
octalsrc[m] has quit [(Ping timeout: 248 seconds)]
berot3[m] has quit [(Ping timeout: 248 seconds)]
DIzFer[m] has quit [(Ping timeout: 248 seconds)]
EuAndreh[m] has quit [(Ping timeout: 248 seconds)]
Obscurity[m] has quit [(Ping timeout: 264 seconds)]
M-fishy has quit [(Ping timeout: 264 seconds)]
moredread[m] has quit [(Ping timeout: 264 seconds)]
noctuid has quit [(Ping timeout: 264 seconds)]
maralorn[m] has quit [(Ping timeout: 264 seconds)]
fearlessKim[m] has quit [(Ping timeout: 264 seconds)]
dibblego[m] has quit [(Ping timeout: 264 seconds)]
myklam[m] has quit [(Ping timeout: 264 seconds)]
teh[m] has quit [(Ping timeout: 264 seconds)]
bachp has quit [(Ping timeout: 264 seconds)]
NickHu has quit [(Ping timeout: 248 seconds)]
benkolera has quit [(Ping timeout: 248 seconds)]
florianjacob has quit [(Ping timeout: 248 seconds)]
olejorgenb[m] has quit [(Ping timeout: 248 seconds)]
nahamu has quit [(Ping timeout: 240 seconds)]
kevincox has quit [(Ping timeout: 276 seconds)]
mhsjlw[m] has quit [(Ping timeout: 276 seconds)]
revoltmedia[m] has quit [(Ping timeout: 276 seconds)]
Johnny44[m] has quit [(Ping timeout: 276 seconds)]
peterhoeg has quit [(Ping timeout: 276 seconds)]
nh2[m] has quit [(Ping timeout: 276 seconds)]
7F1AAQYQ9 has quit [(Ping timeout: 276 seconds)]
regnat[m] has quit [(Ping timeout: 276 seconds)]
Exee7uvo[m] has quit [(Ping timeout: 276 seconds)]
mankyKitty[m] has quit [(Ping timeout: 276 seconds)]
indefini has quit [(Ping timeout: 276 seconds)]
primeos[m] has quit [(Ping timeout: 276 seconds)]
bendlas has quit [(Ping timeout: 276 seconds)]
Itkovian_ has quit [(Ping timeout: 252 seconds)]
<ylwghst_> I'm trying to override enlightenment like this https://gist.github.com/ylwghst/722cc75b963a48fc0414f9501729c991 while it doesn't work if I use desktopManager.enlightenment.enable
srdqty1 has joined #nixos
<tobiasBora> Hello,
Bane^ has joined #nixos
nahamu has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #31296: mattermost, nixos/mattermost: update to 4.3.0 (master...mattermost43) https://git.io/vFWQi
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm closed pull request #29546: nixos/mattermost: 4.1.0 -> 4.2.0 (master...mattermost42) https://git.io/v5N2x
NixOS_GitHub has left #nixos []
srdqty has quit [(Ping timeout: 248 seconds)]
<tobiasBora> I'd like to know, is there an "efficient" way to deal with nixos, so that when I want to install a new package, I can get it within a few seconds ? Because on my raspberry pi, when I run "nixos-rebuild switch", it takes something like one minute to achieve, while my configuration file is nearly empty. So if I want to install a new program, I "lost" at least 1mn for nothing...
<symphorien> nix-shell -p package
<symphorien> but the package will be available only in the resulting shell
<catern> nix-env -i
<c0bw3b> if you know the package "attribute name" (usually identical to the package name itself) the fastest thing to do is nix-env -iA nixos.package
<tobiasBora> symphorien: catern the thing is that these commands won't update the /etc/nixos/configuration.nix right? Can I somehow at the end automatically merge the new modifications with the configuration.nix, so that my system is fully configured using the /etc/*.nix files ?
goibhniu has joined #nixos
mithsv has quit [(Ping timeout: 240 seconds)]
<infinisil> catern: lol, won't that install everything?
<infinisil> ah you mean with an argument
<infinisil> tobiasBora: You could strip the modules you don't need, which would probably make rebuilds a lot faster
<tobiasBora> infinisil: you mean like putting for example all the user configuration in a separate module, and import it only the first time ?
<infinisil> tobiasBora: I mean to have a local nixpkgs checkout, deleting all the stuff you're certain you don't need from here: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/module-list.nix, then rebuilding with that nixpkgs
<tobiasBora> infinisil: I think I'm not yet comfortable enough with nix to understand why it will increase the speed. How nix uses this list during the switch process ?
<jmc_fr> aaaargh I killed my virtualbox by filling totally the disk
<jmc_fr> after a nixos-rebuild --upgrade
<jmc_fr> disk is full, and I cannot anymore login ...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fahadsadah opened pull request #31297: python: fastimport 0.9.4 -> 0.9.6 (master...master) https://git.io/vFW7g
NixOS_GitHub has left #nixos []
<jmc_fr> well in fact I can login as root, but only in a console, not in xfce
<infinisil> tobiasBora: nixos has tons and tons of options, all of these options come from modules, and this list there are all the modules there are
leat has quit [(Ping timeout: 248 seconds)]
<jmc_fr> any way to save my virtualbox ?
<infinisil> tobiasBora: To create all options, nixos needs to interpret all these modules
<MichaelRaskin> Well, you can nix-collect-garbage -d
Itkovian has joined #nixos
<MichaelRaskin> But it looks like your VirtualBox is too small
<tobiasBora> infinisil: but nixos is not supposed to be lazy, and interpret these modules iff the user file wants to use it ?
<jmc_fr> MichaelRaskin: 4 Gb
<infinisil> tobiasBora: Removing modules means that nix has to do a lot less work, and it's known that nixos-rebuild time corresponds with the amount of modules
nallar has joined #nixos
Ross has quit [(Ping timeout: 240 seconds)]
nallar is now known as Ross
<MichaelRaskin> jmc_fr: Ouch
<MichaelRaskin> That's way too small.
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<ylwghst_> infinisil: any ideas why this doesn't override enlightenment sources? https://gist.github.com/ylwghst/722cc75b963a48fc0414f9501729c991
<infinisil> tobiasBora: it still needs to evaluate all of them, because: say you have foo.enable = true; which is invalid, but it can't know this unless it checks in every module, because it might be that some module declares this option
<jmc_fr> MichaelRaskin: how much should I have ?
leat has joined #nixos
<tobiasBora> infinisil: ok thank you. And do you have a way to create a clone of the official nixpkg, that is always consistant with it, except for the module file?
<c0bw3b> jmc_fr at least 10GB
<MichaelRaskin> Well, it depends on what you want to install
<jmc_fr> btw nix-co
<jmc_fr> nix-collect-garbage saved my life so far
<MichaelRaskin> But basically, your store should be able to hold _twice_ your full system
<MichaelRaskin> Just because that's how rebuilds after glibc upgrade work.
justbeingglad has left #nixos []
<jmc_fr> not sure if I can extend my virtualbox once it's done
<MichaelRaskin> And then there is a question of wanting to keep anything else around.
<MichaelRaskin> Dunno on VirtualBox side, I would expect it to be possible, though
<MichaelRaskin> Inside you can just resize the partition, then the FS
<MichaelRaskin> After you resize the image externally
<infinisil> tobiasBora: Hmm, I guess cloning it and regularily rebasing on the channel is the best you can do
<tobiasBora> infinisil: ok thanks
<jmc_fr> but hey we are on nixos ... just copying the configuration.nix, and build a newmachine from scratch - maximum 5 minutes
<jmc_fr> hopefully ...
<c0bw3b> well it's a good occasion to try it :)
<c0bw3b> you don't use the 'official' vbox VM?
<c0bw3b> i mean the one from https://nixos.org/nixos/download.html
<jmc_fr> c0bw3b: no, not the official one, I wanted to build it from scratch
<c0bw3b> kk
<MichaelRaskin> Given that your next plan is a similar migration to hardware, getting experience migrating configuration may be a good step.
<jmc_fr> yes. Well, I'm anyway more or less stuck, so ...
<jmc_fr> the 'official' vbox VM : intersting things to see there ? worth a try, given that I have my oxn ?
<jmc_fr> own ?
ipj[m] has joined #nixos
andymandias has joined #nixos
<edef> it does auto-resizing of disks and a few other bits
<edef> but that's just the virtualbox image module, which you can very well include in your own
hiratara has quit [(Quit: ZNC - http://znc.in)]
<jmc_fr> edef: ok, I will have a look
hiratara has joined #nixos
<tobiasBora> Another question: can I use nix using the .conf files in a debian-like system, without installing explicitly nixos?
ylwghst_ has quit [(Quit: Lost terminal)]
<edef> you can use Nix just as a package manager
<edef> then, after a while, you'll go "well, I'm already using Nix for everything, maybe I should give NixOS a shot"
<edef> that's how we get you
<jmc_fr> edef: that's how .... ;-)
<jmc_fr> but I'm interested in tobiasBora's question (extended) : "using the configuration.nix" file
<jmc_fr> I mean : debian + nix based on configuration.nix, not on nix-env -i
<edef> that's explicitly part of NixOS, not the regular nixpkgs stuff
<jmc_fr> ok. that's how you get us ...
<tobiasBora> jmc_fr: edef : so I can't use configuration.nix if I don't have nixos right
<tobiasBora> thanks
<edef> though if you just want to have declarative packages, you can just use `nix-env -irf packages.nix`
<edef> where packages.nix looks like `with import <nixpkgs> {}; [ vim firefox-bin ghc ]`
<edef> that's what I did when I lived on Arch
<jmc_fr> okayyyyyyy ..... fine !
<tobiasBora> interesting, thank you !
thc202 has quit [(Ping timeout: 240 seconds)]
<jmc_fr> edef: a possible alternative for a graphical install when nixos has issues with hardware ?
<infinisil> jmc_fr: tobiasBora: You can actually use home-manager, which is like a user-level configuration.nix, on any linux
mkoenig has quit [(Ping timeout: 248 seconds)]
<infinisil> can recommend
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jefflovejapan has joined #nixos
<tobiasBora> infinisil: interesting!
takle has joined #nixos
mkoenig has joined #nixos
Itkovian has joined #nixos
jmc_fr has quit [(Ping timeout: 240 seconds)]
p4cman has quit [(Quit: Connection closed for inactivity)]
<tobiasBora> Does someone knows how I could get a quicker search? On my rpi, `nix-env -qa '.*emacs.*'` returns in 2mn...
goibhniu has quit [(Ping timeout: 246 seconds)]
<tilpner> tobiasBora - Try zsh tab completion. nix-shell -p emac<TAB>
<tilpner> Or nix repl: nix-repl '<nixpkgs>', then emac<TAB>
<tilpner> ("nix repl '<nixpkgs'>" if you have nixUnstable)
snikkers has quit [(Ping timeout: 240 seconds)]
<tobiasBora> tilpner: it does not work on bash?
<tilpner> Don't know, try the repl suggestion
<jefflovejapan> hi all, I'm trying to set up a nix environment for MIT's 6.828 operating systems class. In order to do the coursework I believe I need a patched version of qemu. I believe I can install it by adding qemu to environment.systemPackages and setting values with overrideAttrs but it doesn't seem to work.
unlmtd has joined #nixos
cornu[m] has joined #nixos
lfish` has quit [(Ping timeout: 248 seconds)]
ArdaXi[m] has joined #nixos
nixo[m] has joined #nixos
jyp[m] has joined #nixos
MawKKe[m] has joined #nixos
jluttine[m] has joined #nixos
AlanPearce[m] has joined #nixos
nkpart[m] has joined #nixos
abbafei[m] has joined #nixos
sirius[m] has joined #nixos
Phyra[m] has joined #nixos
moredhel1 has joined #nixos
grahamc has joined #nixos
indefini has joined #nixos
regnat[m] has joined #nixos
dylanjust[m] has joined #nixos
berot3[m] has joined #nixos
mankyKitty[m] has joined #nixos
primeos[m] has joined #nixos
efx[m] has joined #nixos
WilliamHamilton has joined #nixos
codyopel has joined #nixos
aspiwack[m] has joined #nixos
peterhoeg has joined #nixos
14WABOXIJ has joined #nixos
bachp has joined #nixos
davidar has joined #nixos
NickHu has joined #nixos
nh2[m] has joined #nixos
mith[m] has joined #nixos
timclassic has joined #nixos
zoya-kosova[m] has joined #nixos
Nobabs27[m] has joined #nixos
TimePath has joined #nixos
the_m4ur1[m] has joined #nixos
M-liberdiko has joined #nixos
Kallegro[m] has joined #nixos
baconicsynergy[m has joined #nixos
wak-work has joined #nixos
moredread[m] has joined #nixos
Oo[m] has joined #nixos
octalsrc[m] has joined #nixos
sudoreboot[m] has joined #nixos
demyan[m] has joined #nixos
peel[m] has joined #nixos
rycee has joined #nixos
AndersonTorres[m has joined #nixos
matrixkrav has joined #nixos
Exee7uvo[m] has joined #nixos
olejorgenb[m] has joined #nixos
teh[m] has joined #nixos
itorres has joined #nixos
Li[m] has joined #nixos
Elephant454[m] has joined #nixos
trikl[m] has joined #nixos
hl has joined #nixos
noctuid has joined #nixos
Drakonis[m] has joined #nixos
kevincox has joined #nixos
tokudan[m] has joined #nixos
Johnny44[m] has joined #nixos
randomenduser[m] has joined #nixos
Geeky[m] has joined #nixos
FRidh[m] has joined #nixos
danielrf has joined #nixos
myklam[m] has joined #nixos
reactormonk[m] has joined #nixos
spacekitteh[m] has joined #nixos
viaken[m] has joined #nixos
herzmeister[m] has joined #nixos
a123123123[m] has joined #nixos
revoltmedia[m] has joined #nixos
aminech[m] has joined #nixos
sargon[m] has joined #nixos
magnap has joined #nixos
florianjacob has joined #nixos
dpc has joined #nixos
thematter[m] has joined #nixos
necronian has joined #nixos
wmertens[m] has joined #nixos
qrilka[m] has joined #nixos
Wysteriary[m] has joined #nixos
spawnthink[m] has joined #nixos
offlinehacker[m] has joined #nixos
sphalerite has joined #nixos
nocent has joined #nixos
jsv[m] has joined #nixos
Phil[m]1 has joined #nixos
krawiec[m] has joined #nixos
bdimcheff has joined #nixos
copumpkin has joined #nixos
benkolera has joined #nixos
pstn has joined #nixos
freeman42x has joined #nixos
trevorriles[m] has joined #nixos
Obscurity[m] has joined #nixos
yochai[m] has joined #nixos
apocolocyntos[m] has joined #nixos
bhipple[m] has joined #nixos
adisbladis[m] has joined #nixos
aniketd[m] has joined #nixos
WinterFox[m] has joined #nixos
bennofs[m] has joined #nixos
edef[m] has joined #nixos
dtz has joined #nixos
mpuppe[m] has joined #nixos
Dezgeg[m] has joined #nixos
kitten[m] has joined #nixos
puffnfresh has joined #nixos
pvn[m] has joined #nixos
Yaniel has joined #nixos
equalunique[m] has joined #nixos
dkellner[m] has joined #nixos
Sovereign_Bleak has joined #nixos
AdamSlack[m] has joined #nixos
admin[m]1 has joined #nixos
seif[m] has joined #nixos
chominist[m] has joined #nixos
Pneumaticat has joined #nixos
sk23[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
ycy[m] has joined #nixos
mrdaak[m] has joined #nixos
voobscout[m] has joined #nixos
tommyangelo[m] has joined #nixos
fgaz[m] has joined #nixos
thomad[m] has joined #nixos
bendlas has joined #nixos
dash has joined #nixos
onito[m] has joined #nixos
ison[m] has joined #nixos
stites[m] has joined #nixos
StuK[m] has joined #nixos
Leo[m]2 has joined #nixos
malteof[m] has joined #nixos
wizzup[m] has joined #nixos
mtncoder[m] has joined #nixos
DIzFer[m] has joined #nixos
taohansen has joined #nixos
musicmatze[m] has joined #nixos
paperdigits[m] has joined #nixos
scott1 has joined #nixos
Ralith has joined #nixos
rnhmjoj[m] has joined #nixos
M-berdario has joined #nixos
dibblego[m] has joined #nixos
fearlessKim[m] has joined #nixos
Barnabas[m] has joined #nixos
hedning[m] has joined #nixos
jack[m] has joined #nixos
EuAndreh[m] has joined #nixos
dalaing has joined #nixos
r3mfKm[m] has joined #nixos
zigschots20[m] has joined #nixos
icetan has joined #nixos
kainospur[m] has joined #nixos
Khorne[m] has joined #nixos
etcinit[m] has joined #nixos
EB[m] has joined #nixos
M-fishy has joined #nixos
eqyiel[m] has joined #nixos
akavel[m] has joined #nixos
corngood has joined #nixos
<tilpner> Rip Matrix
ninegua[m] has joined #nixos
guest521[m] has joined #nixos
gudea[m] has joined #nixos
mhsjlw[m] has joined #nixos
maralorn[m] has joined #nixos
Singularity[m] has joined #nixos
sziszi[m] has joined #nixos
tobim[m] has joined #nixos
Deleh[m] has joined #nixos
jlle[m] has joined #nixos
AllanDaemon[m] has joined #nixos
retrry[m] has joined #nixos
AsherGottlieb[m] has joined #nixos
AmineChikhaoui[m has joined #nixos
Vincenzo[m] has joined #nixos
smbarte2[m] has joined #nixos
JameySharp[m] has joined #nixos
Manish[m] has joined #nixos
xurxo[m] has joined #nixos
lecorpsnoir[m] has joined #nixos
<jefflovejapan> the output from the command above is:
srdqty1 has quit [(Ping timeout: 255 seconds)]
<jefflovejapan> system: "i686-linux", multi-user?: yes, version: nix-env (Nix) 1.11.15, nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<MichaelRaskin> tilpner: it has just respawned, if it goes down again, we will get a second iteration of the same!
<tilpner> MichaelRaskin - Yeah, I also had problems with NickServ just a few minutes ago, and couldn't connect to the appservice. Maybe that was related
<tilpner> (The @appservice-irc:matrix.org bot thing)
<jefflovejapan> and the patched version of qemu I would like to use is here: https://github.com/geofft/qemu/archive/6.828-2.9.0.zip
srdqty1 has joined #nixos
<tilpner> jefflovejapan - Do you have an error message and a paste of the relevant section of your systemPackages?
c0bw3b has left #nixos []
<jefflovejapan> yeah, i have two different error cases, one when i just try to add qemu to systemPackages, and one when I try to modify it
<jefflovejapan> with vanilla qemu in systemPackages I get:
<jefflovejapan> sorry, collected garbage and it's taking a minute to run again
<tobiasBora> tilpner: ok thank you very much!
simukis has quit [(Ping timeout: 248 seconds)]
<tobiasBora> By the way it's not possible to use several environment.systemPackages ? I would like to define the program I'd like to install in several places in the file for readability, or even in several files for modularity...
<tilpner> It is possible, you can define systemPackages in multiple files and the contents will get merged
Acou_Bass has quit [(Ping timeout: 240 seconds)]
Acou_Bass has joined #nixos
<jefflovejapan> creating symlink from '/nix/var/nix/profiles/system-2-link.tmp-1978-1066974405' to '/nix/store/<hash>-nixos-system-nixos-17.09.1997.1a8a95e879': Permission denied
<jefflovejapan> environment.systemPackages = with pkgs; [ wget vim qemu ];
<tilpner> jefflovejapan - Did you run nixos-rebuild without root?
<jefflovejapan> i ran `sudo -i nano` to modify configuration.nix then nixos-rebuild switch
<tilpner> nixos-rebuild switch needs to be run as root
<tilpner> You can build qemu without root, but you can't activate it globally without root
<jefflovejapan> awesome, thanks
<jefflovejapan> if i try to override attrs, i get the following
<tobiasBora> tilpner: I get an error error: attribute ‘environment.systemPackages’ at /etc/nixos/configuration.nix:55:3 already defined at /etc/nixos/configuration.nix:52:3
ivanivan has joined #nixos
ivanivan has quit [(Client Quit)]
<tilpner> tobiasBora - I said that you can define systemPackages in multiple files, not multiple times in the same one
<tobiasBora> tilpner: ohh ok. Too bad, but better than nothing
<tobiasBora> thank you
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
srdqty1 has quit [(Quit: WeeChat 1.9.1)]
<tilpner> tobiasBora - You can use a big let-in to define systemPackages in multiple pieces, then merge them manually at the end
<jefflovejapan> The option value `environment.systemPackages.[definition 39-entry 3]` in `/etc/nixos/configuration.nix` is not a package.
matthewbauer has joined #nixos
<tilpner> jefflovejapan - I can't see your config, but you probably forgot to wrap it in parentheses
<tilpner> jefflovejapan - environment.systemPackages = [ ... (qemu.overrideAttrs (old: { src = ...; })) ];
<jefflovejapan> smh
<tobiasBora> tilpner: Hum... I'm not sure to see how, should I use a list that I update ?
<tilpner> tobiasBora - Updating a list is not something you do in Nix. Why do you need to split the definition?
Isorkin has quit [(Ping timeout: 240 seconds)]
<tilpner> tobiasBora - I meant something like: { ... }: let firstPackages = [ ... ]; secondPackages = [ ... ]; in { environment.systemPackages = firstPackages ++ secondPackages; }
<jefflovejapan> @tilpner now I'm getting an error that I can't override version -- is that because it's defined in a let here? https://github.com/NixOS/nixpkgs/blob/1931ad0e2cbb636d9fa09e3aa5afff24cc9b7deb/pkgs/applications/virtualization/qemu/default.nix
ivanivan has joined #nixos
<jefflovejapan> maybe i need my own mkDerivation
<tilpner> jefflovejapan - That is partly true, it would help to see your configuration
<tobiasBora> tilpner: oh ok, I forgot that I nix was a pure language
Itkovian has joined #nixos
fragamus has joined #nixos
<tobiasBora> tilpner: but you cannot for example do something like : " let p = [emacs] in .... let p = [firefox] ++ p in ... env.systemPackages = p", where p is always a fresh variable ?
<tilpner> You could do something like that, yes. It doesn't mutate the original list though. I see no advantage over defining systemPackages as usual though
rizary has quit [(Read error: Connection reset by peer)]
rizary has joined #nixos
noobly has joined #nixos
<noobly> anyone here using drracket on 32 bit?
<tilpner> Given how much trouble you've had with it, maybe consider using another editor?
<noobly> lol no
<noobly> i do, but sometimes the course I'm following specifically requires htdp/bsl instead of racket, so occasionally I'll recycle this problem from my to-do list and give it another go
<noobly> i mean you get in htdp/bsl in terminal as an extension but that seems much more difficult
<ivanivan> I've installed the alacritty package on Ubuntu a couple times, and it always builds from source. Curious why that might be?
<tilpner> It's been 4 months since I first tried to help you with drracket, I don't remember what the problem was
<tilpner> ivanivan - What channel are you on (nix-shell -p nix-info --run nix-info)? Do you have overrides for alacritty?
<noobly> Yeah, I left my laptop for quite some time and didnt leave myself notes of how to resume.. But currently I get the error "cannot find rm"
srdqty has joined #nixos
<noobly> and that;s after making the shell script executable
<ivanivan> tilpner: i'm on the nixpkgs and nixos channels. i've tried installing from both with the same results.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] timokau opened pull request #31298: sage: 6.8 -> 8.0 (master...sage-fix) https://git.io/vFWNY
NixOS_GitHub has left #nixos []
<tilpner> ivanivan - I would expect nixpkgs-unstable to not have binary substitutes for every package. What nixos channel are you on?
<ivanivan> not sure if it's related, but I also found it fails to run due to some unsupported GL "attributes"
rogue_koder has joined #nixos
theseriousadult has joined #nixos
nix-gsc-io`bot has joined #nixos
<ivanivan> tilpner I'm on https://nixos.org/channels/nixos-17.09
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/30f6d630f1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<tilpner> ivanivan - nixos-17.09 has binary substitutes available, I just installed it without building
<tobiasBora> tilpner:Ok thank you!
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<tilpner> ivanivan - Paste the output of "nix show-config" to gist.github.com please
* tilpner hopes that's a nixStable thing
ssmike has quit [(Ping timeout: 240 seconds)]
<cbarrett> If there was an effort to get a FreeBSD stdenv going I'd hack on it
<ivanivan> tilpner: i don't have a "nix" command (not on nixos). is there a nix-env equivalent?
<tilpner> It's not... of course
<tilpner> I guess you can paste /etc/nix/nix.conf, but it has way less info
python476 has joined #nixos
<neonfuz> Hey
<neonfuz> so I have an issue
srdqty has quit [(Ping timeout: 260 seconds)]
<neonfuz> my wireless is unstable (that's another issue), but whenever my internet goes out and comes back (after I manually restart the wpa_supplicant daemon), firefox won't load pages
srdqty has joined #nixos
<ivanivan> tilpner: i don't even have a /etc/nix/ directory. the manual for nix mentions sysconfdir/nix/nix.conf but doesn't say how to discover what sysconfdir is. i do have a ~/.config/nixpkgs/config.nix if that's at all useful
<neonfuz> and it's more specific than that: if I tried refreshing while my wifi is down, when it comes back I can't refresh to load the page, BUT I can open new tabs to a different domain, BUT if I copy paste the url of a tab that won't load, it won't load that url
<neonfuz> so it seems like some sort of bizarre thing where it tries to resolve a domain while the internet is down, see's that it's down, and caches that
<neonfuz> that's the only sort of explanation I can think of as to why I can load new urls but not old ones
<tilpner> ivanivan - Welp. Maybe "find / -name nix.conf 2>/dev/null"?
<neonfuz> but I'm wondering if somehow nixos regenerating my /etc/resolv.conf is messing with firefox? or some other sort of firefox / os interaction?
<neonfuz> or some compile flag for firefox that needs to be set?
Wizek_ has quit [(Ping timeout: 240 seconds)]
srdqty has quit [(Client Quit)]
srdqty has joined #nixos
<ivanivan> tilpner: wow, got nothing
<ivanivan> even with sudo
<tilpner> I don't have that particular issue, and you'd probably not ask if you were using e.g. dnsmasq... If you don't find answers here, maybe mozilla/#firefox knows more about caching behaviour of FF
noobly has quit [(Ping timeout: 260 seconds)]
<ivanivan> tilpner: i do have a /nix/var/nix/ directory, though no nix.conf in there
<tilpner> ivanivan - Sorry, I don't think I can help you. I don't have any experience with Nix outside of NixOS :/
srdqty has quit [(Ping timeout: 268 seconds)]
<ivanivan> tilpner: s'alright, I appreciate the attempt :)
<matthewbauer> cbarrett: I think you can get nix on freebsd. stdenv isn't pure though
<ivanivan> i need to find a different terminal emulator anyway, as alacritty doesn't seem to like my system
detran` has quit [(Ping timeout: 258 seconds)]