<slabity>
That's strange. Trying to install dotnet through winetricks results in "Mono does not appear to be installed"
Glider_IRC_ has quit [Ping timeout: 258 seconds]
growpotkin has joined #nixos
goibhniu1 has quit [Ping timeout: 272 seconds]
bt` has joined #nixos
npmccallum has quit [Quit: npmccallum]
itorres has quit [Ping timeout: 246 seconds]
itorres has joined #nixos
orivej has joined #nixos
o1lo01ol_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
bt` has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
Ariakenom_ has quit [Quit: Leaving]
bt` has joined #nixos
lejonet has quit [Ping timeout: 246 seconds]
<bt`>
hello, I've followed the Nix Manual entry on configuring Emacs with packages from *elpa and it's been working great, but I've run into a issue where when I want to change my Packages that upon rebuilding the new padkages are not present. Anyone know why this could be?
silver has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @thumphries opened pull request #62072 → autorandr: use official package description → https://git.io/fjRJj
<bt`>
When I try to make a more substantial alteration like removing a package I already have installed from Emacs I'm given a several errors: `collision between "/nix/store/{$HASH}-emacs-with-packages-26.1/share/info/{$PACKAGE}"... '
mniip has quit [Quit: This page is intentionally left blank.]
ym555_ has joined #nixos
ym555_ has quit [Client Quit]
ym555 has quit [Ping timeout: 245 seconds]
b has joined #nixos
Ridout_ has quit [Ping timeout: 246 seconds]
mniip has joined #nixos
nD5Xjz has quit [Ping timeout: 248 seconds]
nD5Xjz has joined #nixos
AluisioASG has quit [Ping timeout: 264 seconds]
iyzsong has joined #nixos
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 258 seconds]
<bt`>
For the moment I've reverted to using Emac's package management, I'll leave this buffer open in case there is a response, but I'm not likely to respond in turn in a timely manner as I
<bt`>
I'm fixing to go to bed.
lejonet has joined #nixos
<DigitalKiwi>
infinisil: in the znc plugins what does the version like this mean version = "git-2016-10-12";
<DigitalKiwi>
is that the date it was added or? it's not afaict the date of the commit
<DigitalKiwi>
(or at least not always or in the one/s i checked or it's wrong)
lejonet has quit [Client Quit]
<DigitalKiwi>
err, the date of the commit of the znc plugin
<infinisil>
It *should* be the commit date
<clever>
yeah
lejonet has joined #nixos
<infinisil>
DigitalKiwi: Well, that date seems correct to me, just checked
<DigitalKiwi>
which commit date
<infinisil>
git cloned the znc-push repo and did a `git show` on the commit
<infinisil>
Date: Wed Oct 12 14:12:49 2016 -0700
<DigitalKiwi>
well that wasn't the one i checked then i think ;)
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
mla has quit [Quit: WeeChat 2.2]
drakonis has quit [Ping timeout: 272 seconds]
tmaekawa has joined #nixos
<DigitalKiwi>
infinisil: should i add myself as a maintainer?
* DigitalKiwi
not currently in maintainer list
drakonis has joined #nixos
<infinisil>
If you feel like it, sure :D
<DigitalKiwi>
ok
<DigitalKiwi>
there were a few i didn't figure out how to do i'll put them in a gist and maybe someone else can...the yubikey one uses includes that i don't know how to make it see, and the other two are .py, but one of them is just a python version of the one we already have soooo
drakonis1 has quit [Ping timeout: 258 seconds]
nD5Xjz has joined #nixos
<DigitalKiwi>
ugh, out of memory on the nix-review :|
nD5Xjz_ has quit [Ping timeout: 248 seconds]
drakonis1 has joined #nixos
mkoenig has quit [Quit: Lost terminal]
mkoenig has joined #nixos
duoi has joined #nixos
<{^_^}>
[nixpkgs] @matthewbauer merged pull request #62072 → autorandr: use official package description → https://git.io/fjRJj
<{^_^}>
[nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjRUS
<samueldr>
hmmm, fun! only two results for "error: writing to file: Connection reset by peer" are from the irc logs here, one without resolution and the other referring to the fact that the only results are the logs
palo1 has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon3 is now known as Mateon1
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
mexisme has joined #nixos
<{^_^}>
[nixpkgs] @Kiwi opened pull request #62075 → New znc modules → https://git.io/fjRTC
<DigitalKiwi>
infinisil: done I think
<{^_^}>
[nixpkgs] @khumba opened pull request #62076 → nixos/xdg/mime: disable fdatasync when building the XDG MIME database → https://git.io/fjRTW
mexisme has quit [Ping timeout: 272 seconds]
b has joined #nixos
Ridout has quit [Ping timeout: 268 seconds]
abathur has quit [Ping timeout: 258 seconds]
reinhardt has joined #nixos
<tdeo>
anyone else having problems with pkg-config files just being null bytes on nixpkgs git?
<hyper_ch>
I'd check your config if it wasn't pasted in evil pastebin :)
<acham3242>
what is not evil?
<hyper_ch>
anything not pastebin.com and that doesn't require (3rd party JS) to display something :)
<hyper_ch>
from #bash --> "Please don't use pastebin.com -- it's full of ads and mangles whitespace. NEVER upload screen shots. Don't use a paste site that requires Javascript, or registration to view raw."
<{^_^}>
[nixos-homepage] @sanmai-NL opened pull request #281 → Mac OS X -> macOS → https://git.io/fjRL1
mmlb has joined #nixos
<hyper_ch>
acham3242: changing version?
Glider_IRC has quit [Ping timeout: 248 seconds]
<acham3242>
I tried 18.09 and unstable
<acham3242>
and they didn't work
<acham3242>
but 19.03 worked
<hyper_ch>
ah :)
hmpffff has quit [Quit: nchrrrr…]
ixxie has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<hyper_ch>
still strange that unstable didn't work
is_null has joined #nixos
<hyper_ch>
hmmm, in vbox I get "Kernel driver not accessible" when trying to start a vm
knupfer has quit [Ping timeout: 250 seconds]
ee1943 has quit [Ping timeout: 258 seconds]
ee1943 has joined #nixos
silver has joined #nixos
thc202 has quit [Remote host closed the connection]
lejonet has quit [Quit: WeeChat 1.9.1]
<simukis_>
What other things go into calculating sha256 hash of the fixed-output derivation? Other than file contents
<andi->
simukis_: of the top of my head nix does transform a path tha tis being hashed into a nar file and then takes the hash of that. That means file names, directory names, executable bit
<acham3242>
directory tree
<simukis_>
number of files, their names and the structure of the directory tree match,
<simukis_>
not sure about permissions.
<simukis_>
I’m currently looking into whether all the symlinks are the same
playX has joined #nixos
<playX>
Hello! GCC package includes gccjit library?
<piezoid>
I load it with replaceStdenv, then configure a ccacheWrapper packageOverrides with my cache path, but found that the ccacheWrapper override is never looked up (I traced it)
<piezoid>
tilpner: replaceStdenv = { pkgs }: pkgs.ccacheStdenv; # As seen in all-packages.nix comment
<tilpner>
piezoid: Yes, but where do you put that?
<piezoid>
tilpner: in my ~/.config/nixpkgs/config.nix
<tilpner>
So then with a nix repl '<nixpkgs>'
<tilpner>
config.replaceStdenv should exist
<tilpner>
Does it?
<piezoid>
tilpner: yes
<piezoid>
the problem is more with the ccacheWrapper, ccache get executed when building
Glider_IRC has joined #nixos
<piezoid>
but not with the environment variables set by overriding ccacheWrapper in packageOverrides
<piezoid>
in fact tracing the override show that it's never used in a build
<piezoid>
so I suspect that the original ccacheWrapper (unconfigured) get used
<piezoid>
depending on the ordering of packageOverrides relative to replaceStdenv...
_ris is now known as ris
ris has quit []
ris has joined #nixos
<tilpner>
When you break the build fo ccacheWrapper, probably with a syntax error during extraConfig, and then try to build it from a shell, does it work?
<piezoid>
you mean, put garbage in extraConfig and see were it goes ?
<tilpner>
marek: I can't tell if that's a question
knupfer has joined #nixos
<marek>
tilpner: it's not, I was just misunderstanding how these builds work
<infinisil>
Wow, 6 hour old nixos-unstable?
<marek>
long story short, ddclient did not get its shebang patched properly, if I build it with nix-build, it works just fine, so I was looking at how to reproduce the build which create the stuff in the binary cache
<DigitalKiwi>
i can't get letsencrypt to work is there something i'm missing from here https://nixos.wiki/wiki/Nginx
<clever>
marek: its a kernel level problem, if the #! is too long, the kernel ignores it entirely, then bash tries to be too smart and thinks its a bash script
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
o1lo01ol_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
ZoomZoomZoom has joined #nixos
nD5Xjz has quit [Ping timeout: 248 seconds]
nD5Xjz_ has joined #nixos
<DigitalKiwi>
clever: right, i've been using them for years, and with letsencrypt too. first time had trouble like this (but also first time trying it with nixos)
<DigitalKiwi>
the dns hasn't synced up for everyone i think
<ZoomZoomZoom>
Hi everyone. Anybody had systemd cleaning authorized keys directory on boot? This results in inability to ssh into the machine. I'm on nixos-unstable.
<DigitalKiwi>
it's pointing at someone else server right now sometimes :|
<clever>
DigitalKiwi: the v4 from the error logs matches what i get, and you previously claimed the dns in the logs is right
fendor has joined #nixos
<ZoomZoomZoom>
SSH keys are in configuration.nix in users.users.<name?>.openssh.authorizedKeys.keys option
<clever>
ZoomZoomZoom: that sounds more like you didnt configure /boot properly, so EVERYTHING is being undone at reboot
<clever>
ZoomZoomZoom: can you `ls -l /run/ /nix/var/nix/profiles/` and pastebin the output immediately after a reboot?
<DigitalKiwi>
clever: yeah
reinhardt has quit [Quit: Leaving]
o1lo01ol1o has quit [Ping timeout: 248 seconds]
sb0 has joined #nixos
<clever>
DigitalKiwi: * connect to 206.189.253.184 port 80 failed: Connection timed out
<clever>
DigitalKiwi: this implies that either the firewall is blocking it, or the ip is wrong
<{^_^}>
If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<samueldr>
when you see a callPackage with an attr defined, it often is an override or something not available in the package set
<clever>
HangoverGenius: so its identical to doing import ./thing.nix { mkDerivation = pkgs.haskellPackages.mkDerivation; base = pkgs.haskellPackages.base; .... }
<HangoverGenius>
Okay. So, I guess main thing I was missing is scope of these arguments. Looks quite implicit
<DigitalKiwi>
clever: don't try for a while it's not going to work
<clever>
ZoomZoomZoom: ok, thats odd, its pointing to the latest generation, can you confirm that the ssh pubkeys are all present in /run/current-system/etc/ssh/ ?
ixxie has quit [Ping timeout: 258 seconds]
<clever>
DigitalKiwi: looks like the A record is missing now
<DigitalKiwi>
yes :)
<clever>
DigitalKiwi: that wont make things expire any faster
<DigitalKiwi>
that's why i'm doing other things for a while
<ZoomZoomZoom>
clever, indeed, they are present. Thanks for pointing to this dir to me.
<clever>
ZoomZoomZoom: when nixos boots, it will also copy them over to /etc/ssh/
<ZoomZoomZoom>
/etc/ssh/audtorized_keys.d/ is empty :(
<DigitalKiwi>
clever: the 206.* was a floating ip (tho i'd tried before with the real ip instead) the floating ip is pretty new it looks like someone else had it recently i have one machine that pulls a 301 redirect from an ubuntu machine (i don't have any ubuntu machines) and some that were correctly finding it
<DigitalKiwi>
clever: so i don't think the floating ip was the issue but it's not helping matters
<ZoomZoomZoom>
I had previously a message in dmesg about removing obsolete files from this dir, but not on current boot
<DigitalKiwi>
clever: will acme make the right directories or do i have to?
<clever>
ZoomZoomZoom: that happens when you remove keys in configuration.nix and switch
<clever>
DigitalKiwi: it will auto-create well-known and configure nginx to share it
<DigitalKiwi>
ok
aszlig has quit [Quit: Kerneling down for reboot NOW.]
alp has quit [Ping timeout: 258 seconds]
Yakulu has left #nixos ["Error from remote client"]
<{^_^}>
[nixpkgs] @kalbasit pushed commit from @marsam to master « wtf: 0.4.0 -> 0.10.3 (#62084) »: https://git.io/fjRYP
srid639 has joined #nixos
<ZoomZoomZoom>
So, if I change my config in any way, rebuilding populates /etc/ssh/ with proper files, but after reboot I get "stage-2-init: removing obsolete file '/etc/ssh/authorized_keys.d/xxx'"
<samueldr>
could you be rebooting into an older generation?
<samueldr>
one without the configuration needed for this
hmpffff has joined #nixos
<samueldr>
thinking something like /boot not pointing to the right location, so you have the real /boot that's an outdated version, and the one currently mounted (or not) that hold the updated files
<ZoomZoomZoom>
nope, I don't have any generations left that wouldn't have those keys in it
<clever>
ZoomZoomZoom: and also `cat /etc/fstab` ?
<ZoomZoomZoom>
"/dev/sde2 / bcachefs compression=lz4,noatime 0 1 /dev/disk/by-uuid/89D7-2533 /boot vfat defaults 0 2" and a swap
Myhlamaeus has quit [Ping timeout: 258 seconds]
<clever>
ZoomZoomZoom: sounds like everything should just work
<clever>
ZoomZoomZoom: is the bios booting from the right ESP? your using sde1, so there are another 4 drives in the machine...
fendor has quit [Quit: Leaving]
Jetien_ has joined #nixos
<talqu>
Hi, i have a basic haskell servant server. Running it at localhost i see css, js files get properly cached, however once I deploy with nginx the cache gets lost (does it get shadowed by nginx?). How do i fix it?
Yakulu has left #nixos ["Disconnected: Replaced by new connection"]
Yakulu has joined #nixos
<chris_>
Good Sunday! I'm trying to build a Haskell project using `haskell.lib.buildStackProject`. However nix-build is just failing for me with `builder for '/nix/store/9797fl2r6rinw1mb7b8ayi6jxj3a7l1r-app.drv' failed with exit code 1` adding a --debug flag doesn't help much either. Does anyone have any idea how I can debug this? I have a basic understanding of the mkDerivation phases. I can't seem to find the
<chris_>
`unpackCmd` in the nix code relating to `buildStackProject`. Any pointers would be appreciated.
<chris_>
An ordinary Haskell project that works with the usual stack build etc. I can't share it as it has sensitive files right now. I'll quickly try it on another project.
<infinisil>
chris_: Does it produce multiple directories?
<chris_>
Yes it does? src/ static/ etc
<infinisil>
Yeah so that's what the error is telling you
<infinisil>
All unpackers are expected to only produce a single directory
<infinisil>
There probably is an unzip flag you can pass to make it output into a single directory
<chris_>
Oh right that is the actual error? I'll give it a try now, thanks!
<infinisil>
Yeah that's the error
<chris_>
Is there a way I can specify the files directly rather than having to zip things up?
<infinisil>
chris_: Ah well if you have it in a directory, you can just do `src = ./path/to/directory`
<infinisil>
Or `src = ./.` if it's the directory the nix file is in itself
Yakulu has left #nixos ["Disconnected: Replaced by new connection"]
Yakulu has joined #nixos
Yakulu has left #nixos ["Error from remote client"]
Yakulu has joined #nixos
<chris_>
infinisil: Ah that is so useful. I tried `.` and it came up with a syntax error so assume it wasn't possible. Well I've managed to run into another error but I guess I'll start googling. However if it's an easy fix, when stack appears to build it fails with ` (ConnectionFailure Network.BSD.getProtocolByName: does not exist (no such protocol name: tcp)))
<infinisil>
chris_: You need to disable the sandbox to be able to do buildStackProject builds unfortunately..
<infinisil>
chris_: --option sandbox false
<infinisil>
Huh, this isn't even mentioned in the manual though :/
npmccallum has joined #nixos
ym555 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<infinisil>
Heh, couldn't even remember, but apparently I opened an issue regarding this a while ago: #32005
<talqu>
could you point somewhere that shows more or less how to turn nginx logs in nixos?
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 272 seconds]
arguser has quit [Remote host closed the connection]
Yakulu has left #nixos [#nixos]
<talqu>
gchristensen: https://pastebin.com/YBUr6euZ, with the commented part (proxyPass way) works. The root part does not. Maybe im missing somethingin configuration too?
nD5Xjz_ has quit [Ping timeout: 272 seconds]
chris_ has quit [Quit: Lost terminal]
nD5Xjz has joined #nixos
Copenhagen_Bram has quit [Read error: Connection reset by peer]
<clever>
talqu: strace the nginx process when doing a request
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Copenhagen_Bram has joined #nixos
mmlb has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
fusion809 has quit [Remote host closed the connection]
<simukis_>
I set $TMPDIR but the output of `nix-build -K` still ends up in `/tmp`. How do I fix that?
OkCo has quit [Client Quit]
<gchristensen>
are you on NixOS?
<simukis_>
yes
alp has quit [Ping timeout: 258 seconds]
<gchristensen>
you'll need to set it on the daemon, not on the client
fpob has quit [Max SendQ exceeded]
<{^_^}>
[nixpkgs] @Ekleog pushed commit from @mguentner to release-19.03 « matrix-synapse: 0.99.4 -> 0.99.5 »: https://git.io/fjRsW
fpob has joined #nixos
<simukis_>
gchristensen: would you perhaps know an easy way to do that? I have sudo so I can pass options to the daemon through the cli flags.
xkapastel has quit [Quit: Connection closed for inactivity]
<clever>
simukis_: if you run nix-build as root, it wont use the daemon, and will obey TMPDIR
alex``` has quit [Ping timeout: 246 seconds]
<simukis_>
okay. I ran nix-build as non-root on a machine where I dont have root and whcih is not a nix-os and it still used $TMPDIR. Can I specify an alternate path *there?
alex``` has joined #nixos
<simukis_>
still did not use $TMPDIR, that is.
<simukis_>
Alternatively (to avoid XY thing) some of the files put into /tmp are not actually accessible by me
<simukis_>
when I’m not root, so I cannot really investigate the directory much
<simukis_>
e.g. I cannot `nix-hash` it.
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<{^_^}>
[nixpkgs] @fadenb opened pull request #62098 → hashcat-utils: init at 1.9 → https://git.io/fjRsz
lejonet has quit [Remote host closed the connection]
lejonet has joined #nixos
Thra11 has quit [Ping timeout: 245 seconds]
ixxie has joined #nixos
<gchristensen>
Profpatsch: perhaps you have ideas on fixing my wg troubles
ambro718 has quit [Quit: Konversation terminated!]
rfold has quit [Quit: WeeChat 2.4]
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 244 seconds]
<michaelpj>
I'm trying to package a python application (really just a script) that doesn't have a setup.py or anything. So it doesn't seem like `makePythonApplication` will work. Any good derivations to copy?
<{^_^}>
[nixpkgs] @samueldr opened pull request #62100 → uefi-firmware-parser: init at 1.8 → https://git.io/fjRGM
tnks has joined #nixos
<tnks>
has anyone gotten "suspend-then-hibernate" working... I think it's possibly a nicer option than "hybrid-sleep", but I think it's not implemented in nixpkgs yet.
<mog>
is there a way to enable services but not have them start? i know i could override the systemd unit but curious if there was a more generic way of doing it
<samueldr>
AFAIK that is it
<samueldr>
at least, that's how it's done for the installer's ssh
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
ym555 has quit [Quit: leaving...]
b has quit [Ping timeout: 244 seconds]
mexisme has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
jluttine has quit [Ping timeout: 245 seconds]
<DigitalKiwi>
clever: yeah that's the real ip not the floating one
<DigitalKiwi>
clever: anyway i suspect i hit rate limits and that the dns wasn't exactly right so after waiting a while and clean slate dns it was a lot easier to get going now that i know i should use the production = false if i'm going to be hitting it a lot >.>
mexisme has joined #nixos
v0|d has quit [Remote host closed the connection]
<DigitalKiwi>
i no longer have computers that see the floating ip as someone elses server so i can probably change it over to that again later
<clever>
DigitalKiwi: ive also heard that production=false has higher ratelimits, but ive never ran into issues, since ive just set it right from the start by chance/luck