gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<samueldr> Mic92's nix-review doesn't seem to change GC_INITIAL_HEAP_SIZE
<gchristensen> just export it, should be done
<LnL> a "good" initial size depends on the memory of your machine
<samueldr> yeah, it's already running with it; I kinda know what it's for, set it to 24G (64GB ram)
<samueldr> but I'm out of my element since I kind of think something is wrong?
<gchristensen> might be?
<Mic92_> samueldr: what would have you expect there?
<samueldr> Mic92_: your nix-review tool is fine, I was comparing to a run earlier this monday that should have shown the same issues I believe
<Mic92_> And why would nix-review be able pick a better value then nix itself?
<v0latil3> How do i set kernel module parameters in boot.kernelModules?
<samueldr> Mic92_: read nothing into that, I was juste puzzled by the fact that it ran fine on monday and my nix-build with *probably* the same set of attributes doesn't right now
<v0latil3> figured it out.
hellrazor has joined #nixos
<monokrome> Does anyone know if there's a way to get secure boot to work w/ NixOS?
* monokrome has no idea how secure boot works
<colemickens> I'm actually surprised it isn't better integrated. I'd love to try to spitball it in a GitHub issue or something.
<clever> the problem is that you must sign the kernel and initrd that are in /boot/
<monokrome> Is that a money issue or is there some difficulty to signing it?
<clever> and if your not using luks, an attacker can just read the secrets and then its pointless
<monokrome> Sure, but I am using luks
<clever> some firmware allow you to load your own key
<clever> and even if you have luks, if the attacker does manage to defeat secureboot, he could boot your OS in a hypervisor, and then wait for you to enter the luks password
<clever> secureboot doesnt stop your OS from being ran in a hypervisor
<monokrome> yeah
<monokrome> but they don't need to defeat secure boot if it isn't on in the first place
<clever> so i could just swap out your motherboard, and boot your hdd under that
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/254bb9dc41f (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<monokrome> Assuming physical access, sure
<monokrome> Anyway, that's all FUD
<monokrome> Is it a money issue or is there some difficulty to signing it?
<clever> for any decent firmware, there is no money problems
<colemickens> it's a scripting process
<clever> the scripts that update /boot for systemd-boot or grub, will need to sign the bootloader&kernel any time you update /boot/
<colemickens> I don't know enough about NixOS to know where it'd need to be hooked in though.
<monokrome> Sign it w/ what key? O_o
<clever> monokrome: your own keypair
<colemickens> You provision one and teach your firmware about the public portion.
<monokrome> ah
<clever> monokrome: create your own pair, and load the public into the bios using the bios options
<monokrome> well that's cool :D
<monokrome> maybe I'll look into doing thsi
<monokrome> this
<monokrome> thanks :}
<clever> you will also want to remove the M$ key
<monokrome> why?
<clever> there is a bug in their installer-dvd bootloader, that runs unsigned code
<monokrome> lol Microsoft
<clever> so anybody can just use that M$ signed binary as an escape-hatch to run unsigned code
<monokrome> of course there is -.-
<clever> and nobody can revoke that key, because it would render every single install dvd useless
<clever> so secure-boot with the M$ key is effectively useless
<monokrome> omg that's so bad
<emily> clever: r i p
<clever> emily: yeah
<emily> have they at least switched to a new key for signing new stuff
<emily> clever: also uh. you can just boot a signed ubuntu bootloader and a signed ubuntu kernel and then kexec your malware, to be fair
<emily> even if kexec checks signatures (is that a thing?), i'm sure there's a 0day for one of them
<clever> emily: to properly be secure, never sign a kernel that has kexec enabled
<emily> clever: to properly be secure, rotate signing keys
<emily> secure boot without signature expiry or key rotation is kind of useless
<emily> otherwise... just wait for a 0day
<emily> seriously, it's linux
<emily> root -> kernel is not going to be hard
* colemickens hadn't thought about kexec
<kisik21> so... can NixOS kernel do kexec?
<clever> kisik21: yes
<clever> kisik21: you will need some packageOverrides to disable it
<clever> and maybe something else to enforce only loading signed kernel modules
<clever> oh, and have fun trying to sign the kernel modules in /nix/store/
<colemickens> well, about hte MS leak to be exact ^
<kisik21> clever: signing kernel modules is a thing I did at build-time when I was a gentoo user.
<clever> kisik21: with the nix sandbox, you have to put the secret into /nix/store/
<clever> kisik21: and now the secret is readable by every single user on the machine
<kisik21> Oops
<clever> hence "have fun" :P
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fAWrT
<kisik21> How about making a key and discarding it when everything is signed?
<kisik21> no key, no leaks, no security breaches
<kisik21> right?
<clever> kisik21: your /boot changes every single time you `nixos-rebuild switch`
<clever> kisik21: do you want to open your bios config and load a new public every time?
<kisik21> Signing kernel modules, not the kernel itself
<clever> then you will have seperate keys for the modules, bootloader, kernel, and config, potentially
<kisik21> isn't that a good thing?
<gchristensen> what is the purpose of a key which is never the same?
<clever> yeah
<monokrome> You wouldn't rotate keys w/ every switch
<gchristensen> 00:31 <kisik21> How about making a key and discarding it when everything is signed?
<samueldr> this'll sound dumb, but where are the profile and stats shown?
<gchristensen> samueldr: at the end
<samueldr> using nix-build and --dry-run
<clever> but some binaries are broken and dont show stats
<kisik21> gchristensen: Yes, it's a bit strange, but kernel wouldn't mind. since modules are (I suppose) built at the same time and it always will have the latest key. And we discard the private part so nothing else can be ever signed.
<clever> samueldr: instantiate works
<gchristensen> kisik21: what is your threat model?
<clever> samueldr: nix-build doesnt support NIX_SHOW_STATS
<Dezgeg> it can prevent the kernel from loading any out-of-tree modules
<kisik21> Certainly not someone who can read my CPU registers and all of my RAM at any given moment in time.
<clever> Dezgeg: you could also just compile all modules in, and remove module support
<kisik21> clever: I cannot do anything but make a pun...
<kisik21> it's a clever idea
v0latil3 has quit [Ping timeout: 240 seconds]
<clever> :D
<Dezgeg> that's way harder
<gchristensen> it is?
<clever> also, say goodbye to zfs and nvidia :P
<samueldr> hmm, the ,profiling snippet should probably somehow mention it doesn't work with nix-build :/
<gchristensen> samueldr: or we should fix nix-build
<gchristensen> :)
<samueldr> also!
iyzsong has quit [Quit: ZNC 1.7.0 - https://znc.in]
<clever> gchristensen: what will the lawyers say to linking nvidia + zfs into the kernel binary?
<Dezgeg> IIRC there are modules which are 'triggers'' as in modprobing them will cause something to happen
<gchristensen> clever: no idea :P
<samueldr> AFAIUI, it's a *distribution* issue
<gchristensen> nothing good, clever
<Dezgeg> well on your own machine you can link whatever you want as long as you don't redistribute it
<colemickens> Can someone merge this? https://github.com/NixOS/nixpkgs/pull/34402
<{^_^}> #34402 (by vdemeester, 30 weeks ago, open): Add a containerd module
* gchristensen tries fixing nix-build
<gchristensen> clever: any others which are broken?
<clever> gchristensen: it just needs a call to printStats at every exit point
<clever> gchristensen: `nix build` may also be broken
<samueldr> hahaha, tonight it never ends :) HTTP error 503 (curl error: No error); retrying
<samueldr> (that particular cloudy server must have had hiccup)
<gchristensen> annoying having little "cuts" like profiling being somewhat working sometimes :)
<clever> samueldr: the cloud is just somebody elses server
<samueldr> that was cache.nixos.org :) somebody else's service on somebody else's server
<gchristensen> on thousands of servers
sigmundv__ has quit [Ping timeout: 240 seconds]
johanot has quit [Quit: leaving]
johanot has joined #nixos
<samueldr> gchristensen: output of your cloudfront script if you see anything weird http://ix.io/1lH4
<samueldr> warning: unable to download 'https://cache.nixos.org/nar/07f0n94fkqp9jnah3vls0mv2sdiwx1ldmd2vyv3vznlcp8vb93jr.nar.xz': HTTP error 503 (curl error: No error); retrying in 2142 ms
<gchristensen> hopefully the node is taken out of rotation soon
<samueldr> yeah, that's what I'm betting on :)
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> ,profiling
<{^_^}> Use NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1 to profile Nix evaluation
sigmundv__ has joined #nixos
<gchristensen> should nix-shell emit profiling info?
<samueldr> gchristensen: probably, but probably through a non-terminal interface
<samueldr> (IIRC it's nix-build then drop you in the shell)
<gchristensen> yeah that is gonna be a "no" for this then :P
<justanotheruser> is there a style guide for nix like there is for python with pep8?
<justanotheruser> and linter
<gchristensen> not really, not yet, though there is promising work.
acarrico has quit [Ping timeout: 244 seconds]
<samueldr> :) a yes when "NIX_PROFILE_OUTPUT=./file" is proposed and implemented :)
<gchristensen> I'm nerd-snipe proof when it comes to C++
<samueldr> :(
<gchristensen> haha, I bet you could do it though!
<samueldr> probably can... probably shouldn't... :)
<gchristensen> clever: should nix-build print stats on a failed build?
<samueldr> gchristensen: do you mean *only* on failed builds?
<gchristensen> no, NIX_SHOW_STATS=1 ./inst/bin/nix-build ../test.nix ... test.nix fails to build. should it print stats?
<clever> gchristensen: id say yes
<gchristensen> a bit challenging.
<clever> of note, the stats cease to change when the build is done
<clever> so if there is a clear gap between instantiate and build, it could go there?
<clever> but then it prints before the real build starts
<gchristensen> oh!
<gchristensen> clever: how about in a failed evaluation case?
<clever> gchristensen: that would also help
lord| has quit [Ping timeout: 245 seconds]
wrl has quit [Read error: Connection reset by peer]
wrl has joined #nixos
hamishmack has joined #nixos
Niall has quit [Remote host closed the connection]
lord| has joined #nixos
Niall has joined #nixos
<clever> gchristensen: looks good
<clever> gchristensen: make sure --dry-run also works
<gchristensen> it does
<clever> thats where i had my trouble, `nixops --dry-run` uses `nix-build --dry-run`
<clever> gchristensen: for that case, i dont see much point in having stats
<gchristensen> should `nix eval`?
<kisik21> How to make nix-build rebuild a derivation existing in /nix/store without messing with /nix/store manually?
<samueldr> any tips to make sense of the profiling?
<kisik21> there's probably no way though...
<clever> kisik21: change one of its inputs?
<clever> kisik21: why does it need to rebuild?
<kisik21> I need to grep logs
jperras has quit [Quit: WeeChat 2.2]
<clever> kisik21: run `nix-store -l /nix/store/foo`
<clever> nix saves all logs
<kisik21> in the internal database, I assume?
<clever> lord|: in /nix/var/log/nix/
<clever> kisik21: oops, ^^^
<{^_^}> [nix] @grahamc pushed 2 commits to more-stats: https://git.io/fAWoM
<gchristensen> oops
<{^_^}> [nix] @grahamc pushed 0 commits to more-stats: https://git.io/fAWoy
philippD has quit [Remote host closed the connection]
<kisik21> 0 commits?
philippD has joined #nixos
<{^_^}> [nix] @grahamc opened pull request #2391 → Print stats in more programs → https://git.io/fAWoN
<{^_^}> nix#2391 (by grahamc, 8 seconds ago, open): Print stats in more programs
JonReed has quit [Ping timeout: 252 seconds]
Supersonic has quit [Ping timeout: 240 seconds]
alexteves has quit [Ping timeout: 246 seconds]
Supersonic has joined #nixos
alexteves has joined #nixos
<worldofpeace> {^_^}:
<clever> gchristensen: heh, that was a far simpler fix then i thought
<gchristensen> :)
<clever> i had patched it locally (and lost the diff), and it was editing more places, 2 or 3 i think
<clever> let me find the other patch i have, it can probably be added to your pr
<{^_^}> [nix] @grahamc closed pull request #970 → nix-collect-garbage: Add a note about rebuilding to clear /boot space → https://git.io/vK0IG
<samueldr> grep texlive profile.txt | wc # makes me think it's possibly texlive combined with the amount of attributes that combine into busting even 10G
<clever> samueldr: is nixops involved any?
<samueldr> (gives 1805)
<samueldr> clever: not at all
<clever> samueldr: are you importing nixpkgs multiple times?
<samueldr> I cleared my environment with `env -i` to remove the doubts coming from my overlay in the initial profiling
<clever> gchristensen: dang!!, i sanitized my gists too much, i cant tell which machine this is from: https://gist.github.com/cleverca22/c99163e94b26d896f511d3540ce7303d
<gchristensen> heh
<samueldr> using this script + a nixpkgs checkout of nixpkgs-unstable + PR 45705 merged https://gist.github.com/b22a99fd27a0467f46191e4f3c2edf5b
<clever> gchristensen: all i know for sure, is that i was on the memoise branch...
<{^_^}> [nixpkgs] @grahamc pushed to master « Document running nixos-rebuild switch to clear /boot space »: https://git.io/fAWKR
<clever> gchristensen: aha, ~/nix, not ~/apps/nix
<{^_^}> [nixpkgs] @grahamc closed pull request #31034 → WIP: mutable user eval test → https://git.io/vFmaR
silver has quit [Quit: rakede]
<clever> gchristensen: the first half of this diff will improve the readability of the stats: https://gist.github.com/cleverca22/a8d61484e6ce42ebc0818b593c94065a
<gchristensen> you could send that PR :)
<Dezgeg> IIRC nix-build -A foo -A bar etc. is inefficient
worldofpeace has quit [Read error: Connection reset by peer]
<samueldr> Dezgeg: entirely probable, any alternatives?
<Dezgeg> something like nix-build -E 'with import ./. {}; [ foo bar ]'
thc202 has quit [Read error: Connection reset by peer]
alexteves has quit [Remote host closed the connection]
worldofpeace has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #45890 → buildbot: Python 3 support and other improvements → https://git.io/fAWKr
<gchristensen> I opened my GitHub page of unmerged PRs and it was a mistake X)
<clever> lol
<samueldr> well Dezgeg, much much much quicker and the build starts without touching the heap thing thanks!
<Dezgeg> I guess that's something that should be fixed though
<samueldr> any semantics gotchas in using -E `import ./.` vs. using nix-build -A?
<clever> samueldr: -A will auto-call at every step
<clever> if the file it loaded is a function, it runs it
<clever> if the a in -A a.b.c is a function, it runs it
<clever> if the b in -A a.b.c is a function, it runs it...
<clever> at every stage, it uses --arg and --argstr to auto-fill arguments
v0latil3 has joined #nixos
<samueldr> I was thinking amore about the evaluation, if there would have been a semantical change to "nixpkgs" proper, but I guess not
sigmundv__ has quit [Ping timeout: 245 seconds]
monokrome has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
<gchristensen> thank goodness no :)
lassulus_ has joined #nixos
drp has quit [Remote host closed the connection]
drp has joined #nixos
snajpa has quit [Ping timeout: 276 seconds]
lassulus has quit [Ping timeout: 246 seconds]
lassulus_ is now known as lassulus
drp has quit [Remote host closed the connection]
aither has quit [Ping timeout: 252 seconds]
oida has quit [Ping timeout: 250 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justanotheruser has quit [Ping timeout: 252 seconds]
oida has joined #nixos
justanotheruser has joined #nixos
cransom has quit [Quit: WeeChat 2.0]
cransom has joined #nixos
cransom has quit [Client Quit]
cransom has joined #nixos
init_6 has quit []
sphaugh has joined #nixos
<sphaugh> anyone know how i get the nix-support/propagated-build-inputs file to appear in my propagatedBuildInputs?
snajpa has joined #nixos
kisik21 has quit [Ping timeout: 246 seconds]
hamishmack has joined #nixos
<c15ade4> is there a shortcut for doing callPackage while testing packages?
<c15ade4> so far I manually make a file test.nix or something that imports nixpkgs, then does callpackage
<sphaugh> c15ade4, { pkgs ? import <nixpkgs> {} }:
Ariakenom has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #45891 → stage-1-init.sh: do not check mounted filesystems → https://git.io/fAWP0
Ariakenom has joined #nixos
<c15ade4> sphaugh: that doesn't really match callPackage conventions right? just a blanket pkgs include
<c15ade4> hmm found
hexa- has quit [Ping timeout: 252 seconds]
petar has quit [Ping timeout: 252 seconds]
WilliButz has quit [Ping timeout: 272 seconds]
petar has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4477cf04b67 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
hexa- has joined #nixos
sphaugh has quit [Quit: Lost terminal]
timj has quit [Ping timeout: 240 seconds]
timj has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #45892 → ocamlPackages.reason: remove spurious dependency on opam → https://git.io/fAWXl
drakonis has quit [Remote host closed the connection]
worldofpeace has quit [Ping timeout: 252 seconds]
v0latil3_ has joined #nixos
<v0latil3_> hh. I've figured out how to add module parameters with
<v0latil3_> boot.modprobe and add modules to initrd, but how do I add
<v0latil3_> modules WITH parameters to initrd
<v0latil3_> jeez im sorry not used to irssi..
<v0latil3_> naively pasting terminal copy :( I guess I'll try to look into the initrd builder, but hopefully someone here knows.
Azaiel has joined #nixos
<Azaiel> Good evening! I was wondering if any NixOS devs or contributors were lurking tonight that could /msg me?
<v0latil3_> hey it's me, ur developer.
Azaiel has left #nixos [#nixos]
redj has quit [Ping timeout: 268 seconds]
redj has joined #nixos
v0latil3_ has quit [Quit: Lost terminal]
amosbird has quit [Quit: ZNC 1.7.0 - https://znc.in]
amosbird has joined #nixos
aither has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
glowpelt has quit [Remote host closed the connection]
glowpelt has joined #nixos
mayhewluke has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
johanot has quit [Remote host closed the connection]
simukis has joined #nixos
aexoxea has joined #nixos
leothrix has quit [Quit: ZNC 1.7.1 - https://znc.in]
leothrix has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #45894 → bat: 0.6.0 -> 0.6.1 → https://git.io/fAWDR
joshie has quit [Ping timeout: 252 seconds]
phreedom has quit [Ping timeout: 250 seconds]
iyzsong has joined #nixos
<Taneb> Anyone know if there's a reason python matplotlib doesn't seem to be opening dialogs in a nix-shell? This is NixOS 18.03 running Gnome 3 and both python2 and python3
init_6 has joined #nixos
<CMCDragonkai> You need to specify the backend.
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @ashkitten opened pull request #45896 → firmware-linux-nonfree: 2018-03-20 -> 2018-08-25 → https://git.io/fAWyc
orivej has joined #nixos
kisik21 has joined #nixos
<cocreature> Taneb: I’m guessing here but is it a pure nix-shell? in that case $DISPLAY might be unset
kenshinC1 has joined #nixos
<Taneb> cocreature: pure nix shells keep $DISPLAY, and it's not
<cocreature> ah sorry, then I’m not sure :(
<Taneb> cocreature: thanks for the thought, though
<{^_^}> [nixpkgs] @srhb merged pull request #45894 → bat: 0.6.0 -> 0.6.1 → https://git.io/fAWDR
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fAWyA
simukis has quit [Read error: Connection reset by peer]
<Yaniel> pie__: nope; didn't try particularly hard though
simukis has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #45700 → nodePackages: 6_x -> 8_x → https://git.io/fA3uB
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fAWSu
<{^_^}> [nixpkgs] @Mic92 closed pull request #45456 → @vue/cli: init at 3.0.1 → https://git.io/fATSK
NightTrain has quit [Ping timeout: 245 seconds]
<Purple-mx> has anyone started an LSP server for nix lang?
<Purple-mx> open issue even
<Purple-mx> found one - https://github.com/jD91mZM2/nix-lsp
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fAWSP
kisik21 has quit [Ping timeout: 252 seconds]
sigmundv has joined #nixos
Ralith_ has joined #nixos
orivej has joined #nixos
wucke13 has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « pythonPackages.pandas: fix build »: https://git.io/fAW9m
<{^_^}> [nixpkgs] @FRidh pushed 41 commits to python-unstable: https://git.io/fAW9Y
FRidh has joined #nixos
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #45792 → Python packages fixes → https://git.io/fAcLq
<{^_^}> [nixpkgs] @FRidh pushed 41 commits to staging-next: https://git.io/fAW9Z
wucke13 has quit [Quit: WeeChat 2.0]
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 32 commits to staging-next: https://git.io/fAW9C
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to master: https://git.io/fAW9W
init_6 has quit []
<{^_^}> [nixpkgs] @vcunat merged pull request #45731 → Removes old logo use by changing the backgrounds used → https://git.io/fAGmI
Lisanna has joined #nixos
<Lisanna> So, is nix-channel more or less completely defunct now?
<Lisanna> and instead you just manually manage your own NIX_PATH, possibly using URIs to specific nixpkgs versions?
<{^_^}> [nixpkgs] @srhb merged pull request #45855 → steam: Add python3 to runtime for steam play / proton → https://git.io/fACR0
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fAW9g
<srhb> Lisanna: No, why?
<srhb> (Er, I guess, it is for me, but that's because I opt to have it that way)
<{^_^}> [nixpkgs] @xeji merged pull request #45880 → qgis: patch for compatibility with cmake 3.12 → https://git.io/fAWYs
<{^_^}> [nixpkgs] @xeji pushed commit from @thefloweringash to staging « qgis: patch for compatibility with cmake 3.12 (#45880) »: https://git.io/fAW9o
<Lisanna> I mean, nix-channel doesn't seem to really do anything special anymore
<Lisanna> it was useful before because it would download the nix expressions and put them somewhere, so your NIX_PATH could point to a fixed location
<Lisanna> but since you can put URIs in your NIX_PATH now, it doesn't seem to really have any value
<Lisanna> and probably just adds confusion especially to new users
<srhb> Ah, I see. Well, yes, I sort of agree that it is confusing to new users and that explicitly pointing at channels is clearer.
<srhb> But it is still the recommended approach.
<srhb> (At least as far as the manuals go)
smolboye has quit [Ping timeout: 252 seconds]
smolboye has joined #nixos
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
<emily> b-but pinning nixpkgs is nice
vcunat has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to master: https://git.io/fAW97
slyfox has quit [Ping timeout: 246 seconds]
slyfox has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #45774 → linux_testing_bcachefs: 4.16.2018.08.03 -> 4.18.2018.08.31 → https://git.io/fAnlj
jasongrossman has joined #nixos
v0latil3 has quit [Ping timeout: 250 seconds]
<srhb> emily: Well, nixpkgs is pinned with channels as long as you don't run --update :P
<emily> how does that work with URIs in your NIX_PATH?
v0latil3 has joined #nixos
<srhb> NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/somecommitref.tar.gz
<emily> hmm. i guess that's true, yeah.
<emily> that works? cool.
<srhb> It does :)
<emily> too fancy :o
<srhb> eg. NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/083220867c71443b0473374e8abe871cecb8b7d9.tar.gz nix eval nixpkgs.hello.version
<emily> how does it know not to redownload
<srhb> There's a smart (lol) cache.
<srhb> But it's only about 10 MiB anyway :)
<emily> right
* emily sort of wishes someone would write a "setting up NixOS the Modern Way" post since all the documentation points to using the old busted methods of doing things
<emily> maybe that someone should be me
<{^_^}> [nixpkgs] @peti pushed to master « esniper: fix mismatched 'src' attribute »: https://git.io/fAWH3
<{^_^}> [nixpkgs] @peti pushed to release-18.03 « esniper: fix mismatched 'src' attribute »: https://git.io/fAWHn
<srhb> I think opinions differ on what the right approach is, but more resources doesn't hurt :)
<Myrl-saki> How is nixUnstable suffix "calculated"?
<Myrl-saki> Oh wait.
<Myrl-saki> Number of commits?
<srhb> Myrl-saki: The last part is the rev at least.
<Myrl-saki> srhb: Yeah, I think the first value is number of commits. That's pretty funny.
<srhb> That sounds right
LnL has quit [Read error: Connection reset by peer]
LnL has joined #nixos
georges-duperon has joined #nixos
thc202 has joined #nixos
Thra11 has joined #nixos
dmj` has quit [Quit: Connection closed for inactivity]
phreedom has joined #nixos
<Lisanna> emily I mean, the right way to setup any kind of linux distro is going to be pretty subjective. There's only a little bit of boilerplate in the steps - most of it really does come down to stuff like "how do you prefer to partition your disk?" "UEFI or Legacy?" "Swap or no swap?"
johanot has joined #nixos
<emily> Lisanna: sure, but I'm thinking specifically stuff like NIX_PATH etc., the "nix ..." tools of nix 2.0, tracking your configs in git...
<Lisanna> ah, okay
<emily> I dunno, it just feels like in a lot of instances I've ended up thinking "oh, that's how you do it". like keeping my own nixpkgs branch
marzzzello has quit [Quit: bb]
<jasongrossman> IMO, the Nix/NixOS documentation is not *terrible*. It would be good to collect examples of projects that have better documentation, and which are also fast-developing projects like NixOS, and are non-commpercial projects like NixOS.
<emily> well, citing Rust would be cheating
kisik21 has quit [Ping timeout: 252 seconds]
<emily> since they have way more people
<jasongrossman> Oh, and also which are multi-person projects. I particularly like the documentation for TeX, but of course Knuth wrote that.
<jasongrossman> Mm, instead of "commercial" I should have said "well funded".
orivej has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/tests/installer: add missing system.extraDependencies »: https://git.io/fAWQ3
<jasongrossman> Maybe all we need is a small team of people putting more work into the manual. Then other people could ad stuff to the wiki in a fairly ad hoc way, and the small team could move it into the manual. But I doubt that anyone wants to take on this job.
<jasongrossman> * add
<jasongrossman> That's how Emacs documentation works. The manual is considered a major project, and it incorporates material from all over the place including a wiki.
<jasongrossman> Emacs doesn't change as fast as Nix though.
<{^_^}> [nixpkgs] @FRidh opened pull request #45898 → pythonPackages.pytest: fix .pytest_cache, again → https://git.io/fAWQZ
<Havvy> emily: Still, wouldn't hurt to use the tools we use. E.g. `mdbook` is pretty great.
<jasongrossman> I imagine that what it needs to make this sort of thing happen is for one of the core developers to take it on, although not on their own.
<jasongrossman> Because if someone like me offered to do it, I'd just be too ignorant about what the contents should be (and therefore the semantic organisation etc.).
<Havvy> Asking for a basic outline and then filling it in would work well.
<jasongrossman> Absolutely, but it's also a lot of work both to get the basic outline right and to organise people to fill it in ... although I think it would be fun work.
bennofs[m] has quit [Remote host closed the connection]
timclassic has quit [Remote host closed the connection]
ejpcmac has quit [Read error: Connection reset by peer]
MarkOtaris has quit [Remote host closed the connection]
simbergm has quit [Read error: Connection reset by peer]
Ralith has quit [Read error: Connection reset by peer]
Purple-mx has quit [Remote host closed the connection]
schmittlauch[m] has quit [Write error: Connection reset by peer]
tokudan[m] has quit [Remote host closed the connection]
fgaz has quit [Remote host closed the connection]
koschei[m] has quit [Remote host closed the connection]
roberth has quit [Remote host closed the connection]
bachp has quit [Remote host closed the connection]
florianjacob has quit [Write error: Connection reset by peer]
thefloweringash has quit [Read error: Connection reset by peer]
<jasongrossman> Also, IMO the manual is already really really good, and the problem is to keep it up to date and make it more complete.
<jasongrossman> (I guess I mean manuals plural.)
vcunat has quit [Ping timeout: 252 seconds]
cryptix has joined #nixos
<Havvy> That manual tries to be all things for all people. I've been left asking questions looking at it more than a few times.
<jasongrossman> Don't you think it could achieve that aim with a bit more work?
<Havvy> I don't think _any_ documentation source can be all things for all people. You'll notice we have multiple books in the Rust community. (And we're gaining a lot of new ones this year as well)
jasongrossman has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #45838 → cutecom: 0.45.0 -> 0.50.0 → https://git.io/fACeT
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « cutecom: 0.45.0 -> 0.50.0 (#45838) »: https://git.io/fAWQu
<{^_^}> [nixpkgs] @xeji merged pull request #45797 → verilator: 3.924 -> 3.926 → https://git.io/fAc3a
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « verilator: 3.924 -> 3.926 (#45797) »: https://git.io/fAWQK
<{^_^}> [nixpkgs] @xeji merged pull request #45825 → libconfuse: 3.2.1 -> 3.2.2 → https://git.io/fAcQN
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libconfuse: 3.2.1 -> 3.2.2 (#45825) »: https://git.io/fAWQQ
<{^_^}> [nixpkgs] @Mic92 merged pull request #45705 → ruby: default to version 2.5 → https://git.io/fA3P1
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAWQ7
aarvar has joined #nixos
jasongrossman has joined #nixos
vcunat has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libivykis: 0.42.2 -> 0.42.3 (#45824) »: https://git.io/fAW7f
<{^_^}> [nixpkgs] @xeji merged pull request #45824 → libivykis: 0.42.2 -> 0.42.3 → https://git.io/fAcQo
<{^_^}> [nixpkgs] @jtojnar merged pull request #45872 → geoclue2: add patch to whitelist elementary's agent → https://git.io/fAC75
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fAW7L
<{^_^}> [nixpkgs] @xeji merged pull request #45831 → gpsprune: 19 -> 19.1 → https://git.io/fAcAB
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « gpsprune: 19 -> 19.1 (#45831) »: https://git.io/fAW7q
<{^_^}> [nixpkgs] @xeji merged pull request #45826 → kid3: 3.6.1 -> 3.6.2 → https://git.io/fAc7z
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « kid3: 3.6.1 -> 3.6.2 (#45826) »: https://git.io/fAW7O
<{^_^}> [nixpkgs] @Mic92 merged pull request #45842 → cocoapods: 1.5.0 -> 1.5.3 → https://git.io/fACJX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAW7Z
Yaniel has quit [Remote host closed the connection]
Yaniel has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #45892 → ocamlPackages.reason: remove spurious dependency on opam → https://git.io/fAWXl
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAW7a
bachp has joined #nixos
roberth has joined #nixos
timclassic has joined #nixos
thefloweringash has joined #nixos
MarkOtaris has joined #nixos
florianjacob has joined #nixos
bennofs[m] has joined #nixos
tokudan[m] has joined #nixos
Ralith has joined #nixos
fgaz has joined #nixos
simbergm has joined #nixos
schmittlauch[m] has joined #nixos
ejpcmac has joined #nixos
Purple-mx has joined #nixos
koschei[m] has joined #nixos
Thra11 has quit [Ping timeout: 244 seconds]
jasongrossman has quit [Remote host closed the connection]
<Mic92_> Who is going to write the nix variant of that? https://github.com/graalvm/simplelanguage :)
<{^_^}> [nixpkgs] @Mic92 merged pull request #45870 → Navit → https://git.io/fACyH
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fAW57
<{^_^}> [nixpkgs] @Mic92 merged pull request #45875 → nixos/transmission: fix AppArmor profile to include keyutils → https://git.io/fACdS
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAW5A
Lears has quit [Ping timeout: 240 seconds]
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #45861 → mixxx 2.1.3: Fixed glibc locale bug → https://git.io/fACwo
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAWdU
vmandela has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45887 → dtkcore: init at 2.0.9 → https://git.io/fAWR6
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « dtkcore: init at 2.0.9 (#45887) »: https://git.io/fAWdq
<{^_^}> [nixpkgs] @xeji merged pull request #45836 → facter: 3.11.3 -> 3.11.4 → https://git.io/fAcjm
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « facter: 3.11.3 -> 3.11.4 (#45836) »: https://git.io/fAWd3
<{^_^}> [nixpkgs] @bignaux opened pull request #45899 → navit: 0.5.2 -> 0.5.3 → https://git.io/fAWdR
<{^_^}> [nixpkgs] @romildo opened pull request #45900 → dde-qt-dbus-factory: init at 1.0.4 → https://git.io/fAWdg
<teto> any guide on how to enable coredumps ? I have ulimit unlimited and /proc/sys/kernel/core_pattern set to "core". Do you guys use systemd-coredump instead ?
kiloreux has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed to master « byobu: use python3 »: https://git.io/fAWdD
<Dezgeg> yes I use systemd-coredump
fendor has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a960b87ac21 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
kiloreux has joined #nixos
Wharncliffe has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a960b87ac21 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
ixxie has joined #nixos
<{^_^}> [nixpkgs] @jraygauthier opened pull request #45901 → bluez: 5.48 -> 5.50 → https://git.io/fAWFR
<Myrl-saki> My God
<Myrl-saki> It's been so long since I've ran `sudo git checkout origin/nixos-unstale`
<Myrl-saki> unstable*
<Myrl-saki> whoops
<Myrl-saki> OTOH, that actually half makes sense. :P
<teto> Dezgeg: do you have any specific config ? I've enabled it yet /var/lib/systemd/coredump remains empty after a program crashes (there is an entry in journal)
<Dezgeg> it should just be systemd.coredump.enable = true;
<teto> systemd.coredump.enable = true; is not enough it seems
<teto> ha didn't see the "Resource limits disable core dumping for process 30855 "
<Ashy> uh oh, nix daemon ran out of memory
<Ashy> 8gb ram on this machine but no swap
<hodapp> aaack
acarrico has joined #nixos
<hodapp> I should put an SSD in my work laptop sometime :-/ the first fun of things like nix-env after a reboot can take ages
<Myrl-saki> myrl@myrl:~$ df -h | { read -r; echo $REPLY; grep '/dev/sda2' }
<Myrl-saki> Filesystem Size Used Avail Use% Mounted on
<{^_^}> [nix] @edolstra merged pull request #2391 → Print stats in more programs → https://git.io/fAWoN
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fAWF2
<Myrl-saki> /dev/sda2 126G 97G 24G 81% /
<Myrl-saki> This feels so weird.
<Myrl-saki> My / used to only be 32 GB
<Ashy> hodapp: you're still using spinning rust?
<Myrl-saki> Seeing this makes me feel uneasy. :P
<hodapp> Ashy: it's a few-years-old Thinkpad
<Myrl-saki> (My / is still 32 GB on my laptop, FWIW.)
<hodapp> that has been otherwise stellar
<{^_^}> [nixpkgs] @xeji merged pull request #45899 → navit: 0.5.2 -> 0.5.3 → https://git.io/fAWdR
<{^_^}> [nixpkgs] @xeji pushed commit from @bignaux to master « navit: 0.5.1 -> 0.5.3 (#45899) »: https://git.io/fAWFr
<hodapp> except for some annoying OpenGL issues that just happened :[
<{^_^}> [nix] @edolstra merged pull request #2384 → docs: Add some examples to fetchGit → https://git.io/fACPY
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fAWFX
<{^_^}> [nixpkgs] @xeji merged pull request #45837 → dico: 2.5 -> 2.6 → https://git.io/fAcjn
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « dico: 2.5 -> 2.6 (#45837) »: https://git.io/fAWFM
<{^_^}> [nixpkgs] @xeji merged pull request #45846 → bareos: 17.2.5 -> 17.2.7 → https://git.io/fACTo
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « bareos: 17.2.5 -> 17.2.7 (#45846) »: https://git.io/fAWF9
<{^_^}> [nixpkgs] @xeji merged pull request #45900 → dde-qt-dbus-factory: init at 1.0.4 → https://git.io/fAWdg
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « dde-qt-dbus-factory: init at 1.0.4 (#45900) »: https://git.io/fAWFN
vcunat has quit [Ping timeout: 252 seconds]
theunknownxy has joined #nixos
<{^_^}> [nix] @edolstra closed pull request #135 → Updated instructions and scripts for non-NixOS multi-user installations → https://git.io/fAWbt
<Ashy> hodapp: im on my "new" T450 now (arrived yesterday)
<Ashy> $300 on ebay :D
<hodapp> looks like a decent price
<hodapp> mine's a T410
<hodapp> what's OpenGL support like on yours? if you've had any chance to use it
<Ashy> anyway, a 250gb ssd is really quite cheap these days, i bought a 500gb samsung 960 a few months back because i noticed greping the linux kernel source was noticable on a sata ssd
<{^_^}> [nixpkgs] @LnL7 merged pull request #44640 → beam-packages: default erlangR19 -> erlangR20 → https://git.io/fNyCq
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to master: https://git.io/fAWbY
<hodapp> my desktop has had a nice NVMe SSD for awhile now and it's a huge help
<hodapp> but it's only this year that I started doing a lot of real(tm) work on my laptop
<symphorien> hodapp: I have a T420 and I have never experienced any particular opengl issue. Do you refer to something specific ?
<hodapp> symphorien: mine is Intel-based graphics and some months back an update did something that gets it into a mode where it will render the first frame of an OpenGL scene and then it will never update
<hodapp> so some things like Blender - which do their entire UI with GL - are completely unusable
<hodapp> on a fresh reboot, it doesn't do this
<hodapp> but I've not figured out what exactly causes it - some combination of suspending and of me running xrandr (I have it driving two LCDs and have a script to set it up the right way)
<symphorien> glxgears works fine here
<hodapp> Intel graphics?
<symphorien> i915 yes
<teto> Dezgeg: wow coredumpctl debug is cool. Thanks :D
<symphorien> the only i915 related problem I had is a bug with xfce-power-manager and hibernation (black screen on resume) which I experienced only on linux 4.14 (not 4.9 nor 4.17)
vcunat has joined #nixos
<symphorien> also you have to to early kernel mode setting to have graphics when using the crashdump kernel feature but it is quite niche
udono has joined #nixos
<Myrl-saki> What the hell's wrong with me lmao
<Myrl-saki> There's totally no better way to write that, amirite?
<Myrl-saki> Oh wait. I remember why I wrote it that way now. I don't have a cabal file.
sigmundv has quit [Ping timeout: 245 seconds]
<Myrl-saki> Any suggestions?
civodul has joined #nixos
johanot has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vcunat closed pull request #42330 → linux: Switch to schedutil governor → https://git.io/flF06
mayhewluke has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
<{^_^}> #44224 (by nek0, 4 weeks ago, open): python36Packages.rlp fails to build
<Myrl-saki> lol
<Myrl-saki> (The gist is a git log of the package.)
silver has joined #nixos
ixxie has quit [Ping timeout: 246 seconds]
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « pythonPackages.glances: 2.11.1 -> 3.0 »: https://git.io/fAWbF
<{^_^}> [nixpkgs] @xeji merged pull request #45628 → lib: ensure directories of linkFarm links exist → https://git.io/fAmfi
<{^_^}> [nixpkgs] @xeji pushed commit from @alyssais to master « lib: ensure directories of linkFarm links exist (#45628) »: https://git.io/fAWbp
kisik21 has joined #nixos
<gchristensen> I get this wrong almost every time: x86-64_linux
<Myrl-saki> gchristensen: You know there a - and a _, x86-64 often contains a dash.
<Myrl-saki> I'm guessing?
<gchristensen> I guess
<gchristensen> but Nixpkgs expects x86_64-linux :)
<symphorien> I think it's reverse because its arch-kernel-libc
<Myrl-saki> Yeah.
<Myrl-saki> gchristensen: What I meant is "why you make that mistake"
<symphorien> armvfoo-linux
<symphorien> ah ok
<gchristensen> ah yeah
<Myrl-saki> Yaaay, I finally made the typo.
<Myrl-saki> myrl@myrl:~$ sl
<Myrl-saki> The program ‘sl’ is currently not installed. You can install it by typing:
<Myrl-saki> nix-env -iA nixos.sl
<{^_^}> [nixpkgs] @gebner pushed to master « vampire: fix nondeterministic hash »: https://git.io/fAWNn
<Myrl-saki> Ffs.
<Myrl-saki> st 0.8.1 is broken. :/
<Myrl-saki> Or not, apparently my override is what broke it.
<Myrl-saki> Fun fun
fendor has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « pythonPackages.more-itertools: avoid doCheck on i686 »: https://git.io/fAWN0
kisik21 has quit [Ping timeout: 246 seconds]
<Myrl-saki> Wow. This is amazing.
<Myrl-saki> How do you reverse apply a patch with nix?
<gchristensen> you could make a reverse patch
fendor has joined #nixos
<Myrl-saki> gchristensen: Sorry, but how?
<Myrl-saki> gchristensen: Oh lol
<Myrl-saki> gchristensen: I thought that that applies the patch. Thanks!
<gchristensen> :)
<gchristensen> oh
<gchristensen> that WOULD apply it
<Myrl-saki> gchristensen: That answer about patching the patch file though lol
<gchristensen> :)
<{^_^}> [nixpkgs] @kevincox opened pull request #45903 → cargo-web: init at 0.6.15 → https://git.io/fAWN5
<Myrl-saki> Also, eshell's actually pretty nice.
<Myrl-saki> I ran `diff` in eshell, and it spawned a buffer
<Myrl-saki> Well crap. It's still broken. :(
<{^_^}> [nixpkgs] @xeji merged pull request #45891 → stage-1-init.sh: do not check mounted filesystems → https://git.io/fAWP0
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « stage-1-init.sh: do not check mounted filesystems (#45891) »: https://git.io/fAWNA
duncan^ has joined #nixos
<{^_^}> [nixpkgs] @symphorien opened pull request #45904 → elasticsearch plugins: don't use lib.version → https://git.io/fAWAf
<{^_^}> [nixpkgs] @xeji merged pull request #45856 → sauce-connect: 4.4.12 -> 4.5.1 → https://git.io/fAC0F
<{^_^}> [nixpkgs] @xeji pushed commit from @lo1tuma to master « sauce-connect: 4.4.12 -> 4.5.1 (#45856) »: https://git.io/fAWAY
vmandela_ has joined #nixos
vcunat has quit [Ping timeout: 252 seconds]
vmandela has quit [Read error: Connection reset by peer]
<Myrl-saki> God, how long did that take.
<Myrl-saki> 40 minutes.
<{^_^}> [nixos-hardware] @azazel75 opened pull request #78 → Fix unusable Lenovo Thinkpad X1 profile → https://git.io/fAWAW
<{^_^}> [nixpkgs] @kevincox merged pull request #45903 → cargo-web: init at 0.6.15 → https://git.io/fAWN5
<{^_^}> [nixpkgs] @kevincox pushed 2 commits to master: https://git.io/fAWAl
vcunat has joined #nixos
MinceR has quit [Ping timeout: 252 seconds]
WilliButz has joined #nixos
<Myrl-saki> Aaaaaannnnddd, steam broke.
MinceR has joined #nixos
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/a960b87ac21 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
iyzsong has quit [Read error: Connection reset by peer]
<Myrl-saki> God. Steam is like that drunk kid.
<Myrl-saki> Tells me that contents servers are unavailable, while at the same time, I'm chatting through the software
<aanderse> anyone try steam proton (wine) yet?
<{^_^}> [nixpkgs] @xeji merged pull request #45878 → dbxml: move db62 to propagatedBuildInputs. → https://git.io/fAWmT
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to master « dbxml: move db62 to propagatedBuildInputs. (#45878) »: https://git.io/fAWx3
<{^_^}> [nixpkgs] @xeji merged pull request #30890 → display-managers: make lightdm the default → https://git.io/vFIqG
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fAWxZ
<{^_^}> [nixpkgs] @xeji merged pull request #45854 → nixos/doc: add instructions for installation behind a proxy → https://git.io/fACBw
<{^_^}> [nixpkgs] @xeji pushed commit from @vmandela to master « nixos/doc: add instructions for installation behind a proxy (#45854) »: https://git.io/fAWxC
Lears has joined #nixos
mconstant has joined #nixos
<mconstant> hi, just got a large drive to backup nixos to.
<mconstant> what's the easiest way to do this well?
johanot has joined #nixos
<aanderse> mconstant: what specifically do you want to backup?
<gchristensen> mconstant: I backup my /etc /var and /home and don't think I'm missing anything
primeos has quit [Quit: WeeChat 2.1]
primeos has joined #nixos
johanot has quit [Quit: leaving]
hellrazor has quit [Ping timeout: 252 seconds]
hellrazor has joined #nixos
<infinisil> gchristensen: Possibly /root if you're using it for something
<{^_^}> [nixpkgs] @AmandaCameron opened pull request #45905 → nixos/pam: Include the "cue" option to the pam_u2f.so invocation. → https://git.io/fAWpp
<{^_^}> [nixpkgs] @Thra11 opened pull request #45906 → krita: refactor to fix build on aarch64 → https://git.io/fAWhe
<mconstant> aanderse: home and parts of my LUKs encrypted data drive
<mconstant> think I will just use restic
<{^_^}> [nixpkgs] @fpletz merged pull request #45896 → firmware-linux-nonfree: 2018-03-20 -> 2018-08-25 → https://git.io/fAWyc
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fAWhT
<mconstant> gchristensen: thx for tips on what to focus on for backup
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to staging: https://git.io/fAWhs
<{^_^}> [nixpkgs] @vcunat merged pull request #42880 → coreutils: 8.29 -> 8.30 → https://git.io/fSsDa
<mconstant> ahh the drive is readonly now. I think it is formatted as NTFS
<vcunat> mconstant: you need ntfs-3g to have read-write NTFS
<mconstant> ok
<mconstant> installing
<vcunat> "ntfs3g" is the attribute name, actually
<{^_^}> [nixpkgs] @volth opened pull request #45907 → install-grub.pl: avoid double '/' in menu.lst and grub.conf → https://git.io/fAWh4
<{^_^}> [nixpkgs] @vcunat pushed 312 commits to master: https://git.io/fAWhu
nuncanada has joined #nixos
mconstant_ has joined #nixos
<mconstant_> ok I installed it. if I want to mount with the KDE plasma automount widget I might need more
<{^_^}> [nixpkgs] @vcunat merged pull request #45761 → Staging next → https://git.io/fAZul
<mconstant_> still mounts it as readonly I can probably use the commandline
mconstant_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa opened pull request #45909 → Add licenses → https://git.io/fAWhr
<manveru> the installer is failing for me for some reason...
<manveru> says it can't find a device for /boot/grub
<samueldr> manveru: bootloader?
<samueldr> or when installing?
<manveru> when it runs the grub installation
<samueldr> ah right, not my changes then
<manveru> "grub-install: error: cannot find a device for /boot/grub (is /dev mounted?)"
<manveru> from install-grub.pl: installation of GRUB on /dev/disk/by-id/ata-TSxxxxx failed" (too lazy to write whole id)
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to staging: https://git.io/fAWjs
<{^_^}> [nixpkgs] @vcunat merged pull request #45720 → coreutils: split a coreutils-full version → https://git.io/fAsSo
<mconstant> ok ntfs-3g worked
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<vcunat> :-)
<samueldr> vcunat: #45908 tips to build the i686 image locally?
<{^_^}> https://github.com/NixOS/nixpkgs/issues/45908 (by samueldr, 10 minutes ago, open): i686 installer image generation broke with new grub setup
<vcunat> samueldr: in a second
<vcunat> samueldr: as with the usual Hydra jobs
<vcunat> nix build -f nixos/release-combined.nix nixos.iso_minimal.i686-linux
<samueldr> well... that was easy... initially thought there would be gotchas sue to i686 on x86_64
<samueldr> due to*
<teto> I nix-shell this : `let devPkg = pkgs.haskellPackages.developPackage {...} in pkgs.haskellPackages.ghcWithPackages (p: with p; [hdevtools hlint devPkg])` to provide hdevtools/hlint tools to my editor. But now haskell can't import haskell dependincies pulled by devPkg. How should I write this ?
ma27 has quit [Quit: WeeChat 2.1]
<manveru> hm, how does one install nixos then these days?
<manveru> also, fdisk doesn't seem to have the 'a' command
<samueldr> manveru: I use `cfdisk` when paritioning
<samueldr> can't be bothered with arcane magic :)
<samueldr> possibly
ma27 has joined #nixos
<samueldr> there were reports on the instructions being lacking with regards to partitioning
<mconstant> yaaay. I'm set
<manveru> well, they definitely don't work for me :)
<manveru> used to... though
__monty__ has quit [Quit: leaving]
<manveru> is grub not a thing anymore?
<samueldr> grub is a thing
<samueldr> manveru: will you open an issue for the partitioning issue, I can otherwise (smells like a blocker)
periklis has joined #nixos
<teto> nevermind, I had to set "returnShellEnv = false;" else it returned devPkg.env :/
<manveru> i only have one disk, one partition with ext4, no UEFI or fancy stuff
<{^_^}> [nixpkgs] @vcunat pushed 4 commits to master: https://git.io/fAWj1
<pie__> how do i make nixos hardlink redundant stuff again?
<samueldr> pie__: `nix-store --optimise` ?
<vcunat> What's wrong with partitioning instructions? I did use them recently as described.
kisik21 has joined #nixos
<manveru> vcunat: grub can't be installed
<manveru> and fdisk has no 'a' option to make the disk bootable
<mconstant> what's the command to see all the packages I've installed impurely with nix-env -i
<manveru> nix-env -q
<vcunat> +1
<mconstant> thanks
<pie__> samueldr, huh couldnt find that in the man page
<mconstant> gonna see how many I can put in my configuration.nix instead
<{^_^}> [nixpkgs] @vcunat merged pull request #45867 → libreoffice: add zh-CN language support → https://git.io/fAC6F
<pie__> also what do i do if something is being kept in the store by stuff like /nix/var/nix/profiles/per-user/paprika/profile-404-link
<samueldr> pie__: were you perchance using `optimize` as a query?
<pie__> i just did man nix-store
worldofpeace has joined #nixos
<vcunat> manveru: I see the "a" command in upstream docs as well http://tldp.org/HOWTO/Partition/fdisk_partitioning.html
<samueldr> yeah, while using / to search, optimize wouldn't find it :)
<pie__> oh nevermind
<pie__> samueldr, ugh ok you were right yeah british spelling ;p
<pie__> samueldr, i totally misunderstood your question
<manveru> vcunat: says "unknown command" here
<manveru> ah
<manveru> seems like somehow my disk is GPT formatted?
<manveru> how do i get rid of this
<samueldr> maybe you don't want to, but if you want, some of the partitioning tools have a "zero" flags to start with a clean table
<vcunat> ah, that will be it. The command still works for me.
* samueldr checks for fdisk
<manveru> the nixos manual doesn't mention gpt at all
<{^_^}> [nixpkgs] @dotlambda merged pull request #45871 → pythonPackages.dependency-injector: init at 3.13.1 → https://git.io/fACQx
<{^_^}> [nixpkgs] @dotlambda pushed commit from @Gerschtli to master « pythonPackages.dependency-injector: init at 3.13.1 (#45871) »: https://git.io/fAWjp
<{^_^}> [nixpkgs] @vcunat closed pull request #44937 → coreutils: use openssl for faster *sum tools → https://git.io/fNdtP
<samueldr> manveru: looks like it's `o` to create an MBR and `g` to create a GPT
<manveru> is gpt related to uefi?
<p_l> Anyone using NixOS for Rails development?
<vmandela_> I need help on restructuring https://github.com/NixOS/nixpkgs/pull/45345.
<{^_^}> #45345 (by vmandela, 1 week ago, open): nixos/install-grub: include child configs in grub menu
<samueldr> manveru: in a way, but not necessarily locked-in
<manveru> p_l: me :)
<samueldr> p_l: I, too
<manveru> samueldr: i'll try those instructions then, but no clue how to setup my bios to use uefi...
<pie__> how do I gc user profiles?
<vmandela_> I am pulling in the test I wrote from a separate file into installer.nix. I need to include some additional configuration and a few extra test steps.
<p_l> samueldr, manveru: Can you share your approach somewhere? I got to the point of running, but it's annoying a bit
<symphorien> manveru: iirc uefi => gpt but legacy supports gpt
<p_l> (using nix-shell currently)
<samueldr> manveru: one quick trick, `dmesg | grep 'efi:'` if you have messages from the kernel around 0.000000 you're booted using UEFI
<manveru> p_l: nix-shell, direnv, bundlerEnv
<samueldr> (also presence of efivarfs in mount)
<vmandela_> I am able to use the extraConfig option to pass the configuration I need into the tests. I am running into string escaping issues when trying to include tests.
<manveru> samueldr: nothing there
<samueldr> p_l: nix-shell only for development
<samueldr> manveru: you're probably booted using legacy or mbr I guess then
<manveru> i'd guess so
<manveru> lemme see how i can wipe that gpt table
<samueldr> do you know if the installer booted using `isolinux`? if so, it's definitely legacy boot
<manveru> no clue
<samueldr> (the installer image probably should telegraph the boot method somehow to the end-user, I'm thinking a kernel command line param that can be used in a diagnostic script)
<manveru> ah, gdisk seems to have an option to convert back to MBR
<p_l> samueldr: any examples tolook over?
<samueldr> not really, for developement I use a nix-shell, which has `ruby` in it (bringing in bundler) adding all other native dependencies needed (e.g libiconv for nokogiri)
<samueldr> then use bundler as ususal
<{^_^}> [nixpkgs] @vcunat pushed 332 commits to staging: https://git.io/fAlel
primeos_ has joined #nixos
<vmandela_> samueldr, could you guide me a bit on https://github.com/NixOS/nixpkgs/pull/45345 ?
<{^_^}> #45345 (by vmandela, 1 week ago, open): nixos/install-grub: include child configs in grub menu
<p_l> any of you use Ruby-Mine with it?
<manveru> nope
<manveru> but i'd imagine it'd be a pain
<manveru> i use emacs or neovim, they both have nice direnv plugins
primeos has quit [Ping timeout: 240 seconds]
primeos_ is now known as primeos
<p_l> While I'm not super-dependant, I want to keep in sync with someone else who is just learning the ropes
<manveru> well, you can always run rubymine from inside the nix-shell and it should work
<manveru> at least in theory :0
<manveru> haven't used it in 6-7 years i think
<manveru> so can't help you much unless you say what your issue is
<samueldr> when I setup my colleague's environment, I make them start their IDE while in the nix-shell so their PATH catches the tools in there
<manveru> i also never use bundler...
<vcunat> I also start (g)vim inside nix-shell to get :make etc.
kiloreux has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Infinisil merged pull request #45904 → elasticsearch plugins: don't use lib.version → https://git.io/fAWAf
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fAlvf
kenshinC1 has quit [Ping timeout: 272 seconds]
<p_l> manveru: what exactly are you doing with direnv and bundlerEnv?
<mconstant> I'm also interested in using Rubymine with direnv,nix-shell,bundix, etc
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
aexoxea has quit [Quit: Goodbye!]
<siers> How should I put my little nix-gitignore project in nixpkgs? Preferably with fetchgit or rather by copying it directly into nixpkgs? https://github.com/siers/nix-gitignore/issues/6
<{^_^}> siers/nix-gitignore#6 (by CMCDragonkai, 1 day ago, open): Integration into Nix/Nixpkgs
<gchristensen> builtins.fetchgit can't be used in nixpkgs, and nor can import pkgs.fetchGit
<p_l> mconstant: for now ruby-mine starts for me in nix-shell, though I do get a bit of a mess with SDKs
<p_l> now to get sql server running as well...
<p_l> (I of course forgot to include freetds in shell.nix)
aarvar has quit [Ping timeout: 245 seconds]
fendor has quit [Read error: Connection reset by peer]
endformationage has joined #nixos
georges-duperon has quit [Ping timeout: 246 seconds]
<siers> gchristensen, they mustn't be used in package definitions? Well fetchFromGitHub would also be fine
revtintin has joined #nixos
<{^_^}> [nixpkgs] @pSub pushed to master « instead: 3.2.1 -> 3.2.2 »: https://git.io/fAlfV
slyfox has quit [Ping timeout: 246 seconds]
<worldofpeace> Anyone here that would like to share their preferred debug process for nixos modules?
<clever> worldofpeace: first step i usually do, is just nixos-rebuild build, and read the result to confirm its doing the right thing
<teto> worldofpeace: nixos-rebuild has some options to run faster, read its help
<teto> isn't ghcWithPackages supposed to provide ghc/ghci ? (nixos-unstable)
<clever> teto: yes
<clever> teto: how are you using it?
<teto> I run nix-shell shell-haskell.nix with `let pkgs = import <nixpkgs> {}; in pkgs.haskellPackages.ghcWithPackages(p: with p; [netlink hlint hdevtools])`
<clever> teto: that drops you into a shell suitable for building ghcWithPackages, not using ghcWithPackages
<clever> teto: your shell.nix must return another derivation, that has that ghc in the buildInputs
JonReed has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #45910 → Fixes i686 installer iso build. → https://git.io/fAlJz
<{^_^}> [nixos-homepage] @grahamc opened pull request #238 → Use nix-build to build the site → https://git.io/fAlJg
<{^_^}> [nixpkgs] @jtojnar pushed to master « pulseeffects: 4.3.3 → 4.3.4 »: https://git.io/fAlJ1
<{^_^}> [nixpkgs] @xeji pushed 21 commits to master: https://git.io/fAlJM
<{^_^}> [nixpkgs] @xeji merged pull request #45909 → Add licenses → https://git.io/fAWhr
<{^_^}> [nixos-artwork] @samueldr merged pull request #34 → Removes old logo use by changing the backgrounds used → https://git.io/fAGmk
<{^_^}> [nixos-artwork] @samueldr pushed 4 commits to master: https://git.io/fAlJ9
theunknownxy has quit [Quit: theunknownxy]
slyfox has joined #nixos
theunknownxy has joined #nixos
vmandela_ has left #nixos ["Leaving"]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fAlUe
laduke-13 has joined #nixos
<{^_^}> [nixpkgs] @vcunat merged pull request #45910 → Fixes i686 installer iso build. → https://git.io/fAlJz
tv has quit [*.net *.split]
timj has quit [Quit: Leaving.]
<manveru> back to kernel panic on boot again...
mkaito has joined #nixos
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
<aminechikhaoui> manveru: I think any failure during the boot results in a kernel panic, not sure why we're setting that by default, I would personnaly prefer having dropping me into a shell instead
<samueldr> the kernel will panic when PID 1 exits; though there are options for nixos (kernel command line options) to instead go to a shell
<gchristensen> not nice to (by default) drop an unauthenticated user in to a shell as root with a possibly decrypted device
<gchristensen> (iirc, that is a possible issue)
<hodapp> are there any good examples of handling code samples (e.g. example plugins) that sometimes are present in repos?
<hodapp> whether that is handling them as part of the main derivation for the repo, or having a separate derivation
<aminechikhaoui> gchristensen: ah right
ambro718 has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #45911 → nixos/manual: nixos-help knows about colon-separated BROWSER → https://git.io/fAlTs
drakonis__ has joined #nixos
<hodapp> but hmmmm. I want to make it easy to create a dev environment to develop Appleseed plugins in... but rather than having anything separate for this, wouldn't it just be preferable that if you "nix-shell -p appleseed" you have all the necessary libs/includes present?
silver_hook has quit [*.net *.split]
zopsi has quit [*.net *.split]
teto has quit [*.net *.split]
ryantm has quit [*.net *.split]
Notkea has quit [*.net *.split]
glines has quit [*.net *.split]
johs has quit [*.net *.split]
typetetris has quit [*.net *.split]
rotaerk has quit [*.net *.split]
trebuh has quit [*.net *.split]
marcinkuzminski has quit [*.net *.split]
heatm1s3r has quit [*.net *.split]
angerman has quit [*.net *.split]
georgew has quit [*.net *.split]
elvishjerricco has quit [*.net *.split]
Kim has quit [*.net *.split]
Wizek has quit [*.net *.split]
vdemeester has quit [*.net *.split]
alp has quit [*.net *.split]
newhoggy has quit [*.net *.split]
kitemikaze_ has quit [*.net *.split]
larsvm has quit [*.net *.split]
avn has quit [*.net *.split]
fyuuri has quit [*.net *.split]
TheAppleMan has quit [*.net *.split]
s4sha has quit [*.net *.split]
Notkea has joined #nixos
DigitalKiwi has quit [Ping timeout: 246 seconds]
rotaerk has joined #nixos
silver_hook has joined #nixos
zopsi has joined #nixos
mconstant has quit [Ping timeout: 272 seconds]
ryantm has joined #nixos
glines has joined #nixos
orivej has joined #nixos
hellrazor has quit [Ping timeout: 240 seconds]
hellrazor has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #45912 → [ WIP] dhcpcd: 6.11.5 -> 7.0.8 → https://git.io/fAlku
<{^_^}> [nixpkgs] @xeji closed pull request #37173 → dhcpcd: 6.11.5 -> 7.0.1 → https://git.io/vxm3u
<p_l> heh, regarding running ruby-mine in nix-shell - it gets confused with things like running commands in terminal
<manveru> yeah, the panic was because i had the wrong uuid for my disk set
<manveru> would've been nice to get some indication of that :)
kenshinC1 has joined #nixos
logzet has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45906 → krita: refactor to fix build on aarch64 → https://git.io/fAWhe
<{^_^}> [nixpkgs] @xeji pushed commit from @Thra11 to master « krita: refactor to fix build on aarch64 (#45906) »: https://git.io/fAlkx
<{^_^}> [nixpkgs] @xeji merged pull request #41801 → iproute: copy files in /etc → https://git.io/vhaLY
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to staging « alternative for iproute module (#41801) »: https://git.io/fAlII
periklis has quit [Ping timeout: 240 seconds]
<Myrl-saki> Holy crap. Isn't Dijkstra's pathfinding very easy to implement in Haskell?
<Myrl-saki> Oh wait, kinda, but not really, due to the `Ord` instance of Map.
<Myrl-saki> Oh, and wrong channel, Whoops!
fragamus has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2237 → manual: distributed-builds: Mention - as default → https://git.io/vhMPt
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fAlIy
fragamus has quit [Client Quit]
teto has joined #nixos
<hodapp> https://nixos.org/nixpkgs/manual/#idm140737317814928 is this required in order to be able to refer to (for instance) .dev attributes of a package?
revtintin has quit [Quit: WeeChat 1.9.1]
<Dezgeg> it is required for creating such packages but not to depend on such packages
<hodapp> what do you mean?
<Dezgeg> if you are writing a package foo that will depend on say, openssl (which uses multiple outputs), you don't need to make foo itself multiple-output
<hodapp> oh, I see what you mean
ixxie has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « gnome3.geary: 0.12.3 → 0.12.4 »: https://git.io/fAlL2
DigitalKiwi has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2309 → add manual entries for disallowedRequisites and disallowedReferences → https://git.io/fNEF0
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fAlLi
<gchristensen> yay!
periklis has joined #nixos
<{^_^}> [nixpkgs] @wizeman opened pull request #45913 → pianobar: 2016.06.02 -> 2018.06.22 → https://git.io/fAlLy
periklis has quit [Ping timeout: 240 seconds]
teej has joined #nixos
tv has joined #nixos
<teej> When I typed `nix-env -qsPc --description`, the one of the entries in the description column did not line up properly.
tv has quit [Client Quit]
<teej> I will consider this a bug.
<teej> That entry was for `nodejs-8.11.4`.
Fare has joined #nixos
<p_l> okay, I'm stuck. I'm trying to get rubymine to somehow see things as they are inside a nix-shell environment, and failing to do so. In this case, RubyMine is installed inside the environment and started in it
tenten8401 has joined #nixos
<tenten8401> hey, so I recently got an RX 580 and I was trying to use it with NixOS, but it seems like my OpenGL version is stuck at 2.1 and none of my games launch... would anyone have any suggestions on what to do to fix this?
tv has joined #nixos
<tenten8401> I've tried services.xserver.videoDrivers = [ "amdgpu" ]; hardware.opengl.enable = true; hardware.opengl.driSupport = true; and hardware.opengl.driSupport32Bit = true; none of which seem to be making any difference
johanot has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to master « nixos-generate-config: fix perl quoting after cb1ca42 »: https://git.io/fAltT
tenten8401 has quit [Quit: Konversation terminated!]
bachp has quit [Remote host closed the connection]
Purple-mx has quit [Remote host closed the connection]
tokudan[m] has quit [Remote host closed the connection]
schmittlauch[m] has quit [Read error: Connection reset by peer]
florianjacob has quit [Write error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
timclassic has quit [Remote host closed the connection]
koschei[m] has quit [Remote host closed the connection]
simbergm has quit [Remote host closed the connection]
ejpcmac has quit [Read error: Connection reset by peer]
bennofs[m] has quit [Read error: Connection reset by peer]
roberth has quit [Read error: Connection reset by peer]
fgaz has quit [Remote host closed the connection]
MarkOtaris has quit [Remote host closed the connection]
Ralith has quit [Read error: Connection reset by peer]
kisik21 has quit [Ping timeout: 252 seconds]
<infinisil> What's the difference between nix-deploy and nixos-rebuild --target-host?
<gchristensen> you can get nix-deploy without nixos
<infinisil> Hmm I see, I'll use nixos-rebuild thin
<infinisil> then*
<infinisil> Or try at least, experimenting with switching from Nixops
SitiSchu has joined #nixos
ckauhaus|away is now known as ckauhaus
<{^_^}> [nixpkgs] @grahamc opened pull request #45914 → Section ids → https://git.io/fAltn
<{^_^}> [nix] @edolstra merged pull request #2168 → manual: document why ~/.netrc doesn't work → https://git.io/vppJ6
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fAltc
<gchristensen> yay!
dhess has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « services.xserver.windowManager.session: handle duplicate names (#37690) »: https://git.io/fAltz
<{^_^}> [nixpkgs] @xeji merged pull request #37690 → nixos/xserver.windowManager.session: handle duplicate names → https://git.io/vx8yf
<dhess> Anyone here running a Hydra on an EC2 t2 or t3 instance?
<ixxie> infinisil: doesn't nix-deploy also support multiple targets?
<vcunat> hydra.nixos.org uses some Amazon spot instances, I think, but I don't really know anything about that...
<{^_^}> [nixpkgs] @xeji pushed to master « nixos-generate-config.pl: remove executable bit »: https://git.io/fAlto
<dhess> vcunat: yeah I believe that's for dynamically provisioning remote builders, which is cool and I plan to use that. What I mean here is running the actual Hydra service on a t2 or t3.
periklis has joined #nixos
<dhess> I'm wondering whether it's burstable enough for one of those or if it would just chew up too much CPU
<dhess> obviously this depends on the number of projects etc. Just curious if anyone is actually doing it.
<gchristensen> sure I did it
<gchristensen> its fine
<gchristensen> as long as you're not building nixpkgs a lot
<dhess> gchristensen: wow cool! Which type did you use?
Lisanna has quit [Quit: Lisanna]
<gchristensen> I forget. it was pretty cehap.
<dhess> I was looking at the t3.medium
<dhess> I'm a little worried about the 4GB RAM on that one
<{^_^}> [nixpkgs] @xeji merged pull request #45913 → pianobar: 2016.06.02 -> 2018.06.22 → https://git.io/fAlLy
<{^_^}> [nixpkgs] @xeji pushed commit from @wizeman to master « pianobar: 2016.06.02 -> 2018.06.22 (#45913) »: https://git.io/fAltX
alp has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #45888 → qt-3: Make `configureFlags` a list → https://git.io/fAW0Z
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fAltH
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @grahamc merged pull request #45914 → Section ids → https://git.io/fAltn
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to master: https://git.io/fAlt5
<infinisil> Now here's something I don't know (I'll test it though): Can the type of an option depend on an options value without infinite recursion?
lsyoyom has quit [Ping timeout: 244 seconds]
<{^_^}> [nix] @grahamc closed pull request #1711 → Show an example default.nix that calls hello.nix → https://git.io/vbYad
<infinisil> Pretty sure it can actually
johanot has quit [Quit: Lost terminal]
philipp[m] has joined #nixos
drakonis__ has quit [Remote host closed the connection]
<siers> gchristensen, earlier were you replying to me when you said something about fetchgit?
<siers> or did I misunderstand that
v0latil3 has quit [Ping timeout: 244 seconds]
rfold has joined #nixos
<pie__> if i want to give a shell.nix file a shebang then do i use #! nix-shell -i nix-shell ?
aarvar has joined #nixos
v0latil3 has joined #nixos
<vcunat> pie__: why so complex?
<pie__> because I dont know better? is there an easier way to make it so i can just do ./shell.nix ?
<vcunat> I'd use just #!nix-shell
koschei[m] has joined #nixos
<pie__> ok
<pie__> thanks
<vcunat> that should invoke nix-shell $file
<vcunat> (which is normal syntax)
<vcunat> adding parameters to such a ./shell.nix might not work well (I'm not sure, though)
roberth has joined #nixos
bachp has joined #nixos
timclassic has joined #nixos
thefloweringash has joined #nixos
MarkOtaris has joined #nixos
florianjacob has joined #nixos
tokudan[m] has joined #nixos
bennofs[m] has joined #nixos
Ralith has joined #nixos
schmittlauch[m] has joined #nixos
fgaz has joined #nixos
simbergm has joined #nixos
ejpcmac has joined #nixos
Purple-mx has joined #nixos
<{^_^}> [nixpkgs] @ckauhaus opened pull request #45916 → poppler 0.61: patch against CVE-2018-13988 → https://git.io/fAlqV
<teej> I receive error messages: `error: out of memory` for `nix-env -i go`. What can I do to make it work?
<teej> The same thing happens for `nix-env -i mono`.
<clever> teej: what about nix-env -iA nixos.go
<symphorien> ,-A teej
<{^_^}> teej: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<teej> For `nix-env -iA nixos.go` I receive `error: attribute 'nixos' in selection path 'nixos.go' not found`,
<symphorien> replace nixos by nixpkgs
<symphorien> are you on nixos or do you use nix on something else ?
<teej> Oh I can use nixpkgs.
<symphorien> for some legacy reason, nixpkgs is called nixos on nixos
<symphorien> so nixos users will mislead you :)
<teej> I'm using Nix on a Linux environment.
<vcunat> the attributes are call the way how you call your channels
<vcunat> *called
<teej> So even when using `nix-env -iA nixpkgs.go` I received `error: out of memory`.
<vcunat> well, that's weird, unless you do have very little memory :-)
<clever> teej: what does it print before that, and how much ram do you have?
baimafeima has joined #nixos
<witchof0x20> How would I go about adding additional vim plugins? I know there's nixpkgs/pkgs/misc/vim-plugins/vim-plugin-names and pkgs/misc/vim-plugins/default.nix
<witchof0x20> Are the derivations in pkgs/misc/vim-plugins/default.nix auto-generated or hand-written?
<teej> So before reaching `error: out of memory`, it says... `installing 'go-1.11' `these paths will be fetched (191.28 MiB download, 939.96 MiB unpacked): /nix/store/dana4hagc62f8ylf57rci90d5frgzigk-go-1.11` `copying path '/nix/store/dana4hagc62f8ylf57rci90d5frgzigk-go-1.11' from 'https://cache.nixos.org' ...`.
kisik21 has joined #nixos
<clever> teej: nix-channel --update ; nix-env -iA nixpkgs.nix ; nix-env -iA nixpkgs.go
<clever> teej: try the above 3 commands
<teej> I have allocated 2048 MiB of memory.
ryanofsky has joined #nixos
<clever> teej: older versions of nix try to keep the entire NAR as a std::string in ram, and may have 2 or 3 copies, and the NAR for go is 939mb...
<teej> So it had nix-2.0.4 installed...
<vcunat> witchof0x20: there's TL;DR in pkgs/misc/vim-plugins/default.nix
<clever> teej: you may simply need more ram, until the constant-memory stuff in nix is fully finished
<teej> So the command uses more than 1.7 GiB of memory?
<vcunat> that would surprise me
<vcunat> but it might be possible
<symphorien> I have just run the command on my system: Maximum resident set size (kbytes): 917424
<symphorien> but this does not account for what the daemon uses
baimafeima has quit [Quit: Leaving]
<clever> symphorien: run it as root, and it wont use the daemon
<symphorien> right
<symphorien> more or less the same
ambro718 has quit [Quit: Konversation terminated!]
<clever> symphorien: if its already in your /nix/store it wont use any ram downloading
<clever> [root@system76:~]# nix-store --delete /nix/store/dana4hagc62f8ylf57rci90d5frgzigk-go-1.11
<clever> [root@system76:~]# command time -v nix-store -r /nix/store/dana4hagc62f8ylf57rci90d5frgzigk-go-1.11
<clever> these paths will be fetched (191.28 MiB download, 939.96 MiB unpacked):
<symphorien> hum on 18.03 these paths will be fetched (59.10 MiB download, 317.19 MiB unpacked):
<symphorien> go is much slimmer
marcinkuzminski has joined #nixos
<JonReed> Why does `a = { b.c.d = "someValue"}; with a.b.c; d` works (outputs "someValue"), but `a = import <nixpxkgs> {}; with pkgs.xdotool; xdotool` doesn't (says `undefined variable xdotool`)?
<clever> Maximum resident set size (kbytes): 268472
<clever> hmmm, only 268mb usage
<JonReed> I tried it both in `nix repl` and with nix-eval (by running `nix eval -f ./test.nix ""` where those statements were)
udono has quit [Ping timeout: 252 seconds]
<vcunat> JonReed: you don't define pkgs
<symphorien> JonReed: you want a = let pkgs = import <nixpkgs> {}; pkgs.xdotool;
<clever> JonReed: `with pkgs.xdotool; xdotool` tries to do `pkgs.xdotool.xdotool`
<symphorien> I forgot a `in`
<JonReed> Can I use a with statement to make `xdotool` visible for the next statement so tha I don't have to use `pkgs.xdotool` there?
<joepie91> teej: relevant thread, https://github.com/NixOS/nix/issues/1681
<{^_^}> nix#1681 (by ledettwy, 41 weeks ago, open): nix copy uses too much memory
<joepie91> cc clever
<JonReed> I know I can do `let xdotool = pkgs.xdotol; in ` but I don't get why with statement doesn't work
<clever> JonReed: let xdotool = pkgs.xdotool; in ...
<clever> JonReed: or just `with pkgs;`
<vcunat> :+
<vcunat> +1
<JonReed> But why `with pkgs.xdotool` doesn't do the same thing as `with a.b` where I define my a and b myself?
<clever> JonReed: your defining a.b.c.d = foo and then doing a with a.b.c
<clever> so the d becomes a variable you can refer to
<{^_^}> [nixpkgs] @grahamc opened pull request #45917 → Nixos docs: section ids → https://git.io/fAlmB
<JonReed> My brain still can't absorb it
<JonReed> `with a; b` still works
<JonReed> even when `b` is a set
<teej> joepie91: Thanks.
<clever> yeah, thats identical to a.b
<JonReed> `with a.b; c` still works
<clever> `with pkgs.xdotool; xdotool` is identical to `pkgs.xdotool.xdotool`, which doesnt exist
<infinisil> (Not *always* identical though)
<clever> yeah
<clever> if that doesnt exist, it tries other locations
<JonReed> So `pkgs` is treated specially?
<clever> no
<clever> try `with a.b; b`
<vcunat> also beware that explicitly defined attributes have precedence over with-introduced ones
<JonReed> Omg, I'm dumb
<JonReed> haha, sry guys. I get it now.
johanot has joined #nixos
johanot has quit [Client Quit]
kisik21 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #45917 → Nixos docs: section ids → https://git.io/fAlmB
<{^_^}> [nixpkgs] @grahamc pushed 5 commits to master: https://git.io/fAlYv
<gchristensen> ^ no more "idm" links
Fare has quit [Ping timeout: 250 seconds]
<vcunat> good :-)
<{^_^}> [nix] @edolstra merged pull request #2388 → Document multi-user installation, and add release notes about it not being the default on 2.1 → https://git.io/fACAq
<{^_^}> [nix] @edolstra pushed 6 commits to master: https://git.io/fAlYs
<sphalerite> gchristensen++
<{^_^}> gchristensen's karma got increased to 25
<vcunat> :-)
yosemitesam has joined #nixos
vcunat has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @jtojnar pushed to master « gnome3.gnome-font-viewer: 3.28.0 → 3.30.0 »: https://git.io/fAlYo
<yosemitesam> Is there a way to configure nix to clone a git repo and copy the whole content to some place in the filesystem? I know I can do a simple fetchgit, but how can I then copy the whole repo somewhere?
<clever> yosemitesam: why do you need the repo copied somewhere?
<yosemitesam> I want to keep a git repo with all my configurations and have it lie in my home directory. In the nix configuration I then want to create links to these files. This way I have the git repo on every machine and can simply update a file there and have the changes be live. If the change is good, I can git commit&push to get it on my other machines...
<{^_^}> [nixpkgs] @dtzWill opened pull request #45918 → Revert "psmisc: 23.1 -> 23.2 (#45169)" → https://git.io/fAlYM
<yosemitesam> Or would you recommend another approach?
<clever> yosemitesam: i would just `git clone` it when doing the initial install
Fare has joined #nixos
<yosemitesam> hm okay thanks
das_j has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « gnome3.tracker-miners: 2.1.1 → 2.1.3 »: https://git.io/fAlYd
ckauhaus has quit [Quit: WeeChat 2.0]
<witchof0x20> When adding a new plugin, I get https://pastebin.com/raw/QTgvPMZG
<witchof0x20> Does the plugin need to be in vim-pi first?
ixxie has quit [Ping timeout: 245 seconds]
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45918 → Revert "psmisc: 23.1 -> 23.2 (#45169)" → https://git.io/fAlYM
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « Revert "psmisc: 23.1 -> 23.2 (#45169)" (#45918) »: https://git.io/fAlOL
buckley310 has quit [Ping timeout: 276 seconds]
halfbit has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @xeji merged pull request #45805 → powerdns: 4.1.3 -> 4.1.4 → https://git.io/fAcVZ
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « powerdns: 4.1.3 -> 4.1.4 (#45805) »: https://git.io/fAlOr
<JonReed> witchof0x20: Do you use `vim_customizable`? Like here: https://gist.github.com/mbbx6spp/6db422746c3c4f161f55#file-config-nix
bavramor has joined #nixos
<{^_^}> [nixpkgs] @michaelpj opened pull request #45919 → nixos-rebuild: use `nix build` and `nix copy` → https://git.io/fAlO1
orivej has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
periklis has quit [Ping timeout: 240 seconds]
<JonReed> witchof0x20: Anyway, if you do, then you can add custom plugins from git repos like so: https://pastebin.com/Q166umZ3
<{^_^}> [nix] @edolstra pushed 16 commits to 2.1-maintenance: https://git.io/fAlOQ
<infinisil> Aw yeah, I modified NixOS such that you can evaluate a NixOS configuration as a submodule
<clever> neat
<infinisil> This should allow me to have a NixOps like configuration, without the O(n^2) performance in number of machines
<clever> infinisil: i once made a nixops deployment with 10 machines, each having 10 nixos containers
<clever> thats 110 nixos evals...
<{^_^}> [nixpkgs] @xeji merged pull request #45821 → libircclient: 1.9 -> 1.10 → https://git.io/fAcHJ
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libircclient: 1.9 -> 1.10 (#45821) »: https://git.io/fAlON
das_j has quit [Quit: WeeChat 2.1]
<infinisil> clever: that will have taken a while!
<{^_^}> [nixpkgs] @michaelpj closed pull request #44866 → plasma/xfce/enlightenment: improve detection of application mime types for apps that use GIO (firefox) → https://git.io/fNQdZ
bavramor has quit [Remote host closed the connection]
<infinisil> clever: wait why not 100v
<infinisil> ?*
<infinisil> Oh
<infinisil> Right
<infinisil> I was thinking of 10 machines each being dependent on every other machine, which would've been 100 evals
<clever> infinisil: another factor ive found nixops is seriously lacking in, having options at the deployment level
<{^_^}> [nixpkgs] @xeji merged pull request #44074 → Add qcomicbook. → https://git.io/fNRTQ
<{^_^}> [nixpkgs] @xeji pushed commit from @greydot to master « qcomicbook: init at 0.9.1. (#44074) »: https://git.io/fAl3L
<clever> for example, i want to define options in one place, config in another, then based on the config, define config for machines
<witchof0x20> JonReed: thanks! I think i'm using whatever home-manager uses, but i've had vim-configurable in the past, and this looks fairly simple
<gchristensen> yay so many Nix PRs merged today
<gchristensen> niksnut++
<{^_^}> niksnut's karma got increased to 2
<shreyansh_k> Hi guys, I'm trying to install kdeconnect and I added it into the systemPackages variable but I can't find the icon in the launcher to launch it.
<{^_^}> [nixpkgs] @michaelpj opened pull request #45920 → freedesktop modules: disable by default → https://git.io/fAl3G
<shreyansh_k> I'm using kde plasma
<shreyansh_k> I've heard kde applications have to be installed using some wrapper code but I'm unable to find out how to go about it.
elvishjerricco has joined #nixos
<shreyansh_k> Any help would be appreciated. Thank you.
Thra11 has quit [Ping timeout: 246 seconds]
<infinisil> clever: pretty sure what I got here can do that
<infinisil> It even allows different machines to use different nixpkgs versions!
<infinisil> Which is another major negative point of nixops
<clever> infinisil: nice
<clever> infinisil: one thought on what you could now do, mystuff.loadbalancer.backends = 5;
<clever> infinisil: and then spin up 5 backends, for a single loadbalancer, a total of 6 machines
<clever> currently, nixops has no way for config in 1 file to cause another file to create machines
<infinisil> clever: you could do it on a non-module system level
<infinisil> But yeah, it's much more flexible when it's via module system
<clever> yep
<elvishjerricco> infinisil: Can you set `nixpkgs.pkgs` in a nixos module to get each machine using a different nixops?
<clever> elvishjerricco: part of the problem, is that that option only effects the pkgs tree, not the nixos tree
<infinisil> elvishjerricco: Not within the nixos module, but rather on a level higher up
<clever> elvishjerricco: it is the nixos modules that are responsible for reading the config and obeying nixpkgs.pkgs, and then its too late to change the nixos modules
oida has quit [Ping timeout: 250 seconds]
<infinisil> Yeah, so it's these "nixops level modules" that can then allow you to set (what I have now): { machines.foo.nixpkgs = /path/to/nixpkgs; }
<infinisil> While the nixos config for foo would be in { machines.foo.config = { pkgs, ... }: { services.xserver.enable = true; }; }
Mateon3 has joined #nixos
oida has joined #nixos
<elvishjerricco> Ah, yea ok
<elvishjerricco> Nixops has a lot of problems. I haven't really been thrilled with it
<infinisil> elvishjerricco: Are there any others than the ones we mentioned you ran into?
<elvishjerricco> infinisil: Probably nothing that's not in the issue tracker.
<infinisil> Was hoping for something more specific :P
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
<elvishjerricco> infinisil: The duplicated eval, the phases having an effect on when certain things can be used, the state not being encrypt-able, hard coded paths in the state file, etc..
<elvishjerricco> My pettiest issue with it is that it doesn't use the Nix 2.0 one-line output :P
<shreyansh_k> Hi, anyone uses kde5 here?
<infinisil> elvishjerricco: What's the phases thing exactly?
<shreyansh_k> newbie here
<infinisil> ,ask shreyansh_k
<{^_^}> shreyansh_k: Just ask your question. It's the best way to know if anybody can help.
<shreyansh_k> Cannot edit network configuration from the desktop... "Could not find module 'kcm_networkmanagement.desktop'. See kcmshell5 --list for the full list of modules."
<elvishjerricco> For instance, SSH keypairs can't be deployed to deployment.keys
<elvishjerricco> er
<elvishjerricco> The ones NixOps can generate
<elvishjerricco> Because those things are phase-incompatible
<shreyansh_k> This error shows up in journalctl when I click on the "+" button on the "networks" icon on the task bar.
<shreyansh_k> What am I missing?
<{^_^}> nixops#959 (by rehno-lindeque, 14 weeks ago, open): resources.sshKeyPairs.<name>.privateKey empty in deployment
<elvishjerricco> Basically, something defined in phase 1 can't be used in phase 1. Really it needs to be some sort of monadic thing, but I dunno how to do that without rewriting in C++ so that we can create "impure" thunks.
logzet has quit [Ping timeout: 240 seconds]
<elvishjerricco> I'd probably prefer a model where Nix expressions are used to generate scripts that perform deployment depending on a state file.
<clever> elvishjerricco: one min
<clever> elvishjerricco: all resource implementations in nixops have a .create_after function, that controls the order things are created in
<clever> and when a security group depends on an elastic ip, it is using a symbolic name that the nix generated at eval time
<clever> and in theory, you can have more complex dependencies, and and the python can detect the deps and create them in the right order
<clever> but you may need to use symbolic names, and have the python fill the gaps in after creating the resource
baimafeima has joined #nixos
emily__ has joined #nixos
emily__ has quit [Client Quit]
emily__ has joined #nixos
emily__ has quit [Client Quit]
simukis has quit [Quit: simukis]
emily__ has joined #nixos
timj has joined #nixos
emily__ has quit [Client Quit]
theunknownxy has quit [Quit: theunknownxy]
timj has left #nixos [#nixos]
yosemitesam has quit []
emily__ has joined #nixos
emily__ has quit [Client Quit]
emily__ has joined #nixos
emily__ has quit [Client Quit]
emily__ has joined #nixos
kenshinC1 has quit [Ping timeout: 246 seconds]
das_j has joined #nixos
teej has quit [Quit: Connection closed for inactivity]
lord| has quit [Quit: WeeChat 2.2]
emily is now known as emily-oldirssi
emily__ is now known as emily
rfold has quit [Ping timeout: 246 seconds]
emily-oldirssi has quit [Quit: leaving]
lord| has joined #nixos
__monty__ has quit [Quit: leaving]
lord| has quit [Ping timeout: 244 seconds]
lord| has joined #nixos
lord| has quit [Ping timeout: 272 seconds]
lord| has joined #nixos
<{^_^}> [nix] @cleverca22 opened pull request #2392 → Improve stats → https://git.io/fAlsh
<das_j> How can I check the type of a variable?
<clever> > builtins.typeOf "foo"
<{^_^}> "string"
<das_j> clever, thanks
<infinisil> Darn, I was a bit too early with my joy on the nixos-as-a-submodule thing
<infinisil> Because imports don't work with submodules, and I've been bashing my head against the module system for the past hour to get it working, but no success so far
<infinisil> I mean it does somewhat work, it's just a bit ugly
<infinisil> Too ugly
baimafeima has quit [Quit: Leaving]
<clever> infinisil: the requires flag in nixops is also not well known, and ive seen things get pretty messy without it
Ariakenom has quit [Ping timeout: 272 seconds]
<infinisil> clever: What does that do?
<clever> infinisil: mostly the same as imports, but without the fixpoint
<infinisil> clever: Ah, so that's about the same as just specifying multiple nixops files?
<clever> infinisil: yeah
<clever> but you can make a tree, and manage that list in files, and not need to re-run `nixops modify` every time you pull
<infinisil> Yeah
puffnfresh has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
dhess has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<clever> infinisil: and in the example i linked, there is some rather complex haskell code, that decides what goes into `nixops modify` based on several yaml files
<clever> infinisil: but, i know that if the -staging file is in, i must also have the bucket storage one
shabius has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @markuskowa opened pull request #45921 → Cleanup homepage links → https://git.io/fAlZv
Fare has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/nginx: fix type of sslTrustedCertificate option »: https://git.io/fAlZs
<{^_^}> [nixpkgs] @luigy opened pull request #45922 → androidndk: fix eval → https://git.io/fAlZC
<infinisil> Goddamnit
<infinisil> submodules that have an option named "config" only don't work with imports..
<infinisil> I know why, but this sucks
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<infinisil> I'll try to make it work though
<das_j> How do I make nix not render newlines in strings? I have "mystring myotherstring" and I want both to be separated in the nix file but not in the resulting string
<clever> das_j: [ "foo" "bar" ] ?
<clever> if the newline is not within the quotes, nix basically ignores it
<das_j> clever: But that's not a single string
<clever> derivations will join arrays into strings automatically
<das_j> oohh
<clever> there are also functions to join arrays with a separator
<clever> buildInputs is an example of an array turning into a space-separated string
<das_j> I'll do that, thanks!
<das_j> concatStringsSep is what I usually use
<clever> yeah, thats one
<das_j> But I thought there was a way that is built into the language
slack1256 has joined #nixos