<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
<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?
<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>
[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
<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)]
<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:
<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 -_-
<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
<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'"...
<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
<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?
_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)]
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)
<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>
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)
<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
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