<catern> argh! #nixos, is there a way to figure out what sysconfdir I have compiled for my nix tools?
<catern> so I can put some configuration in nix.conf...
<dhess> Dezgeg: will initrd on that aarch64 install image look in initrd/lib/firmware/nvidia/tegra210 for xusb.bin ?
<Dezgeg> I think firmware loading is a 100% kernel feature
<Dezgeg> so it should work the same as in debian
<dhess> Dezgeg: cool, thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 2 new commits to release-17.03: https://git.io/vHyOk
<NixOS_GitHub> nixpkgs/release-17.03 dc98361 Shea Levy: Add packageSourceOverrides function to haskell package sets...
<NixOS_GitHub> nixpkgs/release-17.03 49e8512 Shea Levy: Add haskellPackages.developPackage for local development default.nixes...
NixOS_GitHub has left #nixos []
<dhess> Dezgeg: yay! That worked. Kernel now sees eth0
<dhess> still getting some oopses during boot but I'm going to try an install
<dhess> I'm assuing tegra_pmc is a performance counter, so no big deal if so
<dhess> The mmc_rescan oops is a bit concerning.
<dhess> Dezgeg: any chance you can get tegra210/xusb.bin included in the initrd in the next install image?
<catern> another question, #nixos
<catern> I swear that I saw some mention of environment variables related to certificates being set for building derivations
<catern> when I was reading the manual
<catern> but now I can't find it
<catern> any idea what I might be thinking of?
<dhess> Dezgeg: actually, how do I ensure that xusb.bin is included in the initrd for the installed kernel?
<ekleog> catern: maybe the public key of the binary cache, for checking pre-built derivations were actually built by "official nixos"?
<dhess> (the one to be installed via nixos-install I mean)
<Dezgeg> there is initrd.prepend... or some option like that
<dhess> ok I'll look for that
<dhess> yeah looks like the right option
<catern> ekleog: eh, hmm, not that...
<catern> it was definitely an environment variable, because it said that it set a bunch of other related environment variables based on it. maybe not ssl related though?
<dhess> ok seems like I need to build an additional initrd img which includes linux-nonfree-firmware
drakonis has quit [(Ping timeout: 255 seconds)]
<Dezgeg> you can prepend the debian-provided initrd hunk, no?
<dhess> I'm surprised that doesn't happen automatically.
<dhess> Dezgeg: you mean just as a binary blob?
<Dezgeg> yes
<dhess> I guess, pretty hacky but it'll work
<dhess> fine for the install process anyway
<ekleog> catern: that's the only thing related to certificates I could think of for raw nix, I seem to remember it can also be configured as an environment variable that overrides the one defined in configuration.nix (for use when the architecture is not provided by official nixos channels, like when using one of Dezgeg's arm channels)
<dhess> Dezgeg: does your binary cache contain aarch64 packages? i.e., should I specify it in the configuration.nix like you would with an armv7l install?
<Dezgeg> it doesn't
<dhess> I know that Hydra has some stuff, though it looks like that target hasn't been updated since May something
<Dezgeg> hydra should constantly build
<catern> ekleog: oh well, thanks for thinking about it
<Dezgeg> in nixpkgs-unstable
<catern> I still hope for an answer to my earlier question, about how to locate where nix.conf should go :)
<dhess> Dezgeg: I saw an aarch64 channel, maybe that's not needed anymore and it's included in nixpkgs-unstable now
<dhess> Dezgeg: what about the nixos-unstable channel, does that include aarch64 builds?
<dhess> that's what I currently use for my NixOps deployments.
<Dezgeg> I think it doesn't but in practice it should be the same
<dhess> I guess I could switch over
<dhess> Sorry, Hydra newb, but which Hydra project corresponds to the nixos-unstable and nixpkgs-unstable channels, respectively?
mudri has quit [(Ping timeout: 260 seconds)]
<ekleog> catern: that's not a “legal” answer, but `strace nix-env 2>&1 | grep nix.conf` does the job :°
<ekleog> there must be a cleaner way, then, but it's something that works when you only have one case to run, by hand
ryanartecona has quit [(Quit: ryanartecona)]
<catern> argh, I tried that before, but with nix-pull (arbitrarily) and there was no nix.conf :)
<catern> thanks, that worked!
dhess has quit [(Remote host closed the connection)]
inflames has quit [(Ping timeout: 240 seconds)]
natas_ has quit [(Ping timeout: 240 seconds)]
ris has quit [(Ping timeout: 240 seconds)]
drakonis has joined #nixos
darlan has joined #nixos
darlan has quit [(Client Quit)]
inflames has joined #nixos
natas_ has joined #nixos
danharaj has joined #nixos
justanotheruser has joined #nixos
justan0theruser has quit [(Ping timeout: 240 seconds)]
<catern> ekleog: also I remembered what I was thinking of, it was TMPDIR as documented here the tempdir
<catern> er, as documented in the manual
lambdamu_ has joined #nixos
<ekleog> oh, so that's unrelated to certificates -- great you found it out!
<AluisioASG> Hi, is there a way to find out why Docker seems to pull in GTK+ as a dependency?
lambdamu has quit [(Ping timeout: 260 seconds)]
tmaekawa has quit [(Quit: tmaekawa)]
inflames has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
natas_ has quit [(Ping timeout: 260 seconds)]
<catern> oh no, argh
<ekleog> AluisioASG: you should be lucky trying `nix-store -q --tree $(readlink /run/current-system/sw) | grep -B 20 docker` (I don't know of a better utility atm)
<catern> so Nix will only use a cache if the StoreDir matches?
<catern> but I want to use fixed-output derivations from this cache, not store-dependent ones - namely, sources
<catern> (the cache in question is cache.nixos.org)
<catern> is there some way to hack my nix (which has a different store location) into using that cache?
<ekleog> catern: yes, that's because the full /nix/store/*/* path is encoded in the RPATH of binaries, and a different store path can't be just sed'd
<catern> yes, that makes sense
<catern> but sources aren't store-dependent :)
<catern> (also, was tarballs.n.o discontinued?)
<ekleog> well, sources should be downloaded from the vendor websites
inflames has joined #nixos
natas_ has joined #nixos
<ekleog> (I don't even think hydra stores them)
proteus-guy has joined #nixos
dhess has joined #nixos
<ekleog> s/downloaded/auto-&/
<catern> argh again
<catern> I want to download sources from the cache because I can't access non-HTTP servers from this firewalled work server
eacameron has quit [(Remote host closed the connection)]
<catern> and some sources in nixpkgs are downloaded with FTP or git...
eacameron has joined #nixos
<ekleog> yeah, that's an issue, the only solution I know of (if you can't just enable ftp) is to download the sources by hand and put them in the store using nix-prefetch-url
<catern> that is indeed what I've been doing :(
<catern> does hydra really not store them? guix hydra apparently does
proteusguy has quit [(Ping timeout: 246 seconds)]
<ekleog> I don't think it does, then it's been long since I last had to rebuild software and paid attention to the output, so I may completely be wrong
<ekleog> stupid question, but couldn't you symlink /nix/store to the location of your store and point nix to it?
<catern> and, hmm. is it even possible to make a cache/substitute server that isn't restricted based on the store?
<catern> I don't have root :(
<ekleog> :/
<ekleog> I don't really get your question wrt an alternative cache server
<catern> well, nix-cache-info has the StoreDir property
<catern> which apparently defaults to /nix/store if omitted
fnljk has quit [(Quit: ?)]
<catern> which suggests it's not even possible to make a cache that just caches fixed-outputs (which would work for any store dir)
<catern> or, rather, you could make it, but you couldn't make it usable by nix installations with arbitrary store dirs
<ekleog> hmm, does the server have userns enabled? switching to a custom ns with your /nix/store mounted may be the simplest solution
riclima has joined #nixos
MP2E has quit [(Quit: brb)]
spinus has quit [(Ping timeout: 260 seconds)]
<ekleog> I don't think the use case “only able to download over http” has really been taken into account, you should open an issue, but be ready in case people answer “fix your network” (I guess I personally would have setup a VPN over http to get full internet access :°)
s33se_ has joined #nixos
Supersonic112 has quit [(Ping timeout: 240 seconds)]
<catern> okay, I'll open an issue
<catern> and in the mean time, yeah, I guess I can do a userns based thing
<catern> do you have a suggestion on tool?
<catern> (I only yesterday learned that userns was enabled on this server... I assumed it wouldn't be enabled because it's kind of had a lot of vulnerabilities)
<ekleog> it seems like docker is able to use userns -- then, I seem to remember nix's buildUserFHS also uses userns, but that would be a circular dependency, then you may have luck shuffling in the source
mbrgm has quit [(Read error: Connection reset by peer)]
<ekleog> (btw, if you can paste the issue link, I'd follow it :))
s33se has quit [(Ping timeout: 240 seconds)]
Supersonic112 has joined #nixos
ison111 has quit [(Ping timeout: 240 seconds)]
<catern> did you mean an issue on nix or nixpkgs?
<ekleog> buildFHSUserEnv*
<ekleog> hmm, I guess it'd better be maybe on hydra?
<ekleog> not sure, could be better on nix, then
<catern> the reason I say nixpkgs is because all of these things which are downloaded from non-HTTP, are also available over HTTP mirrors
mbrgm has joined #nixos
<catern> so I could just fix them one by one :)
ison111 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vHyst
<NixOS_GitHub> nixpkgs/master 1545229 Tuomas Tynkkynen: biosdevname: Broken on aarch64...
NixOS_GitHub has left #nixos []
<ekleog> so, for buildFHSUserEnv, the relevant file is pkgs/build-support/build-fhs-userenv/chroot-user.rb
<ekleog> as for nixpkgs, I don't feel like it's a good solution: there may be other software that only allows downloads from non-HTTP sources, so a policy of “only http downloads” is doomed to failure
ericsagnes has quit [(Ping timeout: 255 seconds)]
<ekleog> that said you may try sending PRs for each of the individual packages, or use an override to overwrite the source attribute of the problematic derivations in the meantime :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 4 new commits to master: https://git.io/vHysR
<NixOS_GitHub> nixpkgs/master 94fd917 Tuomas Tynkkynen: bristol: Broken on aarch64...
<NixOS_GitHub> nixpkgs/master 6e3499e Tuomas Tynkkynen: botan: Broken on aarch64...
<NixOS_GitHub> nixpkgs/master fa67cf5 Tuomas Tynkkynen: chmlib: Broken on aarch64...
NixOS_GitHub has left #nixos []
<catern> ekleog: also one can probably generate some argument based around, like, HTTP CDNs or something, for why an all-HTTP based install should be supported :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vHysu
<NixOS_GitHub> nixpkgs/staging 149cb28 Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/master' into staging
NixOS_GitHub has left #nixos []
<catern> (there are no FTP or git CDNs :) )
<Dezgeg> aren't most of the sources available via the binary cache anyway?
<catern> are they? my problem is that my store dir is not /nix/store so my nix refuses to use cache.n.o
<Dezgeg> ah right, then they might not be compatible
vaibhavsagar has joined #nixos
<ekleog> 'night :)
marc__ has quit [(Read error: Connection reset by peer)]
<catern> ekleog: thanks for your help!
drakonis has quit [(Remote host closed the connection)]
<catern> and, blargh, I think I'll just write my own user namespace-using tool
drakonis has joined #nixos
<Dezgeg> someone has implemented it: https://github.com/lethalman/nix-user-chroot
danharaj has quit [(Remote host closed the connection)]
<catern> eh it chroots pointlessly
<catern> mine will just, hmm... take two paths and bind mount the first to the second
<Dezgeg> how will that help in adding /nix to a / where it doesn't already exist?
ericsagnes has joined #nixos
<catern> hmm? I'll have ~/nix, and I'll run "magic-bind-mount ~/nix /nix /bin/bash"
<catern> (it will exec /bin/bash)
<Dezgeg> you can't bind-mount to a nonexistent directory
<catern> definitely already exists?
<catern> er
<catern> / definitely already exists?
<catern> but I see what you may mean
<catern> hmmm... do you have a better suggestion? I don't want to chroot... I still want to see the real root filesystem
<catern> oh, I guess that tool binds them into some new directory
<catern> okay I'll try it, thanks for the tip Dezgeg
svij3 has joined #nixos
<catern> woaaaaaaaaaaaah it wooooooooorks :D
simukis has quit [(Ping timeout: 240 seconds)]
<pikajude> ugh
<pikajude> lndir doesn't work (on WSL?)
<pikajude> stupid thing
vaibhavsagar has quit [(Remote host closed the connection)]
vaibhavsagar has joined #nixos
tmaekawa has joined #nixos
tmaekawa has quit [(Client Quit)]
svij3 has quit [(Ping timeout: 240 seconds)]
pie_ has quit [(Ping timeout: 268 seconds)]
svij3 has joined #nixos
marusich has joined #nixos
MP2E has joined #nixos
roconnor has joined #nixos
mkoenig_ has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
svij3 has quit [(Ping timeout: 240 seconds)]
Infinisil has quit [(Quit: Zzzz...)]
bbarker has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
roconnor has quit [(Quit: Konversation terminated!)]
riclima has joined #nixos
hellrazor has joined #nixos
svij3 has joined #nixos
hellrazo1 has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
schoppenhauer has quit [(Ping timeout: 240 seconds)]
schoppenhauer has joined #nixos
eacameron has joined #nixos
nixy has quit [(Quit: WeeChat 1.7.1)]
eacameron has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
nixy has joined #nixos
isidore has joined #nixos
proteus-guy has quit [(Remote host closed the connection)]
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
nil has quit [(Disconnected by services)]
ntc has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
svij3 has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
justanotheruser has quit [(Ping timeout: 240 seconds)]
isidore has quit [(Quit: WeeChat 1.8)]
filterfish has joined #nixos
justanotheruser has joined #nixos
proteusguy has joined #nixos
marsel has joined #nixos
marsel has quit [(Ping timeout: 268 seconds)]
MP2E has quit [(Quit: reboot)]
MP2E has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacameron has joined #nixos
<avn> Folks, anyone have idea, why nox not builds on master?
endformationage has quit [(Quit: WeeChat 1.7)]
tangled_z has joined #nixos
<LnL> it's fixed on staging
Filystyn has joined #nixos
drakonis has quit [(Read error: Connection reset by peer)]
<nixy> Is it possible to have .nix expression import another expression only if it exists?
<nixy> Seems like it should be, but I can't figure it out or find good examples
MercurialAlchemi has joined #nixos
<LnL> with builtins.pathExists
<ison111> Is there some special configuration I have to do to add python modules? I have "python35Full" and "python35Packages.psycopg2" installed, yet running "import psycopg2" inside python3 (confirmed version 3.5) it just says no module named 'psycopg2'
tangled_z has left #nixos []
<nixy> LnL: Thanks I was messing around with that function, so I'll see if I can get anwhere
MP2E has quit [(Quit: leaving)]
<avn> LnL: ty for hint, cherry-picked ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vHyW6
<NixOS_GitHub> nixpkgs/master 32916ab Vladimír Čunát: Merge older staging...
NixOS_GitHub has left #nixos []
<LnL> avn: ^ now it's in master I think
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon1 has joined #nixos
<avn> LnL: yep, updated now. Hello local mass-rebuild ;)
iyzsong has joined #nixos
Wizek_ has joined #nixos
fazbi has joined #nixos
<fazbi> Hi all, if I do some system call which in theory logging it's error with printk(), where do I find the log in NixOS?
<fazbi> A little of my effort: looking with `dmesg -w` after set boot.consoleLogLevel to 8, but the log doesn't shown up :(
justanotheruser has quit [(Ping timeout: 246 seconds)]
fazbi has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
jensens has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
marusich has quit [(Remote host closed the connection)]
proteusguy has quit [(Ping timeout: 246 seconds)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
zeus_ has quit [(Ping timeout: 240 seconds)]
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
Wizek has joined #nixos
FRidh has joined #nixos
thc202 has joined #nixos
seanparsons has quit [(Quit: Leaving)]
seanparsons has joined #nixos
proteusguy has joined #nixos
ilyaigpetrov has joined #nixos
orivej has quit [(Ping timeout: 255 seconds)]
oida_ has joined #nixos
oida has quit [(Ping timeout: 240 seconds)]
justanotheruser has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ntruessel opened pull request #26512: chromium: 58.0.3029.110 -> 59.0.3071.86 (master...update-chromium) https://git.io/vHy82
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/32916ab1de (from 84 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
markus1219 has quit [(Ping timeout: 260 seconds)]
markus1189 has joined #nixos
justanotheruser has quit [(Ping timeout: 240 seconds)]
kombinator has joined #nixos
fazbi has joined #nixos
mkoenig_ has quit [(Ping timeout: 240 seconds)]
<Filystyn> can i add programs i want to have installed by default to configuration.nix ?
<Filystyn> like clementine audio player
<fazbi> Filystyn: You can use `environment.systemPackages = with pkgs; [ git ];`
<fazbi> find the name on https://nixos.org/nixos/packages.html
<Filystyn> thx
filterfish has quit [(Ping timeout: 240 seconds)]
justanotheruser has joined #nixos
jensens has quit [(Ping timeout: 255 seconds)]
fazbi has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
natas_ has quit [(Ping timeout: 268 seconds)]
inflames has quit [(Ping timeout: 268 seconds)]
pie_ has joined #nixos
zeus_ has joined #nixos
zeus_ has quit [(Ping timeout: 240 seconds)]
jensens has joined #nixos
Jackneilll has joined #nixos
Itkovian has joined #nixos
pbogdan has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
pbogdan has joined #nixos
filterfish has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
filterfish has quit [(Ping timeout: 258 seconds)]
jensens has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Zimmi48 closed pull request #26173: nixpkgs doc: version convention for pre-releases (master...patch-1) https://git.io/vHcno
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
Filystyn has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
ris has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
r0bby_ is now known as r0bby
phinxy has joined #nixos
orivej has joined #nixos
jonte_ has joined #nixos
Filystyn has joined #nixos
<Filystyn> clever your solution with geting rid of .xxx files was correct one thank you
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 3 new commits to staging: https://git.io/vHyEb
<NixOS_GitHub> nixpkgs/staging a38b0d0 Vladimír Čunát: mesa: maintenance 17.1.1 -> 17.1.2
<NixOS_GitHub> nixpkgs/staging 403b3c2 Vladimír Čunát: xkeyboard-config: 2.20 -> 2.21
<NixOS_GitHub> nixpkgs/staging 8df1ed7 Vladimír Čunát: Merge branch 'master' into staging
NixOS_GitHub has left #nixos []
zeus_ has joined #nixos
olejorgenb has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vHyuW
<NixOS_GitHub> nixpkgs/master caec2fc Jörg Thalheim: vimPlugins.ensime-vim: make additional nix code persistent
<NixOS_GitHub> nixpkgs/master 425bc07 Jörg Thalheim: vimPlugins: update source
NixOS_GitHub has left #nixos []
zeus_ has quit [(Ping timeout: 255 seconds)]
<aanderse> anyone here every try running steam, specifically the "in home streaming" feature?
filterfish has joined #nixos
<aanderse> allows you to launch the game remotely from another pc
<aanderse> and then it streams the game to your client pc that you're using
<aanderse> i tried it on 2 nixos boxes and it didn't work
Mateon3 has joined #nixos
<aanderse> said something along the lines of "couldn't remotely launch the game. go actually launch the game on the pc you want, then try streaming it"
<ToxicFrog> My wife and I both use steam home streaming and it works fine
<aanderse> yeah?
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
<ToxicFrog> It's only nixos on the client, though, the server is win10
<aanderse> oh
<aanderse> yeah so
<aanderse> i have a bad feeling that the way nixos tells the server to launch the game
<ToxicFrog> Also, you may need to open some firewall ports:
<ToxicFrog> networking.firewall.allowedTCPPorts = [27036 27037];
<ToxicFrog> networking.firewall.allowedUDPPorts = [27031 27036];
<aanderse> isn't using the nixos tricks to make steam work
<aanderse> * i have a bad feeling the steam server isn't using the nixos tricks to make steam work
<ToxicFrog> If steam is already running on the server, it shouldn't matter, I think
<ToxicFrog> It's not trying to run steam, it's sending an RPC to an already-running steam instance
<aanderse> so i went to the server
<aanderse> launched a game
<aanderse> then went upstairs and hit stream
<aanderse> and it was fine
olejorgenb has joined #nixos
<ToxicFrog> Hrm.
<aanderse> yeah i mean what you say makes sense
<aanderse> but
<aanderse> i have that bad feeling
<aanderse> :P
<ToxicFrog> I will try using win10 as the client and nixos as the server and see what happens!
<aanderse> hey great thanks!
<ToxicFrog> (my wife is away so I can't currently test nixos->nixos)
<aanderse> she has the laptop? ):
<aanderse> ** :)
<aanderse> well my theory can be tested by nixos->win10 anyways
<aanderse> so
<aanderse> all good
olejorge1b has joined #nixos
<ToxicFrog> Well, we both have laptops, but she took hers with her
<aanderse> mhm
<ToxicFrog> Ok, they see each other...
<aanderse> so far so good...
<ToxicFrog> Ok, I told it to stream Demon Truck
<ToxicFrog> And it took a very long time from clicking "start game" on the configuration window thingy to the stream actually starting, but it did work.
<aanderse> i see
<aanderse> well thats awesome
<aanderse> because if i was right
<aanderse> theres probably no fixing that
<aanderse> ok well i'll have to dig through some logs and try to figure that out
<ToxicFrog> On the nixos side, I have steam installed via systemPackages, those ports listed open, and 32-bit DRI and Pulse support enabled
<aanderse> yeah on my home server i as well have it installed via systemPackages, firewall completely turned off (behind router), and 32bit dri+pulse support
proteusguy has quit [(Remote host closed the connection)]
<ToxicFrog> augh
<ToxicFrog> the cat keeps walking across the desktop keyboard and launching games on the laptop
<ToxicFrog> streaming is working too well
<aanderse> lol
<aanderse> better than saying "the kids keep banging on the desktop"
<aanderse> harder to stop them
<aanderse> :P
<ToxicFrog> Heh. I have a 3yo but he mostly plays DOS games, apart from Crypt of the NecroDancer
<aanderse> can't stop my 1.5 year old from trying to bang on a keyboard
<aanderse> well nothing in the logs
<ToxicFrog> Well, grownups are always doing that so it must be interesting, right?
<aanderse> lol yeah, i suppose thats true
<aanderse> i'll try two other nixos->nixos boxes at some point
<ToxicFrog> I dusted off an old program my dad wrote for me, for that -- push button, displays ASCII-art of that character on the screen and goes beep
<aanderse> maybe an ubuntu->nixos, nixos->ubuntu, etc...
<aanderse> ah well show that to the kids, they'll love it
<aanderse> :)
<ToxicFrog> You could try running steam inside `strace -f -e trace=file,process` or something
<ToxicFrog> See if it's even getting to the point of trying to start the game
<aanderse> yeah, hopefully it doesn't come to that
<aanderse> but can do if need be
<ToxicFrog> (there's that, another one where the letters slowly scroll across the screen, and I just got the one where you have to explore a maze and find letters to spell a word working)
<ToxicFrog> (well, mostly working)
<aanderse> your dad sounds awesome :)
<ToxicFrog> (it was originally written for SysV and APIs have changed a bit since then)
<aanderse> written in c? basic? pascal?
<ToxicFrog> (it was also, apparently, originally a multiplayer deathmatch game that he hacked around for this -- the letters you collect are dummy players)
<ToxicFrog> C
jonte_ has quit [(Ping timeout: 240 seconds)]
<ToxicFrog> Using curses, but curses today isn't quite source compatible with curses of 30 years ago.
<ToxicFrog> (it also makes some assumptions like "string literals are writeable" that turn out to no longer be true)
<ToxicFrog> And yeah, he was pretty awesome.
<aanderse> yeah
<ToxicFrog> Honestly a lot of what I'm doing for my kid is modeled after or inspired by what my dad did for me at that age.
<aanderse> :D
<aanderse> i mean... you're in #nixos so i'm guessing you're a developer of sorts
<aanderse> and it sounds like your dad got you into that
<aanderse> so... thats awesome :)
<aanderse> yeah i haven't got my older one into computers yet
<aanderse> he just turned 4 so reading skills aren't there yet
<ToxicFrog> Yeah, he did -- QBASIC at first (and sh/bash, although I didn't understand that as something that could be used for programming until much later), then pascal, TCL, Java, and C in that order, IIRC
<ToxicFrog> TCL might have been before pascal, I just remember using it for one of those robot-duel games
<aanderse> oh tcl... we use that at work still >_<
<aanderse> lol
<ToxicFrog> Yeah, mine can't read yet, but he does know all his letters/numbers and can locate them on a keyboard
<gchristensen> I <3 tcl still, for expect
<ToxicFrog> (along with "bang", "slash", "backslash", and "octothorp")
<aanderse> gchristensen: yeah i have stockholm syndrom for tcl ha ha ha
<ToxicFrog> (and sometimes control/alt/shift, although he tends to get those mixed up with each other)
<aanderse> well my older is 4 and he's starting to be able to pick up some letters and numbers from reading
<aanderse> but he's bilingual and those kids always start off slower for that sorta stuff
<ToxicFrog> I figure in another year or two he'll be starting to read things, and once he can do that he'll be able to type things and use a CLI.
zarel has joined #nixos
<ToxicFrog> Oh, what languages?
<aanderse> japanese
<ToxicFrog> My immediate assumption is always english/french but that's a regional thing.
<ToxicFrog> Aah, neat
<aanderse> well we want to send him to french immersion...
<aanderse> but thats just because the local english school has some of the lowest ratings in the area -_-
<gchristensen> ouch :(
<ToxicFrog> :/
<aanderse> yeah i mean we live in canada
<aanderse> so
<aanderse> he should probably speak french
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26509: musl: 1.1.15 -> 1.1.16 (master...musl_update) https://git.io/vHyqn
NixOS_GitHub has left #nixos []
<aanderse> so many good jobs you won't be able to get if you don't speak french
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26374: gnumeric: 1.12.32 → 1.12.34 (master...gnumeric-34) https://git.io/vHafc
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rht opened pull request #26513: Use RFC 2119 convention to describe package naming convention (master...package-naming) https://git.io/vHygG
NixOS_GitHub has left #nixos []
olejorgenb has quit [(Quit: leaving)]
olejorge1b has quit [(Quit: leaving)]
olejorgenb has joined #nixos
<aanderse> well
<aanderse> my htpc setup is almost perfect
<aanderse> just need to get steam in home streaming working, fix suspend/resume on the one computer, and finish my steam integration script
<aanderse> i was running ubuntus on all my htpcs before
<aanderse> switched the last one over to nixos yesterday
<aanderse> oh what a joy :)
<aanderse> took me almost no time to configure
<gchristensen> :D so glad to hear it!
<aanderse> yeah i absolutely love nixos
<aanderse> <3 the rollback feature
<aanderse> i ran a major system update with ubuntu and my entire media setup was borked
proteusguy has joined #nixos
<aanderse> i have a desktop/file server which runs 24/7 and serves the media files
<aanderse> as well as a database for kodi which all htpcs share
<aanderse> updated one box
<aanderse> and suddenly had these incompatibilities
<aanderse> which took forever to fix....
<aanderse> but even after it fixed the one htpc wouldn't connect to the mysql db
<aanderse> couldn't reproduce it on the other htpc
<aanderse> thats when i decided to make the switch to nixos :)
<gchristensen> :D
<aanderse> yeah now i want to move everything to nixos because its been making my computer situation so much more robust
<nixy> ^ Same, I just decided to scale up my Tor Exits to put them in more data centers and NixOS makes it so painless
<gchristensen> I hear that, I have just one more system to move to nixos
<aanderse> i want to move my web server to nixos too, just found out about nixops yesterday
<aanderse> haven't had a chance to dig too deep yet
<aanderse> but was told to look for web server examples from nixops
<nixy> I am looking into NixOps, but I can't find a lot of examples for using the "none" provider which I will need to do
<nixy> But it looks so nice to use
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #26514: gdb: disable format warnings (master...clang-gdb) https://git.io/vHygH
NixOS_GitHub has left #nixos []
<aanderse> hoping to learn how to write nix packages at some point too...
<gchristensen> oh none is easy, nixy
<aanderse> not enough hours in a day
<gchristensen> nixy: deployment = { targetHost = "10.5.3.1"; }; <- done
<aanderse> hmm yeah thats the one i need. used a tutorial to load nixos up on a linode box.
<nixy> gchristensen: I figured it was something like that, but it isn't clear to me which user it uses. I assume it uses root logins, so I have to enable those?
<gchristensen> yeah
<gchristensen> only with key auth of course
<nixy> Obviously lol. Do I have to preplace any keys on the system or can NixOps figure that out
<gchristensen> IIRC your user has to be able to SSH to the box for the first time, then it'll generate a unique ssh key for management that it'll place
<gleber_> Ankhers: can you retest with `nix-shell -p nox --run "nox-review pr 26381"` ?
<nixy> So if my local user has an account with a key in place it would work? That's pretty convenient
<gchristensen> nixy: not 100% sure, your local user might need to be able to ssh too it as root
<gchristensen> but notice that I'm not 100% sure, because of how convenient it has always been :P
<LnL> gleber_: rebuilding
<gleber_> LnL: thanks!
nixy has quit [(Quit: WeeChat 1.7)]
nixy has joined #nixos
<Ankhers> gleber_: Running it now.
<Ankhers> https://gist.github.com/ankhers/1bea2a79cf352212e6325d14f78ab8f6 -- Would someone be able to tell me if I did something wrong, or if it is an issue with nixpkgs?
<gleber_> Ankhers: I've seen it too. It seems that nixpkgs head is currently broken
<Ankhers> gleber_: Alright. I can try re-building specifically the basho fork for now.
jonte_ has joined #nixos
<LnL> it's added twice
<Ankhers> I was just about to create a ticket. Should I still and reference that commit?
<LnL> I'll fix it
<Ankhers> Ok.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vHyaJ
<NixOS_GitHub> nixpkgs/master 29049d0 Daiderd Jordan: vim-plugins: fix evaluation
NixOS_GitHub has left #nixos []
arianvp2 has joined #nixos
<Ankhers> gleber_: Manual build of basho fork worked.
<gleber_> Ankhers: woot! :D i think this fixes last issue with the PR
<gleber_> Can you report back at https://github.com/NixOS/nixpkgs/pull/26381 ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] manveru opened pull request #26515: mongodb-tools: 3.0.12 -> 3.5.8 (master...mongodb-tools-3.5.8) https://git.io/vHya3
NixOS_GitHub has left #nixos []
justanotheruser has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] guillaumekoenig opened pull request #26516: reno: 1.8.0 -> 2.3.2 (master...fix/reno-update) https://git.io/vHyaW
NixOS_GitHub has left #nixos []
<Ankhers> gleber_: Sure. Should I wait until I can do a full nox-review again?
<gleber_> Make full
simukis has joined #nixos
<Ankhers> LnL: Would you mind pinging me once you have it fixed?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] manveru opened pull request #26517: mongodb: 3.2.9 -> 3.4.4 (master...mongodb-3.4.4) https://git.io/vHya2
NixOS_GitHub has left #nixos []
<LnL> Ankhers: already did, look at the notice after my previous message :)
<Ankhers> I am really bad when it comes to looking at those :(
<Ankhers> Thanks!
<manveru> anyone want to test my PRs for mongodb and mongodb-tools on linux/nixos? https://github.com/NixOS/nixpkgs/pull/26515 and https://github.com/NixOS/nixpkgs/pull/26517
primeos has joined #nixos
<Filystyn> need to find sys/stat
<Filystyn> where is the header on nix...
<Filystyn> in run ?
<manveru> Filystyn: like stat.h?
<Filystyn> yes
jensens has joined #nixos
<manveru> here it's in linux-headers or glibc
<manveru> find /nix/store/ -name stat.h
<Filystyn> thx
dhess` has joined #nixos
<Filystyn> God looking thought stor takes ages..
<Filystyn> store..
UFODivebomb has quit [(Ping timeout: 240 seconds)]
dhess has quit [(Ping timeout: 246 seconds)]
<clever> Filystyn: if you know the general path, you can heavily limit it
<clever> ls -lh /nix/store/*/include/stat.h
<clever> that will only check the include subdir of every storepath
<clever> ls -lh /nix/store/*libc*/include/stat.h
<clever> and this will only check the libc's
<Filystyn> seems got it
<Filystyn> but need to confimr..
<Filystyn> cat /nix/store/*/sys/stat.h
<Filystyn> cat: '/nix/store/*/sys/stat.h': No such file or directory
<clever> its under include/sys/stat.h
<Filystyn> ooops
<clever> and cat will concat every instance of stat.h
_rht has joined #nixos
ogkloo has quit [(Ping timeout: 246 seconds)]
schoppenhauer has quit [(Ping timeout: 260 seconds)]
schoppenhauer has joined #nixos
riclima has joined #nixos
ogkloo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vHywf
<NixOS_GitHub> nixpkgs/master 74fd4de Nicolas Truessel: chromium: 58.0.3029.110 -> 59.0.3071.86
<NixOS_GitHub> nixpkgs/master 4a90156 Graham Christensen: Merge pull request #26512 from ntruessel/update-chromium...
NixOS_GitHub has left #nixos []
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
arianvp2 has quit [(Quit: arianvp2)]
ris has quit [(Ping timeout: 246 seconds)]
spinus has joined #nixos
pie_ has quit [(Ping timeout: 260 seconds)]
arianvp2 has joined #nixos
faffolter has quit [(Ping timeout: 240 seconds)]
k0001 has joined #nixos
pie_ has joined #nixos
Wizek__ has joined #nixos
zeus_ has joined #nixos
Neo-- has quit [(Read error: Connection reset by peer)]
Neo-- has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vHyrG
<NixOS_GitHub> nixpkgs/master c95f3a3 Bjørn Forsman: sdcc: 3.5.0 -> 3.6.0...
NixOS_GitHub has left #nixos []
isidore has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vHyrc
<NixOS_GitHub> nixpkgs/master 46e2c13 Pascal Bach: nextcloud: 11.0.2 -> 12.0.0
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #26457: nextcloud: 11.0.2 -> 12.0.0 (master...nextcloud-12) https://git.io/vHiv5
NixOS_GitHub has left #nixos []
Wizek has quit [(Ping timeout: 255 seconds)]
zeus_ has quit [(Ping timeout: 240 seconds)]
thblt has joined #nixos
k0001 has quit [(Ping timeout: 260 seconds)]
jbgi has joined #nixos
eacameron has quit [(Ping timeout: 246 seconds)]
kombinator has quit [()]
isidore has quit [(Quit: WeeChat 1.8)]
arianvp2 has quit [(Quit: arianvp2)]
thblt has quit [(Ping timeout: 255 seconds)]
<jbgi> cache.nixos.org is down?
jensens has quit [(Ping timeout: 240 seconds)]
<gchristensen> not from here, jbgi
jbgi has quit [(Quit: WeeChat 1.7)]
<gchristensen> ok
jbgi has joined #nixos
arianvp2 has joined #nixos
riclima has joined #nixos
marsel has joined #nixos
pie_ has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vHyo9
<NixOS_GitHub> nixpkgs/master e19cdd3 Tuomas Tynkkynen: icu: Fix ARM patch...
NixOS_GitHub has left #nixos []
<jbgi> gchristensen: thanks, indeed no prob. I was (wrongly) expecting not a 404 from https://cache.nixos.org
<gchristensen> ahh :)
<gchristensen> yeah... I wish it didn't 4404
bbarker has quit [(Ping timeout: 240 seconds)]
bbarker has joined #nixos
<jbgi> well, now my problem is to figure out why nixos-install (17.03) is building gcc (‘/nix/store/my9f454r82wy6jv3x7bvvpx6hffcahsj-gcc-5.4.0’) from source
eacameron has joined #nixos
<clever> jbgi: that can sometimes happen if it fails to reach the binary cache
<jbgi> maybe the cache as a different derivation than mine for some reason. Is there a way to check the hash of derivation from binary cache?
<gchristensen> jbgi: no, /nix/store/my9f454r82wy6jv3x7bvvpx6hffcahsj-gcc-5.4.0 is in the cache
<jbgi> gchristensen: thanks!
iyzsong has quit [(Quit: bye)]
<jbgi> gchristensen: oh but now I see that your script is actually saying "Couldn't resolve host 'd3m36hgdyp4koz.cloudfront.net'"...
<jbgi> (was only looking at "exit 0" earlier)
<jbgi> Lnl: "HTTP/1.1 200 OK"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vHyKj
<NixOS_GitHub> nixpkgs/master 86da6d4 Vladimír Čunát: lyx: maintenance 2.2.2 -> 2.2.3...
NixOS_GitHub has left #nixos []
<clever> jbgi: thats how you manualy check the binary cache
<LnL> not sure why it's not downloading it then
<clever> it could have been a random failure
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rvolosatovs opened pull request #26518: Mopidy-iris: init at 2.14.3, and related packages (master...mopidy-iris) https://git.io/vHy6C
NixOS_GitHub has left #nixos []
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pie_ has joined #nixos
marsel has quit [(Ping timeout: 255 seconds)]
MercurialAlchemi has quit [(Ping timeout: 255 seconds)]
arianvp2 has quit [(Quit: arianvp2)]
ixxie has joined #nixos
arianvp2 has joined #nixos
<ij> ertes, How should be the haskell docker image be run? It's got "/nix/store" inside its layer.
athan_ has joined #nixos
<catern> hey #nixos, I am using https://github.com/lethalman/nix-user-chroot and having some weird issues... when I run urxvt I get "urxvt: can't initialize pseudo-tty, aborting"
<catern> and I also can't start shells inside emacs properly - they don't have job control, and error with "bash: cannot set terminal process group (-1): Inappropriate ioctl for device"
<catern> any guess what the problem is?
<catern> the strange thing is that xterm (for example) works fine, and if I install urxvt from nix it works fine. I guess this is because of the lack of the setuid bit on pt_chown. but that doesn't explain why bash isn't working properly inside Emacs
<ben> is there a way to make nix-env -qa fast
<phinxy> Can anyone explain this graph? https://trends.google.com/trends/explore?date=all&q=nixos
<phinxy> Nevermind, even Debian has the same kind of graph
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 4 new commits to master: https://git.io/vHyX3
<NixOS_GitHub> nixpkgs/master 1e0866e Anders Papitto: rust: 1.15.0 -> 1.17.0...
<NixOS_GitHub> nixpkgs/master f6072d7 Daiderd Jordan: rustc: disable lldb tests on darwin
<NixOS_GitHub> nixpkgs/master 3d601f6 Daiderd Jordan: rustc: disable another gdb test
NixOS_GitHub has left #nixos []
alibabzo has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #17240: WIP: generalize beam related interpreters and packages (master...generalize-beam-erlang) https://git.io/vKSrs
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 6 new commits to staging: https://git.io/vHyXD
<NixOS_GitHub> nixpkgs/staging d3d036d Vladimír Čunát: harfbuzz: 1.4.5 -> 1.4.6
<NixOS_GitHub> nixpkgs/staging cc67a41 Vladimír Čunát: at-spi2-core: 2.22.1 -> 2.24.1...
<NixOS_GitHub> nixpkgs/staging c997a7f Vladimír Čunát: at-spi2-atk: 2.22.0 -> 2.24.1
NixOS_GitHub has left #nixos []
arianvp2 has quit [(Quit: arianvp2)]
arianvp2 has joined #nixos
zeus_ has joined #nixos
zeus_ has quit [(Ping timeout: 240 seconds)]
pie_ has quit [(Ping timeout: 245 seconds)]
alibabzo has joined #nixos
<ertes> ij: you specify: config.Cmd = "${mypackage}/bin/mybinary";
<ertes> to buildImage
<ertes> ben: get an SSD =)
<ertes> ben: i think 'nox' does nixpkgs indexing
<ertes> but with my SSD and btrfs it takes like 2-3 seconds to load from disk, which is good enough for me
<jbgi> for the record, my problem with nixos-install not using binary cache seems to be "resolved" by switching to unstable channel. Only 17.03 channels exhibit the issue.
deba5e12 has joined #nixos
darlan has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vHy15
<NixOS_GitHub> nixpkgs/master 370ace4 Tuomas Tynkkynen: kernel: Don't build self-test modules
NixOS_GitHub has left #nixos []
mudri has joined #nixos
darlan has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vHy1A
<NixOS_GitHub> nixpkgs/staging f1d8069 Tuomas Tynkkynen: file: 5.30 -> 5.31
NixOS_GitHub has left #nixos []
<spinus> I'm trying to package toggl and it's building some 3rd party libs and then linking against them. After copying to nix store, it shouts: contains a forbidden reference to /tmp/nix-build-toggl.drv-0, is there any magic to relink all references or need to do it by hand?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] uskudnik opened pull request #26519: google-play-music-desktop-player: 4.2.0 -> 4.3.0 (master...google-play-music-desktop-player-minor-4.3.0) https://git.io/vHyM2
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 255 seconds)]
deba5e12 has quit [(Ping timeout: 260 seconds)]
deba5e12 has joined #nixos
<olejorgenb> ben: https://gist.github.com/olejorgenb/0c3bafa3c7b63d1a2f83ee13582de7b9 (although it might have some bugs with packages only in "nested" sets)
<olejorgenb> (simple cache over nix-env -qa)
ryanartecona has joined #nixos
_rht has quit [(Quit: Connection closed for inactivity)]
<ben> :+1:
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vHyDx
<NixOS_GitHub> nixpkgs/staging fbea126 Tuomas Tynkkynen: audit: 2.6.6 -> 2.7.6
NixOS_GitHub has left #nixos []
ryanartecona has quit [(Client Quit)]
ryanartecona has joined #nixos
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
endformationage has joined #nixos
UFODivebomb has joined #nixos
<ison111> Does services.httpd.extraModules = [ "mod_wsgi" ]; not install mod_wsgi.so into apaches modules directory? It seems that it adds a line to the httpd.conf to include mod_wsgi but the actual module isn't added to apache
eacameron has quit [(Ping timeout: 240 seconds)]
garbas_ has quit [(Ping timeout: 260 seconds)]
garbas has joined #nixos
joelpet has quit [(Remote host closed the connection)]
ryanartecona has quit [(Quit: ryanartecona)]
<catern> what package provides getent?
pie_ has joined #nixos
joelpet has joined #nixos
faffolter has quit [(Ping timeout: 240 seconds)]
zeus_ has joined #nixos
<c74d> catern: for me, glibc
darlan has joined #nixos
<catern> ah, indeed
darlan has quit [(Client Quit)]
<catern> then... my next question is why an nixpkgs assertion fails when I try to nix-env -i glibc :)
joelpet has quit [(Remote host closed the connection)]
joelpet has joined #nixos
joelpet has quit [(Changing host)]
joelpet has joined #nixos
zeus_ has quit [(Ping timeout: 240 seconds)]
tmaekawa has joined #nixos
<catern> I am using nix-user-chroot with a store at /nix/store and otherwise completely normal
ixxie has quit [(Ping timeout: 240 seconds)]
* c74d doesn't know (I don't use nix-env)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 5 new commits to master: https://git.io/vHyQL
<NixOS_GitHub> nixpkgs/master 96f4cac Gleb Peregud: erlang: Move all BEAM packages into beam-packages....
<NixOS_GitHub> nixpkgs/master 3426c88 Gleb Peregud: erlang: Generalize Erlang/OTP derivations....
<NixOS_GitHub> nixpkgs/master e88a89a Daiderd Jordan: erlang: use makeOverridable for customizations
NixOS_GitHub has left #nixos []
Wizek_ has quit [(Ping timeout: 240 seconds)]
<aristid> is there a good document on zfs with nixos?
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
<aanderse> aristid: all i did was boot.supportedFilesystems = [ "zfs" ];, services.zfs.autoScrub.enable = true; and boom it worked
<aanderse> i don't even think i needed the boot.supportedFilesystems though because i'm not running root on it
<aristid> aanderse: sometimes when it's too easy, it's hard to find! :D
<aristid> no i do think you need that
<aanderse> yeah i was running latest ubuntu so i exported my pools
Itkovian has joined #nixos
<sphalerite> viric: you're the maintainer of vdrift, any chance you know how to get it to find SDL2_image again?
<aanderse> loaded nixos on the machine
<aanderse> and good to go
<aristid> aanderse: still need to learn how to use ZFS :)
<aristid> i've been using ext4 exclusively until now
<aristid> i was thinking about BTRFS, but i think i'm too conservative for that
tmaekawa has quit [(Quit: tmaekawa)]
<LnL> none of the macs are building :/
<aanderse> aristid: whats your goal?
<catern> c74d: what do you use instead?
<aristid> aanderse: networking storage / workstation backup (i realize that just a RAID server is not a backup solution, of course :P)
<aanderse> aristid: yeah raid just propgates the problem
<aanderse> unfortunately i'm not rich... so i can't afford to buy a mobo and ecc ram
<aristid> aanderse: well, ZFS RAID should be a bit better
<aanderse> aristid: zfs raid fixes the issue
<aristid> aanderse: fortunately i have more money than sense ;-)
<aristid> aanderse: i got myself a Xeon D box for this.
<aanderse> whenever i buy a hard drive i have to buy 4 or 5 :(
tmaekawa has joined #nixos
<aristid> so much data?
<aanderse> well... yes, but thats a separate issue
<aanderse> zfs mirror in my file server/desktop
<aanderse> so thats 2
<aanderse> then 2 offsite backups
ixxie has joined #nixos
<aristid> ah right
<aanderse> and usually like at least one other box at home to have a backup
<aristid> aanderse: i guess it's still cheaper than cloud backups
<aanderse> aristid: can't do cloud backups
<aanderse> evil
<aanderse> the wife likes snapping pictures of the little ones....
<aanderse> and the cameras just keep getting better.... -_-
<aanderse> last year was about 40-50gb a year in photos
<aanderse> and damn the phone makers putting 4k video cameras on the phones
<aristid> aanderse: while hard drives are not getting cheaper, i'm confident that NAND-based SSDs will eventually get cheaper than hard drives
<aristid> aanderse: so you just need to last for a few more years! ;)
<sphalerite> viric: I seem to have fixed it, never mind. I'll subimit a PR
<aanderse> don't know if i'll make it that long... third little one on the way :P
<aanderse> one was bad
<aanderse> two was worse...
<aanderse> i can only imagine how much space i'll need with 3 -_-
<aanderse> just gotta make sure we don't upgrade the mrs phone any time soon ha ha ha
<c74d> catern: I use the environment.systemPackages option in /etc/nixos/configuration.nix (only available on NixOS) and nix-shell
<c74d> nix-shell is more appropriate for software (compilers, libraries) for developing other software
<catern> ah, I see
<c74d> but if you're not on NixOS, then nix-env + nix-shell is the appropriate combination
<viric> sphalerite: thank you!
eacameron has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
ixxie has quit [(Ping timeout: 260 seconds)]
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Baughn opened pull request #26520: Nix daemon (master...nix-daemon) https://git.io/vHy5J
NixOS_GitHub has left #nixos []
tmaekawa has quit [(Quit: tmaekawa)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
frankpf has joined #nixos
Wizek_ has joined #nixos
ris has joined #nixos
bbarker has quit [(Ping timeout: 260 seconds)]
[0x4A6F] has joined #nixos
Itkovian has joined #nixos
[0x4A6F] has quit [(Read error: Connection reset by peer)]
[0x4A6F] has joined #nixos
bbarker has joined #nixos
<ben> so im using zfs, and i cant figure out how the zfs-mount.service systemd unit gets enabled
<ben> it doesnt seem like anyone really requires it
civodul has joined #nixos
<LnL> I thought that was fixed
ixxie has joined #nixos
<Filystyn> guys
<ben> yeah im looking at that
<Filystyn> why does dir search end in loop in this
<ben> but thats about ordering
<Filystyn> -> home/piotr/.nix-defexpr/channels_root/nixos/nixpkgs/nixpkgs/nixpkgs/nixpkgs/nixpkgs/nixpkgs/nixpkgs/pkgs/development/beam-modules/mix-bootstrap
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
svij3 has joined #nixos
<catern> are there any other nix-associated tools like nox? don't care what they do
<simpson> catern: Are you looking for tools like disnix and nixops? There's many repos out there with a default.nix checked in too.
<catern> I meant more like small helper tools, yeah, rather than things like disnix and nixops
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<catern> I am actually trying to put together a list of demos of nix
mkoenig has joined #nixos
<catern> so far I will be demoing a few options in nix.conf and nix-shell -i to have self-contained scripts, but I want some other things that are really impressive
<catern> (I think the nix-shell -i self-contained scripts thing is really impressive)
athan_ has quit [(Quit: Lost terminal)]
<catern> also, unrelatedly: is there a recent solution to this problem? https://github.com/NixOS/nix/issues/730
<catern> it's kind of horrible, is it really still happening? :)
Isorkin has quit [(Ping timeout: 246 seconds)]
<simpson> I have a pile of shell scripts and mini programs that have Nix-bearing headers.
<catern> I would be interested in seeing them, if any are good examples to add to the ones I stole from the manual :)
<catern> a C or Java example would be cool :)
<catern> if that's even possible to do
<simpson> Here's a pure-Python example that is a little sillier: https://gist.github.com/MostAwesomeDude/05ef110c3bca31e3c1a3658ca5c9f266
zeus_ has joined #nixos
svij3 has quit [(Ping timeout: 240 seconds)]
jonte_ has quit [(Ping timeout: 240 seconds)]
<catern> yeah, the manual has such examples for Python, Perl and Haskell
zeus_ has quit [(Ping timeout: 246 seconds)]
ris has quit [()]
marsel has joined #nixos
ris has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #26521: Fix some typos in documentation (master...typos) https://git.io/vHyNv
NixOS_GitHub has left #nixos []
zarel has quit [(Quit: Leaving)]
Itkovian has joined #nixos
marusich has joined #nixos
<catern> hmmm
<catern> when I do nix-store -l, with log-servers set to hydra
<catern> I get just a random bunch of binary data
<catern> "file" just says it's "data"
<catern> but I do see a note (just before the data) that nix-store -l is fetching the correct thing from hydra, and when I visit in my browser I see normal plain-text logs
<catern> any idea what's going wrong?
garbas has quit [(Ping timeout: 246 seconds)]
garbas has joined #nixos
mellowmaroon has joined #nixos
<mellowmaroon> I have libinput enabled, but when I look at my mouse using `xinput --list`, the options say Evdev and not Libinput
<mellowmaroon> I'm still working on how to fix natural scrolling on my desktop. For some reason, my mouse doesn't pick it up
FRidh has quit [(Quit: Konversation terminated!)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<catern> woah, edolstra is a genius
Itkovian has joined #nixos
<catern> I think he's wrong about it being infeasible though :) this is kind of similar to the Linux kernel security problem of leaking addresses... and people are gradually fixing that up, so! (well... they are *very slowly* fixing it up)
akamaus has quit [(Ping timeout: 260 seconds)]
svij3 has joined #nixos
mellowmaroon has quit [(Quit: Leaving)]
<catern> LnL: surely not? that would suggest nix-store -l is just completely broken?
<catern> or, oh, is this a recent thing?
<LnL> the hydra logs in s3 are recent
<LnL> and nix-store -l porbably doesn't know about the encoding, just like curl
<catern> ok
<catern> awkward
mkoenig has quit [(Ping timeout: 240 seconds)]
frankpf has quit [(Quit: Leaving)]
mizu_no_oto has joined #nixos
svij3 has quit [(Ping timeout: 246 seconds)]
faffolter has quit [(Ping timeout: 240 seconds)]
jsgrant_ has joined #nixos
[0x4A6F]1 has joined #nixos
<LnL> catern: nix-store -l ... | bro --decompress
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
Itkovian has quit [(Read error: Connection reset by peer)]
endformationage has quit [(Quit: WeeChat 1.7)]
Itkovian has joined #nixos
DutchWolfie has quit [(Quit: Konversation terminated!)]
Itkovian has quit [(Client Quit)]
agjacome has quit [(Quit: leaving)]
svij3 has joined #nixos
<catern> LnL: ah! thank you!
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<catern> heh
<catern> it doesn't work because nix-store -l inserts a plain-text line at the start
marsel has quit [(Ping timeout: 240 seconds)]
<catern> but tail -n +2 works, so :)
<joepie91> this looks like somebody copypaste-bugged it...
<joepie91> and I'm guessing that it was originally copypasted from https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/emby.nix
<joepie91> (if somebody would like to create an issue about that, feel free, as I don't currently have the time)
zeus_ has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4010313ab9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 2 new commits to staging: https://git.io/vHyh2
<NixOS_GitHub> nixpkgs/staging 54e0607 Tuomas Tynkkynen: libatomic_ops: Cleanup
<NixOS_GitHub> nixpkgs/staging 4182fc3 Tuomas Tynkkynen: libatomic_ops: 7.4.4 -> 7.6.0
NixOS_GitHub has left #nixos []
mudri has joined #nixos
[0x4A6F]1 has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
mudri has quit [(Ping timeout: 240 seconds)]
<aristid> has anybody else seen this error when compiling chromium? ../../third_party/skia/include/core/SkImageInfo.h:236:66: internal compiler error: Segmentation fault
<catern> when is nix 1.12 going to be released? :)
<catern> sorry, irrelevant question :)
catch22_ has joined #nixos
Filystyn has quit [(Remote host closed the connection)]
<catern> does anyone have a tiny haskell example to replace the one in http://nixos.org/nix/manual/#use-as-a-interpreter which doesn't use networking? I would write one myself but, I don't know Haskell :)
ixxie has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Ping timeout: 246 seconds)]
<joepie91> hm. is there anybody who knows the Magical Secret Sauce to packaging a Mono/XNA game?
<joepie91> it seems to ship with a vendored-in SDL that... doesn't work
<joepie91> [ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException: ./lib64/libSDL2-2.0.so.0
<joepie91> patchelf'ing it with the nix dynamic linker doesn't fix it
<joepie91> ...hold on...
hiratara has joined #nixos
Wizek_ has quit [(Ping timeout: 268 seconds)]
<joepie91> hm, nope, still broken
mudri has joined #nixos
justanotheruser has joined #nixos
MP2E has joined #nixos
<catern> does anyone know something like https://github.com/ryanmjacobs/c which is packaged?
arianvp2 has quit [(Quit: arianvp2)]
<catern> i.e. usable with nix-shell
<catern> same question for Java :)
nckx has quit [(Quit: restarting my GuixSD server)]
<simpson> catern: Instead of passing the -i flag to nix-shell, pass --run, and you'll get to pick flags to the interpreter.
<simpson> Then it's just a matter of remembering which set of flags to gcc will make it read from stdin and execute after compiling.
<catern> i'm not sure there's any such set of flags :)
<catern> specifically for executing after compiling
[0x4A6F] has quit [(Remote host closed the connection)]
thc202 has quit [(Ping timeout: 260 seconds)]
jsgrant_ has quit [(Ping timeout: 240 seconds)]
Jackneilll has quit [(Remote host closed the connection)]
<catern> also, say I have some random git repo, with a default.nix in it, and I want to let someone download and install it. what's the most idiomatic way? I only saw commands for tarballs
indi_ has joined #nixos
<catern> (the repo is accessible over ssh and nothing else)
indi_ has quit [(Remote host closed the connection)]
<simpson> Clone and $(nix-build) is not uncommon.
indi_ has joined #nixos
<catern> hmm, that is perfectly adequate, but I kind of want a single-nix-command
<catern> just for magic wow factor
<catern> is that going to require I make a tarball available?
<simpson> I don't know. This isn't a use case I've thought about before.
<catern> heh fair :)
<catern> I mean, there is package which isn't in what's the most idiomatic way for me t
Wizek_ has joined #nixos
<catern> oops, sorry for the garbage ^ I meant to say: I mean, there is http://nixos.org/nix/manual/#sec-one-click
<catern> but that requires that I have a binary cache
indi_ has quit [(Ping timeout: 246 seconds)]
jbgi has quit [(Ping timeout: 255 seconds)]
anderslundstedt has quit [(Ping timeout: 260 seconds)]
anderslundstedt has joined #nixos
johnsonav has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
Wizek_ has quit [(Ping timeout: 268 seconds)]
svij3 has quit [(Quit: WeeChat 1.7.1)]
preyalone has joined #nixos
preyalone has left #nixos []
simukis has quit [(Ping timeout: 255 seconds)]
hamishmack has quit [(Quit: hamishmack)]
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lheckemann opened pull request #26522: vdrift: fix build (master...vdrift-fix) https://git.io/vHSvB
NixOS_GitHub has left #nixos []
Wizek__ has quit [(Ping timeout: 240 seconds)]
indi_ has joined #nixos
<sphalerite> Do we not have mention bot on PRs anymore?
mkoenig has joined #nixos
riclima has joined #nixos
<UFODivebomb> clone and nix-env -f . -iA $NAME?
<UFODivebomb> I use that with repositories containing a default.nix that references '<nixpkgs>'
<catern> UFODivebomb: yeah, that's what I'll end up doing I suppose
<catern> "nix-env -f http://some/tarball -iA $NAME" would work too though, right?
markus1199 has joined #nixos
<catern> even with a default.nix that references <nixpkgs>?
markus1219 has joined #nixos
riclima has quit [(Ping timeout: 260 seconds)]
<UFODivebomb> I haven't tried. Would be nice if that would work
<UFODivebomb> I haven't seen the use of nix-shell mentioned in the use-as-a-interpreter section
markus1189 has quit [(Ping timeout: 240 seconds)]
<UFODivebomb> whew. I think I'm a bit out of date on NixOS's features haha
markus1209 has quit [(Ping timeout: 240 seconds)]
<UFODivebomb> catern: Here is a hello world Haskell example. No networking. https://gist.github.com/coreyoconnor/2da419db658850b1c072ff9f755717b0
pie_ has quit [(Changing host)]
pie_ has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
<UFODivebomb> Pretty cool. I had no idea that works
phinxy has quit [(Read error: Connection reset by peer)]
<catern> ah, thanks!
<UFODivebomb> catern: According to http://nixos.org/nix/manual/#sec-nix-env the command "nix-env -f http://some/tarball -iA $NAME" would work as expected.
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<Baughn> nox-review is broken at the moment. Known problem?
<UFODivebomb> Which would mean that, "nix-env -f http://some/tarball -i '.*'", would install all the packages defined in the tarball's default.nix
<catern> hmm yeah
<catern> that is pretty neat :)
<catern> I actually think I will demonstrate cloning though, I think it's even more interesting to have the result symlink - that's cool
<catern> does anyone know a good example package with some complicated dependencies and meaningful/cool feature that has a default.nix?
mudri has joined #nixos
<sphalerite> Baughn: https://github.com/NixOS/nixpkgs/issues/26392 ? Or something else?
hamishmack has joined #nixos
<Baughn> Nope, different problem.
<Baughn> "ModuleNotFoundError: No module named 'dogpile.cache'"
<Baughn> I couldn't find it in issues.
mizu_no_oto has joined #nixos
* Baughn waves to gurgle.
<catern> UFODivebomb: waaaait a second, wouldn't just "nix-env -f http://some/tarball -i" work?
orivej has quit [(Ping timeout: 240 seconds)]
spinus has quit [(Read error: Connection reset by peer)]
spinus has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
garbas has quit [(Ping timeout: 240 seconds)]
ris has quit [(Ping timeout: 240 seconds)]
garbas has joined #nixos