takle has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Remote host closed the connection)]
<gchristensen> clever: I can't find anything that can support what you say about 1tb of virtual mem?
<Sonarpulse> gchristensen: clever linked it above
eacameron has joined #nixos
<Sonarpulse> anyone know what nixpkgs-usntable is stuck on?
<Sonarpulse> I'd like to rebase
<gchristensen> oops, thanks
takle has joined #nixos
<gchristensen> ec9a23332f Sonarpulse
eacameron has quit [(Ping timeout: 255 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
ixxie has quit [(Ping timeout: 246 seconds)]
takle has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
<Sonarpulse> gchristensen: thanks!
<gchristensen> you're welcome!
<Sonarpulse> gchristensen: oh
<gchristensen> oh?
<Sonarpulse> I mean why hasn't it updated
<gchristensen> oh
<Sonarpulse> :)
<Sonarpulse> I have some chained PRs
<Sonarpulse> but if I merge the one
<Sonarpulse> then I would need to wait for the channel to catch up with the merge commit
<Sonarpulse> cause the second has a conflict
<Sonarpulse> cause so many packages changed
<gchristensen> ack :(
<Sonarpulse> hercules....need so bad....
vaibhavsagar has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
sellout- has joined #nixos
obadz has quit [(Ping timeout: 246 seconds)]
Itkovian has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
obadz has joined #nixos
deba5e12 has quit [(Ping timeout: 268 seconds)]
deba5e12 has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
deba5e12 has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
deba5e12 has joined #nixos
ris has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
cransom has quit [(Quit: WeeChat 1.7)]
taktoa has joined #nixos
deba5e12 has quit [(Ping timeout: 255 seconds)]
vaibhavsagar has quit [(Ping timeout: 255 seconds)]
lsyoyom has quit [(Quit: WeeChat 1.8)]
taktoa has quit [(Remote host closed the connection)]
vaibhavsagar has joined #nixos
takle has joined #nixos
vaibhavsagar_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has joined #nixos
deba5e12 has joined #nixos
takle has joined #nixos
lambdamu_ has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
lambdamu has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
takle has joined #nixos
alx741 has joined #nixos
ertes has joined #nixos
cransom has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
drakonis has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
joehh has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
s33se_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
c0dehero has quit [(Ping timeout: 240 seconds)]
s33se has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
mbrgm has quit [(Ping timeout: 255 seconds)]
mbrgm has joined #nixos
orivej has joined #nixos
derjohn_mob has quit [(Ping timeout: 255 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
derjohn_mob has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
ryanartecona has joined #nixos
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 5 new commits to master: https://git.io/vHw13
<NixOS_GitHub> nixpkgs/master f0a4e91 Franz Pletz: batman-adv: 2017.0 -> 2017.1
<NixOS_GitHub> nixpkgs/master 51a359c Franz Pletz: lmdb: 0.9.19 -> 0.9.21
<NixOS_GitHub> nixpkgs/master f18bcc1 Franz Pletz: knot-dns: 2.4.2 -> 2.5.0
NixOS_GitHub has left #nixos []
simukis has quit [(Ping timeout: 255 seconds)]
<puffnfresh> I wanna take a .drv path and extract some info from it
<puffnfresh> nix-store has --print-env which is cool, but I want more info than just the env
<puffnfresh> do we have a way of printing a .drv as JSON or something?
takle has quit [(Ping timeout: 255 seconds)]
eacameron has quit [(Remote host closed the connection)]
takle has joined #nixos
jgertm has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #26375: virtmanager: Fix python import error (master...fix-virt-manager) https://git.io/vHaJC
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
takle has joined #nixos
byteflame has joined #nixos
deba5e12 has quit [(Quit: leaving)]
byteflame has quit [(Client Quit)]
byteflame has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has joined #nixos
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vHwMG
<NixOS_GitHub> nixpkgs/master 086c2ef Peter Hoeg: syncthing: 0.14.28 -> 0.14.29
NixOS_GitHub has left #nixos []
hexagoxel has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
hexagoxel has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
UFODivebomb has quit [(Ping timeout: 255 seconds)]
UFODivebomb has joined #nixos
c0dehero has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
takle has joined #nixos
roconnor has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 268 seconds)]
akaWolf has quit [(Read error: Connection reset by peer)]
akaWolf has joined #nixos
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lverns opened pull request #26416: make-desktopitem: make genericName optional (master...make-genericName-optional) https://git.io/vHwDh
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
eacameron has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
sellout-1 has joined #nixos
sellout- has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 268 seconds)]
Nobabs27 has quit [(Quit: Leaving)]
takle has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
nslqqq has quit [(Ping timeout: 255 seconds)]
nslqqq has joined #nixos
hellrazo1 has quit [(Read error: Connection reset by peer)]
hellrazo1 has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
byteflame has quit [(Ping timeout: 260 seconds)]
jgertm has joined #nixos
takle has joined #nixos
revtintin has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
base9 has joined #nixos
vaibhavsagar_ has quit [(Ping timeout: 255 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
jsgrant has joined #nixos
takle has joined #nixos
base9 has quit [(Remote host closed the connection)]
<unlmtd> I have to specify "--upload-path=" when cloning a git from my remote machine
<unlmtd> otherwise I get command not found: git-upload-pack
takle has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
philipwhite has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
takle has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
justbeingglad has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
jgertm has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
vaibhavsagar has joined #nixos
<unlmtd> I had to 'programs.zsh.enable = true" for /etc/zshenv to be generated
<unlmtd> duh!
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
jgertm has joined #nixos
hellrazor has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
jgertm has quit [(Ping timeout: 240 seconds)]
hellrazo1 has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
<LnL> Sonarpulse: I think nox broke with some python updates, there might be other stuff have not checked
jgertm has joined #nixos
alx741 has quit [(Quit: alx741)]
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
athan has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
orivej has quit [(Read error: Connection reset by peer)]
uralbash has joined #nixos
takle has joined #nixos
uralbash has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26408: rssguard: init at 3.4.0 (master...add-rssguard) https://git.io/vHVDe
NixOS_GitHub has left #nixos []
justbeingglad has left #nixos []
<yurrriq> can anyone help me figure out how to force my local nix to build on a different platform via nix-daemon? locally I'm on darwin, and I've got an x86_64-linux via nix-daemon, but when importing my pinned nixpkgs.nix I can't figure out how to tell it to build on linux instead of darwin..
takle has quit [(Ping timeout: 260 seconds)]
MercurialAlchemi has joined #nixos
jgertm has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
endforma1 has quit [(Quit: WeeChat 1.7)]
marsel has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
jgertm has joined #nixos
takle has joined #nixos
marsel has quit [(Ping timeout: 246 seconds)]
drakonis has quit [(Remote host closed the connection)]
dalaing_ has quit [(Remote host closed the connection)]
marusich has joined #nixos
takle has quit [(Ping timeout: 258 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
takle has joined #nixos
katyucha is now known as Guest90430
Guest94148 is now known as katyucha
takle has quit [(Ping timeout: 255 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
ceevusee has quit [(Remote host closed the connection)]
Isorkin has joined #nixos
Isorkin has quit [(Client Quit)]
takle has joined #nixos
FRidh has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
freusque has joined #nixos
sellout- has joined #nixos
Tucky has joined #nixos
<puffnfresh> yurrriq: I'm working on things for this right now
<puffnfresh> yurrriq: https://nixos.org/nix/manual/#chap-distributed-builds have you seen this?
takle has joined #nixos
<puffnfresh> setting NIX_BUILD_HOOK NIX_REMOTE_SYSTEMS and NIX_CURRENT_LOAD allows me to build for x86_64-linux on Darwin
sellout-1 has quit [(Ping timeout: 258 seconds)]
<yurrriq> puffnfresh: awesome! no, I'll take a look
freusque has quit [(Client Quit)]
<yurrriq> I'm using this btw https://github.com/lnl7/nix-darwin
ilyaigpetrov has joined #nixos
<puffnfresh> ah awesome
<yurrriq> oops
<yurrriq> well that and this https://github.com/lnl7/nix-docker
<puffnfresh> awesome, I'm writing some code to supercede nix-docker
<yurrriq> !!! can't wait
<puffnfresh> using Nix to build a Hyperkit VM
<yurrriq> https://github.com/NixOS/nixpkgs/issues/16696 is actually why I wanted to cross build anyway
<puffnfresh> then running it and exporting the right environment variables :)
<puffnfresh> yurrriq: exactly my motivation
<puffnfresh> haha :)
<LnL> if you have remote builds configured you can run nix-build '<nixpkgs>' -A hello --argstr system x86_64-linux
<yurrriq> puffnfresh: hooray!
<yurrriq> LnL: yeah, that works, but I'm specifically having trouble with dockerTools from daarwin
<LnL> ah yes, that needs qemu IIRC
<yurrriq> basically, I've got a nix expression that builds a Clojure app (.jar) and I want to take that, add a few native deps (graphicsmagick etc) and generate a lean docker image via dockerTools.buildImage
<yurrriq> all from darwin :)
takle has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
<yurrriq> I'm also pinning a version of nixpkgs and using fetchFromGithub for that, so I think I'm messing up my top-level pkgs in there too
takle has joined #nixos
<yurrriq> that is to say, I think with the proper config, I could probably use your nix-docker setup, LnL, and get my Docker image to build
<yurrriq> but I don't know how that looks :)
neoo has quit [(Ping timeout: 255 seconds)]
freusque has joined #nixos
<yurrriq> LnL, puffnfresh: This project is for work so I can't share directly, but if I pulled out the general structure into a dummy repo, would you be willing and able to take a look and try to point me in the right direction? To be clear, remote building, generally, works on my system already, just not how I want it to for this project..
<LnL> not sure, the nixbuild users can't do things like chmod/useradd
takle has quit [(Ping timeout: 246 seconds)]
roblabla has quit [(Ping timeout: 240 seconds)]
pierron has quit [(Ping timeout: 240 seconds)]
pierron has joined #nixos
roblabla has joined #nixos
sphalerite has quit [(Ping timeout: 240 seconds)]
johnw_ has quit [(Ping timeout: 260 seconds)]
sphalerite has joined #nixos
<yurrriq> hmmmmm ok
<yurrriq> I'm gonna do it anyway as it might help me pinpoint the issue
freusque has quit [(Quit: WeeChat 1.7)]
takle has joined #nixos
johnw has joined #nixos
proteus-guy has quit [(Remote host closed the connection)]
frankpf has joined #nixos
freusque has joined #nixos
<LnL> but a docker layer is just a tarball so it should be possible to create that correctly without a vm
byteflame has joined #nixos
pie_ has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<yurrriq> right
<yurrriq> why does dockerTools require linux then? I guess I haven't looked into that
* yurrriq can read the issue discussion
takle has joined #nixos
byteflame has quit [(Ping timeout: 255 seconds)]
takle has quit [(Ping timeout: 246 seconds)]
<yurrriq> I'm off to bed, but please mention me here or on GitHub (same username) when you have something for me to try out, puffnfresh. :)
Itkovian has quit [(Read error: Connection reset by peer)]
freusque has quit [(Ping timeout: 246 seconds)]
takle has joined #nixos
pie_ has quit [(Ping timeout: 255 seconds)]
takle has quit [(Ping timeout: 246 seconds)]
marsel has joined #nixos
takle has joined #nixos
freusque has joined #nixos
takle has quit [(Ping timeout: 245 seconds)]
marusich has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHwAa
<NixOS_GitHub> nixpkgs/master 6f8f50f Benjamin Staffin: libinput: 1.5.1 -> 1.7.2...
<NixOS_GitHub> nixpkgs/master ce20f40 Jörg Thalheim: Merge pull request #26361 from benley/libinput-1.7.2...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHwA1
<NixOS_GitHub> nixpkgs/master 7445649 Benjamin Staffin: xorg-input-libinput: 0.25.0 -> 0.25.1...
<NixOS_GitHub> nixpkgs/master 09e59ad Jörg Thalheim: Merge pull request #26378 from benley/xf86-input-libinput-0.25.1...
NixOS_GitHub has left #nixos []
takle has joined #nixos
thc202 has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
Raimondii has joined #nixos
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
takle has quit [(Ping timeout: 255 seconds)]
revtintin has quit [(Quit: WeeChat 1.7)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sifmelcara opened pull request #26417: pythonPackages.pygit2: 0.25.0 -> 0.25.1 (master...update/pygit2) https://git.io/vHwxz
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
arianvp2 has joined #nixos
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
goibhniu has joined #nixos
<puffnfresh> yurrriq: hey yeah I'll send you something, 2 things:
<puffnfresh> 1. dockerTools uses runInLinuxVM to run commands, so you can say "build a layer by doing: ls > /etc/wat"
<puffnfresh> most things in dockerTools don't need that functionality, so it shouldn't use it, if not
<puffnfresh> 2. you should be able to build using (forceSystem "x86_64-linux").dockerTools - but you probably have to add "kvm" as a feature to your system list
<puffnfresh> the "kvm" part will be a lie
<puffnfresh> (forceSystem "x86_64-linux" "x86_64") actually
freusque has quit [(Quit: WeeChat 1.7)]
<puffnfresh> having KVM available means the build will be fast
<puffnfresh> so lying should work, it will just be slow
<puffnfresh> this is what I've been told anyway
<puffnfresh> I need to try it
<LnL> it works without kvm?
pie_ has joined #nixos
freusque has joined #nixos
<puffnfresh> I think that's what I was told
<puffnfresh> qemu "works" without KVM
<puffnfresh> I should just try it
jgertm has quit [(Ping timeout: 246 seconds)]
takle has quit [(Remote host closed the connection)]
<puffnfresh> LnL: well I have an image, I think it worked
<puffnfresh> and wasn't even that slow...
<LnL> with qemu or your thing?
Isorkin has joined #nixos
oida has joined #nixos
oida_ has quit [(Ping timeout: 255 seconds)]
takle_ has joined #nixos
mkoenig has joined #nixos
<domenkozar> yes, qemu can work without hardware virtualization
<domenkozar> but its
<domenkozar> really slow
philipwhite has quit [(Ping timeout: 260 seconds)]
takle_ has quit [()]
freusque has quit [(Ping timeout: 240 seconds)]
pie_ has quit [(Ping timeout: 260 seconds)]
mudri has joined #nixos
Myrl-saki has joined #nixos
<Myrl-saki> Is there a package that provides the "standard" man files?
<Myrl-saki> (Pretty much everything in sections 2 and 3, I think?)
<hyper_ch> hi domenkozar
<LnL> Myrl-saki: manpages I think
<jophish> Morning all!
<Myrl-saki> Oh.
<Myrl-saki> I didn't know this existed.. thanks.
<Myrl-saki> `man read` --> No manual entry for read
<Myrl-saki> This is under nix-shell though.
<Myrl-saki> Yep, works if on configuration.nix.
<Myrl-saki> LnL: Thanks.
<domenkozar> hyper_ch: hey!
<nixos-users-wiki> "NixOS on ARM" created by cillianderoiste https://git.io/vHrJ5
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26417: pythonPackages.pygit2: 0.25.0 -> 0.25.1 (master...update/pygit2) https://git.io/vHwxz
NixOS_GitHub has left #nixos []
ertes has quit [(Ping timeout: 268 seconds)]
byteflame has joined #nixos
byteflame has quit [(Ping timeout: 240 seconds)]
arianvp2 has quit [(Quit: arianvp2)]
pbogdan has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #26418: mesa: add valgrind support (staging...mesa-valgrind) https://git.io/vHrT9
NixOS_GitHub has left #nixos []
simukis has joined #nixos
arianvp2 has joined #nixos
pie_ has joined #nixos
pie_ has quit [(Changing host)]
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vHrkX
<NixOS_GitHub> nixpkgs/master c0b1e8a Frederik Rietdijk: python.pkgs.pathpy: 10.1 -> 10.3.1
NixOS_GitHub has left #nixos []
arianvp2 has quit [(Remote host closed the connection)]
arianvp2 has joined #nixos
arianvp2 has quit [(Remote host closed the connection)]
simukis has quit [(Quit: simukis)]
orivej has joined #nixos
arianvp2 has joined #nixos
jensens has joined #nixos
arianvp2 has quit [(Client Quit)]
ertes-w has joined #nixos
simukis has joined #nixos
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
ThatDocsLady has joined #nixos
subl3 has quit [(Ping timeout: 260 seconds)]
<Myrl-saki> Can you use Nix on a different OS?
<Myrl-saki> s/OS/kernel/
<goibhniu> Myrl-saki: yep, it works on other Linux distros and on OsX
<sphalerite> Can I use nixUnstable with a 1.11.8 daemon?
<Myrl-saki> goibhniu: Oh right.
<gchristensen> sphalerite: yeah
<Myrl-saki> goibhniu: Thanks.
<sphalerite> awesome
<goibhniu> Myrl-saki: sure, np
<Myrl-saki> Oh right. No steam games.
<Myrl-saki> Must reconsider.
<goibhniu> you can use steam
<LnL> we have steam
<Myrl-saki> On BSD, I mean.
<Myrl-saki> Oh wow. I didn't specify what kernel I was talking about. Sorry. @_@
<goibhniu> BSD support was dropped years ago because nobody was maintaining it
<Myrl-saki> goibhniu: Ah. :(
<LnL> in theory it still works, but hydra doesn't build anything for bsd so we have no idea when things break
simukis has quit [(Ping timeout: 246 seconds)]
<sphalerite> Is there an introduction to nixUnstable
<sphalerite> somewhere?
pie_ has quit [(Quit: Leaving)]
pie_ has joined #nixos
freusque has joined #nixos
pie_ has quit [(Changing host)]
pie_ has joined #nixos
<goibhniu> I've been trying to get NixOS onto an RPi zero (similar to the first RPi). According to the wiki, I'll need to use a serial connection to install and configure it. Does anyone know if there's an easier way?
<goibhniu> Perhaps using qemu-system-arm? (I couldn't get that to boot the image)
vaibhavsagar has quit [(Ping timeout: 246 seconds)]
k0001 has joined #nixos
<evangeline> hi, is somebody else experiencing this error while rebuiling nixos: http://dpaste.com/37B5DE3 : error: 'struct net_device' has no member named 'trans_start'
afics has quit [(Ping timeout: 255 seconds)]
<jophish> goibhniu: You might be interested in talking to clever
<jophish> clever's doing amazing things with converting existing systems to nix
byteflame has joined #nixos
<goibhniu> cool! I think I might be able to connect over serial anyway, so maybe it's grand ... It would be lovely to be able to test stuff out with qemu though
<joehh> hi all, is it a bad idea to use nixos as a samba ad controller? I need to migrate an old debian samba 3 domain controller (approx 20 users) to something more modern
<joehh> Am I venturing too far of the "well trodden path"?
<jophish> goibhniu: this is what I'm talking about https://github.com/cleverca22/nix-tests/blob/master/kexec/justdoit.nix
<goibhniu> jophish: oh! nice!
byteflame has quit [(Ping timeout: 240 seconds)]
<goibhniu> hi evangeline, is the e1000 module something special?
adamt has joined #nixos
ixxie has joined #nixos
afics has joined #nixos
adamt has quit [(Ping timeout: 255 seconds)]
byteflame has joined #nixos
<evangeline> goibhniu: it an ethernet driver: http://dpaste.com/13Z0616
<evangeline> goibhniu: can I temporarily disable it in configuration.nix to see whether everything builds fine without it?
ThatDocsLady has quit [(Ping timeout: 255 seconds)]
<goibhniu> evangeline: yeah, that should work, can you post your configuration?
byteflame has quit [(Ping timeout: 255 seconds)]
<evangeline> goibhniu: I don't want to post the whole configuration, since I have sensitive stuff in there, can I only post the part which is relevant, possibly the kernelModules and such?
<goibhniu> evangeline: sure, but I don't really know what to look for ... do you see a reference to e1000 there? ... it might be in the hardware-configuration.nix too
frankpf has quit [(Ping timeout: 255 seconds)]
samvher has joined #nixos
<samvher> Hi. I'm trying to pip install a package in a python virtualenv but I'm getting a library import error (libgomp.so.1). I found that the library is in /nix/store/<hash>-gcc-5.4.0-lib and added its directory to my LD_LIBRARY_PATH but this doesn't solve the problem. Has anyone here had similar issues with virtualenv?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roblabla opened pull request #26419: cyrus-sasl: Add saslauthd service and LDAP support (master...feature-sasl) https://git.io/vHrsh
NixOS_GitHub has left #nixos []
adamt has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roblabla opened pull request #26420: postfix: Add optional LDAP support, allow changing package in service (master...feature-postfix) https://git.io/vHrGs
NixOS_GitHub has left #nixos []
darlan has joined #nixos
ThatDocsLady has joined #nixos
orivej has quit [(Ping timeout: 258 seconds)]
mudri has quit [(Ping timeout: 246 seconds)]
<makefu> samvher: check https://nixos.org/nixpkgs/manual/#python ( develop local package ), using nix-shell instead of virtualenv is the preferred way to handle local development
<evangeline> goibhniu: yes it's in hardware-configuration.nix
<samvher> makefu: thanks. The problem is I have a python package for which there is no nix expression as far as I'm aware
<samvher> now maybe I can write the expression, but I just want to try out the package
ixxie has quit [(Ping timeout: 255 seconds)]
k0001 has quit [(Ping timeout: 240 seconds)]
Myrl-saki has quit [(Ping timeout: 255 seconds)]
<evangeline> goibhniu: http://dpaste.com/2J6VEVB : instead of using a hardcoded e1000e (I guess this was a workaround a while back when the network driver wasn't working or something), but I noticed that e1000e is in the nixpkgs: how can I reference it directly without using the e1000e variable?
k0001 has joined #nixos
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
Myrl-saki has joined #nixos
<makefu> samvher: you only need to write a default.nix for the development, it only defines which dependencies are required
<makefu> working with this is quite straight forward
<goibhniu> evangeline: cool, so you could comment out the "e1000e =" section in the let
<samvher> makefu: but if I understand this is for when I develop my own package right? I simply have a package which I can install easily via pip, but which is not in python27Packages
<samvher> *easily on non-nixos ;)
k0001 has quit [(Ping timeout: 246 seconds)]
<makefu> ah i see
JagaJaga has joined #nixos
<makefu> you could run with a fhsEnv
xificurC has joined #nixos
__Sander__ has joined #nixos
<makefu> https://nixos.org/nixpkgs/manual/#sec-fhs-environments , the basic idea is to create an environment which has libs in the default search paths
mudri has joined #nixos
<makefu> after activating the userEnv you should be able to run it
<samvher> makefu: thanks, I will have a look at that. I'm still curious though, do you know why it doesn't find the libraries now? Because I am in a nix-shell with gcc available so I would expect the libraries to be available as well, certainly if the LD_LIBRARY_PATH is set
<niksnut> shlevy: pong
<goibhniu> samvher: maybe you also need to set LIBRARY_PATH?
<makefu> samvher: the outputs were split some time ago, so there is the gcc package which may also be split right now. see http://nixos.org/nixpkgs/manual/#idm140737318570528
<makefu> so you may need gcc.lib in your shell or however the package is called :)
<samvher> aha ok thanks both, I will try LIBRARY_PATH and have a look at that
<makefu> if you get something running be sure to add the info to https://github.com/nixos-users/wiki/wiki
<samvher> alright
xificurC has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
peacememories has joined #nixos
deba5e12 has joined #nixos
pbogdan has joined #nixos
Isorkin has joined #nixos
vaibhavsagar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Fuuzetsu pushed 1 new commit to master: https://git.io/vHrWX
<NixOS_GitHub> nixpkgs/master 819f990 Mateusz Kowalczyk: jenkins: 2.63 -> 2.64
NixOS_GitHub has left #nixos []
<pbogdan> is there a way to detect if current process is executing within nix-shell?
<niksnut> yes, $IN_NIX_SHELL
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
jonte_ has joined #nixos
<pbogdan> thank you
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1399: Add .editorconfig (master...master) https://git.io/vHwC2
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 240 seconds)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sjagoe opened pull request #26423: grin: Fix build dependencies (master...fix-grin-dependencies) https://git.io/vHrlA
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
goibhniu has quit [(Ping timeout: 260 seconds)]
ixxie has joined #nixos
faffolter has quit [(Read error: Connection reset by peer)]
kojiro has joined #nixos
kojiro has quit [(Changing host)]
kojiro has joined #nixos
kojiro has quit [(Remote host closed the connection)]
carlosda1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 8 new commits to master: https://git.io/vHrBC
<NixOS_GitHub> nixpkgs/master 0037107 Frederik Rietdijk: python.pkgs.Nikola: 1.5.2 -> 1.5.3
<NixOS_GitHub> nixpkgs/master 8144d13 Frederik Rietdijk: python.pkgs.astroid: 1.5.2 -> 1.5.3
<NixOS_GitHub> nixpkgs/master 6df7edd Frederik Rietdijk: python.pkgs.guessit: 2.1.3 -> 2.1.4
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
ixxie has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jlesquembre opened pull request #26424: hyper: 1.3.1 -> 1.3.3 (master...hyper) https://git.io/vHrRY
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vHrRZ
<NixOS_GitHub> nixpkgs/master 66e0595 Frederik Rietdijk: Revert "python.pkgs.ntlm-auth: 1.0.3 -> 1.0.4"...
NixOS_GitHub has left #nixos []
ixxie has joined #nixos
ThatDocsLady has quit [(Read error: Connection reset by peer)]
byteflame has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
byteflame has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to release-17.03: https://git.io/vHr0b
<NixOS_GitHub> nixpkgs/release-17.03 300fa46 Eelco Dolstra: nix: 1.11.8 -> 1.11.9...
NixOS_GitHub has left #nixos []
carlosda1 has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vHrEO
<NixOS_GitHub> nixpkgs/master 3d4a8e1 Eelco Dolstra: nixUnstable: 1.12pre5350_7689181e -> 1.12pre5413_b4b1f452
NixOS_GitHub has left #nixos []
<yurrriq> puffnfresh: cool, thanks! I'll give that a try after work.
Neo-- has joined #nixos
ThatDocsLady has joined #nixos
thc202 has quit [(Ping timeout: 268 seconds)]
noam__ is now known as noam
<noam> nix newb here. in nix-repl, given i have some function, is there some way to print it's arguments and/or body?
<makefu> noam: check if builtins.trace is good enough for you
<noam> will check now
<niksnut> builtins.functionArgs shows attrset matches
<makefu> combining both will be what you are looking for then :)
<noam> functionArgs is what i wanted, thanks
<noam> not sure what trace does
<noam> can you also see docs of functions from the repl?
ioo has joined #nixos
<gchristensen> using nix-shell + bundix + bundlerEnv, when I put the bundlerEnv in to the buildInputs of a shell.nix, and the bundlerEnv is based on a Gemfile with `gemspec` in it, I can run `rspec` but it says "There was an error parsing `Gemfile`: There are no gemspecs at /nix/store/0071zdad20ags7hfkpsc5dbnr7mpl0zk-gemfile-and-lockfile. Bundler cannot continue." has anyone seen this or dealt with it before?
<Isorkin> Hi. how t- build with 32 bit mode? - error - zm2.cpp:1:0: sorry, unimplemented: 64-bit mode not compiled in
<makefu> noam: so you are currently going through http://lethalman.blogspot.de/2014/09/nix-pill-13-callpackage-design-pattern.html right now, correct?
<noam> actually i'm not going through anything right now, i read about some nix stuff like a week or two ago and i'm trying to refresh my memory
<noam> i think i saw this blog
Rotaerk has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26424: hyper: 1.3.1 -> 1.3.3 (master...hyper) https://git.io/vHrRY
NixOS_GitHub has left #nixos []
<makefu> noam: the nix pills are one of the most complete tutorials regarding how nix works
<noam> i'll give it a read, thanks
thc202 has joined #nixos
<pie_> anyone remember offhand how to install 32bit graphics drivers in addition to the noral 64bit ones
<Profpatsch> Hi pie_
<Profpatsch> pie_: Will you be on Camp++?
<pie_> oh wait i already have that enabled...
<pie_> Profpatsch, i hope so but family problems :C
<Profpatsch> Oh :(
<pie_> thanks for the reminder though because i almost forgot
<Profpatsch> hehe
<gchristensen> using nix-shell + bundix + bundlerEnv, when I put the bundlerEnv in to the buildInputs of a shell.nix, and the bundlerEnv is based on a Gemfile with `gemspec` in it, I can run `rspec` but it says "There was an error parsing `Gemfile`: There are no gemspecs at /nix/store/0071zdad20ags7hfkpsc5dbnr7mpl0zk-gemfile-and-lockfile. Bundler cannot continue." has anyone seen this or dealt with it before?
<gchristensen> oops, sorry for the double-post
<Profpatsch> pie_: you were at Congress iirc, right?
<Profpatsch> Oh, right, ascimoo was also there.
<pie_> yeah
<jophish> Shame there's no fetch ipfs
<Profpatsch> pie_: Next congress will be a bit closer, in Leipzig.
<Profpatsch> jophish: Would you have to have an ipfs services enabled?
<jophish> Profpatsch: I suppose so
<Profpatsch> jophish: afaik you don’t want to go through the http mirror, so you’d need to include an IPFS client into ni
<Profpatsch> nix
<jophish> my precise problem at the moment is that I'd like to write a derivation for which the source is on dropbox
<Profpatsch> jophish: ugh
<jophish> I don't think I can make a permalink t the file
<jophish> to*
<jophish> so I thought I could stick it on ipfs
<Profpatsch> Dropbox can make public links, yes.
<jophish> oh?
<Profpatsch> At least last I looked, over a year ago.
<jophish> I can't see anything on the page to allow that https://www.dropbox.com/sh/dywzk3gyb12hpe5/AAD5YkUa8XgMpHs2gCRgmCVCa?lst=
<Profpatsch> Of course they can change that at any time.
<jophish> Profpatsch: well, I suppose any host could
<Profpatsch> Why not host it somewhere sane?
<jophish> although I do feel that dropbox is somewhat less reliable for some reason
<jophish> Profpatsch: hence my ipfs idea
<Profpatsch> jophish: yeah, but companies like Facebook will, eventually.
<Profpatsch> Or Dropbox
<pie_> Profpatsch, oh christ, camp is in like a month!?
<Profpatsch> Compare to GNU programs: theywill not disappear for no reason. :)
<Profpatsch> jophish: Why not just put it on Github? Or a server somewhere?
<Profpatsch> pie_: Nearly exactly a month, yes.
<Profpatsch> Oh btw other Nix people: https://camp.hsbp.org/2017/pp7e1/
* pie_ flails around in panic
<jophish> Profpatsch: yeah, I'll do that. Was hoping that I could just stick it on "the permanent web" and forget about it
<pie_> github is permanent enough?
<jophish> "house 200.000 soldiers at a time"
<pie_> >.>
<pie_> <,<
<Profpatsch> jophish: DB is the exact opposite of permanent
<jophish> there are a lot of nix developers!
<LnL> gchristensen: bundler needs the Gemfile
<jophish> and measured to the nearest 1000th!
<gchristensen> LnL: it has the gemfile, but I don't think it can get the gemspec?
<pie_> Profpatsch, oh god inb4 #nixos takes over camppp :P
<Profpatsch> So if you can come to Hungarey, it’s been hell of a time last year.
byteflame has joined #nixos
<Profpatsch> -e
<jophish> Profpatsch: yeah, but if it was easy to make a permalink to it I'd consider this issue solved for the time being :)
<Profpatsch> Github is pretty okay for the moment.
<gchristensen> I "fixed" it by using this: buildInputs = [ "${env}/${env.ruby.gemPath}" env env.ruby ]; shellHook = ''export GEM_HOME="${env}/${env.ruby.gemPath}" '';
kriztw_ is now known as kriztw
<jophish> Profpatsch: errr, what is "Club-Mate"
<pie_> Profpatsch, though if you really wanted exposure youd probably the mailing list :P
<pie_> i wonder how many of us there will be this time, its kinda nice when there arent a huge amount of people
<pie_> but hey
<pie_> \o/
<LnL> gchristensen: not sure, it's been a while since I used bundix
<LnL> but that line kind of looks familiar :)
<gchristensen> pie_: forgive me but I hope there are LOTS of people :D
<pie_> gchristensen, im not really complaining :D
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
roconnor has joined #nixos
<danbst> hardcode for Debian in .NET
<danbst> Nix fight with .NET Core will be epic
<Profpatsch> gchristensen: Will you be there? oO
<gchristensen> Profpatsch: no :(
<pie_> gchristensen, yeah, will you!!!?
<pie_> aw :P
kojiro has joined #nixos
<Profpatsch> gchristensen: aw :(
drets has joined #nixos
<pie_> anyone able to get this to run in wine? https://www.reddit.com/r/ReverseEngineering/comments/1izity/cantordust_a_binary_visualization_tool/ see the download demo link
<pie_> dude on #winehq got it running no problem just by winetricks dotnet40 xna40
<pie_> for me it keeps crashing
<drets> Hi guys, how can I do the same on nixos: npm install -g cordova ionic ?
<kojiro> I have made a little strange progress on my PATH issue
<kojiro> I found that nix-shell always adds the weird bash path to PATH
<drets> Should I clone https://github.com/ionic-team/ionic, then do npm2nix, then build the package or there is a simpler way?
adamt has quit [(Ping timeout: 246 seconds)]
pie__ has joined #nixos
<pie__> Profpatsch, i cant believe a year has passed
pie_ has quit [(Ping timeout: 260 seconds)]
ioo has quit [(Quit: Leaving)]
<Neo--> hey everyone, how are sha256 hashes for nixpkgs calculated? I've just noticed that e.g. pycharm's sha256 hash differs from officially specified one: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/jetbrains/default.nix#L325 vs. https://download.jetbrains.com/python/pycharm-professional-2017.1.3.tar.gz.sha256
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
snikkers has joined #nixos
<Isorkin> Hi. https://github.com/NixOS/nixpkgs/pull/19944/files#diff-d2b4362d4499a7b177bbc865fa189886 how to- build with 32 bit mode? - error - zm2.cpp:1:0: sorry, unimplemented: 64-bit mode not compiled in
<Profpatsch> pie__: Yeah, I have lost all track of days, weeks and months.
<Profpatsch> It’s been like “oh, it’s winter. Oh, now it’s spring”
<pie__> ok it works with wineFull, so some lib was missing
<danbst> Isorkin: you can try with `myPackage32bit = pkgs.callPackage_i686 ./path/to/file { };`
<ison111> \quit
ison111 has quit [(Quit: WeeChat 1.4)]
<Neo--> danbst, ah, --base32. Thanks!
jonte_ has quit [(Ping timeout: 255 seconds)]
ryanartecona has joined #nixos
dannyg has joined #nixos
erasmas has joined #nixos
<Isorkin> danbst: does not work, same error
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah closed pull request #26296: autorandr: 855c18b -> ee77c35 (master...master3) https://git.io/vH0Jx
NixOS_GitHub has left #nixos []
binaryphile has joined #nixos
jensens has quit [(Ping timeout: 255 seconds)]
pbogdan has joined #nixos
k0001 has joined #nixos
<socksy_> hellllp i updated my nixos and now i keep getting "undefined symbol: drmGetDevices2" errors launching slack and firefox
goibhniu has joined #nixos
<socksy_> (with libGL)
ixxie has quit [(Quit: Lost terminal)]
<socksy_> ok they are both installed in my user profile not my main one
<socksy_> but i don't understand why that broke them
<kojiro> Could someone please test something for me? echo your $PATH as a normal user, then echo your $PATH inside a nix-shell and see if the bash path from /etc/nix/nix.conf build-sandbox-paths is in either of those?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<danbst> kojiro: nah, it isn't there
peacememories has joined #nixos
<kojiro> well argh.
<kojiro> thanks for checking, danbst
<danbst> kojiro: I lied, it is there
<kojiro> ooh
<kojiro> danbst: if you execute bash in a nix-shell, which bash do you get?
<kojiro> (iow, where is it in the PATH relative to the "real" bash?)
<danbst> kojiro: I get bash from nix.conf
<danbst> kojiro: it is actually different from my normal bash
k0001 has quit [(Ping timeout: 246 seconds)]
k0001_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] uskudnik opened pull request #26425: jetbrains.idea-ultimate: 2017.1.2 -> 2017.1.3 (master...idea-ultimate-minor-2017.1.3) https://git.io/vHr1d
NixOS_GitHub has left #nixos []
carlosda1 has joined #nixos
<kojiro> danbst: that seems really weird
<kojiro> danbst: in that bash, is 'complete' a command?
frankpf has joined #nixos
orivej has joined #nixos
<kojiro> I guess I'll open an issue and see where it goes
pbogdan has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
Itkovian has joined #nixos
<danbst> kojiro: no such command
<kojiro> yeah, that's broken
<kojiro> danbst: thanks for the assist
carlosda1 has quit [(Ping timeout: 260 seconds)]
digitus has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vHrSi
<NixOS_GitHub> nixpkgs/master f0002ea Frederik Rietdijk: Python: improve update script...
NixOS_GitHub has left #nixos []
<kojiro> this doesn't seem to just be a nixos issue - https://github.com/NixOS/nixpkgs/issues/25746
<nixos-users-wiki> "Installation guide" edited by makefu https://git.io/vHrSb
vaibhavsagar has quit [(Ping timeout: 246 seconds)]
thblt has joined #nixos
aminechikhaoui has joined #nixos
bennofs has joined #nixos
snikkers has quit [(Ping timeout: 255 seconds)]
snikkers has joined #nixos
Wizek_ has joined #nixos
<shlevy> niksnut: Does trusted-binary-caches allow for variance in the query params in 1.12?
<shlevy> (I want the answer to be no ;) )
Fare has joined #nixos
<niksnut> query params?
<niksnut> you mean the nix store parameters?
samvher has quit [(Quit: Page closed)]
dannyg has left #nixos []
Wizek_ has quit [(Read error: Connection reset by peer)]
<shlevy> niksnut: yeah
eacamero_ has joined #nixos
snikkers has quit [(Ping timeout: 255 seconds)]
<kojiro> Can I somehow test a configuration change without actually writing to /etc/nixos/configuration.nix?
<LnL> nixos-rebuild build -I nixos-config=/tmp/foo.nix
<kojiro> thanks
Wizek_ has joined #nixos
<LnL> if that's what you mean
eacameron has quit [(Ping timeout: 260 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #26426: gdb: 7.12.1 -> 8.0 (master...update_gdb) https://git.io/vHr5a
NixOS_GitHub has left #nixos []
s33se_ has quit [(Ping timeout: 255 seconds)]
lsyoyom has joined #nixos
<sphalerite> Can anyone suggest a graphical file manager with image previews that will not screw stuff up if run outside of its desktop environment? Nautilus doesn't want to open any files, always complaining that no application is known for opening whatever file type, and dolphin has neither icons nor previews for any files
<hyper_ch> dolphin has preview
<Fare> Hi. Is there an official guide for NixOS on linode?
<sphalerite> hyper_ch: "dolphin has neither icons nor previews for any files"
<sphalerite> I presume this is because I'm not running KDE
<hyper_ch> no idea
<hyper_ch> but why wouldn't you want to run kde?
<simpson> Fare: Not that I know of. I guess you'd use nixos-assimilate or similar?
Itkovian has quit [(Ping timeout: 246 seconds)]
<sphalerite> hyper_ch: because I like i3
<sphalerite> hyper_ch: if I could set all the key bindings to use KDE like I use i3 without some stateful and hard-to-manage GUI config, I'd certainly use KDE. But I don't think I can configure KDE using nix, can I?
<hyper_ch> sphalerite: can you translate that to english? :)
__Sander__ has quit [(Quit: Konversation terminated!)]
<nixos-users-wiki> "NixOS on ARM" edited by makefu https://git.io/vHrdh
<sphalerite> hyper_ch: can I configure keybindings in KDE in a way that doesn't involve a load of clicking on stuff, ideally in a nix expression?
<hyper_ch> how is linode different from other hardware?
<hyper_ch> sphalerite: no idea :( sorry
<sphalerite> hyper_ch: same. That's why I'm not using it :p
<thblt> sphalerite: I can confirm Dolphin shows no icons on Debian/Xmonad. Maybe it's just a missing icons package?
<hyper_ch> and I even think the keybindings are saved in each programs seperate conf file
<sphalerite> thblt: KDE is actually installed systemwide for me (I use it for my games user), so I'd guess it's more likely that it's missing some D-Bus service that provides them or something like that
s33se has joined #nixos
phinxy has joined #nixos
<sphalerite> Fare: Given that the gist is 27 days old and the blog post is almost a year old I'd probably go with the gist. I have no experience whatsoever with linode though and I haven't looked at the contents of the guides
<nixos-users-wiki> "Installation guide" edited by makefu https://git.io/vHrFH
<sphalerite> Fare: you may also want to look at nixos-infect and clever's kexec magic https://github.com/cleverca22/nix-tests/blob/master/kexec/justdoit.nix
Myrl-saki has quit [(Ping timeout: 258 seconds)]
<thblt> sphalerite: It may be something else. I can assign icons to items, and they persist accross Dolphin launches. It seems unable to find some kind of default set.
Sonarpulse has quit [(Changing host)]
Sonarpulse has joined #nixos
<sphalerite> thblt: any such default set is in my system profile though, since it works fine on my games user
mudri has joined #nixos
<thblt> sphalerite: it seems to be that bug: https://bugs.launchpad.net/ubuntu/+source/dolphin/+bug/1509562
<makefu> sphalerite: i've added a link to the gist in the wiki (will also archive with archive.org)
<sphalerite> ugh, launchpad
<thblt> sphalerite: #9 is most interesting. In a nutshell: Qt5 loads only a single, almost empty icon theme.
<thblt> Hahaha yes, Launchpad. At least it's not debbugs :)
<sphalerite> thblt: setting XDG_CURRENT_DESKTOP=kde for dolphin as mentioned in the last comment fixes it for me also
frankpf has quit [(Quit: Leaving)]
<sphalerite> I quite like debbugs, at least how it's based on email and doesn't require account registration of any sort (IIRC)
<sphalerite> Although I still don't get image previews, only icons
<sphalerite> Heh, setting it to GNOME makes it adopt the GNOME L&F pretty well too
<sphalerite> although I'm missing a lot of the icons for that
aminechikhaoui has quit [(Ping timeout: 240 seconds)]
<codedmart> Does `--pure` work or needed with `nix-build`?
<shlevy> niksnut: for getDownloader, do you really need std::call_once? Wouldn't magic statics suffice there?
Filystyn has joined #nixos
<shlevy> niksnut: Also, why must we have a singleton? :P
<niksnut> magic statics?
<niksnut> also, why use magic when you can use a well-defined standard mechanism
johnsonav has joined #nixos
<shlevy> It's just jargon :P
<shlevy> The point is static construction *is* a well-defined standard mechanism
aminechikhaoui has joined #nixos
<sphalerite> codedmart: nix-build seems to accept --pure, but I don't think it has any effect on it
kojiro has quit [(Remote host closed the connection)]
<LnL> codedmart: nix-build always uses a pure environment (and a sandbox if you enabled it)
<codedmart> OK thanks!
<shlevy> "Thread-safe “magic” statics: Static local variables are initialized in a thread-safe way, removing the need for manual synchronization. Be aware that usage of these variables other than initialization is still not protected. Thread safety can be disabled by using /Zc:threadSafeInit- to avoid a dependency on the CRT." <- from the visual studio release notes, so I know I didn't make the term up :D
marsel has quit [(Ping timeout: 260 seconds)]
drakonis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #26428: silver-searcher: 1.0.2 -> 2.0.0 (master...pr/ag-2.0.0) https://git.io/vHrNN
NixOS_GitHub has left #nixos []
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ThatDocsLady has quit [(Ping timeout: 260 seconds)]
ryanartecona has joined #nixos
fnljk has joined #nixos
apeyroux_ has joined #nixos
<apeyroux_> hello
<thblt> Is it me, or is indenting with Emacs's 'nix-mode' completely broken? All it does when I try to reindent the whole buffer is a giant inverted staircase. (ie, each line is indented further than the line above it)
Wizek_ has quit [(Ping timeout: 240 seconds)]
simukis has joined #nixos
apeyroux_ has quit [(Remote host closed the connection)]
peacememories has joined #nixos
<dash> thblt: yes it doesn't try to indent stuff properly at all
katyucha is now known as Guest27028
Guest90430 is now known as katyucha
JagaJaga has quit [(Ping timeout: 260 seconds)]
freusque has quit [(Quit: WeeChat 1.7)]
xadi has quit [(Ping timeout: 246 seconds)]
aminechikhaoui has quit [(Ping timeout: 246 seconds)]
xadi has joined #nixos
taktoa has joined #nixos
sellout- has quit [(Ping timeout: 246 seconds)]
aminechikhaoui has joined #nixos
drakonis has quit [(Remote host closed the connection)]
drets has quit [(Ping timeout: 240 seconds)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
peacememories has joined #nixos
peacememories has quit [(Read error: Connection reset by peer)]
<Mic92> dtzWill_: do you have your nix expression collection for llvm somewhere?
peacememories has joined #nixos
<Sonarpulse> has anyone *run* a cross compiled stdenv?
<Sonarpulse> I think the gcc is broken
aminechikhaoui has quit [(Ping timeout: 240 seconds)]
<Sonarpulse> I have patch that breaks the gcc build
<Sonarpulse> but the log sure looks more correct than it did before
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/vHovg
<NixOS_GitHub> nix/master 85e93d7 Eelco Dolstra: Always use the Darwin sandbox...
<NixOS_GitHub> nix/master c8cc50d Eelco Dolstra: Disable the build user mechanism on all platforms except Linux and OS X
NixOS_GitHub has left #nixos []
nevermind has joined #nixos
<domenkozar> woot :)
<domenkozar> I wonder if copumpkin closely watches the darwin sandbox effort
<Dezgeg-> well I do know make-bootstrap-tools-cross.nix works (or used to work)
Dezgeg- is now known as Dezgeg
<copumpkin> on and off
<copumpkin> what's up?
<domenkozar> copumpkin: see above commit(s)
drakonis has joined #nixos
<copumpkin> I see :)
<copumpkin> very cool
<copumpkin> yeah been watching that :)
<goibhniu> Hi Dezgeg, do you happen to know if it's possible to use qemu-system-arm to boot up an RPi (1) img? ... I get the feeling I might need a special qemu compatible kernel (?)
<domenkozar> aight :)
<dtz> Mic92: privately unfortunately, but that's only because I haven't pulled out things that are share-able from the bits for internal things that aren't mine to share
<dtz> hopefully soon can make it all public, don't like it this way xD
<copumpkin> thanks though!
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
arianvp2 has joined #nixos
<copumpkin> who's running http://nixcon2017.org/? lots of broken images on it
<domenkozar> copumpkin: I've already let them know
jgertm has joined #nixos
<Dezgeg> goibhniu: I haven't tried. yeah sounds likely that you need some custom kernel
<copumpkin> cool thanks domenkozar
<goibhniu> Dezgeg, thanks!
k0001_ has quit [(Remote host closed the connection)]
k0001_ has joined #nixos
<sphalerite> domenkozar: I believe that's in response to the privilege escalation bug I reported the other day
<sphalerite> domenkozar: as far as I can see it still exists on linux
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vHoT8
<NixOS_GitHub> nixpkgs/master 385ba07 Tim Steinbach: git: 2.13.0 -> 2.13.1
<NixOS_GitHub> nixpkgs/master d7a5f07 Tim Steinbach: Merge pull request #26398 from NeQuissimus/git_2_13_1...
NixOS_GitHub has left #nixos []
arianvp2 has quit [(Quit: arianvp2)]
k0001_ has quit [(Remote host closed the connection)]
<domenkozar> sphalerite: can you link me the bug?
k0001_ has joined #nixos
<sphalerite> domenkozar: I didn't report it publicly
<sphalerite> domenkozar: just to gchristensen via email
<Isorkin> how to build ate-pairing? https://github.com/NixOS/nixpkgs/pull/19944/files#diff-d2b4362d4499a7b177bbc865fa189886 - error - zm2.cpp:1:0: sorry, unimplemented: 64-bit mode not compiled in
<domenkozar> sphalerite: thanks
<domenkozar> thanks for doing it responsibly :)
<gchristensen> erm
<gchristensen> please continue keeping it quiet for a bit :)
<gchristensen> domenkozar, sphalerite ^
<sphalerite> oops, ok
philipwhite has joined #nixos
k0001_ has quit [(Remote host closed the connection)]
k0001_ has joined #nixos
<philipwhite> vim user here. I've been wanting to make a nix expression representing my vim config so that I can bring it pretty much anywhere. I know there is a somewhat standard way to do that in nixpkgs, but it doesn't work with packages that aren't in its list. I was thinking that if I could leverage "fetchFromGithub" to somehow pull plugins from github, as well as pathogen, I could have a pretty simple vim dependency manager.
<philipwhite> So my question is how I could pull repos from github and infect vim with them using pathogen (using nix of course)
mudri has quit [(Ping timeout: 255 seconds)]
<Sonarpulse> Dezgeg: I know ed for example was being built natively
k0001_ has quit [(Remote host closed the connection)]
k0001_ has joined #nixos
<Sonarpulse> Dezgeg: I gave you a a review request in the relevant PR
<Dezgeg> ed doesn't seem to be included in bootstrap tools
<Sonarpulse> oh
<Sonarpulse> oops
<Sonarpulse> err
<Sonarpulse> I think it's a buildInput dependency of patch
<Sonarpulse> which is
<Sonarpulse> (but there is also a separate ed job and I could have been confused)
<Dezgeg> right but it's dependant on doCheck
<Sonarpulse> oh
<Sonarpulse> I guess I fixed that before I fixed the doCheck issue
Fare has quit [(Ping timeout: 260 seconds)]
<Sonarpulse> (gcc-cross-wrapper disbables doCheck unconditionally)
Myrl-saki has joined #nixos
<Dezgeg> yeah, well there's probably not much of testcases you can run when cross-compiling
<Sonarpulse> yeah
<Sonarpulse> normally I'd just fix the build regardless
<Sonarpulse> but the gcc derivation is such a mess and such a big thing to build
<Sonarpulse> that is working now
<Sonarpulse> is failing with my PR
<Sonarpulse> it's a bit hard to compare diffs
<Sonarpulse> because libraries are built out of order
<Sonarpulse> but it seems like the native compiler is being used too much for a build != host == target build
<Dezgeg> well if the build system just calls 'gcc' regardless there's not much to do
<Sonarpulse> err but that isn't the case
Wizek_ has joined #nixos
<Sonarpulse> with AS AR CC LD etc defined
<Sonarpulse> it does set them right
k0001_ has quit [(Remote host closed the connection)]
<Sonarpulse> and there are BUILD_* ones
k0001_ has joined #nixos
Itkovian has joined #nixos
<Sonarpulse> that can be set to the ones targeting the build platform
<Sonarpulse> whether or not those are set, *_FOR_BUILD (used internally) are set the same
<Sonarpulse> internally there is {CC, CC_FOR_BUILD, CC_FOR_TARGET}
<Dezgeg> but if there's a makefile that just has plain 'gcc' hardcoded
<Dezgeg> I mean ed is not using autotools
<aristid> FRidh: i wonder why we can't just set the default SOURCE_DATE_EPOCH to 1980
arianvp2 has joined #nixos
pbogdan has joined #nixos
mizu_no_oto has joined #nixos
ambro718 has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
<Sonarpulse> Dezgeg: err yeah ed had a broken configure script I needed to hack around IIRC
qknight_ has quit [(Remote host closed the connection)]
marsel has joined #nixos
qknight has joined #nixos
<copumpkin> niksnut: I've wanted to instrument binary cache downloads to track how fast they are, how many hits/misses we have, etc.
<copumpkin> is there a good way to do that on client side?
<copumpkin> (other than parsing textual output :P)
<copumpkin> I think there's a custom substituter hook but that's another thing I'm unclear about with 1.12
<niksnut> don't think so
Wizek_ has quit [(Ping timeout: 255 seconds)]
<gchristensen> on a related note, I think it'd be neat if the cache s3 bucket had GetObjectTorrent enabled for anonymous requests =]
arianvp2 has quit [(Quit: arianvp2)]
k0001_ has quit [(Remote host closed the connection)]
<copumpkin> why not just make authenticated requests? :P
<copumpkin> niksnut: I was thinking of NIX_SUBSTITUTERS
k0001_ has joined #nixos
<gchristensen> copumpkin: I don't have an account able to authenticate with the nix cache? :P
spinus has joined #nixos
arianvp2 has joined #nixos
arianvp2 has quit [(Client Quit)]
ryanartecona has quit [(Quit: ryanartecona)]
petar has quit [(Remote host closed the connection)]
petar has joined #nixos
ryanartecona has joined #nixos
MichaelRaskin has joined #nixos
carlosda1 has joined #nixos
k0001_ has quit [(Remote host closed the connection)]
k0001_ has joined #nixos
toppler has joined #nixos
alx741 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
erictapen has joined #nixos
<erictapen> hello everyone, is there a smart way to turn a list of derivations into one single derivation (just all the list elements symlinked in the $out dir)
<taktoa> buildEnv
<taktoa> (buildEnv { name = "combined"; paths = [ foo bar baz ]; })
<taktoa> erictapen: ^
<erictapen> whaa awesome! thanks
k0001_ has quit [(Remote host closed the connection)]
mudri has joined #nixos
ertes-w has quit [(Ping timeout: 240 seconds)]
k0001_ has joined #nixos
k0001_ has quit [(Remote host closed the connection)]
k0001_ has joined #nixos
Myrl-saki has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 3 new commits to 1.11-maintenance: https://git.io/vHoni
<NixOS_GitHub> nix/1.11-maintenance 0ca9502 Eelco Dolstra: Disable the build user mechanism on all platforms except Linux and OS X...
<NixOS_GitHub> nix/1.11-maintenance f534627 Eelco Dolstra: Fix bad cherrypick
<NixOS_GitHub> nix/1.11-maintenance 8e298e8 Eelco Dolstra: Always use the Darwin sandbox...
NixOS_GitHub has left #nixos []
<philipwhite> how do I get the sha256 that I need to give `fetchgit`?
ixxie has joined #nixos
<dash> philipwhite: nix-prefetch-git
<erictapen> philipwhite: also possible: you can enter a wrong sha256 and get the right one from the error msg...
<philipwhite> haha, that's clever
hellrazor has quit [(Quit: WeeChat 1.8)]
<erictapen> at first, I considered that method really hacky, but now I use it all the time. I don't think that it has any security implications compared with nix-prefetch-*
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vHoc5
<NixOS_GitHub> nixpkgs/staging 7e02516 Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
k0001_ has quit [(Remote host closed the connection)]
k0001_ has joined #nixos
snikkers has joined #nixos
<sphalerite> Is it meant to be possible for nix-store -q --referrers <path> now to output anything, but for nix-store --delete <path> to fail "since it is still alive"?
<Dezgeg> I think that happens when a running process is using it
thc202 has quit [(Ping timeout: 240 seconds)]
<LnL> yeah that will also keep paths alive
k0001_ has quit [(Remote host closed the connection)]
k0001_ has joined #nixos
jgertm has quit [(Quit: WeeChat 1.7.1)]
jgertm has joined #nixos
<benley> Anyone interested in reviewing a pull request that messes with grub? https://github.com/NixOS/nixpkgs/pull/26227
erictapen has quit [(Ping timeout: 255 seconds)]
<gchristensen> benley: *watches everyone run away in fear*
<benley> lol
<sphalerite> Dezgeg: can that happen without it showing up in any /proc/*/fd/*?
<benley> This one really isn't so scary, it's just adding the ability to use a non-default font in the grub menus.
<benley> (which I need because my laptop has a 358dpi screen and the default font is nearly invisible)
<gchristensen> omg same problem
<benley> OH BOY have I got a PR for you then :-D
k0001_ has quit [(Remote host closed the connection)]
leat has quit [(Read error: No route to host)]
k0001_ has joined #nixos
<sphalerite> Same, although I use systemd-boot so this wouldn't help me :p
<dash> i just taped a magnifying glass on a string to my laptop
<sphalerite> Based on eyeballing, LGTM. But don't take my word for it
<sphalerite> hahaha
carlosda1 has quit [(Ping timeout: 260 seconds)]
<benley> I think I can't use systemd-boot quite yet because I have /boot in a luks-encrypted zfs
<benley> (because I am crazy, I guess)
boomshroom has joined #nixos
<boomshroom> Hello!
<sphalerite> benley: Why would you encrypt it?
<sphalerite> boomshroom: hi!
<benley> I figured if I'm doing full-disk encryption I might as well encrypt as much as possible
<benley> Eventually I would like set up secure boot (trusted boot? one of those fancy UEFI and TPM things) to make it impossible to tamper with the bootloader
<sphalerite> Where does grub itself live?
<benley> grub itself lives outside of the encrypted volume.
<benley> so that's the remaining weak link
<boomshroom> Does anyone here have experience building freestanding cross compilers? This is for my occasional dabblings in OSDev.
<benley> I'm not super paranoid, I just want computers to be more secure in general
<sphalerite> boomshroom: I've managed to get cross-compilers built, I presume as it's for OSDev you won't need a libc?
<benley> for situations like border crossings where customs agents love to poke through your shit out of your sight, etc
<sphalerite> benley: would be nice if that were actually possible with powerful modern hardware :/
<benley> I think it is possible!
<benley> ChromeOS does it quite effectively
<dash> sphalerite: all it takes is several billion dollars and an army to protect your fab
<boomshroom> sphalerite: No, but the wiki does recommend building libgcc.
<benley> It's nearly impossible to fully protect against someone with physical access to the hardware, but you can make life harder for them. And be more resistant to nastyware.
<sphalerite> benley: But there are nonfree blobs living in the initialisation code for most hardware, which is a very nasty place to have code you can't trust
<benley> Right, you do have to implicitly trust the manufacturer of your devices.
<benley> I have no idea how to even begin addressing that part.
<boomshroom> I'm also interested in building similar compilers for other architectures like RISC-V and ARM.
<sphalerite> benley: I'm not saying that there *is* a working backdoor in all systems with the ME, but there could be and there's no way of verifying it
<benley> right. That's a slightly different topic, though still under the trusting trust umbrella
<sphalerite> boomshroom: I don't know if libgcc was included in what I built but I managed to get an SH-3 compiler built with nix, and I suspect I'm the only one ever to have tried doing so
<sphalerite> So your chances are probably pretty good
<dash> sphalerite, benley: even that's a distraction, imagine this scenario
nevermind has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<benley> court orders, attackers with guns and physical coercion, etc etc yes
<dash> nah
<sphalerite> Just occurred to me that a RAM module could be malicious D:
<benley> fun fact: USB-C cables have firmware blobs in them
carlosda1 has joined #nixos
<dash> i was gonna say: one of the new AVX instructions that takes two 256-bit operands could switch the procesor to supervisor mode on the right bit combinations
<benley> hahaha what the heck?
<dash> in other words, a 1024-bit backdoor
<dash> how would you be sure it's not there?-)
<benley> I can't be, of course
<sphalerite> come on, that's only 179769313486231590772930519078902473361797697894230657273430081157732675805500963132708477322407536021120113879871393357658789768814416622492847430639474124377767893424865485276302219601246094119453082952085005768838150682342462881473913110540827237163350510684586298239947245938479716304835356329624224137216 possible combinations
<benley> I'm interested in defending against scenarios like leaving my laptop on a table at a conference meeting and someone messes with it
luto__ is now known as luto
<dash> benley: yeah i have seen people do that around their coworkers, not good
<dash> benley: you can end up with interesting stuff added to your browser's user.css
<sphalerite> If I leave my laptop on a table at a conference meeting I'd also be scared of it simply getting stolen
<dash> like rotating all text by 0.1deg or something
<benley> not against like NSA or state-level actors, I can't win that game. Just somewhat plausible real world stuff.
<benley> sphalerite: heh yes :)
<pbogdan> benley: gchristensen: you probably know but there is also boot.loader.grub.gfxmodeEfi to change grub screen's resolution
<pbogdan> boot.earlyVconsoleSetup is handy too on hidpi display
<gchristensen> pbogdan: I don't know :P
<benley> yup yup :)
<gchristensen> I just squint and avoid looking at it as much as possible
<benley> I could change the grub resolution to 1024x768 but it's ugly :-P
thc202 has joined #nixos
leat has joined #nixos
erictapen has joined #nixos
Avery[m] has left #nixos ["User left"]
philipwhite has quit [(Ping timeout: 260 seconds)]
ixxie has quit [(Ping timeout: 246 seconds)]
ixxie has joined #nixos
Itkovian has joined #nixos
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
kojiro has joined #nixos
k0001_ has quit [(Remote host closed the connection)]
<boomshroom> How do I access a specific gcc version to make into a cross compiler?
k0001_ has joined #nixos
<Sonarpulse> boomshroom: edit gccCrossStage{final,static}
<Sonarpulse> in all-packages.nix
<Sonarpulse> sorry that sucks
<Sonarpulse> eventually I hope it will be better
<Sonarpulse> but I'll need to assemble some crack troups for https://github.com/NixOS/nixpkgs/issues/26004 first
<boomshroom> Sonarpulse: Thank you. I'm doing this as an overlay. What's the difference between final and static?
<Sonarpulse> static has no libc
<Sonarpulse> builds libc
<Sonarpulse> final includes more libs
<Sonarpulse> and is built with the libc in hand
<Sonarpulse> that thread sort of explains it
<Sonarpulse> it's gross
<boomshroom> Sounds like static is what I want.
<Sonarpulse> perhaps
<Sonarpulse> doing os dev or something?
<boomshroom> Yes, occasionally.
<Sonarpulse> nice
<Sonarpulse> I true to do that all in Rust :D but to each their own
<kojiro> I need to apply a patch to gnupg 2.1.21 and rebuild it. Is there a blog post or document on how to do this? I guess I should use overrideAttrs, but this is my first time attempting this.
<kojiro> (first time doing it in nixpkg, that is)
<Sonarpulse> kojiro: yes
<Sonarpulse> I haven't used overrideAttrs
<Sonarpulse> but it does work something like that
<boomshroom> I would be using Rust if LLVM supported RISC-V, until then I plan to be playing with bizare things like Nim while waiting for LLVM to support RISC-V or Jai to be released.
<Sonarpulse> boomshroom: good answer!
<Sonarpulse> check out the cross compiling section of the manual too
<Sonarpulse> I've recently overhauled it a lot
<boomshroom> It doesn't really make clear whether it's talking about compiling packages to run on other systems or building compilers that target other systems.
<Sonarpulse> boomshroom: good to know
<Sonarpulse> the trick is buildPackages
<Sonarpulse> foo
<Sonarpulse> has build =x, host = target = y
<Sonarpulse> buildPackages.foo
<Sonarpulse> build = host =x, target = y
<Sonarpulse> see pkgs/stdenv/cross/default.nix in nixpkgs
<Sonarpulse> (the last section will walk through all the code basically to that point
<boomshroom> I don't think many packages will run on i686-elf.
<copumpkin> niksnut: any thoughts on future viability of NIX_SUBSTITUTERS?
<copumpkin> oh, I guess it's gone already in 1.12 :)
<copumpkin> so that's that
<Sonarpulse> boomshroom: hmm?
<Sonarpulse> where did you get that?
<drakonis> jai?
<drakonis> oh its by jon blow
<drakonis> video games ey?
<Sonarpulse> the fast one
<boomshroom> i686-elf, has no c standard library and makes sure I don't accidentally use it.
sellout- has joined #nixos
<drakonis> gcc is inferior to llvm
pbogdan has quit [(Remote host closed the connection)]
<boomshroom> LLVM doesn't support RISC-V.
<gchristensen> be nice, drakonis
<drakonis> i forget
<Sonarpulse> boomshroom: i686-elf is just odd
<drakonis> really though
<boomshroom> I would be using it if it did.
<drakonis> it still doesn't support risc-v?
<Sonarpulse> because elf is not on kernel ABI or vendor
<Sonarpulse> boomshroom: it's fine if most packages don't run on bare metal :)
<Sonarpulse> buildPackages will still give you the compiler you need
<drakonis> this is a risc-v backend for llvm
<boomshroom> There is no kernel abi because there is no kernel
<drakonis> not on the tree yet
<dash> Sonarpulse: would you prefer "i686---elf"
<boomshroom> I tested a while back and it wasn't complete enough to support Rust.
<Sovereign_Bleak> I’m not getting a pinentry popup. Is this by any chance related to NixOS?
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
mudri has quit [(Ping timeout: 246 seconds)]
<Sovereign_Bleak> I’ve installed the qt, regular and curses versions of pinentry. Nothing.
<Sonarpulse> dash: i686-unknown-unknown-unknown? :D
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aherrmann opened pull request #26429: llvm_4: Fix debugVersion (master...pr_llvm_4_fix_debug) https://git.io/vHoEq
NixOS_GitHub has left #nixos []
<Sonarpulse> "OS" is kind of a catch-all
<Sonarpulse> it doesn't much of anything concrete
<gchristensen> drakonis: please work to be more vigilent about being nice
<drakonis> aight
<boomshroom> drakonis: I completely agree with you, it's just not complete enough to be used for my purposes. I would vastly prefer using llvm than trying to build separate compilers.
<drakonis> also i'm not being rude right now
<drakonis> llvm is getting quite a lot of backing and more languages are adopting llvm
Myrl-saki has joined #nixos
<boomshroom> I've played a bit with compiler development with LLVM and it does have a very nice api. Sadly most bindings are just thin wrappers an unidomatic, or incomplete.
<drakonis> on the other hand you have clang
<drakonis> soon flang
<drakonis> there's going to be compiler wars soon isn't it
<boomshroom> C is nice, but it's a bit too archaic for a personal project. I am willing to use it if I have to, but not on my own time.
<Sonarpulse> flang?
<drakonis> fortran instead
<kojiro> D?
<Sonarpulse> oh hah
<gchristensen> Intel already won fortran, with ifort :)
<dash> pity Fortress never caught on
<drakonis> nvidia's pushing flang into the tree
Itkovian has joined #nixos
<drakonis> at least working on it
<boomshroom> D looks nice, but the gcc backend seems to be neglected. Though I recently heard something about upstreaming it.
<drakonis> they should've called D's compiler dlang
<kojiro> heh
<boomshroom> I have been able to get D code running in RISC-V.
erictapen has quit [(Remote host closed the connection)]
DutchWolfie has quit [(Quit: Konversation terminated!)]
pbogdan has joined #nixos
<kojiro> What did they call it? Phobos or something? It's been a long time since I played with Dlang
<drakonis> its dmd
erictapen has joined #nixos
boomshroom is now known as boomshroom-away
<drakonis> calypso is the clang interoperability fork
<kojiro> If I got to pick what language I got paid to work with, it'd be FP, not C-like anyway
<kojiro> Probably Idris, because I want to learn more about that.
<benley> getting paid to write Idris sounds like a pretty sweet gig.
<drakonis> the d-clang fork
<kojiro> benley: yeah, fantasies are nice to have :)
<benley> hey I currently get paid to write erlang and rust, it's not totally impossible
mudri has joined #nixos
<benley> (in reality I'm mostly dealing with golang and bash recently, but ...)
<jophish> If you're interested in functional programming at a totally nixified company: https://www.myrtlesoftware.com/vacancies/
* benley looks forward to seeing a list of institutions that use Nix on http://nixos.org
<gchristensen> yeah like the various supercomputers
<gchristensen> that would be wonderful
Intensity has quit [(Ping timeout: 258 seconds)]
<benley> excellent
<drakonis> needs more companies
<drakonis> someone fix that stylesheet
<drakonis> PLEASE
<gchristensen> drakonis:
<kojiro> benley: heh, I am a crack bash and php programmer. Fortunately, I do not have to write PHP for work anymore, and I do get to do a bit of Python, but I would really like to do more FP.
<benley> I have performed more bash voodoo than I care to admit too :-P
<kojiro> I waffle between wanting to use a really really good language and wishing more developers would get good enough at the shell that they don't make terrible mistakes :)
Intensity has joined #nixos
<kojiro> heh, some day bash will be the next compile target
<kojiro> "grandpa, you wrote bash by hand?"
mbirkis has quit [(Quit: WeeChat 1.4)]
<kojiro> jophish: lol
<drakonis> ^ rip
<benley> compiling to bash ... ugh
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtulig opened pull request #26430: bind: add cfg options for listen-on and listen-on-v6. (master...bind-cfg-listen) https://git.io/vHoz2
NixOS_GitHub has left #nixos []
<benley> holy crap is that idris-bash compiler fo rreal?
<benley> *for real
<kojiro> guess it depends on your definition of "real"
k0001_ has quit [(Remote host closed the connection)]
k0001_ has joined #nixos
<jophish> benley: I've interviewed the guy who wrote it, he said it wasn't very performant (the generated code that is)
<gchristensen> is bash _ever_ performant?
<boomshroom-away> I have been curious if it's possible to write a kernel in pure FP.
<jophish> I've got to go now, if anyone's interested in a nix+Haskell+Hardware job, email me at joe@myrtlesoftware.com :)
<MichaelRaskin> Depends on your reference point, I guess you can make it as fast as Ruby
mizu_no_oto has joined #nixos
acarrico has quit [(Ping timeout: 240 seconds)]
Fare has joined #nixos
<dash> boomshroom-away: It is.
<dash> boomshroom-away: Depends on what you mean by kernel, I guess.
<niksnut> copumpkin: yeah it's gone
<copumpkin> niksnut: so I'm thinking that if I want to keep track of substitutes, I need to run a proxy, and HTTPS MITM is a pita so I guess I'd http to proxy, then https from there
<copumpkin> niksnut: or possibly make a PR with some sort of tracking mechanism to nix
<copumpkin> in time for 1.12 :)
<niksnut> once upon a time, the download-using-manifests substituter logged all downloads to a file in /nix/var/log
<copumpkin> if I added an option for that to 1.12 would you be receptive to that?
<copumpkin> probably just want to log what, and a few timings
<niksnut> well
<niksnut> it seems a bit ad hoc
<copumpkin> it does :)
<niksnut> there are a zillion things somebody might want to log
<Sonarpulse> rapid release!
<Sonarpulse> no need to shoe horn for 1.12 or wait a year!
mog has quit [(Ping timeout: 240 seconds)]
<pie__> <benley> holy crap is that idris-bash compiler fo rreal?
<pie__> WAIT WHAT
<pie__> (funny thing i was looking for bash-XXX compilers the other day
<copumpkin> niksnut: so perhaps just a generic callback when downloads start and end? :)
<pie__> also oh, i misunderstood, i thought it was bash -> idris
<dash> pie__: have you seen oilshell :)
<copumpkin> and then I do with that as I choose
<pie__> dash, no?
<dash> pie__: he's starting with a compiler from bash-compatible shell scripts to his new language
<kojiro> heh, looks oily
<dash> pie__: these are the kinds of things that remind me of the quote: "the difference between genius and insanity is measured by success"
<kojiro> I hope he calls the bash-to-oil converter "boil"
<pie__> dash, on one hand, awesome, on the other hand, why not use a good existing language D:
<dash> pie__: _are_ there good existing languages?
<dash> what do you like? powershell? ;-)
<pie__> i was just thinking about that
<kojiro> you mean good _shell_ languages?
<pie__> problem with python or a haskell dsl is that they both wa ytoo big to become the common denominator for all linux systems
<kojiro> or good languages?
<MichaelRaskin> As far as I understand, the goals include being smaller and faster than bash after stabilising some details
<pie__> i mean, if were gonna be programming, dont use bash, ok a couple pipes here and there but anything past that...whyyyyyy
<MichaelRaskin> And also some shell niceties only ever happen in shell-like languages, and they are really nice for that use case
<pie__> to be fair most of that is me not knowing how to code in bash
<kojiro> heh, more power to them. I hope they looked at the licensing reasons why MacOS does not maintain an up-to-date bash
<kojiro> pie__: isn't 65% of programming knowing what tools to use when?
<dash> kojiro: he's not taking any code from bash
<MichaelRaskin> I think up to a thousand lines bash can be nice for bash-style tasks
<kojiro> dash: I didn't assume he would
<kojiro> MichaelRaskin: I think so too, with good use of shell functions
metaphysician has quit [(Ping timeout: 258 seconds)]
<pie__> dash, on the other hand this guy seems to have a lot of nice material gathered related to his project
aminechikhaoui has joined #nixos
metaphysician has joined #nixos
<pie__> ugh why is plasma so buggy
<drakonis> kojiro, gpl v3, friend.
<drakonis> they'll probably replace it with the bsd userland once it is completely purged of gpl components
<drakonis> that's coming close
carlosda1 has quit [(Ping timeout: 240 seconds)]
Myrl-saki has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 255 seconds)]
Filystyn has quit [(Quit: Konversation terminated!)]
k2s has joined #nixos
k2s has quit [(Client Quit)]
FRidh has quit [(Quit: Konversation terminated!)]
erictapen has quit [(Ping timeout: 246 seconds)]
JagaJaga has joined #nixos
<copumpkin> does nix-push magically push the closure of the parameter you pass it?
<copumpkin> or just exactly what you say
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley opened pull request #26432: synergy: 1.7.6 -> 1.8.8 (master...synergy-1.8.8) https://git.io/vHowu
NixOS_GitHub has left #nixos []
<gchristensen> I believe it includes the entire closure of each store path specified
<copumpkin> cool
ixxie has quit [(Ping timeout: 246 seconds)]
bennofs has joined #nixos
k0001_ has quit [(Remote host closed the connection)]
k0001_ has joined #nixos
Tipping_Fedora has joined #nixos
phinxy has quit [(Quit: Leaving)]
Guest27577 is now known as grahamc
grahamc has quit [(Changing host)]
grahamc has joined #nixos
grahamc has quit [(Changing host)]
grahamc has joined #nixos
bennofs has quit [(Ping timeout: 246 seconds)]
<Sovereign_Bleak> Okay I’m pretty sure this is a NixOS issue.
<Sovereign_Bleak> I can’t set pinentry program within gpg-agent.conf
jgertm has quit [(Quit: WeeChat 1.7.1)]
<Sovereign_Bleak> If I do it complains about no ioctl.
<Sovereign_Bleak> If I delete gpg-agent.conf, gpg will sometimes show me a pinentry-qt dialog but sometimes show me a curses one.
jgertm has joined #nixos
<Sovereign_Bleak> I’ve tried to set it to /run/current-system/sw/bin/pinentry-qt to no avail
<kojiro> huh, Sovereign_Bleak, I use gnupg all the time and don't have this problem...
<kojiro> but I don't set a pinentry. My pinentry is named "pinentry"
<Sovereign_Bleak> kojiro: Are you using a full fledged DE?
<kojiro> yes, atm
<Sovereign_Bleak> Pretty sure that is the crux of the issue.
<kojiro> I can try this out on a console
<kojiro> Sovereign_Bleak: you may be on to something here
orivej has quit [(Quit: No Ping reply in 180 seconds.)]
<kojiro> pinentry is a symlink to /nix/store/blah/bin/pinentry-gtk-2
<Sovereign_Bleak> For once in my life haha.
<LnL> copumpkin: yeah it pushes everything
orivej has joined #nixos
<kojiro> Sovereign_Bleak: do you have a command named "pinentry" on your PATH, and if so, what is it a symlink to?
<Sovereign_Bleak> One moment.
pbogdan has quit [(Ping timeout: 240 seconds)]
<Sovereign_Bleak> Symlinks to store blah blah/bin/pinentry
ryanartecona has quit [(Quit: ryanartecona)]
<kojiro> Sovereign_Bleak: how did you get that? nix-env -i pinentry?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch opened pull request #26433: Trace val seq n (master...traceValSeqN) https://git.io/vHo6J
NixOS_GitHub has left #nixos []
<Sovereign_Bleak> kojiro: I don’t nix-env -i anything. Everything goes into my configuration.nix
marsel has quit [(Ping timeout: 260 seconds)]
jgedarovich has joined #nixos
tg has quit [(Read error: Connection reset by peer)]
mog has joined #nixos
<kojiro> ok
<Sovereign_Bleak> I just don’t understand why specifying the exact path of my desired pinentry results in complaints of “problem with the agent: no pinentry”
boomshroom-away is now known as boomshroom
<Sovereign_Bleak> Ugh, aggravating.
<boomshroom> dash: Sorry, was mowing the lawn. By kernel, I mean OS kernel.
<kojiro> Sovereign_Bleak: yeah, I have the same experience. Setting pinentry in .gnupg/gpg-agent.conf breaks everything
Mateon3 has joined #nixos
<kojiro> Sovereign_Bleak: have you turned up all the logging?
Fare has quit [(Ping timeout: 240 seconds)]
<Sovereign_Bleak> kojiro: Glad I’m not the only one! :-) Forgive me I’m probably the least knowledgeable of the Nixxers here. How would I do that? Journalctl?
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
tg has joined #nixos
<kojiro> Sovereign_Bleak: no, it's a gpg-agent setting. sec
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<kojiro> debug-level advanced
mkoenig has quit [(Remote host closed the connection)]
<kojiro> Sovereign_Bleak: you may need to look in the manpage - you'll want to set a file for the output, too
afics has quit [(Ping timeout: 246 seconds)]
<kojiro> there's something in there specific to debugging pinentry
<Sovereign_Bleak> kojiro: Got it. Thank you.
<kojiro> Sovereign_Bleak: huh, actually... I just got it working with pinentry-tty over here
Wizek_ has joined #nixos
<dash> boomshroom: the two things I know of are Mirage and Urbit
<dash> the former is not a pure-functional language and the latter is on a VM, and doesn't do device drivers
<dash> but both could be extended in that direction I bet
<kojiro> Sovereign_Bleak: although I use a yubikey, so my experience may differ a little, I think my pinentry is set correctly now
<kojiro> Sovereign_Bleak: and it's not gtk, thank you for making me change that :)
<kojiro> Sovereign_Bleak: may I ask what your gpg-agent.conf looks like on the pinentry line?
Fare has joined #nixos
<Sovereign_Bleak> kojiro: If I want a GUI dialog at all, the whole .conf must be non-existent. But what I have tried was both pinentry-program pinentry-qt and pinentry-grk-2 with preceding /run/current/system/sw/bin/ paths.
<kojiro> Sovereign_Bleak: can you run those programs directly?
acarrico has joined #nixos
byteflame has quit [(Ping timeout: 240 seconds)]
<Sovereign_Bleak> kojiro: Yes, no problem. I have some juicy logs for you, one sec.
ogleb has joined #nixos
<boomshroom> dash:
<Sovereign_Bleak> kojiro:
<boomshroom> dash: Urbit seems to be a hosted system and I can't find anything in Mirage relating to bootup, paging etc.
<kojiro> Sovereign_Bleak: it's strange that it says "unknown option <Pinentry>"
<kojiro> you definitely have "pinentry-program" and not "Pinentry-program" or "Pinentry" in there?
<Sovereign_Bleak> The first half is gpg-agent displaying a prompt to me when I run the command manually. The second half are the inappropriate ioctl errors I’m getting from isync trying the same command.
<kojiro> Sovereign_Bleak: oh, what version of gnupg are you on?
<boomshroom> Memory management seems to be the biggest problem that I can think of in regards to a pure functional kernel.
<Sovereign_Bleak> kojiro: 2.1
<kojiro> ok
<dash> boomshroom: well yeah, mirage is a unikernel so it doesn't really do either
<kojiro> for the record, I have pinentry 0.9.7 as well
<kojiro> and it works
<boomshroom> dash: That said, I still couldn't find the boot process either, which I've never seen done without assembly.
<kojiro> Sovereign_Bleak: ok, this is beyond me - it's clearly picking up your pinentry because we see the OK Pleased to meet you
afics has joined #nixos
<kojiro> but then idk... it errors out?
<Sovereign_Bleak> The second gist is with a pinentry-program line
<kojiro> Sovereign_Bleak: huh, it doesn't believe that command exists. Is it a permissions issue?
<kojiro> /run/current-system/sw/bin/pinentry-qt does not exist
<Sovereign_Bleak> But it actually does that’s what’s crazy.
<kojiro> I assume it does, for you
<kojiro> Sovereign_Bleak: I wonder if strace --trace=open can help here
<kojiro> not open...hmm
<clever> execve
<kojiro> yeah
mellowmaroon has joined #nixos
<kojiro> Sovereign_Bleak: I'm going to have to go soon
<kojiro> Good luck :/
<Sovereign_Bleak> kojiro: Thank you very much for helping me debug. :-)
<mellowmaroon> So, should I post my problem with the Android Studio package on the Nix github?
aminechikhaoui has quit [(Ping timeout: 255 seconds)]
<sellout-> Is there a Web browser in Nix on darwin? (Other than like eww, etc.)
<mellowmaroon> sellout-: you mean only command-line?
<ogleb> I have am developing on a python application with a C extension that I need to link against a library in the nix store, what is the best way to feed the library/include dirs?
<sellout-> mellowmaroon: I mean I’d like a GUI one. Thought Chrome or FF might be in there, but haven’t seen them.
<mellowmaroon> ogleb: You might want to try looking up nix-shell, you can specify environments per-project
<mellowmaroon> sellout-: I see. Chromium and Firefox are there, let me look up their package names for configuration.nix
<sellout-> mellowmaroon: I usually search for stuff on hydra. Is there a better way?
<sellout-> I was probably searching for “chrome”, which is one problem.
<ogleb> mellowmaroon: I currently have a default.nix that specifies my dependencies, I am just not sure how to then propagate those paths to distutils to compile the extension
<mellowmaroon> sellout-: I use a program called Nox
<mellowmaroon> ogleb: Yeah, I don't really have much experience with them, I only know about the feature. Sorry :(
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<sellout-> mellowmaroon: Ah, cool. I’ll add that.
<mellowmaroon> sellout-: I think there also might be a web interface, not 100% sure though
<ogleb> mellowmaroon : thats alright. Anybody else have an idea how to do it?
Fare has quit [(Ping timeout: 240 seconds)]
<mellowmaroon> sellout-: anyway, you can install them with `nix-env -iA nixos.firefox` or `nix-env -iA nixos.chromium`
<sellout-> mellowmaroon: Thanks.
<mellowmaroon> no prob :)
hiratara has quit [(Ping timeout: 246 seconds)]
<gchristensen> what would people think about a bot like this:
hiratara has joined #nixos
kojiro has quit [(Quit: leaving)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/9ed5dbafe35d4cc9d1ddfdab2ceea971bd999662 (from 2 days ago)
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/870cf05b6fc2c877d3b1cfa045b8b6d7129b2f42 (from 27 hours ago)
nix-gsc-io`bot has quit [(Client Quit)]
<LnL> yes!
<gchristensen> ok I'll turn the cron on :P (it can also do webhooks)
zeus_ has joined #nixos
mizu_no_oto has joined #nixos
thc202 has quit [(Ping timeout: 246 seconds)]
jgedarovich has quit [(Ping timeout: 260 seconds)]
philipwhite has joined #nixos
mellowmaroon has quit [(Quit: Leaving)]
JagaJaga has quit [(Ping timeout: 246 seconds)]
m0rphism has quit [(Quit: WeeChat 1.8)]
m0rphism has joined #nixos
ceevusee has joined #nixos
acarrico has quit [(Ping timeout: 246 seconds)]
philipwhite has quit [(Ping timeout: 260 seconds)]
eacamero_ has quit [(Remote host closed the connection)]
<boomshroom> I asked this a little earlier, but I had to leave. What is the best way to write a derivation that adds a compiler with a foreign target?
<boomshroom> gcc specifically.
<boomshroom> I'm not interested in compiling any packages with it, just making it available as a development tool.
k0001_ has quit [(Ping timeout: 268 seconds)]
<clever> boomshroom: with or without a libc?
<boomshroom> clever: Without libc, but with libgcc.
ceevusee has quit [(Ping timeout: 248 seconds)]
<clever> thats the cross-compiler that nix would normally use to make libc
<clever> but you can just refernece it directly, and skip the libc stage
<boomshroom> clever: thank you.
dalaing_ has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
<sellout-> So, re: my earlier question – nox is great, but both chromium and firefox seem to be linux-specific.
<boomshroom> clever: I see you're importing a new nixpkgs with an additional argument. Can I still do that in an overlay which by default provides self and super?
<clever> boomshroom: you only get a cross-compiler if you set the crossSystem when importing nixpkgs
<clever> so it wont directly work as an overlay
<boomshroom> clever: There's no way to build a cross compiler without creating an entirely package environment?
<clever> boomshroom: you would need to look at how crossSystem gets passed to gccCrossStageStatic, and then manualy do those calls in your overlay
<clever> boomshroom: all-packages.nix has that code
Itkovian_ has joined #nixos
<boomshroom> clever: It seems to invoke nixpkgFun to generate a new pkgs environment.
Itkovian has quit [(Ping timeout: 240 seconds)]
<clever> that seems new
<clever> might be able to do that in an overlay then
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
erictapen has joined #nixos
lpsmith has quit [(Quit: ZNC - http://znc.in)]
athaller has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #26434: openssl: 1.1.0e -> 1.1.0f (master...openssl_1_1_0f) https://git.io/vHo5v
NixOS_GitHub has left #nixos []
<copumpkin> boomshroom: have you tried asking Sonarpulse?
<boomshroom> copumpkin: I was talking with them earlier.
<copumpkin> ah ok
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #26435: openssl: 1.0.2k -> 1.0.2l (master...openssl_1_0_2l) https://git.io/vHo5O
NixOS_GitHub has left #nixos []
<Sonarpulse> look for the xburstutils change
<Sonarpulse> yeah it is annoying to have to re-import nixpkgs
<copumpkin> Sonarpulse: have you given much thought to cross-compiling a self-sufficient Linux image from Darwin?
<Sonarpulse> but I suppose one could try to override buildPlatform, hostPlatform, and targetPlatform directory
Itkovian_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Sonarpulse> copumpkin: well with my libc change I want to do I think all bootstrapping will be easy :P
<Sonarpulse> one compiler in bootstrap tools
<Sonarpulse> don't *need* to build another, only for purity
<Sonarpulse> only build libraries once -- no libraries in bootstrap tools
<copumpkin> isn't that the main reason we build new ones?
<Sonarpulse> nah it's all the gccStageStatic nonsense
<copumpkin> oh, I don't know the linux stdenv
<Sonarpulse> I don't really know either stdenv
<Sonarpulse> but darwin even less :D
<copumpkin> :)
athaller has quit [(Remote host closed the connection)]
<Sonarpulse> copumpkin: you seen we now have {build,host,target}Platform.libc?
<Sonarpulse> a string
<copumpkin> nope
<Sonarpulse> hostPlatform.libc == "musl"
<Sonarpulse> is an apple in my eye :)
<copumpkin> :D
Wizek_ has quit [(Ping timeout: 255 seconds)]
<Sonarpulse> right now our bootstrapps are monolithic
<Sonarpulse> but if they become simple as I expect
<Sonarpulse> it should be a bit more modular
<Sonarpulse> hostPlatform = { cc = "llvm"; libc = "musl"; ... }; # Go!
<Sonarpulse> copumpkin: do you know why darwin doesn't use the builtin fetchurl derivation for fetchurlBoot?
ambro718 has quit [(Ping timeout: 246 seconds)]
<copumpkin> it does at some point
<copumpkin> it has to
<copumpkin> import <nix/fetchurl.nix>
<boomshroom> I'm not proud of it, but nobody said I can't import <nixpkgs> inside an overlay.
<boomshroom> Is it possible to make aggregate packages with the binaries from multiple packages available in the same bin folder?
<copumpkin> yeah
<copumpkin> look at pkgs.buildEnv
<copumpkin> I think it takes a name, and then a list of paths
<copumpkin> and possibly some optional parameters on how to resolve conflicts
<copumpkin> it does a recursive symlink tree
<boomshroom> copumpkin: Thankyou. I just realized the arm-baremetal file linked did exactly that.
<Sonarpulse> boomshroom: yeah it would be nice to support the "I just need some toolchains" usecase better
<Sonarpulse> let me know if you have any ideas!
<Sonarpulse> copumpkin: not sure how I missed that then
<Sonarpulse> copumpkin: oh wait
justin_ has joined #nixos
<copumpkin> the structure is a ltitle different from linux
<Sonarpulse> that's different
<copumpkin> we pass it in as a default parameter
<copumpkin> but also allow an explicit parameter
<Sonarpulse> the analogous line in the linux one uses fetchurl-boot.nix in the same directory
<Sonarpulse> which in tern uses the nix builtin
<copumpkin> yeah, they started in similar places and then the linux one got refactored heavily
<copumpkin> and then I made some more changes to darwin one
<copumpkin> yeah, we could definitely just use that
<Sonarpulse> err well it's interesting to me that you can skip it!
<Sonarpulse> you go straight to real curl in every stdenv
erictapen has quit [(Ping timeout: 240 seconds)]
<Sonarpulse> without cycles!
<Sonarpulse> oooo magic
<boomshroom> Does nix store sources after building and, if so, where?
ogleb has left #nixos ["WeeChat 1.7"]
<boomshroom> nvm
<copumpkin> Sonarpulse: looking more carefully, we might not be doing it right
markus1189 has joined #nixos
<copumpkin> we might never switch away from fetchurlBoot
<copumpkin> I can't remember what's going on :)
<Sonarpulse> :D
<Sonarpulse> bootstrapping now is terrifying
<Sonarpulse> I still need to learn about your auto-bootstrap at some point
<boomshroom> Is it possible to use gccCrossStageStatic with a specific version?
markus1199 has joined #nixos
<copumpkin> I don't have an auto-bootstrap
<copumpkin> I'd love to have one :)
<Sonarpulse> copumpkin: your idea i mean
<copumpkin> I have ideas for how to make one
<copumpkin> oh ok
<copumpkin> then yeah
<Sonarpulse> boomshroom: I'd just recreate how it is called
<Sonarpulse> I am going to merge that very soon
<Sonarpulse> like later today or tomorrow
<Sonarpulse> then it's pretty easy to fake a *StageStatic
sophiag has joined #nixos
markus1209 has quit [(Ping timeout: 268 seconds)]
markus1219 has quit [(Ping timeout: 246 seconds)]
astsmtl has quit [(Ping timeout: 240 seconds)]
hellrazor has joined #nixos
mizu_no_oto has joined #nixos
digitus has quit [(Quit: digitus)]
<boomshroom> l now have an i686-elf compiler. Now I just need gcc7 in order build a riscv64-elf compiler.
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
<Sonarpulse> boomshroom: I'm going to merge that PR now
<Sonarpulse> err once I rebase
<Sonarpulse> and then tests pass
<Sonarpulse> so < 30 minutes depending on travis backlog
<Sonarpulse> boomshroom: you on nixos-unstable?
erasmas has quit [(Quit: leaving)]
<boomshroom> Sonarpulse: that would be nice. Having Github actually show me the pull request would also be nice.
<Sonarpulse> oh
<Sonarpulse> github is lagging for me too
<boomshroom> My user profile is on unstable. The system itself is on stable.
<Sonarpulse> basically in binutils and gcc I get rid of that bullshit `cross` argument and just use the three plaforms
<boomshroom> I currently have difficulty updating because I'm using a change I made that hasn't been upstreamed.
<Sonarpulse> boomshroom: oh i can't even push github is really screwed
<Sonarpulse> boomshroom: well i got you covered
<Sonarpulse> I am going to rebase the commit on top of nixos-unstable
<Sonarpulse> and then merge
<Sonarpulse> so you and I can, instead of using the merge commit, use the original commit
<Sonarpulse> and basically still be on nixos-unstable
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
mkoenig has joined #nixos
alx741 has quit [(Ping timeout: 246 seconds)]
justin_ has quit [(Quit: Leaving)]
<boomshroom> What does "warning: name collision in input Nix expressions, skipping ‘/home/[REDACTED]/.nix-defexpr/channels_root/nixos’" mean
<Sonarpulse> boomshroom: no idea sounds annoying
<Sonarpulse> one guess
<Sonarpulse> nix-channels --list
<clever> boomshroom: it means you added a nixos channel to your user, and not root
<clever> or rather, you added it to both your user, and root
<Sonarpulse> makes sense
<clever> so you now have 2 nixos channels
<boomshroom> I want my user to be on unstable, but critical system utilities to be on the latest release.
<clever> then call the channel on your user nixpkgs or unstable
sellout- has quit [(Quit: Leaving.)]
<boomshroom> That got rid of the warning. Thank you.
vaibhavsagar has joined #nixos
Rotaerk has joined #nixos
<boomshroom> Now that I can actually take a look at the PR, it seems like it's mostly just renaming cross to targetPlatform and a few cases of stdenv to hostPlatform.
acarrico has joined #nixos
<Sonarpulse> boomshroom: yeah
<Sonarpulse> the PR itself is adds no functionality
<Sonarpulse> but it means less boilerplate to worry about in your overlay
<Sonarpulse> if you copy gccCrossStageStatic
<Sonarpulse> but make it use gcc 7
<boomshroom> And it's a prerequisite to the other one.
<Sonarpulse> yeah
<Sonarpulse> even the other one doesn't matter though for you if you need neither cc-wrapper or downstream packages
<Sonarpulse> but indirectly I hope my recenty slew of changes will bring more people to do cross things of all sorts with nix, which I hope will help indirectly :)
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
sellout- has joined #nixos
<boomshroom> Fun fact: The "Canadian Cross" comes from the 3 political parties in Canada, despite the fact that there currently 4 main parties.
<Sonarpulse> oh!
<Sonarpulse> I knew it was canadian
<Sonarpulse> but I didn't know what
<Sonarpulse> what's the 4th? Not Green in BC?
<boomshroom> The main 3 are the Conservatives, Liberals (currently in power), and NDP, with Greens slowly becoming relevant. BC is lacking the conservatives.
<boomshroom> In BC, the NDPs and Greens are actually collaborating and taking power despite the Liberals having more seats than either.
vaibhavsagar has quit [(Ping timeout: 255 seconds)]
<Sonarpulse> boomshroom: sounds very nice to me !
<gchristensen> sphalerite: ping