<nh2>
clever: so ~/.nix-defexpr/channels contains both `nixpkgs` and `stable`, and they both have identical layout
<clever>
nh2: where does that symlink point?
<sphalerite>
What's the difference between boot.initrd.supportedFilesystems and boot.supportedFilesystems? Do I need to specify zfs in the former for booting from a zfs root filesystem to work?
<clever>
sphalerite: you dont need to specify zfs in either
<clever>
sphalerite: if you set fileSystems."/".fsType to zfs, nixos will figure things out for you
<sphalerite>
ah ok
<clever>
sphalerite: as for the difference, boot.initrd.supportedFilesystems includes the tools in the initrd so it can mount root, and boot.supportedFilesystems just installs them system wide after root is mounted
<clever>
nh2: the channels link itself, take the / off the end
<sphalerite>
Is there a way to get a shell in the initrd? I haven't managed to boot from the new setup yet and I can't really tell why
<sphalerite>
Oh hey, I XYed again
<clever>
sphalerite: add boot.shell_on_fail to the kernel cmdline
<clever>
either using configuration.nix or editing the config in grub with e
<nh2>
(linking the script for fish because google didn't find one for .profile)
<simpson>
clever: Unrelated: Do you happen to have any tips on OpenWRT buildroots? You seem apt to know.
<clever>
nh2: i would just manualy set $NIX_PATH to something that suits your needs in .profile or .fishrc
<clever>
simpson: havent used buildroot, all of my recent arm images are nix based
<simpson>
clever: This is an old MIPS router that I'm trying to rehabilitate. The OpenWRT folks have "helpfully" disabled anything without a maintainer, including the packages which I need.
<nh2>
clever: `export NIX_PATH=nixpkgs=/home/niklas/.nix-defexpr/channels/nixpkgs:stable=/home/niklas/.nix-defexpr/channels/stable` makes it work
<nh2>
clever: weird though that channels don't seem to be supported on non-NixOS
<nh2>
I mean that their existence by itself doesn't do anything
<clever>
i think its just tested less, and problems sometimes crop up and go un-noticed, opening a ticket may help get things fixed
preyalone has quit [(Quit: Connection closed for inactivity)]
elninja44 has joined #nixos
digitalmentat has quit [(Remote host closed the connection)]
<sphalerite>
Maybe I'll take a shot at fixing that :)
bigs has joined #nixos
dgpratt has joined #nixos
nh2 has quit [(Ping timeout: 255 seconds)]
[0x4A6F] has joined #nixos
<noexcept_>
question about the definition of fix' in trivial.nix, why is it "fix' = f: let x = f x // { __unfix__ = f; }; in x;" rather than "fix' = f: let x = f x; in x // { __unfix__ = f; };" or "fix' = f: (fix f) // { __unfix__ = f };"?
georges-duperon has quit [(Quit: Leaving)]
earldouglas has quit [(Ping timeout: 276 seconds)]
nh2 has joined #nixos
earldouglas has joined #nixos
joshie has quit [(Remote host closed the connection)]
<nh2>
hmm no, that's not it, switching to `-E '(import <stable> {}).texmacs.overrideDerivation ...')` didn't help it
<clever>
nh2: you can also just throw absolute paths in instead of using <stable>
<nh2>
clever: ah, I think it's something completely different:
<nh2>
it's simply that the thing inside $() fails, and that invokes the equivalent of `nix-env -i "\n"`
<nh2>
try `touch emptyfile; nix-env -i $(cat emptyfile)`, it will try to install the world
<clever>
lol
<nh2>
interestingly `nix-env -i ""` doesn't try to install the world
<nh2>
next bug to file ...
<gchristensen>
anyone want to go through the awful, painful process of packaging Kaldi?
<sphalerite>
Ooooh, that's that speech-recognition thing isn't it
<sphalerite>
I wanted to run that at some point. So maybe one day I will.
<sphalerite>
But today is not that day :p
<sphalerite>
Oh crap it's 1:30am
<sphalerite>
clever, taktoa, thanks for the help with zfs
<sphalerite>
gchristensen: thanks for the help with zfs and the excellent write-up
<gchristensen>
you're welcome
<sphalerite>
And good night!
<gchristensen>
good night indeed ):
<gchristensen>
:)
<gchristensen>
kaldi takes like 8hrs to compile
alx741 has joined #nixos
<clever>
ouch
darlan has joined #nixos
<gchristensen>
ouch is right
nh2 has quit [(Ping timeout: 260 seconds)]
<clever>
gchristensen: what language is it?
darlan has quit [(Client Quit)]
<gchristensen>
probably fortran
acowley_away is now known as acowley
mudri has quit [(Quit: WeeChat 1.7.1)]
snikkers has quit [(Ping timeout: 240 seconds)]
acarrico has joined #nixos
<clever>
gchristensen: i'm seeing a lot of c++ in the github
<gchristensen>
also sounds right
Tipping_Fedora has quit [(Ping timeout: 276 seconds)]
Tipping_Fedora has joined #nixos
nh2 has joined #nixos
orivej has quit [(Ping timeout: 276 seconds)]
vaibhavsagar_ has joined #nixos
markus1199 has quit [(Ping timeout: 240 seconds)]
markus1189 has quit [(Ping timeout: 240 seconds)]
nckx has quit [(Ping timeout: 260 seconds)]
lambdamu_ has joined #nixos
lambdamu has quit [(Ping timeout: 260 seconds)]
digitalmentat has quit [(Remote host closed the connection)]
digitalmentat has joined #nixos
<vaibhavsagar_>
I can't build nginx on 17.03 because patching the source fails
<vaibhavsagar_>
what should I do?
mbrgm has quit [(Ping timeout: 276 seconds)]
mbrgm has joined #nixos
nh2 has quit [(Quit: Leaving.)]
nh2 has joined #nixos
acertain has joined #nixos
winmillwill has quit [(Ping timeout: 240 seconds)]
<cheshircat>
is there a way to view associated types in ghci? Like, in persist, can I figure out what types are Unique val for val implementing PersistEntity
nh2 has quit [(Quit: Leaving.)]
<vaibhavsagar_>
cheshircat: sounds like a question for #haskell
darlan has joined #nixos
s33se_ has joined #nixos
Wizek has quit [(Ping timeout: 260 seconds)]
<cheshircat>
oh, whoops
<cheshircat>
sorry
s33se has quit [(Ping timeout: 260 seconds)]
iclanzan has quit [(Quit: WeeChat 1.7.1)]
<vaibhavsagar_>
no worries at all, I'd like to know this too :)
markus1189 has joined #nixos
markus1199 has joined #nixos
simukis has quit [(Ping timeout: 240 seconds)]
johnsonav has joined #nixos
acowley is now known as acowley_away
digitalmentat has quit [(Remote host closed the connection)]
digitalmentat has joined #nixos
rcschm has joined #nixos
<rcschm>
hi i am trying to customize installing tmux by overriding the one in the pkgs with postInstall override. but i am getting errors when i tried writeScriptBin.
<rcschm>
how do we reference the program bin and how to use writeScriptBin in this case? thanks for any pointer or any help.
ryantrinkle has joined #nixos
<hodapp>
le sigh. my pull request for GDAL is failing the Travis build... because GDAL is a giant C++ hairball that takes forever to build
<hodapp>
not sure what to do about that
<hodapp>
oh, wait, actually, "The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over)."
hexagoxel has quit [(Ping timeout: 255 seconds)]
simp__ has quit [(Quit: Connection closed for inactivity)]
hexagoxel has joined #nixos
preyalone has joined #nixos
sellout- has joined #nixos
noexcept_ has quit [(Ping timeout: 255 seconds)]
<zgotsch>
What's the preferred way to run commands/start daemons on login in nixOS?
takle_ has joined #nixos
<clever>
zgotsch: ssh login, x11 login, all logins once/every, on bootup?
zach_ has joined #nixos
preyalone_ has joined #nixos
the_ktosiek has joined #nixos
ekleog has joined #nixos
thaega`` has joined #nixos
DIzFer_ has joined #nixos
zgotsch has quit [(Killed (sinisalo.freenode.net (Nickname regained by services)))]
zach_ is now known as zgotsch
khebbie_ has joined #nixos
athan_ has joined #nixos
markus1209 has joined #nixos
katyucha1 has joined #nixos
__red__ has joined #nixos
avn_ has joined #nixos
_c_ has joined #nixos
watersoul_ has joined #nixos
alphor_ has joined #nixos
grillon_ has joined #nixos
kyren has joined #nixos
preyalone_ is now known as preyalone
[0x4A6F] has joined #nixos
alphor_ is now known as alphor
acertain has quit [(Ping timeout: 240 seconds)]
c0dehero has joined #nixos
schoppenhauer has quit [(Ping timeout: 264 seconds)]
Phlogistique has joined #nixos
makefu has joined #nixos
nixy has joined #nixos
jmiven has joined #nixos
Raimondi has quit [(Ping timeout: 268 seconds)]
schoppenhauer has joined #nixos
zgotsch68 has joined #nixos
jluttine has joined #nixos
zgotsch has quit [(Killed (orwell.freenode.net (Nickname regained by services)))]
zgotsch68 is now known as zgotsch
zach_ has joined #nixos
justanotheruser has joined #nixos
systemfault has joined #nixos
zgotsch has quit [(Remote host closed the connection)]
zach_ has quit [(Remote host closed the connection)]
dfranke has joined #nixos
zgotsch has joined #nixos
cybrian has quit [(Remote host closed the connection)]
takle_ has quit [(Remote host closed the connection)]
takle_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle_ has quit [(Ping timeout: 240 seconds)]
justelex_ has joined #nixos
Raimondi has joined #nixos
leat has quit [(Read error: No route to host)]
<samueldr>
how can I force a "touch" of the efi vars with nixos?
<samueldr>
I have lost the contents of the efi vars on the computer... don't ask
<samueldr>
no, not rm -rf, just a transient failure and that particular device seems to have reset the efivars
<samueldr>
using both `boot.loader.efi.canTouchEfiVariables` and `boot.loader.grub.efiSupport` to true
<samueldr>
re-running nixos-rebuild switch does not seem to update the boot options, as observed with an empty efibootmgr output
matumental has joined #nixos
lukego has joined #nixos
takle has joined #nixos
alx741 has quit [(Quit: alx741)]
Raimondi has quit [(Quit: WeeChat 1.8-dev)]
Raimondi has joined #nixos
leat has joined #nixos
takle has quit [(Ping timeout: 258 seconds)]
cybrian has joined #nixos
<clever>
samueldr: deleting /boot/grub/state might trigger the right action
<clever>
samueldr: nixos uses /boot/grub/state to keep track of which grub is in /boot, and know when it has to re-do grub-install for you
<samueldr>
good to know :)
<samueldr>
made a manual efibootmgr invocation in the meantime
<samueldr>
ah, I see, grub's efi installation routine does not use efibootmgr
<zgotsch>
clever: just saw your response to earlier -- I'm interested in running things on X11 login and on boot. Since I asked I've been trying to read about systemd units in the nix conf
<samueldr>
exporting NIXOS_INSTALL_BOOTLOADER does work too
<samueldr>
or reading the manual might have pointed towards --install-bootloader, which exports NIXOS_INSTALL_BOOTLOADER
takle has quit [(Ping timeout: 240 seconds)]
justelex_ has quit [(Ping timeout: 260 seconds)]
rcschm has quit [(Remote host closed the connection)]
<lukego>
any tips on debugging why NIX_BUILD_HOOK seems to be ignored? I'm trying to run remote builds on an OSX machine
<clever>
lukego: are you using nix-daemon?
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
MP2E has quit [(Quit: brb)]
lukego has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
zgotsch has quit [(Remote host closed the connection)]
hamishmack has quit [(Quit: hamishmack)]
takle has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
preyalone has quit [(Quit: Connection closed for inactivity)]
orivej has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
rcschm has joined #nixos
justelex_ has joined #nixos
bigs has joined #nixos
rcschm has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 246 seconds)]
reinzelmann has joined #nixos
takle has joined #nixos
jacob has joined #nixos
jacob is now known as Guest44300
takle has quit [(Ping timeout: 240 seconds)]
MP2E has joined #nixos
matumental has quit [(Ping timeout: 260 seconds)]
MercurialAlchemi has joined #nixos
marsel has joined #nixos
takle has joined #nixos
darlan has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
marsel has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 255 seconds)]
hamishmack has joined #nixos
systemfault has quit [(Quit: Bye!)]
takle has joined #nixos
takle_ has joined #nixos
zraexy has quit [(Ping timeout: 264 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
takle_ has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
katyucha_ has quit [(Quit: leaving)]
takle has quit [(Ping timeout: 240 seconds)]
freusque has joined #nixos
uralbash has joined #nixos
uralbash has left #nixos []
takle has joined #nixos
leat has quit [(Read error: No route to host)]
justelex_ has quit [(Ping timeout: 240 seconds)]
MP2E has quit [(Quit: sleep)]
takle has quit [(Ping timeout: 240 seconds)]
justelex_ has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
civodul has joined #nixos
Guest44300 has quit [(Ping timeout: 240 seconds)]
DrWaste has joined #nixos
takle has joined #nixos
rcschm has joined #nixos
leat has joined #nixos
Itkovian has joined #nixos
<sphalerite>
rcschm: pkgs.writeScriptBin creates a derivation. The postInstall thing should be a string
_Vi has quit [(Ping timeout: 258 seconds)]
rcschm has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
<sphalerite>
sphalerite: either use wrapProgram in the postInstall on an override, or (better, because it doesn't require recompiling tmux) create a wrapper in a separate expression. e.g. write a file called tmux.nix with the contents with import <nixpkgs> {}; writeScriptBin "tmux" {} "#!${stdenv.shell}\nexec ${tmux}/bin/tmux"
<sphalerite>
In the latter case, then just install that expression (nix-env -i -f tmux.nix)
_Vi has joined #nixos
nckx has joined #nixos
cfricke has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
marsel has joined #nixos
_Vi has quit [(Ping timeout: 258 seconds)]
FRidh has joined #nixos
ertes has joined #nixos
_Vi has joined #nixos
StillerHarpo39 has joined #nixos
endformationage has quit [(Quit: WeeChat 1.7)]
jacob has joined #nixos
jacob is now known as Guest82866
jensens has joined #nixos
StillerHarpo39 has quit [(Ping timeout: 260 seconds)]
thc202 has joined #nixos
ertes is now known as ertes-w
ertes-w is now known as ertes
cfricke has quit [(Quit: WeeChat 1.7.1)]
nckx has quit [(Ping timeout: 260 seconds)]
ertes has quit [(Ping timeout: 240 seconds)]
ertes-w has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
justanotheruser has quit [(Ping timeout: 240 seconds)]
rcschm has joined #nixos
johnsonav has quit [(Ping timeout: 264 seconds)]
rcschm has quit [(Ping timeout: 240 seconds)]
lukego has joined #nixos
<lukego>
clever: Sorry to fall off the 'net... I don't think that I am running the nix-daemon. I installed nix using the curl command
<lukego>
I'm on a Darwin host trying to run a derivation that needs x86_64-linux, and I have defined a suitable build slave. but it doesn't seem to be being consulted
<MichaelRaskin>
echo $NIX_REMOTE
<MichaelRaskin>
Maybe NIX_REMOTE=
<MichaelRaskin>
(and you are running the command as root, right?)
<LnL>
lukego: remote builds fail in very subtle ways, without any warnings/errors
<lukego>
MichaelRaskin: I'm not running it as root and I don't understand why I need to set NIX_REMOTE?
<clever>
if you run it without root and without NIX_REMOTE, then your current user must have write to /nix/store/
<LnL>
lukego: there was an issue on one of my projects where I listed some of the issues I've ran into before
<lukego>
I have the distinct feeling that the hook script is not being called at all, but I am not really sure.
elninja44 has quit [(Remote host closed the connection)]
Itkovian has joined #nixos
<clever>
lukego: dtrace or whatever darwin calls it may help
<lukego>
clever: Could be that using 'meta = { platforms = "x86_64-linux"; };' will not work on OSX even if I have a suitable build slave available?
<clever>
lukego: it should find a build slave automaticaly
<lukego>
clever: I used dtruss, which seems to be Darwin for strace, and I don't see any trace of what I am interested in, but can't discount user error e.g. that I am not following forked children or something properly.
<lukego>
hm, I have not setup a signing key, and I don't know if I am running the daemon or not.
<lukego>
I am actually trying to setup a generic script that anybody could run to execute nix builds on some public servers. So I want it to work with a nix installed in the usual way and without any special steps or dependencies on my local machine setup.
<LnL>
unless you are using my project and enabled it explicitly, probably not
derjohn_mob has quit [(Remote host closed the connection)]
<LnL>
it needs a service which the nixos.org installer doesn't provide
<clever>
lukego: if you make it ssh into root or a trusted user (in nix.conf), then it doesnt need signing
<lukego>
I feel like my problem must be something trivial, like a typo in an environment variable name, but I just don't see it.
MichaelRaskin has quit [(Quit: MichaelRaskin)]
<lukego>
Or maybe runCommand is somehow incompatible with remote builds? (has a prefer local thingy in there somewhere? but I have also tested stdenv.mkDerivation)
<LnL>
no, there's preferLocalBuild but it's more of a suggestion
<lukego>
I'm also wondering whether 'requiredSystemFeatures' is being respected in runCommand. Seems like I can specify any feature and it happily builds locally.
<lukego>
... but meta = { platforms = [ ... ]; } does get respceed
<LnL>
ah, does it have a reauiredSystemFeatures? that won't work unless you added the feature in the remote machines config
<lukego>
I've tried both with and without the requiredSystemFeatures, and I do have it defined in the remote machines config
<lukego>
However, I am pretty sure nix is simply not calling the build hook at all, and I have no idea why.
<LnL>
you might still have to corelate that with nix-sore --gc --print-roots
<lukego>
LnL: at some point this morning I did 'nix-env -i nix' to try to get a "sensible" version of nix. Could be that this was when the build hook stopped running. I'm now trying to run all the versions I have in /nix/store
<manveru>
LnL: thanks
<lukego>
LnL: I have 1.11.5, 1.11.6, and 1.11.9 in the store and earlier today I did at least see the perl script running with _one_ of those versions
<lukego>
Browsing 'git log' on nix repo, seems like there is recent activity around remote builds
jensens has quit [(Ping timeout: 240 seconds)]
__Sander__ has joined #nixos
<lukego>
Like being able to write 'nix-build --option builders "root@myserver x86_64-linux"'
<lukego>
ahem and "Remove NIX_BUILD_HOOK"
<lukego>
So it seems like the whole remote build mechanism has been rewritten and I just wasn't aware of that
<LnL>
lukego: yeah but that's 1.12.x
<LnL>
was wondering if you maybe installed nixUnstable
justbeingglad has left #nixos []
<lukego>
Interesting. So if there is a new mechanism coming then I definitely want to use that.
<LnL>
yeah, but it's not in stable yet
<manveru>
"113604 store paths deleted, 105025.41 MiB freed" :D
<manveru>
i feel better now
<lukego>
LnL: do you know if it is working? I'm happy to use unstable if it is... stable :)
Mateon1 has quit [(Remote host closed the connection)]
<lukego>
Otherwise I can come back to this whole topic later
<LnL>
no idea, I've not played with it. just know that it was changed/removed there
Mateon1 has joined #nixos
<lukego>
OK. Thanks for the info. I will stop wasting my time fighting with NIX_BUILD_HOOK and probably wait for the 1.12 release.
<lukego>
(Looks like the nix release cadence is only a few weeks between releases usually? nice)
<LnL>
you could take a look at my project if you're feeling adventurous, it provides the same options as nixos for this
<ikwildrpepper>
domenkozar: sorry, got side-tracked on the datadog thing, starting to work on it now
<domenkozar>
\o/
mudri has joined #nixos
<domenkozar>
niksnut: nice
<LnL>
niksnut: nice! Do you have an estimate on when we might get a 1.12 release?
reinhardt has joined #nixos
goibhniu1 has joined #nixos
bennofs has joined #nixos
goibhniu has quit [(Ping timeout: 260 seconds)]
ddash has joined #nixos
reinzelmann has quit [(Ping timeout: 240 seconds)]
roconnor has quit [(Ping timeout: 264 seconds)]
ddash has quit [(Client Quit)]
mickk has joined #nixos
mudri has quit [(Quit: WeeChat 1.7.1)]
mudri has joined #nixos
<lukego>
LnL: I will check out your project, thanks for the link
jensens has joined #nixos
<lukego>
LnL: Overall my project is more like styx i.e. it's using nix under the hood and not necessarily running on darwin.
mickk has quit [(Quit: Page closed)]
Guest82866 has quit [(Quit: Lost terminal)]
jacob has joined #nixos
jacob is now known as Guest62174
<domenkozar>
niksnut: do we need more people testing 1.12? we could call for testing help
<bennofs>
Does anyone else get error: assertion failed at /nix/store/8dipap0m7v3fxysyhqyinc4z26gvyxl9-nixpkgs-17.09pre106045.7369fd0b51/nixpkgs/pkgs/top-level/all-packages.nix:6348:19
<bennofs>
when building anything from nixpkgs
<bennofs>
alright, my error
<bennofs>
Interesting puzzle: why does nix-build '<nixpkgs>' gcc give that error?
<bennofs>
(note the missing -A)
<domenkozar>
been there done that :)
<bennofs>
wth does that command do?
<bennofs>
ah, it just ignores the extra argument
<domenkozar>
build all packages
Wizek has joined #nixos
bitonic has quit [()]
bitonic has joined #nixos
simp__ has joined #nixos
mib_kd743naq has joined #nixos
mib_kd743naq has quit [(Client Quit)]
<sphalerite>
Is there a setting for setting X resource defaults?
_Vi has quit [(Ping timeout: 260 seconds)]
<bennofs>
sphalerite: i believe ~/.Xdefaults gets loaded by nixos by default
<sphalerite>
I was hoping for a system-wide one that gets applied in the display manager as well as user sessions
<bennofs>
sphalerite: I don't think there is anything that gets applied in the DM?
<sphalerite>
well it's running in X too, so there should be a way to set the resourcecs :/
<sphalerite>
I guess I could just use an xrdb call in one of the scripts
<sphalerite>
Yeah, except I want the settings to apply to all users including lightdm
bennofs has quit [(Quit: WeeChat 1.7.1)]
rcschm has joined #nixos
bennofs has joined #nixos
Wizek_ has joined #nixos
<sphalerite>
gchristensen: do you use firefox or other gtk applications at all? I've put the ScreenSize setting for Xorg but GTK applications still have tiny text.
Raimondii has joined #nixos
<sphalerite>
bennofs: thanks for the pointer, that's helpful — I see that it actually loads a generated resources file
<sphalerite>
which just happens to include the exact setting I'm looking for via fonts.fontconfig.dpi :)
ixxie has joined #nixos
<sphalerite>
it would be nice to be able to add custom resource definitions to it via a nixos setting though. I might have a look at submitting a patch for that
rcschm has quit [(Ping timeout: 268 seconds)]
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
goibhniu1 is now known as goibhniu
seanparsons has quit [(Remote host closed the connection)]
seanparsons has joined #nixos
vaibhavsagar_ has quit [(Quit: Leaving)]
ixxie has quit [(Ping timeout: 258 seconds)]
<sphalerite>
curl: (22) The requested URL returned error: 500
<sphalerite>
That's a new one... Good job, cloudflare
<bennofs>
sphalerite: cloudflare returns 500 on various occasions ... never ever interface with cloudflare without retries :)
<bennofs>
sphalerite: it may have just decided that you do too many concurrent requests and blocked you. at least I got that quite often while building nix-index, and I assumed that this was the cause (I could never reproduce it in the terminal)
<sphalerite>
but surely then it would block all requests, not just requests to that specific URL (others work)
<sphalerite>
and use HTTP 420, not HTTP 500?
<bennofs>
sphalerite: tell me if you find out!
<bennofs>
sphalerite: I'd be very interested
<bennofs>
sphalerite: also, try using curl with a different user agent
<sphalerite>
Can you curl that URL?
<bennofs>
sphalerite: yes
<sphalerite>
oh wait now it works for me too :|
lukego has quit [(Ping timeout: 260 seconds)]
<bennofs>
sphalerite: but since cloudflare has many servers, I'm probably hitting another one
<sphalerite>
of course I just tried curling it without redirecting anywhere. So my terminal is now screwed
trishume has quit [()]
trishume has joined #nixos
ixxie has joined #nixos
posco has quit [()]
posco has joined #nixos
bennofs has quit [(Ping timeout: 258 seconds)]
justelex_ has quit [(Read error: Connection reset by peer)]
wavewave has quit [()]
wavewave has joined #nixos
justelex_ has joined #nixos
<jluttine>
is there any good free font package alternative to corefonts? without it some pdfs render very badly (they seem to want verdana and helvetica)
<jluttine>
or perhaps it's some other issue with my fonts.. i mean, without corefonts, kerning is really bad in those pdfs. letters may move so much that word spaces are at wrong places
justelex_ has quit [(Excess Flood)]
justelex_ has joined #nixos
<avn_>
jluttine: nixos have working corefonts btw
<jluttine>
avn_: couldn't find any free ones
mudri has quit [(Ping timeout: 240 seconds)]
justelex_ has quit [(Excess Flood)]
justelex_ has joined #nixos
seanparsons has quit [(Quit: WeeChat 1.7.1)]
seanparsons has joined #nixos
<sphalerite>
jluttine: there doesn't seem to be a full set, but I searched for microsoft and compatible using nox and got https://github.com/derat/xsettingsd
<sphalerite>
That's not very helpful though, is it :/
Infinisil has joined #nixos
ragge has quit [()]
ragge has joined #nixos
DutchWolfie has quit [(Ping timeout: 240 seconds)]
Infinisil has quit [(Client Quit)]
mudri has joined #nixos
DutchWolfie has joined #nixos
bennofs has joined #nixos
revtintin has joined #nixos
simukis has joined #nixos
rcschm has joined #nixos
rcschm has quit [(Ping timeout: 260 seconds)]
<gchristensen>
niksnut: do you know how to make all /wiki/* pages go to the same HTML file, and where should that HTML file live? I was thinking about putting it in nixos-homepage, but I'm not sure.
justelex_ has quit [(Read error: Connection reset by peer)]
justelex has joined #nixos
rcschm has joined #nixos
rcschm has quit [(Ping timeout: 240 seconds)]
taeradan has quit [(Ping timeout: 245 seconds)]
rcschm has joined #nixos
rcschm has quit [(Remote host closed the connection)]
_Vi has joined #nixos
rcschm has joined #nixos
simukis has quit [(Ping timeout: 240 seconds)]
ixxie has quit [(Ping timeout: 240 seconds)]
<gchristensen>
clever: eu
<gchristensen>
clever: I finally got my router controlled by nixops... ):
<gchristensen>
:)
justelex_ has joined #nixos
justelex has quit [(Ping timeout: 240 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
justelex_ has quit [(Ping timeout: 260 seconds)]
simp__ has quit [(Quit: Connection closed for inactivity)]
taeradan has joined #nixos
justelex_ has joined #nixos
noexcept_ has joined #nixos
sellout- has quit [(Ping timeout: 240 seconds)]
nslqqq has quit [(Ping timeout: 268 seconds)]
romildo has joined #nixos
romildo has quit [(Remote host closed the connection)]
orivej has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 260 seconds)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<taeradan>
hi
peacememories has joined #nixos
<taeradan>
is there a FAQ or a guide somewhere to the "infinite recursion" error that we can get sometimes without understanding why ?
peacememories has quit [(Client Quit)]
nh2 has joined #nixos
<taeradan>
most of the times I end up trying random changes in my .nix files, but when it works at the end, I can almost never tell exactly what have caused the error
peacememories has joined #nixos
<domenkozar>
taeradan: there is no general fix to looping your programs :)
nslqqq has joined #nixos
<taeradan>
when it happens, I don't have the feeling that there is any loop, or it is hard to find. Something that works in one file seem to don't work in another file, it's confusing
<taeradan>
and the error message is really not helping
<taeradan>
even with the whole trace
StillerHarpo39 has joined #nixos
<taeradan>
what I'm trying to do is using networking.hostName defined in configuration.nix to trigger some configuration generation using a dictionnary of my machines with configuration flags
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<taeradan>
it sometimes works well, and sometimes when trying to define and use a new flag with mkIf I get an infinite recursion error with references to netorking.hostName
peacememories has joined #nixos
peacememories has quit [(Client Quit)]
mudri has joined #nixos
<gchristensen>
taeradan: I think we'd need to see an example to explain it
<gchristensen>
which we'd be happy to look at and help with
<taeradan>
the repo is becoming complex, I'm not sure if I can extract the part that fails
<gchristensen>
hm
<gchristensen>
that is tricky. what is hostName set to?
khebbie_ has quit [(Ping timeout: 260 seconds)]
<taeradan>
and there is a combination of a public part with all the dfinitions and config generation, and a private part with the actual machines dictionnary
mudri has quit [(Ping timeout: 240 seconds)]
khebbie has joined #nixos
cpennington has joined #nixos
khebbie has quit [(Read error: Connection reset by peer)]
ertes has joined #nixos
romildo has joined #nixos
romildo has quit [(Remote host closed the connection)]
ryantrinkle has quit [(Ping timeout: 240 seconds)]
mib_kd743naq has joined #nixos
romildo has joined #nixos
romildo has quit [(Client Quit)]
ertes has quit [(Ping timeout: 240 seconds)]
iyzsong has joined #nixos
<niksnut>
gchristensen: probably something like Redirect /wiki https://nixos.org/...
RayNbow`TU has quit [(Ping timeout: 240 seconds)]
RayNbow`TU has joined #nixos
takle has quit [(Remote host closed the connection)]
winmillwill has joined #nixos
mudri has joined #nixos
sellout- has joined #nixos
__Sander__ has quit [(Quit: Konversation terminated!)]
reinhardt has quit [(Quit: Leaving)]
justelex has joined #nixos
justelex_ has quit [(Ping timeout: 240 seconds)]
jabesed has joined #nixos
sellout-1 has joined #nixos
jabesed has quit [(Remote host closed the connection)]
jabesed has joined #nixos
sellout- has quit [(Ping timeout: 260 seconds)]
Infinisil has joined #nixos
justelex has quit [(Ping timeout: 240 seconds)]
dridus has joined #nixos
Infinisil has quit [(Client Quit)]
<niksnut>
gchristensen: so that mlock +n broke github notification to #nixos
<gchristensen>
dang
<niksnut>
do you know if there is a way to allow github access?
<gchristensen>
looking
<gchristensen>
niksnut: according to the hook we can either change it back to `-n` or we can have github join the channel, send a message, and leave
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<gchristensen>
that second option is "Message without join" on the github service integration page
<niksnut>
thanks, I'll check
derjohn_mob has joined #nixos
orivej has joined #nixos
takle has joined #nixos
winmillwill has quit [(Quit: WeeChat 1.4)]
JayVii has quit [(Ping timeout: 260 seconds)]
earldouglas has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to master: https://git.io/v9zZK
<bennofs>
does it install that sl thingy when you mistype ls?
<gchristensen>
lol
<gchristensen>
yes
<gchristensen>
yes it does
<gchristensen>
but our `sl` is broken, so it compiles and fails to run.
romildo has joined #nixos
<bennofs>
lol
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<gchristensen>
oh just kidding it is not broken
<gchristensen>
my internet was just down when I tested :P
ryanartecona has quit [(Quit: ryanartecona)]
<bennofs>
sl requires network? :O
DutchWolfie has quit [(Quit: Konversation terminated!)]
<gchristensen>
no, nix-daemon does to build and nix-store does to fetch
<dash>
bennofs: auto-running uninstalled programs does
DutchWolfie has joined #nixos
<bennofs>
oh right
DutchWolfie has quit [(Client Quit)]
ryanartecona has joined #nixos
<nh2>
gchristensen: "it auto-gets it and runs your command" :O :O
<nh2>
I'd definitely prefer the command-not-found thing that tells me how I can get it
<domenkozar>
nh2: that is the default
<bennofs>
it's the spotify of linux programs
<dash>
:D
<gchristensen>
eh, bennofs?
Tucky has quit [(Ping timeout: 240 seconds)]
<dash>
gchristensen: a large streaming library of linux programs ;)
<gchristensen>
oh jesus haha
aloiscochard has quit [(Quit: Connection closed for inactivity)]
oida has joined #nixos
<gchristensen>
bennofs: also: NIX_AUTO_RUN=1 gti
<bennofs>
nice
orivej has quit [(Ping timeout: 268 seconds)]
<boxofrox>
i have mariadb running inside a container. htop shows it's using a config located at /nix/store/czvmj0c4c8halb5i7ax6ivh5zh85yh73-my.cnf, but I can't find this path on the host system. anyone know where this path may be?
freusque has quit [(Quit: WeeChat 1.7)]
<gchristensen>
it should definitely be on the host, boxofrox :/
<boxofrox>
dang.. i must be doing something wrong then :/
<gchristensen>
maybe double check that you're copy-pasting it right?
<boxofrox>
it's not a directory ><
kykim has joined #nixos
<gchristensen>
eh?
digitus has joined #nixos
<boxofrox>
that's what i was doing wrong, trynig to cd into /nix/store/czvm<tab><tab> = not there
<dash>
yeah not everything in the nix store is a directory :)
<boxofrox>
i assumed everything under /nix/store was a folder
<boxofrox>
so, i found it. thanks :)
MoreTea has quit [(Ping timeout: 245 seconds)]
simukis has quit [(Quit: simukis)]
simukis has joined #nixos
simukis has quit [(Remote host closed the connection)]
Mateon1 has quit [(Remote host closed the connection)]
simukis has joined #nixos
Mateon1 has joined #nixos
<kykim>
i'm trying to figure out how to override the postgresql pkg config in my /etc/nixos/configuration.nix file. anyone have any pointers?
<gchristensen>
like you want to use a different postgresql package for the service?
<romildo>
I need to fetch from 2 git repositories to build a package (that I am writing a nix expression for). Is there any restriction with this in nix?
<hyper_ch>
error: Package ‘python2.7-os-testr-0.4.2’ in ‘/nix/store/zaphjxhxnrx2cncmbmpaacqv4w503cgf-nixos-17.09pre106916.c5badb123a/nixos/pkgs/development/interpreters/python/mk-python-derivation.nix:56’ is marked as broken, refusing to evaluate. :(
romildo has quit [(Ping timeout: 240 seconds)]
<FRidh>
hyper_ch: fixed on master
<hyper_ch>
:)
eacameron has joined #nixos
johnsonav has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v9gko
<NixOS_GitHub>
nixpkgs/master f3f38ec Daniel Frank: kicad: update to 4.0.6
<NixOS_GitHub>
[nixpkgs] FRidh opened pull request #25506: Python: check if multiple versions of a package in a closure (master...unique) https://git.io/v9gc6
NixOS_GitHub has left #nixos []
MP2E has joined #nixos
<ericnoan>
using the install iso to rescue a nixos system, i user nixos-install --chroot to chroot into the installed system right? why can't i change the user passwords? it complains about missing passwd
<ericnoan>
oh well, i just reinstalled haha
<ericnoan>
reinstalling is cheap
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
katyucha1 has quit [(Quit: leaving)]
katyucha has joined #nixos
pie_ has joined #nixos
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] chris-martin closed pull request #23971: doc/stdenv: how to mkDerivation with no srcs (master...pr/doc-stdenv-srcs) https://git.io/vyHM4
NixOS_GitHub has left #nixos []
leat has quit [(Read error: No route to host)]
eacameron has quit [(Remote host closed the connection)]
<earldouglas>
Is the NixOps manual missing docs on resources.rdsDbInstances, or am I looking in the wrong place?
<sphalerite>
I don't think the latter is implemented. But the former is better anyway ;)
marsel has joined #nixos
<schoppenhauer>
sphalerite: linux containers. are nixos-containers a frontend for linux containers?
<joepie91>
schoppenhauer: I do believe so
<pie_>
MichaelRaskin, well, intel_pstate, y u do dis
cpennington has joined #nixos
mbrgm has joined #nixos
<pie_>
gchristensen, cool, whas going up
<sphalerite>
schoppenhauer: By linux containers, do you mean namespaces? If so, yes. If you mean LXC, no.
<MichaelRaskin>
pie_: as in success or not?
<gchristensen>
I dunno, comms satellite or something pie
reinzelmann has quit [(Quit: Leaving)]
<schoppenhauer>
sphalerite: hm. I actually don't really know the difference between lxc and namespaces. I thought lxc is namespaces + specialized device nodes
<pie_>
MichaelRaskin, i havent tried yet, dont want to reboot right now :P
<pie_>
gchristensen, ah
eacameron has joined #nixos
<sphalerite>
schoppenhauer: lxc is a frontend to namespaces. It is confusing because they're often conflated. http://doger.io/ contains some useful information on the subject
shibguy has quit [(Quit: Page closed)]
<MichaelRaskin>
pie_: I cannot rule out that somewhere on the Earth there exists a series of Intel CPUs which are supported by Linux intel_pstate code in some useful way
<MichaelRaskin>
I can even accept that the very existence of the code is a piece of weak evidence in favour of existence of such CPUs!
<MichaelRaskin>
I just have never used any of these CPUs.
<joepie91>
MichaelRaskin: something something unsolved problem in computing something...
<joepie91>
:)
<ericnoan>
MichaelRaskin: the engineers have it, they keep it for their paying corporate friends
<MichaelRaskin>
Well, in this case I think the code would not activate by default outside Xeons
<ericnoan>
this is symptomatic of cpu manufacturers not releasing docs or specs, which ends with some poor bloke trying to reverse engineer it blindly
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/v9gPW
<NixOS_GitHub>
nixpkgs/master d75ae6d Vincent Laporte: smplayer: 17.3.0 -> 17.4.2
NixOS_GitHub has left #nixos []
<codedmart>
I think I got it from a newer commit.
jensens has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 5 new commits to master: https://git.io/v9g1J
<NixOS_GitHub>
nixpkgs/master 31ad4e1 zraexy: perlPackages.RegexpGrammars: init at 1.045
<NixOS_GitHub>
nixpkgs/master 7845163 zraexy: bt-fw-converter: init at 2017-02-19
<NixOS_GitHub>
nixpkgs/master d900478 zraexy: broadcom-bt-firmware: init at 12.0.1.1011...
NixOS_GitHub has left #nixos []
Raimondii has joined #nixos
kampfschlaefer has quit [(Ping timeout: 240 seconds)]
<sphalerite>
so I'm barely running any applications, yet apparently I haved 5.6GB of memory "used". What can cause this? htop doesn't report any programs using much memory.
Raimondi has quit [(Ping timeout: 268 seconds)]
Raimondii is now known as Raimondi
<simpson>
sphalerite: What's $(free -hm) say?
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<sphalerite>
aren't -h and -m contradictory? Anyway, that's what I was using — total 15G, used 5.6G, free 7.3G, shared 456M, buff/cache 2.3G, available 7.3G
Havvy has joined #nixos
<simpson>
Oh, I see, but you're not sure what's actually being used? And htop doesn't report the same numbers? That's a little strange.
<simpson>
Maybe there's some invisible kernel buffers?
isHavvy has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/v9gDq
<NixOS_GitHub>
nixpkgs/master 68c6e5b Josef Kemetmueller: opencv3: Enable darwin build