takle has joined #nixos
markus1199 has joined #nixos
hellrazor has joined #nixos
takle_ has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
sitwon has quit [(Write error: Broken pipe)]
keb has quit [(Write error: Broken pipe)]
joehh has quit [(Ping timeout: 260 seconds)]
pie_ has quit [(Remote host closed the connection)]
<mellowmaroon> That's what I thought as well, but I tried installing that, with no success
mellowmaroon has quit [(Remote host closed the connection)]
viric has quit [(Remote host closed the connection)]
markus1189 has quit [(Remote host closed the connection)]
mellowmaroon_ has quit [(Quit: Leaving)]
hellrazo1 has quit [(Ping timeout: 260 seconds)]
sitwon has joined #nixos
takle_ has quit [(Ping timeout: 240 seconds)]
dalaing_ has quit [(Ping timeout: 260 seconds)]
ris has quit [(Ping timeout: 260 seconds)]
phinxy has quit [(Read error: Connection reset by peer)]
deba5e12 has quit [(Quit: Lost terminal)]
Sonarpulse has quit [(Ping timeout: 246 seconds)]
_ris has quit [(Ping timeout: 272 seconds)]
takle has joined #nixos
johnsonav has joined #nixos
takle has quit [(Ping timeout: 272 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
hellrazor has quit [(Ping timeout: 272 seconds)]
vaibhavsagar has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
agjacome has quit [(Quit: leaving)]
keb_ has quit [(Quit: leaving)]
takle has quit [(Ping timeout: 255 seconds)]
sellout- has quit [(Quit: Leaving.)]
takle has joined #nixos
<dhess`> Dezgeg: around?
ertes has quit [(Ping timeout: 272 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
ertes has joined #nixos
bennofs has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
vaibhavsagar has quit [(Ping timeout: 268 seconds)]
takle has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
roconnor has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 255 seconds)]
vaibhavsagar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #26384: fix #26379 (master...issue-26379) https://git.io/vHag1
NixOS_GitHub has left #nixos []
lambdamu_ has joined #nixos
takle has joined #nixos
mudri has quit [(Ping timeout: 255 seconds)]
lambdamu has quit [(Ping timeout: 272 seconds)]
<dhess`> Say I have a package that builds some firmware for the kernel. How do I install it so that the kernel will find it?
Mateon3 has joined #nixos
<dhess`> It appears there's a symlink in /run/current-system/firmware, but how do I find where it points in a derivation?
Mateon1 has quit [(Ping timeout: 255 seconds)]
Mateon3 is now known as Mateon1
<dhess`> hmm looks like I need to define hardware.firmware in the config
takle has quit [(Ping timeout: 272 seconds)]
<dhess`> and it'll get copied?
takle has joined #nixos
<dhess`> ok seems like pkgs/os-specific/linux/firmware/broadcom-bt-firmware is an example to follow.
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
pseudo-sue has joined #nixos
s33se has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
sellout- has joined #nixos
s33se_ has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has joined #nixos
takle has joined #nixos
acarrico has quit [(Quit: Leaving.)]
pseudo-sue has quit [(Ping timeout: 260 seconds)]
sellout-1 has joined #nixos
mbrgm has quit [(Ping timeout: 260 seconds)]
sellout- has quit [(Ping timeout: 272 seconds)]
takle has quit [(Ping timeout: 255 seconds)]
derjohn_mob has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
nekroze has joined #nixos
takle has joined #nixos
acarrico has joined #nixos
<nekroze> I am using `services.kubernetes` with two machines, one a master, the other a node. If I run the kuberentes dashboard on the node machine and try to access the ui from the api it fails to get access to that port, but it works if I run the master as a node and shut down the node only machine. There seems to be something wrong with the inter node routing. Has anyone else experienced this kind of thing?
johnsonav has quit [(Remote host closed the connection)]
derjohn_mob has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
justbeingglad has joined #nixos
justbeingglad has left #nixos []
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
takle has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
roconnor has joined #nixos
takle has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
hexagoxel has joined #nixos
takle has joined #nixos
Sonarpulse has joined #nixos
Sonarpulse has quit [(Client Quit)]
Sonarpulse has joined #nixos
Rajsun has quit [(Quit: Leaving)]
<nekroze> \q
nekroze has quit [(Quit: leaving)]
takle has quit [(Ping timeout: 272 seconds)]
takle has joined #nixos
Sonarpulse has quit [(Changing host)]
Sonarpulse has joined #nixos
indi_ has joined #nixos
takle has quit [(Ping timeout: 272 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
jgertm has joined #nixos
LysergicDreams has quit [(Quit: leaving)]
roconnor has quit [(Quit: Konversation terminated!)]
takle has joined #nixos
takle_ has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
takle_ has quit [(Ping timeout: 260 seconds)]
<amosbird> hi, how can I pip install a addtional python module inside nix-shell?
<dash> amosbird: you wouldn't, you'd start a new nix-shell with that module
alx741_ has joined #nixos
<amosbird> dash: well, that module is not in nix-pkg
<amosbird> what should I do
pseudo-sue has joined #nixos
takle has joined #nixos
alx741 has quit [(Ping timeout: 260 seconds)]
<dash> amosbird: i use https://github.com/garbas/pypi2nix/ to build python environments
<amosbird> thanks
takle has quit [(Ping timeout: 260 seconds)]
pseudo-sue has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] danielfullmer opened pull request #26386: pythonPackages.systemd: 231 -> 233 (master...python-systemd-233) https://git.io/vHar1
NixOS_GitHub has left #nixos []
takle has joined #nixos
takle has quit [(Ping timeout: 272 seconds)]
simukis has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
riclima has joined #nixos
schoppenhauer has quit [(Ping timeout: 255 seconds)]
takle has quit [(Ping timeout: 255 seconds)]
nslqqq has quit [(Ping timeout: 240 seconds)]
schoppenhauer has joined #nixos
nil has quit [(Ping timeout: 272 seconds)]
nslqqq has joined #nixos
takle has joined #nixos
hellrazor has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
hellrazo1 has joined #nixos
riclima has quit [(Ping timeout: 246 seconds)]
hellrazor has quit [(Ping timeout: 268 seconds)]
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
vaibhavsagar has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #26388: Tools cleanup rote (master...tools-cleanup-rote) https://git.io/vHaKe
NixOS_GitHub has left #nixos []
uralbash has joined #nixos
uralbash has left #nixos []
Guest85437 has joined #nixos
drakonis has quit [(Read error: Connection reset by peer)]
Sonarpulse has quit [(Ping timeout: 272 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHa6n
<NixOS_GitHub> nixpkgs/master 2e08839 Jörg Thalheim: sysdig: fix unified cgroup handling
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vHa6l
<NixOS_GitHub> nixpkgs/master e6550cb Guillaume Maudoux: calibre: fix RPATH problems...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #26209: Fixup calibre RPATH stuff (master...calibre-fixup) https://git.io/vHCDH
NixOS_GitHub has left #nixos []
ertes has joined #nixos
pseudo-sue has joined #nixos
vaibhavsagar has joined #nixos
pseudo-sue has quit [(Ping timeout: 272 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] asppsa opened pull request #26390: emscripten: add binaryen support (master...emscripten-binaryen) https://git.io/vHais
NixOS_GitHub has left #nixos []
marsel has joined #nixos
nate_ has joined #nixos
<nate_> Hello! I am running nixos 17.01 and my configuration broke when i upgraded from an nvidia tesla m2050 to a gtx 1050 ti. With the tesla, I had blacklisted nouveau with
<nate_> boot.blacklistedKernelModules = ["nouveau"];
<nate_> but it no longer seems to work with the gtx card
<nate_> on boot the nvidia drivers don't run
<nate_> but i was able to enable them with:
<nate_> sudo modprobe nvidia sudo nvidia-smi -q | head`enter code here`
indi_ has quit [(Remote host closed the connection)]
<nate_> sudo modprobe nvidia; sudo nvidia-smi -q | head`enter code here`
indi_ has joined #nixos
<nate_> does anyone know how i can make the gtx card the default again?
indi_ has quit [(Ping timeout: 260 seconds)]
nate_ has quit [(Quit: Page closed)]
marsel has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 3 new commits to master: https://git.io/vHaPm
<NixOS_GitHub> nixpkgs/master 68eb2c2 Vincent Laporte: ocamlPackages.re2: mark broken on darwin
<NixOS_GitHub> nixpkgs/master e6b5a7e Vincent Laporte: gnome-backgrounds: build on all unices
<NixOS_GitHub> nixpkgs/master dd1471b Vincent Laporte: libvirt: fix build on darwin
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
acarrico has quit [(Ping timeout: 255 seconds)]
acarrico has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
Guest85437 has quit [(Quit: WeeChat 1.8)]
takle has joined #nixos
jgertm has quit [(Ping timeout: 268 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
Dezgeg- has joined #nixos
kriztw_ has joined #nixos
mpickering_ has joined #nixos
ryantm_ has joined #nixos
takle has joined #nixos
adulteratedjedi_ has joined #nixos
markus1189 has joined #nixos
luto__ has joined #nixos
lambdamu has joined #nixos
uralbash has joined #nixos
afics has joined #nixos
mbrgm has joined #nixos
hiratara has joined #nixos
jnovak has joined #nixos
Bane^ has joined #nixos
regnat[m] has joined #nixos
qrilka[m] has joined #nixos
Criena[m] has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
offlinehacker[m] has joined #nixos
mdash has joined #nixos
jyp[m] has joined #nixos
wak-work[m] has joined #nixos
dtz has joined #nixos
unlmtd has joined #nixos
bachp has joined #nixos
saintaquinas[m] has joined #nixos
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ss1h2a3tw opened pull request #26391: powerline: 2.5.2 -> 2.6 (master...powerline) https://git.io/vHa1Y
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
indi_ has joined #nixos
<unlmtd> whats the unstable-small channel?
takle has quit [(Ping timeout: 246 seconds)]
calvertvl has quit [(Quit: leaving)]
<clever> unlmtd: the -small channels only wait for testing, not for hydra to build everything
nschoe has joined #nixos
<clever> so nixos-unstable-small wont brick your machine, but you may have to rebuild half the packages
indi_ has quit [(Ping timeout: 255 seconds)]
<unlmtd> clever: thanks
takle has joined #nixos
indi_ has joined #nixos
<unlmtd> how's notos coming along?
<clever> havent done much with it yet, its mostly just an example for others now
<unlmtd> its my next project
<unlmtd> but im still quite busy :P
<clever> ah
<unlmtd> id like to merge nixos with alpine
<unlmtd> runit is cool but openrc is rock solid
<unlmtd> and porting musl should bring wider libc compatibility to nixpkgs
<unlmtd> so we can have nixbsd and smartnixos
<unlmtd> nixpfsense
takle has quit [(Ping timeout: 240 seconds)]
<unlmtd> nixwrt
<clever> heh
<clever> i do have nixos on my router, but its not light
<clever> its running hydra, lol
<unlmtd> thats awesome
<unlmtd> we under utilize our silicone
<clever> its a 2U server
<unlmtd> I think you showed me
<unlmtd> Im gonna get more of those qotom, aluminum chasis intels from china
<unlmtd> they make good nixos routers
<clever> that does look like a compact system
takle has joined #nixos
uralbash has left #nixos []
<unlmtd> I wish I could flash them with coreboot
indi_ has quit [(Remote host closed the connection)]
marsel has joined #nixos
pseudo-sue has joined #nixos
endformationage has quit [(Quit: WeeChat 1.7)]
hellrazor has joined #nixos
pseudo-sue has quit [(Ping timeout: 240 seconds)]
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner closed pull request #26390: emscripten: add binaryen support (master...emscripten-binaryen) https://git.io/vHais
NixOS_GitHub has left #nixos []
Raimondii has joined #nixos
hellrazo1 has quit [(Ping timeout: 255 seconds)]
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
takle has quit [(Remote host closed the connection)]
indi_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vHa9b
<NixOS_GitHub> nixpkgs/master 5b747cc Peter Hoeg: paperkey: 1.3 -> 1.4
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vHaHm
<NixOS_GitHub> nixpkgs/master 1890b1f Peter Hoeg: wp-cli: 1.1.0 -> 1.2.0
NixOS_GitHub has left #nixos []
pdobrogost has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
engblom has quit [(Remote host closed the connection)]
<jophish> I have a corrupted path, but nix isn't letting me delete it!
<jophish> even though it has no roots
ambro718 has joined #nixos
<clever> jophish: there are invisible roots, under /proc
<clever> jophish: what is the path?
mkoenig has quit [(Remote host closed the connection)]
nixnewb has quit [(Quit: Page closed)]
takle has joined #nixos
oida_ has joined #nixos
MP2E has quit [(Quit: sleep)]
oida has quit [(Ping timeout: 240 seconds)]
thc202 has joined #nixos
jensbin has joined #nixos
indi_ has quit [(Remote host closed the connection)]
<danbst> unlmtd: will nix*os inherit all the nixos bugs?
<danbst> unlmtd, clever: looks like there exist nixos-the-core and nixos-the-service-collection. Interesting, would it be great for all the nix*os to perform this split?
pbogdan has joined #nixos
<clever> danbst: there is an open issue about bringing the jobs attrset back, so you can describe generic services that dont depend on systemd
<jophish> clever: just some src
<jophish> I've deleted it
<clever> jophish: ah, an old nix-shell can possibly do that
<clever> as will sudo nix-store --delete
indi_ has joined #nixos
Itkovian has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
indi_ has quit [()]
davidak1 has joined #nixos
dgpratt has joined #nixos
davidak has quit [(Read error: Connection reset by peer)]
<jophish> clever: hmm, I have nix-store --verify running at the moment
<jophish> perhaps that was it
<jophish> this is on our hydra, so a nix-shell is unlikely!
davidak has joined #nixos
davidak1 has quit [(Ping timeout: 260 seconds)]
ThatDocsLady has joined #nixos
mudri has joined #nixos
<unlmtd> danbst: I think of nix as a system builder/orchestrator. there's no reason we couldnt use it, or a fork/derivative, to build *everything*
ThatDocsLady has quit [(Client Quit)]
<unlmtd> of course, some are worth it more than others. I wouldnt see much point in trying to build windows with it, but someone might have the time to waste.
<clever> jophish: ah, and hydra uses visible roots, so that shouldnt be to blame either
<unlmtd> I think someone uses nix to build iOS apps, so it should build android apps too, and then android itself
<unlmtd> I dont think a single nixpkgs repo is gonna work
<unlmtd> but it might be fun to try
davidak has quit [(Ping timeout: 255 seconds)]
davidak1 has joined #nixos
<clever> does sound fun
<unlmtd> there are already nixpkgs forks
ThatDocsLady has joined #nixos
<unlmtd> if I configure the gitDaemon.basePath, nix doesnt create the directories
<unlmtd> is that normal behavior?
<unlmtd> normal/wanted
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pie__ has quit [(Remote host closed the connection)]
pie__ has joined #nixos
pseudo-sue has joined #nixos
pseudo-sue has quit [(Ping timeout: 246 seconds)]
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
<jophish> It's a little annoying that hydra seems to have a bias towards alphabetically earlier names of machines
<mbrgm> is there a way to disable hydra email notifications?
<jophish> 'ed' and 'faye' are always busy, but 'jet' and 'spike' aren't
<jophish> I chose the wrong machine...
<jophish> clever: what was that command you had for checking for secret roots, grep -r just seems to hang in /proc
<clever> jophish: a lot of /proc files are special, you need to strace nix-store --query --roots, as root
<clever> jophish: strace with -s 5000 and then grep its output (beware, its on stderr) with "grep -C hash"
<clever> to see where its finding that root
<jophish> ah, nice
<clever> strace -s 5000 nix-store -q --roots /nix/store/something 2>&1 | grep -C5 --color <hash>
<clever> i think
<jophish> hmm, that's got some output
<jophish> trying to interpret it
<clever> you should see the open syscall being used on a /proc path, then a read() syscall that contains the hash
<jophish> hmm, I can't see open, jsut pread64
<clever> that sounds like sqlite
<jophish> ah, this path does have a referrer
<clever> ah, try the referrers hash in the above command then
<jophish> same sort of result, only appears in pread64
<clever> what about its referers?
<jophish> oh, loads of them
<jophish> referrers closure is what I want
<clever> yeah, not sure if that query exists
<clever> the --roots really needs to not hide those invisible roots
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vHaAK
<NixOS_GitHub> nixpkgs/master a0598f9 Peter Hoeg: tomb: clean up and use gnupg 2 instead of gnupg 1
NixOS_GitHub has left #nixos []
<jophish> clever: ah
<jophish> I should have been stracing --delete
<jophish> I think
<jophish> open("/nix/var/nix/temproots/21274
<jophish> perhaps
<jophish> strace -s 5000 nix-store --delete /nix/store/7za7cvxjnjpafn990qsni389aja846nv-gzzy55j6xwk1il30j915q5ap50cl46lg-comic 2>&1 | grep -C4 -f rs --color | grep open --color
<jophish> where 'rs' is a file containing the closure of roots
<clever> ah yeah
<clever> is process 21274 still alive?
<jophish> clever: there are 4 temproots, all of the processes are still alive
<jophish> three are nix-daemon, and one is nix-store
civodul has joined #nixos
<jophish> ah, two were from my --verify
<jophish> two are left, I suppose this'll go away when I next reboot
<jophish> I'll do that this evening
<jophish> Thanks for the useful advice clever!
<jophish> btw, I'm still hoping to put not-os on the FPGA soon
<clever> nice
<jophish> other work commitments have taken priority for the time being, but I should be able to look at this in July (assuming nothing else comes up)
<clever> jophish: if a temproot exists for a pid that does not, id call that a bug, and you should be able to safely rm -rf the temproot
Jackneilll has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
xificurC has joined #nixos
<jophish> Hmm, why is /nix/var/nix/gcroots/hydra on a read only FS?
<jophish> oh, could it be because I'm not hydra
<gleber_> Does the stdenv/generic/default-builder.sh perform automagical substitutions of shebang lines?
<clever> gleber_: its done by the patchSheBangs function, that runs during the fixup phase
<gleber_> fixup phase is after build, right? I want something like that before building
<clever> fixup is after install
<clever> but you can manualy run the patchSheBangs function on any directory
<xificurC> I have a default.nix file for a package that only requires stdenv. It starts with { stdenv } : and calls stdenv.mkDerivation. How can I "call" this from a toplevel default.nix that unites the packages into one? I tried as-table = ./as-table { inherit stdenv; }; but that errors out saying I'm trying to call a path as a function
<gleber_> clever: is it customary to do it manually in e.g. postUnpack?
<xificurC> but ./as-table has a default.nix that starts with { stdenv } :
<clever> gleber_: i would do it in preConfigure or postPatch
<clever> xificurC: callPackage ./as-table {};
<gleber_> clever: hm... actually in this case the binary references in shebang is built during buildPhase itself :/
<xificurC> clever: thanks :)
<clever> gleber_: is it being ran during buildPhase as well?
<gleber_> I believe so, but I need to double check
<gleber_> Unfortunately it takes a loooong itme :(
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26386: pythonPackages.systemd: 231 -> 233 (master...python-systemd-233) https://git.io/vHar1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #26393: pass: add plugins to support importing and updating (master...f/pass) https://git.io/vHapY
NixOS_GitHub has left #nixos []
mkoenig has joined #nixos
Guest63670 has joined #nixos
<neoo> hey guys, for full disclaimer, nixos noob here :) I want to bring into configuration a single unstable unfree package - i can set unfree for stable channel but can't get it to work for unstable. Anyone knows how to mark unfree = true for all channels or for a specific channel? https://paste.ofcode.org/Yw7Trt7i9Q2aLvJ9RicCns
Guest63670 has quit [(Client Quit)]
<clever> FRidh: he is already doing that, but its using a different config.nix
<clever> oh wait, and he is doing that in a weird way
<FRidh> ohh, I should finish reading the sentence:)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #26310: darwin-stdenv: remove python dependencies (staging...darwin-stdenv-no-sphinx) https://git.io/vHExG
NixOS_GitHub has left #nixos []
<clever> neoo: yeah, line 12 is the problem, you want to put this at the end of 6, { config.allowUnfree = true; }
<FRidh> sets an attribute instead of passing itin
vaibhavsagar has quit [(Ping timeout: 258 seconds)]
<clever> neoo: when you import nixpkgs like that, it reads the config.nix from $HOME, but you can force a custom config like i just showed
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vHahV
<NixOS_GitHub> nixpkgs/staging 7578940 Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
<LnL> FRidh: about the manpages
<LnL> do you know if there are other packages that build in multiple steps like that to avoid rebuilds?
<FRidh> LnL: no, I don't know of such cases but I recall considering doing something like that before.
<FRidh> e.g. with tests
<LnL> I'll see if building just the manpages works
<LnL> then I can add a separate drv set it to passthru.man
<neoo> clever, FRidh it works, awesome :)
<neoo> thank you :)
<neoo> clever, I remembered now that I read about passing in custom configs like that but totally forgot :)
orivej has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Client Quit)]
jensbin has quit [(Remote host closed the connection)]
jensbin has joined #nixos
schoppenhauer has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #26394: emby: 3.2.15.0 -> 3.2.19.0 (master...emby) https://git.io/vHajc
NixOS_GitHub has left #nixos []
dalaing_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #26395: sonarr: 2.0.0.4689 -> 2.0.0.4753 (master...sonarr) https://git.io/vHaj0
NixOS_GitHub has left #nixos []
schoppenhauer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fadenb opened pull request #26396: radarr: 0.2.0.654 -> 0.2.0.696 (master...radarr) https://git.io/vHajo
NixOS_GitHub has left #nixos []
<ij> http://sprunge.us/HJXi <-- I made a haskell package with cabal2nix --shell and my source requires git to compile in the version info. I added the git there myself, but it still can't find it.
dihuteno has joined #nixos
<dihuteno> if I need to toggle between two configuration files for a systemd service, what's the right way to handle that?
<dihuteno> commenting and uncommenting parts of my .nix files and rebuilding isn't really a solution
agjacome has joined #nixos
takle_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #26397: python.pkgs.django cleanup (master...django) https://git.io/vHVeV
NixOS_GitHub has left #nixos []
<clever> dihuteno: you can list extra modules in the imports section, and they have the identical syntax to configuration.nix
<clever> dihuteno: nixos will merge all of them together
takle has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHVeM
<NixOS_GitHub> nixpkgs/master 7600952 Tristan Helmich: emby: 3.2.15.0 -> 3.2.19.0
<NixOS_GitHub> nixpkgs/master bd762fa Frederik Rietdijk: Merge pull request #26394 from fadenb/emby...
NixOS_GitHub has left #nixos []
ixxie has joined #nixos
kezepema has joined #nixos
<dihuteno> clever: so just define the two configurations in separate files and switch between them by changing the import?
<pbogdan> ij: not 100% sure but I would try adding git to buildTools or buildDepends
darlan has joined #nixos
<clever> dihuteno: yeah
<kezepema> Hi, I'm on NixOs 17.03. Just installed it on an old netbook. I would like to close the lid but keep the machine working instead of suspending or poweroff. I know there is "HandleLidSwitch=ignore;" on some Linux distribution. How to include this setting in configuration.nix?
darlan has quit [(Client Quit)]
pseudo-sue has joined #nixos
<kezepema> Great thanks Samuel!
<dihuteno> clever: thanks i'll give it a go
pseudo-sue has quit [(Ping timeout: 246 seconds)]
<sphalerite> Is there a neat way to manage bashrc or zshrc per-user with nix?
<ij> pbogdan, Didn't help, though it seems like it did notice the buildDepends line.
<gchristensen> clever: why have I only heard about buildDepends recently?
jensbin has quit [(Quit: Leaving)]
<gchristensen> sphalerite: https://github.com/sheenobu/nix-home maybe
<clever> gchristensen: i'm guessing its a haskell thing
<gchristensen> ah
jensens has joined #nixos
arianvp2 has joined #nixos
Ivanych has quit [(Quit: Leaving.)]
cpennington has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
goibhniu has joined #nixos
goibhniu has quit [(Changing host)]
goibhniu has joined #nixos
Ivanych has joined #nixos
joehh has joined #nixos
dalaing_ has quit [(Remote host closed the connection)]
ilyaigpetrov has joined #nixos
mudri has joined #nixos
ertes has quit [(Ping timeout: 255 seconds)]
<sphalerite> gchristensen: I was hoping to use a similar approach to the other stuff I use, i.e. wrapping
<sphalerite> the issue being of course that the shell — even for a specific user — is basically a system-wide setting
ertes has joined #nixos
simukis has joined #nixos
<makefu> sphalerite: there is a merged PR which provides a way to install packages per-user. you can use a wrapped version of zsh/bash to acchieve what you are looking for
<sphalerite> makefu: but I want to be able to manage it as my user without needing to run anything as root
<sphalerite> that is, without touching the system config
<sphalerite> If that was all I wanted I could simply specify users.users.linus.shell as the wrapped one
<makefu> what is wrong with ~/.nixpkgs then?
<dihuteno> how do I override the part of the ssh package that actually generates the config file here: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/networking/ssh/sshd.nix#L313
<dihuteno> as in what goes inside the pkgs.sshd.override clause?
<clever> dihuteno: thats part of the nixos module, not the package, so it has to go into services.openssh
<dihuteno> clever: is there an example of how to override something similar?
mudri has quit [(Ping timeout: 246 seconds)]
jmaki is now known as jimki
<clever> dihuteno: what exactly are you trying to do?
orivej has joined #nixos
<dihuteno> I want to be able to override the way the config file is generated, let's say because what I want can't be achieved by setting extraConfig like you normally would
<clever> dihuteno: i think you can do services.openssh.extraConfig = lib.mkForce ''.....''; to do that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #26396: radarr: 0.2.0.654 -> 0.2.0.696 (master...radarr) https://git.io/vHajo
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vHVka
<NixOS_GitHub> nixpkgs/master e2bd407 Tristan Helmich: sonarr: 2.0.0.4689 -> 2.0.0.4753
<NixOS_GitHub> nixpkgs/master 870ad77 Joachim F: Merge pull request #26395 from fadenb/sonarr...
NixOS_GitHub has left #nixos []
<dihuteno> clever: that does exactly what I need it to do
<dihuteno> thanks
ToxicFrog has quit [(Quit: WeeChat 1.7.1)]
M1000teslas[m] has quit [(Quit: Bridged client killed)]
k2s has joined #nixos
takle has joined #nixos
simendsjo has joined #nixos
takle_ has quit [(Ping timeout: 255 seconds)]
<copumpkin> been getting a ton of dependency failed notifications from hydra
<copumpkin> did someone break master?
bfrog has joined #nixos
bfrog has quit [(Client Quit)]
mythmon- has quit [(Quit: Bridged client killed)]
<FRidh> copumpkin: or did hydra's mailing suddenly start working again :)
* copumpkin shrugs :)
mudri has joined #nixos
<LnL> I think master is fine
<LnL> but I didn't get any emails when master broke a couple of days ago
barcabuona has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
<clever> i got an email today about multi-mc failing due to a dep
kezepema has quit [(Quit: Page closed)]
pseudo-sue has joined #nixos
<sphalerite> makefu: ~/.nixpkgs has no influence on my shell
k2s has quit [(Ping timeout: 240 seconds)]
<makefu> you could
<gleber_> how to make "nix-build --run-env" spawn zsh instead of bash?
Rotaerk has quit [(Quit: Leaving)]
<sphalerite> gleber_: you should be using nix-shell, and you can use nix-shell --run zsh
<gleber_> sphalerite: I need nix-build --run-env to debug a failing build. Can I do the same with nix-shell?
<makefu> sphalerite: set shell to /home/<user>/.nix-profile/bin/<shell> though, not sure if this is feasible for your. maybe i also do not really understand what you are trying to achieve with locally managing the shell for each user without touching the global config
<sphalerite> gleber_: "The command nix-build --run-env has been renamed to nix-shell." in version 1.6 according to the nix manual
<gleber_> lol
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #26398: git: 2.13.0 -> 2.13.1 (master...git_2_13_1) https://git.io/vHVt2
NixOS_GitHub has left #nixos []
<sphalerite> it's basically the same thing as far as I understand
<sphalerite> you might be able to pass --run to nix-build --run-env too
<sphalerite> I'd never heard of run-env until you mentioned it here, and the only references to it in the nix manual are in the change log :p
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #26399: ammonite: 0.9.6 -> 0.9.9 (master...ammonite_0_9_9) https://git.io/vHVt6
NixOS_GitHub has left #nixos []
<sphalerite> makefu: reason why is for consistency with everything else
<makefu> then setting it globally would be the most consistent way, no?
<sphalerite> but yes, setting the shell to ~/.nix-profile/bin/xyz seems like a reasonable solution, thanks
<makefu> cool :)
<sphalerite> no, because I configure everything else using nix expressions I install in my user environment
<xificurC> if I installed something with `nix-env -iA attribute.path` how can I wipe it from the nix store completely? I want to force the build process
<sphalerite> xificurC: you can force the build process using nix-build --check without deleting hte existing copy
<sphalerite> xificurC: otherwise you'd have to remove all the profile generations that refer to the store path, then use nix-store --delete to remove the store path
<sphalerite> But if all you want to do is force the build process, use --check :)
<xificurC> sphalerite: is there a similar flag for nix-env? I am creating a channel and I want to force the equivalent of `nix-env -iA mychannel.package`
<sphalerite> yes, --check should work for nix-env too I think
<xificurC> sphalerite: unknown flag --check :(
<sphalerite> oh ok
<sphalerite> In that case I'd try to find where the downloaded copy of the channel lives and use nix-build on that
<sphalerite> nix-build path/to/stuff -A package --check
<clever> sphalerite: '<nixpkgs>' will resolve to the path of nixpkgs
<xificurC> I guess I didn't express myself clearly at the beginning
<xificurC> I already managed to "install" a package from my channel with `nix-env -iA ...`
<xificurC> now I added a binary cache and wanted to see if it works
<xificurC> if I rerun `nix-env -iA ...` that's a noop. So I cannot see if the binary cache is working
<sphalerite> clever: yeah, but xificurC is talking about making their own channel
<clever> xificurC: nix-store -r /nix/store/foo will work on any path in a binary cache
<makefu> you can remove it from your env (nix-env -e <pkg>) and remove it from the nix store
<clever> xificurC: try it on a path your cache has that you dont
<sphalerite> xificurC: nix-build /nix/var/nix/profiles/per-user/<username>/channels -A package
<sphalerite> I think
<sphalerite> + --check
<xificurC> now I got 3 answers and my head is about to explode :)
<makefu> xificurC: if you manage to get one thing working for you, add it to https://github.com/nixos-users/wiki/wiki/FAQ :)
<xificurC> sphalerite: yours says error opening file - no such file or directory
* sphalerite can't wait until nix 1.19/2.0 is properly out and in NixOS so that this stuff is more consistent
saintaquinas[m] has left #nixos ["Kicked by @appservice-irc:matrix.org"]
<jophish> How can I get hydra to more evenly distribute jobs on machines
<jophish> At the moment it seems to prefer alphabetically first machines
<domenkozar> jophish: I think you'll have to change the heuristic
<jophish> domenkozar: in dispatch.cc I think
<jophish> It doesn't seem to be taking account of the machine load
<domenkozar> in doDispatch
<domenkozar> jophish: does it have that information?
<xificurC> clever: I didn't exactly understand your explanation so I tried to remove it from the nix store manually which resulted in breaking the whole thing :)
<domenkozar> well remote builds did take load into account, iirc
ertes has quit [(Ping timeout: 240 seconds)]
<jophish> roundf(a.currentJobs / a.machine->speedFactor)
<jophish> I wonder why it rounds
<clever> xificurC: yeah, you must always use nix-store --delete to remove things from the store
<jophish> domenkozar: I think I'll insert a shuffle before that sort
cm2 has joined #nixos
<xificurC> no biggie, my store is pretty small. clever how can I wipe the whole store and start from scratch?
<domenkozar> jophish: sounds like you need a debug print before/after
<domenkozar> to tweak the algo
<domenkozar> before/after sorting*
<cm2> hi - i use nix on debian and mostly it works great.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 2 new commits to master: https://git.io/vHVmz
<NixOS_GitHub> nixpkgs/master b9fd51a Gabriel Ebner: binaryen: 32 -> 33
<NixOS_GitHub> nixpkgs/master 6971bdb Gabriel Ebner: emscripten, emscriptenfastcomp: 1.37.10 -> 1.37.13
NixOS_GitHub has left #nixos []
<jophish> domenkozar: the "load" in that file just seems to be the current jobs
<cm2> but on emacs the cursor theme of the "host" is not respected.
<cm2> so i end up with different cursors (ie. mouse pointers) when i hover over emacs
<domenkozar> jophish: well that should do the job for you, is the intention to get faster build times?
<cm2> any ideas?
<jophish> domenkozar: the builds take place on the developer machines
<jophish> it's unfair for all jobs to take place on my machine :)
<cm2> i tried .Xresources/.Xdefaults, installing cursor themes, setting the gtk-cursor-theme etc ... to no avail
<domenkozar> jophish: so you're saying if you have 5 machines and one job now and then, you want to have randomness first pick?
<jophish> domenkozar: well, first pick doesn't really matter
<jophish> but I don't think that currentjobs is being taken into account correctly
<jophish> domenkozar: ah I see
<jophish> speedfactor is 8
<jophish> but at most 4 jobs
<domenkozar> yeah I always set it to 1
<jophish> so those floats always compare equally, because it's rounded
<jophish> domenkozar: yeah, we have several "classes" of machine
<gleber_> I get a build error when I do "nix-build -A erlangR16 /path/to/custom/nixpkgs" and I try to reproduce a build problem with "nix-shell --pure -A erlangR16 /path/to/custom/nixpkgs; source $stdenv/setup; genericBuild". But it looks like that it does something different and the error does not happen :/
<jophish> I'm going to remove that "round"
<gleber_> Any ideas how to reliabily reproduce a failing nix-build from nix-shell?
<clever> gleber_: nix-shell launches a new shell, so the ; at the end wont do waht you want
<clever> gleber_: the shell made by nix-shell also sources setup for you, so thats not required
<gleber_> clever: yes, I do it one by one, not in one line
<jophish> I'll open an issue too
<gleber_> clever: good to know about the sourcing, thanks
<clever> gleber_: what is the error its giving?
<gleber_> clever: /nix/store/wb34dgkpmnssjkq7yj4qbjqxpnapq0lw-bash-4.4-p12/bin/bash: /tmp/nix-build-erlang-16B03-1.drv-0/otp_src_R16B03-1/make/emd2exml: /usr/bin/env: bad interpreter: No such file or directory
<gleber_> but this error happens only with nix-build, not with nix-shell + genericBuild
<clever> gleber_: nix builds are sandboxes, so they dont have a /usr/bin/env
<jophish> domenkozar: I'm sure I've seen CURRENT_LOAD being used before
<jophish> but I can't remember whetre
<jophish> but I can't remember where
<clever> gleber_: but even with nix-shell --pure, you still have a /usr/bin/env
<gleber_> oh!
<gleber_> is there a magical way to enter the same sandboxed shell?
<domenkozar> jophish: I think that's remote builds logic in Nix itself
<domenkozar> but Hydra takes a different path
<domenkozar> most probably split from Nix
<clever> gleber_: not really, but you could temporarily delete /usr/bin/env from the host, thats not likely to cause too many problems
<LnL> lol
pseudo-sue has quit [(Quit: leaving)]
<pbogdan> cm2: what does "echo $XCURSOR_PATH" say in your shell?
<LnL> gleber_: pretty sure you can use patchShebangs to fix references to /usr/bin/env
<domenkozar> jophish: ah, it just moved logic to another file
<clever> gleber_: yeah, patchSheBangs will fix the problem, once you know which file, oh, its make/emd2exml, so just postPatch = "patchSheBangs make"; i think?
<cm2> pbogdan: hi. thanks for replying. checking ...
<domenkozar> jophish: here's when roundf was introduced: https://github.com/NixOS/hydra/commit/a40ca6b76e58db9cbc05f31e187e8a7ff5ca7f53
<gleber_> clever, LnL: tricky part is that "escript" from that shebang is part of the same package. Will patchSheBangs handle this?
<gleber_> ah, silly me
<gleber_> nvm
<clever> gleber_: as long as the file exists during the patchphase, it should work
<gleber_> it should work
<LnL> gleber_: it looks at PATH
<cm2> pbogdan: it's not defined
deba5e12 has joined #nixos
<pbogdan> cm2: try setting "Xcursor.theme: YourTheme" in ~/.Xdefaults and launching emacs with "xrdb -merge ~/.Xdefaults && XCURSOR_PATH=/home/youruser/.icons:/home/youruser/.nix-profile/share/icons:/nix/var/nix/profiles/default/share/icons:/run/current-system/sw/share/icons emacs" and see if that helps
<cm2> pbogdan: ok thanks!
python476 has joined #nixos
<cm2> pbogdan: YES!
ThatDocsLady has quit [(Ping timeout: 246 seconds)]
<cm2> all i had to do was set xcursor_path
barcabuona has quit [(Quit: WeeChat 1.8)]
<cm2> thanks so much!!
<jophish> domenkozar: thanks!
<jophish> although not a helpful commit message
<domenkozar> jophish: yes, one side effect of the roundf is that same machine will be reused until speedfactor is reached
<domenkozar> so it might have a consequence of less S3 downloads
<pbogdan> cm2: you are welcome :)
<jophish> domenkozar: yeah, that's a good point
<cm2> pbogdan: you made my day (and a monday at that!). all the best!!!!
endformationage has joined #nixos
<gleber_> Ankhers: thanks for checking on OSX, I just pushed slightly updated version. Can you recheck?
<jophish> domenkozar: already working
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #26401: xfce4_namebar_plugin: init at 0.3.1 (master...xfce4-namebar-plugin) https://git.io/vHV3q
NixOS_GitHub has left #nixos []
<domenkozar> jophish: so fair distribution is counter-productive with S3 costs
<domenkozar> I think you'll need to make it a setting
<domenkozar> that's my gut feeling :)
m0rphism has quit [(Read error: Connection reset by peer)]
<Ankhers> gleber_: Running it now.
kojiro has joined #nixos
Sonarpulse has joined #nixos
ThatDocsLady has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vHV3y
<NixOS_GitHub> nixpkgs/master 7c476b9 Tim Steinbach: linux: 4.12-rc3 -> 4.12-rc4
NixOS_GitHub has left #nixos []
<gchristensen> ikwildrpepper: ping?
Infinisil has joined #nixos
mizu_no_oto has joined #nixos
<gleber_> clever: patchShebangs does not pick up that specific file
roconnor has joined #nixos
Infinisil has quit [(Quit: Mutter: www.mutterirc.com)]
<gleber_> clever: thanks for your help, i'll debug deeper later today, off for now
<kojiro> My main user account has a weird PATH. For example, it has the bash from build-sandbox-paths in /etc/nix/nix.conf in it. This means I get a hobbled bash sometimes.
<kojiro> I don't know how it got set up this way - I created another user account and it did not have these paths in PATH
<jophish> kojiro: you're not on OS X are you?
<kojiro> jophish: no
<BlessJah> wknapik: nokia 5? 5.2" i "pure Android™"
<jophish> ok, OS X fucks with the path in stupid ways :)
<BlessJah> dang, wrong window
nschoe has quit [(Quit: Program. Terminated.)]
<kojiro> jophish: I did copy some dotfiles from a macos installation
<kojiro> I have been over those dotfiles a few times now, but I'll take any hints you want to throw my way
<jophish> kojiro: the issue I'm thinking of comes from system files, so it's unlikely that you copied it
<clever> gleber_: is escript in $PATH at that time?
pie__ has quit [(Changing host)]
pie__ has joined #nixos
* pie__ rolls around
kojiro has quit [(Ping timeout: 240 seconds)]
<pie__> is there a way to make kde alt-tab on the desktop the mouse is on only?
Sonarpulse has quit [(Ping timeout: 246 seconds)]
erasmas has joined #nixos
kojiro has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vberger opened pull request #26403: drbd: Fix incorrect substitution in derivation (master...drbd-fix) https://git.io/vHVGp
NixOS_GitHub has left #nixos []
<kojiro> machine locked up -_-
<pie__> stop
<pie__> hammertime
<kojiro> How do I search for the name for a service? I would guess I want services.mbpfan.enable = true; - is there a place I can look up that that is the correct name?
<evangeline> Hi, is there any way to evaluate the expression by passing it the stdenv and other dependencies from all-packages.nix:
<evangeline> # nix-instantiate /home/eleanor/nixpkgs/pkgs/development/ruby-modules/bundler-env/default.nix ~/nixpkgs
<evangeline> error: cannot auto-call a function that has an argument without a default value (‘stdenv’)
<kojiro> clever: thanks
<evangeline> y
ToxicFrog has joined #nixos
<clever> evangeline: nix-instantiate -E 'with import <nixpkgs>{}; callPackage ./path/to/bundler-env {}'
nslqqq has quit [(Ping timeout: 246 seconds)]
<pie__> were desktop environments always this buggy
<pie__> theres a lot of neat stuff in kde but half of it works badly
xificurC has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<kojiro> Is there a service that does nix-store --optimise periodically?
<kojiro> I'd guess not if it's a slow, resource-intensive ask
<gchristensen> sure is
mabynogy has joined #nixos
<gchristensen> nix.optimise.automatic
<kojiro> nice, thanks
<kojiro> I see there's also nix.autoOptimiseStore
<kojiro> I guess one is a cronjob and the other is soemthing that runs when you run a command on the nix store?
<clever> kojiro: looks like it
<clever> the one in nix.conf will probably be smarter, and only run on the path that has just changed
pbogdan` has joined #nixos
pbogdan has quit [(Ping timeout: 260 seconds)]
<copumpkin> where do services.httpd error and request logs go by default?
<copumpkin> I don't see anything obvious in the journal
<copumpkin> ah, there's a logdir I guess
Biappi_ is now known as Biappi
<domenkozar> anyone knows if types.listOf is appending or does it conflict if two places define the option?
<domenkozar> it probably does, since it's not using mergeOneOption
nslqqq has joined #nixos
joehh has quit [(Ping timeout: 260 seconds)]
ThatDocsLady has quit [(Ping timeout: 260 seconds)]
peacememories has joined #nixos
<kojiro> is there a more Nix-like way to set my EDITOR than `echo export EDITOR=vim >> .bashrc`?
ryanartecona has joined #nixos
rory has joined #nixos
pbogdan` is now known as pbogdan
<clever> kojiro: in my setup, that is stored in vim.nix, and then i have imports = [ ./vim.nix ]; in my configuration.nix
<dash> kojiro: vim.defaultEditor = true;
hexa- has quit [(Max SendQ exceeded)]
<evangeline> clever: I'm getting the following error: "error: syntax error, unexpected ';', expecting $end, at (string):1:83"
<evangeline> clever: I'm guessing the ';' cannot be used to separate multiple statements
<clever> evangeline: what was the exact command you ran?
<evangeline> clever: # nix-instantiate -E 'with import <nixpkgs>{}; callPackage pkgs/development/ruby-modules/bundler-env { };'
<clever> evangeline: the ; at the very end doesnt belong
<clever> and the path must begin with either a ./ or a /
<evangeline> clever: ah yes, after fixing that, I'm getting the following: "error: bundlerEnv: either pname or name must be set"
sellout-1 has quit [(Quit: Leaving.)]
hexa- has joined #nixos
<evangeline> clever: adding the './' doesn't change the error though, as it's unrelated problem.
<clever> evangeline: ah, bundler-env/default.nix has to first be loaded with callPackage, then called with arguments to define what it should build
<clever> nix-instantiate -E 'with import <nixpkgs>{}; (callPackage ./pkgs/development/ruby-modules/bundler-env { }) { args = "go here"; }'
cm2 has quit [(Quit: leaving)]
<clever> evangeline: these arguments can be passed in
Sonarpulse has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
nil has joined #nixos
arianvp2 has joined #nixos
<jophish> hmm
eacameron has joined #nixos
<jophish> I have a nixops machine 'hydra' running as a VM on 'casper'
<jophish> 'host casper' returns 127.0.0.1
<jophish> I'm sure that's not right :p
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHV8v
<NixOS_GitHub> nixpkgs/master 6b89277 Jörg Thalheim: python.pkgs.systemd: 233 -> 234...
NixOS_GitHub has left #nixos []
k0001 has joined #nixos
<jophish> it's using the nixops virtual network as the primary DNS
<jophish> so it's asking the host to resolve casper
<jophish> and since the host is running systemd-resolved, it responds 127.0.0.1
<jophish> I wonder how I can stop this
k0001 has quit [(Client Quit)]
ThatDocsLady has joined #nixos
k0001 has joined #nixos
<gchristensen> lol ...
vaibhavsagar has joined #nixos
<jophish> stupid compiers. I hate these demon-boxes
<jophish> computers*
<dash> have you considered becoming a farmer
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edwtjo pushed 4 new commits to master: https://git.io/vHVBe
<NixOS_GitHub> nixpkgs/master 513e66e Edward Tjörnhammar: kodiPlugins: move build funs to common
<NixOS_GitHub> nixpkgs/master 4f410bf Edward Tjörnhammar: kodiPlugins.advanced-emulator-launcher: init at 0.9.6
<NixOS_GitHub> nixpkgs/master fe0b858 Edward Tjörnhammar: kodiPlugins.joystick: init at 1.3.6
NixOS_GitHub has left #nixos []
<jophish> dash: I bet they get computer problems too...
<jophish> wtf, why would this dns server reply 127.0.0.1 to another machine!
<dash> jophish: the other problems are so much bigger that the computer problems won't seem so bad
<jophish> hahaha
alx741_ has quit [(Quit: alx741_)]
sellout-1 has joined #nixos
<jophish> ah, it's actuall 127.0.1.1
<jophish> Still incorrect
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
sellout-1 has quit [(Client Quit)]
<Filystyn> hello
<Filystyn> how to link on nixos
<jophish> I suppose that's what I'd expect, given that I'm asking for casper not localhost
<dash> Filystyn: it depends
arianvp2 has joined #nixos
<dash> Filystyn: what would you like to do?
<Filystyn> having hard time with SDL2/SDL.h
<Filystyn> i have it installed
<Filystyn> i link it -lSDL2 aaaand
<Filystyn> nothing
<clever> Filystyn: your not supposed to install libraries on nix
<dash> Filystyn: what are you building?
<Filystyn> my own program
<clever> Filystyn: your suppossed to do everything inside either nix-shell or nix-build
<Filystyn> oho
<Filystyn> ok
k0001 has quit [(Remote host closed the connection)]
<Filystyn> did not knwo it
<Filystyn> what is differance between nix build and nix shell ?
k0001 has joined #nixos
<Filystyn> i used nix-shell for building untill now
<clever> nix-shell gives you a shell for building
<clever> nix-build builds it for you, acording to directions in a nix expression
<Filystyn> but thought I can do it normaly 2
<dash> Filystyn: this is what's normal now ;-)
<Filystyn> I can make without nix-build right?
<Filystyn> just using nix-shell
<clever> Filystyn: what nix-shell args are you using?
<jophish> I wonder if I should just set resolvconfOptions
<Filystyn> Ok guys give me a sec if all i need to do is run compilation from nix-shell than i should be fine
<Filystyn> just did not know I have to use it always
dihuteno has quit [(Quit: leaving)]
k0001 has quit [(Remote host closed the connection)]
k0001 has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
arianvp2 has joined #nixos
arianvp2 has quit [(Read error: Connection reset by peer)]
arianvp2 has joined #nixos
sellout- has joined #nixos
python47` has joined #nixos
m0rphism has joined #nixos
python476 has quit [(Ping timeout: 240 seconds)]
<evangeline> clever: why can't I do this:
<evangeline> # nix-instantiate -E 'with import <nixpkgs>{}; bundlerEnv = callPackage ./pkgs/development/ruby-modules/bundler-env { }' ~/nixpkgs
<evangeline> error: syntax error, unexpected '=', expecting $end, at (string):1:37
<clever> evangeline: that isnt inside an attrset or let block, so its not valid
<evangeline> clever: ah yes, this doesn't produce the error: nix-instantiate -E 'with import <nixpkgs>{}; let bundlerEnv = callPackage ./pkgs/development/ruby-modules/bundler-env { }; in { }'
<clever> but that just tells nix-instantiate to eval the {} at the end and create its .drv file
jensens has quit [(Ping timeout: 255 seconds)]
bennofs has joined #nixos
<evangeline> clever: I would like to call the bundlerEnv inside the { } block...
<clever> you can paste code into that {} that will call it
<Filystyn> ok It does not work for me i basically do nix-shell -p SDL2_mixer and than I get can't find SDL2/SDL_mixer.h on object creating
<Filystyn> it does not see the header
<Filystyn> I don't even get to linking part
<clever> Filystyn: you need to add gcc to the -p list as well
<clever> installing gcc breaks a lot of the features nix adds to help you
ambro718 has joined #nixos
<Filystyn> it sees gcc without listing it
<clever> but if you do list it, it will just work
<Filystyn> yes
<Filystyn> it worked lol
<Filystyn> ;-)
<clever> because installing things doesnt run the setup-hook
<Filystyn> ok
<clever> and gcc has a setup-hook that will add everything in $buildInputs to the -I path
<Filystyn> big thx
<evangeline> clever: ok, I've build the .drv now. Where can I find the pp-aterm program to pretty print it, it doesn't seem to be in the nixos packages.
<clever> evangeline: it was removed several months ago
<evangeline> clever: any other program to pretty print derivations?
<clever> evangeline: i believe the only option right now is to manualy read the file, its just text
<evangeline> clever: one more thing, is there any way to rebuild certain (or all) dependencies when running nix-build ?
<clever> evangeline: --check can force a given derivation to rebuild, but the entire goal of nix is to track what can affect the build, and automaticaly rebuild when that has changed
DutchWolfie has quit [(Quit: Konversation terminated!)]
mbrgm has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
ryanartecona has quit [(Quit: ryanartecona)]
marsel has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
rory has left #nixos []
pbogdan has quit [(Ping timeout: 240 seconds)]
ThatDocsLady has quit [(Ping timeout: 260 seconds)]
phinxy has joined #nixos
hke has quit [(Quit: bye)]
hke has joined #nixos
digitus has joined #nixos
k0001 has quit [(Remote host closed the connection)]
k0001 has joined #nixos
k0001 has quit [(Remote host closed the connection)]
k0001 has joined #nixos
pdobrogost has quit [(Quit: Connection closed for inactivity)]
jmeredith has joined #nixos
acertain has joined #nixos
ambro718 has quit [(Remote host closed the connection)]
goibhniu has quit [(Ping timeout: 255 seconds)]
pbogdan has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
arianvp2 has quit [(Quit: arianvp2)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ambrop72 opened pull request #26404: kdevelop: 5.0.4 -> 5.1.1 (master...kdevelop-511) https://git.io/vHVoI
NixOS_GitHub has left #nixos []
arianvp2 has joined #nixos
k0001 has quit [(Remote host closed the connection)]
arianvp2 has quit [(Client Quit)]
k0001 has joined #nixos
ryanartecona has joined #nixos
jgertm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] KentJames opened pull request #26405: Disable simplejson test on Darwin otherwise build fails. (master...master) https://git.io/vHVKK
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
hotfuzz has joined #nixos
hotfuzz_ has quit [(Ping timeout: 258 seconds)]
python47` has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vmandela opened pull request #26406: git-series: install man page (master...git-series-man) https://git.io/vHV6H
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26405: Disable simplejson test on Darwin otherwise build fails. (master...master) https://git.io/vHVKK
NixOS_GitHub has left #nixos []
python47` has joined #nixos
mizu_no_oto has joined #nixos
mog has quit [(Ping timeout: 255 seconds)]
deba5e12 has quit [(Ping timeout: 246 seconds)]
Rajsun has joined #nixos
endforma1 has joined #nixos
deba5e12 has joined #nixos
endformationage has quit [(Ping timeout: 240 seconds)]
marsel has joined #nixos
mudri has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vHV1y
<NixOS_GitHub> nixpkgs/master 10785e8 Joachim Fasting: python.pkgs.systemd: fix eval
NixOS_GitHub has left #nixos []
cmacrae has joined #nixos
<cmacrae> Yo LnL o/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vHV1x
<NixOS_GitHub> nixpkgs/master b62dea5 gnidorah: rambox: 0.5.3 -> 0.5.9
<NixOS_GitHub> nixpkgs/master 4dda105 Joachim F: Merge pull request #26370 from gnidorah/master5...
NixOS_GitHub has left #nixos []
<cmacrae> Having some trouble with 'services.khd.khdConfig' - it's not getting written/linked to /etc/khdrc
<LnL> cmacrae: hi :)
<LnL> oh :/
<cmacrae> Yeah, weird!
arianvp2 has joined #nixos
<LnL> does it exist in /etc/static?
<cmacrae> I can see it being generated
<cmacrae> Nah, don't see it in /etc/static
<cmacrae> these derivations will be built:
<cmacrae> /nix/store/zgzxrg497hpzmkbf5vc50i6qj9scihbb-etc-khdrc.drv
<cmacrae> That's part of the output from rebuild
<LnL> what about /run/current-system/etc?
<cmacrae> Ah, yep! I see it there :)
<LnL> ok so /etc/static didn't update correctly for some reason
<cmacrae> Yeah, I guess not?
<LnL> removing /etc/static and will probably fix it
<cmacrae> okay, I'll give that a go
<gleber_> clever: i'm back, no "escript" is not in the $PATH at that time, since it is from the same package as currently being built
cmacrae has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jluttine opened pull request #26408: rssguard: init at 3.4.0 (master...add-rssguard) https://git.io/vHVDe
NixOS_GitHub has left #nixos []
<eacameron> Is there a function to fold over a set with keys and values? I want to turn a set into a string.
arianvp2 has quit [(Quit: arianvp2)]
arianvp2 has joined #nixos
<kier> the recent change to fixupPhase to check for references to /tmp/nix-build-blah means that one of my packages no longer builds
<kier> looking into it, it seems that some of the executables contain /tmp/nix-build-blah/__nix_qt5__ in their RPATH
<kier> what's the best way to resolve this?
<kier> I was just going to write a script to find all the libraries in __nix_qt5__ that are depended on by the executable, resolve their symlinks (which do point to /nix/store) and add the directories containing the results back to the RPATH
FRidh has quit [(Remote host closed the connection)]
FRidh has joined #nixos
<kier> thanks, i'll try that
<FRidh> kier: first check whether you're expression is still running pre and post hooks
<kier> it is, I was playing around with patchelf in preFixup to try and debug it earlier
<FRidh> kier: yea see discussion in https://github.com/NixOS/nixpkgs/pull/26209
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
orivej has quit [(Ping timeout: 258 seconds)]
<gleber_> Has anyone seen "nix-shell" printing prompt like \[\][nix-shell:~/code/nixpkgs]$\[\]
<gleber_> ?
<FRidh> happens when you nest nix-shell
<gleber_> When this happens all of the keyboard shortcuts stop working as well
<gleber_> Not my case
arianvp2 has quit [(Quit: arianvp2)]
<gleber_> that's what I observe
<kier> FRidh: oh, just adding "runHook preInstall/postInstall" to my overridden installPhase fixed it, no need to delete __nix_qt5__
<kier> thanks for the help
arianvp2 has joined #nixos
pbogdan has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #26403: drbd: Fix incorrect substitution in derivation (master...drbd-fix) https://git.io/vHVGp
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] k0001 opened pull request #26409: ghcjsHEAD: bump git revision (master...bump-ghcjs) https://git.io/vHV9N
NixOS_GitHub has left #nixos []
<kojiro> What package contains dig?
<kojiro> (dns)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #26277: qtile: Fix using qtile together with desktop (master...fix/qtile) https://git.io/vHBRh
NixOS_GitHub has left #nixos []
<gchristensen> jophish: bind.dnsutils I think
<gchristensen> d'oh, kojiro
mabynogy has quit [(Quit: Leaving)]
<kojiro> thanks
arianvp2 has quit [(Quit: arianvp2)]
arianvp2 has joined #nixos
takle has quit [(Remote host closed the connection)]
<jophish> gchristensen: oh :( I thought you had a solution to my woes!
arianvp2 has quit [(Client Quit)]
arianvp2 has joined #nixos
arianvp2 has quit [(Client Quit)]
arianvp2 has joined #nixos
<gleber_> I am in the bind. Erlang's build phase consists of two parts: (1) build the compiler and (2) build docs. The docs are built using some compiled scripts from (1). So under nix the second part fails, since it assumes a script is available in the PATH. Patching shebangs does not work, since the desired script is not in the PATH before the build. Any ideas how to tackle this?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kierdavis opened pull request #26410: Fix hooks not being called when overriding phases in various packages (master...hooks) https://git.io/vHVQJ
NixOS_GitHub has left #nixos []
arianvp2 has quit [(Client Quit)]
<kier> would it make sense to split it into two derivations, the second taking the first as an input?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #25435: far2l: add .desktop file (master...far2l-desktop) https://git.io/v94az
NixOS_GitHub has left #nixos []
mudri has joined #nixos
<gleber_> kier: that is also an idea which came to my mind... I need to understand exactly the internals to understand if it can work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 2 new commits to master: https://git.io/vHV7s
<NixOS_GitHub> nixpkgs/master d0c68a1 Renzo Carbonara: ghcjsHEAD: bump git revision...
<NixOS_GitHub> nixpkgs/master 42b3b7a Shea Levy: Merge branch 'bump-ghcjs' of git://github.com/k0001/nixpkgs
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to release-17.03: https://git.io/vHV7W
<NixOS_GitHub> nixpkgs/release-17.03 883cc6d Renzo Carbonara: ghcjsHEAD: bump git revision...
NixOS_GitHub has left #nixos []
arianvp2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #26409: ghcjsHEAD: bump git revision (master...bump-ghcjs) https://git.io/vHV9N
NixOS_GitHub has left #nixos []
cmacrae has joined #nixos
<cmacrae> LnL: Well, that was not an ideal time to run out of data! Just moved, so I'm tethering until I have internet
<cmacrae> Removal of /etc/static worked :)
<LnL> alright
<pie__> uh what: gddccontrol: Relink `/nix/store/scx9psf3y9dlp45k95ycd9cglvwks4cx-ddccontrol-0.4.2/lib/libddccontrol.so.0' with `/nix/store/7crrmih8c52r8fbnqb933dxrsp44md93-glibc-2.25/lib/libpthread.so.0' for IFUNC symbol `system'
<pie__> broken package? (ddccontrol)
<cmacrae> Though, one problem I've noticed is: 'security.enableAccessibilityAccess' and/or security.accessibilityPrograms
<LnL> cmacrae: I'm actually reworking the system activation at the moment, should be easier to debug/test when that's finished
<cmacrae> both of these cause an error, stating it's a read only DB
<cmacrae> which halts the rebuild
<cmacrae> LnL: Nice
<LnL> hmm, are you on the latest master?
simendsjo has quit [(Ping timeout: 240 seconds)]
<cmacrae> Yep, I am indeed
<cmacrae> I've started from scratch several times to ensure it wasn't any weird state (including reboots)
<cmacrae> Happens any time I have either of those options in my configuration
<LnL> oh, you enabled it
<LnL> cmacrae: //github.com/LnL7/nix-darwin/issues/29
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to release-17.03: https://git.io/vHV5l
<NixOS_GitHub> nixpkgs/release-17.03 870cf05 Stefan Lau: chromedriver: allow to install on more systems...
NixOS_GitHub has left #nixos []
<LnL> cmacrae: I'm not sure why it doesn't seem to work for some people
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
python47` has quit [(Remote host closed the connection)]
<cmacrae> LnL: Hmm, weird
<pie__> what the hell? the terminal has <blink></blink>???
<pie__> or was that just a coincidental framebuffer screwup
<pie__> no, it really is blinking 0.o
adulteratedjedi_ is now known as adulteratedjedi
python476 has joined #nixos
<pie__> what is this sorcery
takle has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
<LnL> cmacrae: can you query that sqlite database when you use sudo?
<pie__> wow theres an ansi escape code for blinking. TIL.
<LnL> yeah
obadz has quit [(Ping timeout: 260 seconds)]
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<ToxicFrog> pie__: yes it does! SGR 5, IIRC
<ToxicFrog> There was a discussion about this elsenet a few days ago
<ToxicFrog> A lot of ttys will render it as bold instead, though
obadz has joined #nixos
cmacrae has quit [(Read error: Connection reset by peer)]
<pie__> yeah i checked wikipedia
<pie__> its sgr5
<ToxicFrog> After seeing two people super surprised that this capability exists I now have idea for a work internal april fool's next year
alx741 has joined #nixos
marsel has quit [(Ping timeout: 240 seconds)]
arianvp2 has joined #nixos
kuznero has joined #nixos
sellout-1 has joined #nixos
<kuznero> Hi All!
romildo has joined #nixos
Itkovian has joined #nixos
arianvp2 has quit [(Client Quit)]
<gleber_> hey
sellout- has quit [(Ping timeout: 260 seconds)]
<romildo> When updating my unstable NixOS system I am getting an error regarding zsh syntax highlighting patterns:
<romildo> error: The option value `programs.zsh.syntaxHighlighting.patterns' in `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/programs/zsh/zsh-syntax-highlighting.nix' is not a attribute set of strings.
<romildo> Any clues on how to fix this?
<romildo> I do not set programs.zsh.syntaxHighlighting.patterns on configuration.nix
sellout-1 has quit [(Quit: Leaving.)]
<clever> romildo: do you have programs.zsh.syntaxHighlighting.enabled set?
<romildo> clever, yes
<clever> that is what is activating that file
<clever> but i dont see anything abnormal with the latest version on master
<clever> does the error mention any other files or line numbers?
<romildo> I have in configuration.nix:
<romildo> syntaxHighlighting = {
<romildo> enable = true;
<romildo> highlighters = [
<romildo> "main"
<romildo> "brackets"
<romildo> "pattern"
<romildo> "cursor"
<romildo> #"root"
<romildo> #"line"
<romildo> ];
<romildo> };
<clever> that part looks valid as well
<DIzFer[m]> it's fixed in master
kiloreux has joined #nixos
<clever> oh, yeah, last change to that file, 23 hours ago
<DIzFer[m]> yeah, cherry-pick that and you're set
_ris has joined #nixos
alx741 has quit [(Quit: alx741)]
k0001 has quit [(Remote host closed the connection)]
k0001 has joined #nixos
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
<musicmatze> aaaand github is down again. Just after I came home from a three-day-vacation! Awesome.
simendsjo has joined #nixos
<kuznero> I am trying to come up with developer setup for working with Haskell projects in NixOs without using stack. I already know how to use `cabal2nix` and then `nix-shell` or `nix-build`. But how do I make sure that I have proper version of ghc-mod, hlint, stylish-haskell, hoogle, hindent, etc. installed and working together in my vim? Is there any good blog post/tutorial going through this? I am...
<kuznero> ...still very new to Nix/NixOS, so sorry for probably lame question.
simendsjo has quit [(Remote host closed the connection)]
<kuznero> Not to mention hoogle and if possible making its database offline for a particular project...
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
k0001 has quit [(Remote host closed the connection)]
<Sonarpulse> kuznero: this is a fine place for that question
<Sonarpulse> unfortunately I don't know of any 100% standard answer to that
k0001 has joined #nixos
<Sonarpulse> I for one mostly...just use a more barebones setup
<clever> kuznero: there is a ghcWithHoogle function, that will generate a hoogle for a given list of hackage packages, and a ghc that can access them
Itkovian has joined #nixos
<kuznero> clever: sounds interesting, what about things like ghc-mod? Can I state it as a build dependency in shell.nix and run vim from within? Will that bring me to the setup I want (vim+ghc-mod+hoogle+...)?
<kuznero> Sonarpulse: by barebones you mean just plain text editor without any integration with ghc?
<Sonarpulse> yeah lol
<Sonarpulse> emacs stuff was always buggy for me
<Sonarpulse> I dunno I spend my config yak shaves elsewhere
<Sonarpulse> don't let my apathy here bias you!
LostLogin has joined #nixos
<kuznero> Sonarpulse: will try as much as I can before going barebones ;)
<clever> [clever@amd-nixos:~]$ nix-shell -E 'with import <nixpkgs> {}; haskellPackages.ghcWithHoogle (p: with p; [ shake ])' -Q -j 8
<clever> kuznero: i'm checking this to see what it does to ghc-mod
<Sonarpulse> kuznero: certainly starting the editor in the nix-shell is a convenient hack
<kuznero> clever: thanks!
<Sonarpulse> though emacs now has much better support
<Sonarpulse> for invoking nix-shell on its own
<clever> nix-mode i think it was called
<Sonarpulse> err nix-mode I think is editing nix files
<Sonarpulse> the nix-shell stuff is now in haskell-mode itself
<clever> ah
<clever> i just stick to vim
<kuznero> I meet more emacs folks lately... I myself work in Vim :) But try spacemacs occasionally.
<Sonarpulse> I use both, poorly!
LostLogin has left #nixos ["Konversation terminated!"]
<kuznero> clever: is it worth learning shake for running small projects?
<pbogdan> there is also https://github.com/travisbhartwell/nix-emacs#nixos-sandbox but I couldn't make it work with ghc-mod :-(
<pbogdan> which is biggest pain as ghc-mod needs to be compiled with the same ghc version as the project being worked on
<clever> kuznero: depends on how well you know haskell i think, i had some trouble getting it to work because the types where confusing at first
<kuznero> pbogdan: but there is ghcWithPackages or something similar that should let you have both ghc and some packages
<kuznero> clever: will put it for later then ;)
takle has quit [(Remote host closed the connection)]
base9 has joined #nixos
<kuznero> clever: at some point I was having `stack` installed and used that to install ghc-mod and other tools globally (for my user). In that kind of setup vim integration works pretty well. Though it is not very Nix'ish where folks use cabal2nix primarily as far as I understand.
saintromuald has quit [(Ping timeout: 260 seconds)]
<kuznero> I must be completely blind but my setup works without me doing anything really. I just ran `cabal2nix --shell . > shell.nix` and then nix-shell and from that vim and I got ghc-mod working. I don't have ghc-mod in my shell.nix at all. How does it work?
<clever> kuznero: what does ghc-mod normally do behind the scenes?
<clever> kuznero: does it use ghc-pkg?
<pbogdan> kuznero: it's a bit of pain having to launch separate emacs instances via nix-shell for each project I'm working on and having to restart them whenever I tweak a dependencies for example, maybe my workflow is just flawed though :)
takle has joined #nixos
<ij> Is there someone in particular who knows how to make haskell package derivations well? I want to add more build-time dependencies.
<pbogdan> but with that nixos-sandbox functions it would automatically pick ghc / ghci from the current nix project
<kuznero> clever: I think (intuitive guess) that ghc-mod inspects types and informs about it, like compiler service that does not really compile but is aware of syntax tree
<pbogdan> except for ghc-mod due to how its emacs mode launches the process iirc..
romildo has quit [(Quit: Leaving)]
<kuznero> pbogdan: I know emacs folks like living in emacs far longer than I would in my vim session :) Starting vim is much faster typically.
<clever> if your text editor needs a daemon to hide the load times, it has issues
sellout- has joined #nixos
ixxie has quit [(Ping timeout: 240 seconds)]
phinxy has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo opened pull request #26411: cloud-init: remove argparse from requirements.txt (master...pr/cloud-init-argparse) https://git.io/vHwv4
NixOS_GitHub has left #nixos []
saintromuald has joined #nixos
<kuznero> clever: Sonarpulse: I must say sorry, since just adding ghc-mod as buildDepends array in generated shell.nix solved the problem. Ghc-mod is fully operational in my vim that I run from within nix-shell! It just works. Not sure what did I do last time that made it fail.
orivej has joined #nixos
<kuznero> But on that note, how do I modify generated shell.nix expression to have all packages in that shell.nix installed with documentation (haddock) such that I can browse it locally?
sellout- has quit [(Ping timeout: 240 seconds)]
drakonis has joined #nixos
saintromuald has quit [(Ping timeout: 260 seconds)]
endforma1 has quit [(Read error: Connection reset by peer)]
phinxy has joined #nixos
saintromuald has joined #nixos
arianvp2 has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<drakonis> so, why exactly compilers shouldn't be installed?
<drakonis> and why exactly use nix-shell instead?
<dash> drakonis: because you only need them at build time
Itkovian has joined #nixos
<dash> drakonis: and so they only need to be put into build environments
<drakonis> but i want to test my code before any final compilation
<drakonis> not make packages
<dash> drakonis: that's why there's nix-shell
<dash> it's for running a shell (or other things) inside a build environment
sitwon has quit [(Ping timeout: 246 seconds)]
sellout- has joined #nixos
<kiloreux> What is the difference between ffmpeg-full and normal ffmpeg in nixpkgs ?
saintromuald has quit [(Ping timeout: 255 seconds)]
Filystyn has quit [(Quit: Konversation terminated!)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
sitwon has joined #nixos
Filystyn has quit [(Client Quit)]
<Sonarpulse> kuznero: no idea what you'd be saying sorry for! glad it works!
<Sonarpulse> no idea off hand
<Sonarpulse> but try looking for ghcWithPackages
<Sonarpulse> and replace with ghcWithHoogle
<drakonis> dash, its not for a complex project fyi
<drakonis> however it seems great for doing bigger things
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<kuznero> Sonarpulse: interesting thing is that there is no reference to ghc in generated shell.nix
<dash> drakonis: OK well nix does not distinguish :)
<dash> drakonis: writing a nix expr for a simple project is just 3 or 4 lines usually
<Sonarpulse> kuznero yeah you might need to dig into some helper functions
ixxie has joined #nixos
saintromuald has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
saintromuald has quit [(Excess Flood)]
saintromuald has joined #nixos
saintromuald has quit [(Max SendQ exceeded)]
saintromuald has joined #nixos
<shlevy> niksnut: ping
<Sonarpulse> rapid release!
<shlevy> Sonarpulse: Are you reading my mind? :o
<shlevy> Sonarpulse: Or was that unrelated to my ping? :D
<Sonarpulse> I am writing my hopes
<shlevy> :D
sellout- has quit [(Quit: Leaving.)]
kuznero has quit [(Ping timeout: 255 seconds)]
saintromuald has quit [(Max SendQ exceeded)]
aneeshusa has joined #nixos
<kiloreux> Does those lines in ffmpeg-full mean that we have to install packages on our own ? https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/ffmpeg-full/default.nix#L155-L158
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vHwLC
<NixOS_GitHub> nixpkgs/master a4b8c21 Antoine Eiche: cloud-init: remove argparse from requirements.txt...
<NixOS_GitHub> nixpkgs/master dac3cf5 Frederik Rietdijk: Merge pull request #26411 from nlewo/pr/cloud-init-argparse...
NixOS_GitHub has left #nixos []
<kiloreux> What does not-packaged mean ?
jonte_ has joined #nixos
saintromuald has joined #nixos
saintromuald has quit [(Max SendQ exceeded)]
saintromuald has joined #nixos
saintromuald has quit [(Max SendQ exceeded)]
saintromuald has joined #nixos
<musicmatze> kiloreux: that it is not packaged.
<kiloreux> And how can I get it then to be able to add it to ffmpeg?
<musicmatze> You have to package it, of course...
endforma1 has joined #nixos
<kiloreux> So another nix file to add it would do it ?
<kiloreux> or do i need to do something else?
saintromuald has quit [(Max SendQ exceeded)]
base9 has quit [(Ping timeout: 255 seconds)]
saintromuald has joined #nixos
goibhniu has joined #nixos
saintromuald has quit [(Max SendQ exceeded)]
saintromuald has joined #nixos
base9 has joined #nixos
mog has joined #nixos
saintromuald has quit [(Ping timeout: 260 seconds)]
saintromuald has joined #nixos
ceevusee has joined #nixos
<copumpkin> if I pass a .drv to nix-push, will it only push the build-time dependencies of the derivation, or also the output?
saintromuald has quit [(Ping timeout: 260 seconds)]
Jackneilll has quit [(Remote host closed the connection)]
saintromuald has joined #nixos
saintromuald has quit [(Max SendQ exceeded)]
saintromuald has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
k2s has joined #nixos
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vHwOJ
<NixOS_GitHub> nixpkgs/master cf2c5f1 Jörg Thalheim: python.pkgs.scikitlearn: fix python 3.6 tests
NixOS_GitHub has left #nixos []
ryanartecona has quit [(Quit: ryanartecona)]
pie__ has quit [(Quit: Leaving)]
pie_ has joined #nixos
saintromuald has quit [(Max SendQ exceeded)]
ceevusee has quit [(Remote host closed the connection)]
ceevusee has joined #nixos
_ris is now known as ris
arianvp2 has joined #nixos
k2s has quit [(Quit: Leaving)]
saintromuald has joined #nixos
proteus-guy has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
ceevusee has quit [(Max SendQ exceeded)]
ceevusee has joined #nixos
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26337: Ipmiview: 2.11.0 -> 2.12.0 (master...ipmiview) https://git.io/vHgMW
NixOS_GitHub has left #nixos []
saintromuald has quit [(Max SendQ exceeded)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbrgm opened pull request #26412: journalbeat: 5.1.2 -> 5.4.1 (master...upgrade-journalbeat) https://git.io/vHw3w
NixOS_GitHub has left #nixos []
proteus-guy has quit [(Ping timeout: 246 seconds)]
kojiro has quit [(Ping timeout: 240 seconds)]
saintromuald has joined #nixos
<base9> Hey guys, new to NixOS. Just a quick questions about the packages: how close are they to upstream when on stable vs unstable?
ceevusee has quit [(Remote host closed the connection)]
<dash> base9: in terms of distro patches? about the same
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26412: journalbeat: 5.1.2 -> 5.4.1 (master...upgrade-journalbeat) https://git.io/vHw3w
NixOS_GitHub has left #nixos []
saintromuald has quit [(Max SendQ exceeded)]
ceevusee has joined #nixos
bohan_ is now known as bohan
jonte_ has quit [(Ping timeout: 255 seconds)]
saintromuald has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26410: Fix hooks not being called when overriding phases in various packages (master...hooks) https://git.io/vHVQJ
NixOS_GitHub has left #nixos []
saintromuald has quit [(Max SendQ exceeded)]
drakonis has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
saintromuald has joined #nixos
proteus-guy has joined #nixos
jgertm has joined #nixos
saintromuald has quit [(Ping timeout: 246 seconds)]
ixxie has quit [(Ping timeout: 246 seconds)]
ceevusee has quit [(Remote host closed the connection)]
saintromuald has joined #nixos
kiloreux has quit [(Ping timeout: 255 seconds)]
saintromuald has quit [(Ping timeout: 260 seconds)]
hellrazo1 has joined #nixos
hellrazor has quit [(Ping timeout: 260 seconds)]
saintromuald has joined #nixos
kiloreux has joined #nixos
bennofs has quit [(Ping timeout: 255 seconds)]
saintromuald has quit [(Ping timeout: 255 seconds)]
saintromuald has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
pie_ has quit [(Ping timeout: 260 seconds)]
hiratara has joined #nixos
base9 has quit [(Remote host closed the connection)]
python476 has quit [(Ping timeout: 240 seconds)]
cpennington has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] Mic92 opened pull request #1399: Add .editorconfig (master...master) https://git.io/vHwC2
NixOS_GitHub has left #nixos []
dalaing_ has joined #nixos
base9 has joined #nixos
ixxie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #24966: rocker: init at 1.3.0 (master...rocker_1_3_0) https://git.io/vSdoV
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #26399: ammonite: 0.9.6 -> 0.9.9 (master...ammonite_0_9_9) https://git.io/vHVt6
NixOS_GitHub has left #nixos []
ceevusee has joined #nixos
base9 has quit [(Ping timeout: 246 seconds)]
xadi has quit [(Ping timeout: 240 seconds)]
aneeshusa has quit [(Quit: WeeChat 1.8)]
xadi has joined #nixos
thc202 has quit [(Ping timeout: 246 seconds)]
base9 has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
saintromuald has quit [(Ping timeout: 268 seconds)]
arianvp2 has quit [(Quit: arianvp2)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
RayNbow`TU has quit [(Ping timeout: 240 seconds)]
hiratara has joined #nixos
<sphalerite> How does plasma-shell manage to use up 261GB of virtual memory?
<gchristensen> the kernel lies about memory
<sphalerite> I know that, but that's a very interesting lie for it to tell
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vHwRV
<NixOS_GitHub> nixpkgs/master 7b80f4c Antoine Eiche: nixos/cloudinit: add cloudinit test...
<NixOS_GitHub> nixpkgs/master 225a230 Graham Christensen: Merge pull request #23173 from nlewo/test/cloudinit...
NixOS_GitHub has left #nixos []
<clever> haskell programs for example, i think use 1tb of virtual memory
<clever> instead of constantly trying to allocate memory from the kernel and pay the overhead, it just grabs a 1tb chunk, and lets lazy allocation deal with it
<gchristensen> o.m.g.
<Sonarpulse> lols
<sphalerite> nom nom moar address space
<clever> i also recently thought of a potential exploit in that, reading the source, its not capable of allocating more space when that 1tb runs out
<sphalerite> does qt do the same then?
<Sonarpulse> clever, master of the RTS!
<clever> so if you somehow had 1tb of swap, and tried to use more then 1tb of haskell heap, it would fail
agjacome has quit [(Quit: leaving)]
saintromuald has joined #nixos
<sphalerite> Hm, it doesn't allocate all that memory right away though
<sphalerite> starts off with only 3.6GB
<sphalerite> "only"
<sphalerite> heh, but baloo_file goes straight for 256G
saintromuald has quit [(Max SendQ exceeded)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vHw0W
<NixOS_GitHub> nixpkgs/master abc4f5a Venkateswara Rao Mandela: git-series: install man page
<NixOS_GitHub> nixpkgs/master d1d9186 Graham Christensen: Merge pull request #26406 from vmandela/git-series-man...
NixOS_GitHub has left #nixos []
saintromuald has joined #nixos
saintromuald has quit [(Max SendQ exceeded)]
saintromuald has joined #nixos
phinxy has quit [(Quit: Leaving)]
ixxie has quit [(Ping timeout: 260 seconds)]
Afterlith[m] is now known as SovereignBleak
SovereignBleak is now known as Afterlith[m]1
orivej has quit [(Ping timeout: 240 seconds)]
base9 has quit [(Ping timeout: 240 seconds)]
saintromuald has quit [(Max SendQ exceeded)]
saintromuald has joined #nixos
kiloreux has quit [(Remote host closed the connection)]
Afterlith[m]1 is now known as Afterlith[m]2
takle has quit [(Remote host closed the connection)]
saintromuald has quit [(Ping timeout: 246 seconds)]
Afterlith[m]2 is now known as Afterlith
Afterlith is now known as Sovereign_Bleak
simukis has quit [(Read error: Connection reset by peer)]
markus1209 has joined #nixos
k0001 has quit [(Ping timeout: 260 seconds)]
markus1219 has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
base9 has joined #nixos
digitus has quit [(Quit: digitus)]
markus1189 has quit [(Ping timeout: 260 seconds)]
markus1199 has quit [(Ping timeout: 240 seconds)]
Rotaerk has joined #nixos
Nobabs27 has joined #nixos
<Nobabs27> quick question: how do I require packages in the config?
simukis has joined #nixos
base9 has quit [(Ping timeout: 240 seconds)]
<c74d> clever: do Haskell programs just not work with the sysctl setting `vm.overcommit_memory=2`?
<c74d> Nobabs27: require how, in which config?
<Nobabs27> the main one
<Nobabs27> configuration.nix
<Nobabs27> c74d ^
<clever> c74d: havent checked, i would assume that it has some fallback mechanism
<c74d> Nobabs27: "require" in the JavaScript sense?
<Nobabs27> no
<Nobabs27> require as in, have it to where the package is installed upon nixos-rebuild switch
<Nobabs27> { config, pkgs, ... } would it go there>
<c74d> I'm sorry, I don't understand
<Nobabs27> clever: Was it you that said this is how you usually install your packages?
<Nobabs27> Let me rephrase then: What is the best way to install packages?
<Nobabs27> c74d ^
<clever> either environment.systemPackages or a buildEnv in ~/.config/nixpkgs/config.nix
<c74d> Usually one sets `environment.systemPackages = with pkgs; [ chromium firefox vim emacs ... ]` (using some common packages as examples)
<clever> each has different pros and cons
<c74d> (take clever's word over mine)
<clever> i would prefer to keep everything in systemPackages, so you can update everything at once
<clever> but then if one thing fails to build, it holds the entire os behind
takle has joined #nixos
<Nobabs27> ok and does it matter where in the conf that goes?
<clever> the order of an attribute set doesnt matter
<c74d> clever: doesn't one thing failing to build hold the channel behind anyway?
<clever> nope
<clever> only tests failing can hold the channel back
<c74d> ah
<Nobabs27> do I do pkg.chromium or nixos.chromium ?
<Nobabs27> *pkgs
<c74d> Nobabs27: pkgs.chromium inside configuration.nix
<clever> the non -samll channels will also wait for hydra to try every job, but a fail wont block it
<Nobabs27> ok
<c74d> nixos.chromium with nix-env
erasmas has quit [(Quit: leaving)]
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
mudri has quit [(Quit: WeeChat 1.8)]
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #26414: xdg_utils: fix #25511 (broken sed magic) (master...issue-25511) https://git.io/vHw2o
NixOS_GitHub has left #nixos []
<Nobabs27> environment.systemPackages = [ pkgs.chromium pkgs.terminator ]
<Nobabs27> right?
<c74d> that should work
takle has quit [(Ping timeout: 240 seconds)]
mkoenig has quit [(Remote host closed the connection)]
ixxie has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
<dmj`> when hydra emails me that a build passed, I get happy
goibhniu has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
Isorkin has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos