gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
nikivi has quit [Read error: Connection reset by peer]
Nikita has joined #nixos
pikajude0 has joined #nixos
Nikita is now known as Guest55545
Guest55545 is now known as nikivi
rotaerk_ has quit [Ping timeout: 245 seconds]
pikajude has quit [Ping timeout: 276 seconds]
statusfailed has quit [Ping timeout: 276 seconds]
amir has quit [Ping timeout: 276 seconds]
xelxebar has quit [Ping timeout: 260 seconds]
ng0 has quit [Ping timeout: 260 seconds]
andreas303 has quit [Ping timeout: 260 seconds]
gxt has quit [Ping timeout: 260 seconds]
klntsky has quit [Ping timeout: 260 seconds]
Palpares has quit [Ping timeout: 260 seconds]
cartwright has quit [Ping timeout: 260 seconds]
jb55 has quit [Ping timeout: 260 seconds]
shibboleth has quit [Ping timeout: 260 seconds]
statusfa1led has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
amir has joined #nixos
jb55 has joined #nixos
Palpares has joined #nixos
cartwright has joined #nixos
klntsky has joined #nixos
phreedom has joined #nixos
elux has joined #nixos
xelxebar has joined #nixos
andreas303 has joined #nixos
<elux> hi there, `home-manager switch --upgrade` is giving me the warning `trace: warning: types.string is deprecated because it quietly concatenates strings` but i dont think any of my configs use this, it might be the channel?
gxt has joined #nixos
shibboleth has joined #nixos
<iqubic> Yeah. I think so too.
<iqubic> I'm also getting that issue.
rotaerk has joined #nixos
ng0 has joined #nixos
elux has quit [Quit: leaving]
TomJankauski has joined #nixos
zacts has joined #nixos
TomJankauski has quit [Quit: WeeChat 2.6]
drakonis has quit [Ping timeout: 240 seconds]
samrose has quit [Read error: Connection reset by peer]
samrose has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
dbyte has joined #nixos
vonfry has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
Wharncliffe has quit [Ping timeout: 265 seconds]
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
<samueldr> yes, a new deprecation warning was added, it's innocuous and targeted at those who wrote the modules
mexisme has quit [Ping timeout: 276 seconds]
iyzsong has joined #nixos
kvda has joined #nixos
Rusty1 has joined #nixos
pikajude0 is now known as pikajude
wildtrees has quit [Quit: Leaving]
ddellacosta has joined #nixos
nikola_i has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
emptyfl4sk has joined #nixos
tertl3_ has quit [Quit: Connection closed for inactivity]
dongrappa has joined #nixos
v88m has quit [Ping timeout: 265 seconds]
emptyfl4sk has quit [Ping timeout: 240 seconds]
dongrappa has quit [Ping timeout: 245 seconds]
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 245 seconds]
Okinan has quit [Quit: Konversation terminated!]
Rabid_Python has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
selfsymmetric-mu has joined #nixos
drakonis1 has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
Netsu has joined #nixos
emptyfl4sk has joined #nixos
<Acou_Bass> hey everyone, i cant seem to get any output from the 'command-not-found' command... ive got nixos https://nixos.org/channels/nixos-19.03
<Acou_Bass> in my chan list and I've not it enabled in .zshrc via oh-my-zsh but if i do 'command not found somecommand' in a terminal it just says command not found under it
<Acou_Bass> also got it enabled in configuration.nix but i understand thats supposed to be automatically on anyay
<iqubic> Oh. Well, I'm stumped.
zacts has joined #nixos
emptyfl4sk has quit [Ping timeout: 245 seconds]
<gnidorah> 8:29 PM <gnidorah> nix-build -E 'with import <nixpkgs> { }; callPackage_i686 ./default.nix { }' fails for me
<gnidorah> 8:30 PM <gnidorah> kexec/arch/i386/kexec-x86.c:39:22: error: 'multiboot2_x86_probe' undeclared here (not in a function); did you mean 'multiboot_x86_probe'?
<gnidorah> 8:31 PM <gnidorah> i want to cross build my package for x86 on my x86_64 host to check whether it builds and work on x86
<gnidorah> 8:30 PM <gnidorah> anyone knows how to fix this?
mexisme has joined #nixos
judson_ has quit [Remote host closed the connection]
judson_ has joined #nixos
emptyfl4sk has joined #nixos
<clever> gnidorah: fix is currently waiting in staging
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
growpotkin has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
growpotk- has joined #nixos
abathur has joined #nixos
emptyfl4sk has quit [Ping timeout: 246 seconds]
growpotk- has quit [Ping timeout: 245 seconds]
zacts has quit [Quit: WeeChat 2.4]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
domogled has joined #nixos
Myhlamaeus1 has quit [Remote host closed the connection]
<Netsu> currently I load overlays for my nix environment like `import channel { overlays = [ list of my overlays nix files ] }`
<Netsu> is it possible to just load single directory that contain all that nix files of overlays?
<Netsu> it's not a system config, just nix environment for development where I lock dependencies for consistency
emptyfl4sk has joined #nixos
<Netsu> like import channel { nixPath = .. } or something like that, is it exist?
<Netsu> how to check it?
<provessor[m]> Has anyone here got any experience with overlays
<Netsu> clever: thanks a lot!
<clever> Netsu: looks like you need to copy the code on lines 50-54
<provessor[m]> I'm trying to change the source of a package but I'm not sure how to do that while changing the fetch type too
<Netsu> clever: yeah, thank you, exactly what I need!
<clever> provessor[m]: just set src to the source, using the new fetch function
<provessor[m]> Won't I need to include the new fetch
<clever> provessor[m]: src = self.fetchurl { something }
<provessor[m]> I.e. change fetchurl to fetchgit
adamantium has joined #nixos
dongrappa has joined #nixos
<provessor[m]> clever: I've tried that but it hasn't overridden it now
<clever> provessor[m]: can you pastebin your nix files?
polman has quit [Ping timeout: 245 seconds]
<provessor[m]> Ill do that now
srl295 has quit [Quit: Connection closed for inactivity]
<provessor[m]> If i try to run nixos-option it complains about undefined variable 'version'
dongrappa has quit [Ping timeout: 276 seconds]
<provessor[m]> However nixos-rebuild switch doesn't
justanotheruser has quit [Ping timeout: 245 seconds]
fusion809 has joined #nixos
polman has joined #nixos
abathur has quit [Ping timeout: 276 seconds]
<provessor[m]> clever: overlay.nix: https://pastebin.com/Aw4Lngk5
<provessor[m]> configuration.nix: https://pastebin.com/gxT94aNe
emptyfl4sk has quit [Ping timeout: 276 seconds]
<clever> provessor[m]: you want .overrideAttrs, not .override, and `rec {` rather then just {
<clever> provessor[m]: and in configuration.nix, your installing emacs, but the overlay only applies to emacsHead
<provessor[m]> I was trying out if I needed to change the name for it to override
<provessor[m]> and must've forgotten to change it back in the overlay
<clever> provessor[m]: .override cant change the name, it can only change the params on the 1st line of the default.nix
<clever> you use .overrideAttrs to change anything inside the mkDerivation
<provessor[m]> Thanks
<provessor[m]> I changed those and it still didn't build the overlay
<clever> provessor[m]: change systemPackages to install emacsHead, not emacs
scotttrinh has quit [Quit: Connection closed for inactivity]
<provessor[m]> I changed the overlay back to emacs before I built again but Ill try that too now
<provessor[m]> Now i get undefined variable emacsHEAD
* clever looks closer
<iqubic> only the H of head needs to be captialized.
<clever> provessor[m]: ah, you never told nixos to load the overlay
<clever> provessor[m]: you must set nixpkgs.overlays to a list of overlays
<provessor[m]> How do I do that..
<clever> like: nixpkgs.overlays = [ (import ./overlay.nix) ];
ddellacosta has quit [Ping timeout: 276 seconds]
<provessor[m]> Oh thanks
<provessor[m]> Now it says undefined variable version, but atleast it loads the overlay
<clever> provessor[m]: rec {
<provessor[m]> undefined variable fetchgit
<clever> provessor[m]: self.fetchgit
<provessor[m]> error: attempt to call something which is not a function but a set
<clever> provessor[m]: overrideAttrs takes a function
<clever> its usually in the form of emacs.overrideAttrs (old: {
<clever> or rec{ in your case
adamantium has quit [Remote host closed the connection]
<provessor[m]> its still saying the same error
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justanotheruser has joined #nixos
<provessor[m]> should it be `oldAttrs: rec {`?
<provessor[m]> Ok just `old: rec {`
<provessor[m]> works too
<provessor[m]> Except now my issue is setting `srcRepo = true;` isn't including the extra dependencies
<provessor[m]> namely autoconf, automake and texinfo
<samueldr> I get `hash mismatch importing path` from building a `src = /full/path;` on another machine, weird
<clever> provessor[m]: srcRepo is a .override flag
<clever> provessor[m]: so you want (super.emacs.override { srcRepo = true; }).overrideAttrs (old: rec {
<provessor[m]> So do i need an overrideAttrs and override?
<clever> yep
<clever> samueldr: build slave or just copying the nix expr?
<samueldr> build slave
<clever> samueldr: on the source machine, do `nix-store --verify --check-contents`
<provessor[m]> works perfectly fine now
<provessor[m]> Thanks a lot clever
<clever> yep
<provessor[m]> Of course, now I find the documentation on this in the nixpkgs mannual when I couldn't for probably around an hour before I gave in and asked here
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
<samueldr> clever: still waiting on that --verify, though this gave me a hunch and I just placed a dummy file to force a different content
<samueldr> and it copied fine and is now building
mexisme has joined #nixos
batzy has joined #nixos
kvda has joined #nixos
<batzy> How the fuck do i enable wifi
<batzy> My adapter isn't showing up on ifconfig
<clever> samueldr: i suspect something in /nix/store/ was modified outside of nix's control, so the hash is now wrong
<samueldr> clever: I suspect it too
<batzy> It's some sort of Qualcomm atheros thing
<samueldr> fun, three (other irrelevant) paths are stated as having been modified!
<clever> batzy: is there any firmware error in `dmesg` ?
<clever> samueldr: ext4?
<samueldr> yes
<batzy> Uh
<clever> samueldr: it has a bad habbit of truncating files at improper shutdown
<batzy> Clever how do I check
<clever> batzy: search the output for anything mentioning firmware or ath
<samueldr> clever: hm, truncating random files?
<batzy> If I just type that in it just says bash: [: missing `]'
<samueldr> though for my particular issue there was no shutdown and was basically working on the thing
<clever> samueldr: files that where being edited shortly before the improper shutdown
<batzy> Oh woops
<samueldr> clever: hm, then unlikely to be that I think
<samueldr> though the great thing is the drive on which my nix store is, is only for the nix store :)
<samueldr> so no great loss if it flakes out completely
<samueldr> only my sanity
batzy has quit [Read error: Connection reset by peer]
<clever> samueldr: main problem i see, is things like .drv files getting truncated, and then nixos-rebuild refuses to do anything
<clever> samueldr: but a GC can usually fix that
<hpfr[m]> I have a kernel overlay in my common.nix, imported by my configuration.nix. Why does it build the kernel if I don’t use it in boot.kernelPackages? Isn’t that not very lazy?
<clever> hpfr[m]: what attr are you overlaying?
<hpfr[m]> extraConfig
<clever> hpfr[m]: within the pkgs tree
<hpfr[m]> It’s in nixpkgs.overlays if that’s what you mean
<clever> hpfr[m]: what is the attr you are setting, within the self: super: { set
<hpfr[m]> linux_5_1 and linux_4_19
_deepfire has joined #nixos
<clever> hpfr[m]: which channel are you on?
<hpfr[m]> linux_5_1 isn’t even in the unstable channel anymore but I figured it wouldn’t do anything then
<hpfr[m]> Unstable, updated a few days ago
<hpfr[m]> Nixos-unstable sorry
batzy has joined #nixos
<clever> 15929 # The current default kernel / kernel modules.
<clever> 15930 linuxPackages = linuxPackages_4_19;
<clever> 15931 linux = linuxPackages.kernel;
<clever> hpfr[m]: any override against 4_19 will change the default linux
<batzy> Sorry about that
<batzy> Clever there is nothing for ath and for firmware just some nonsense about bluetooth
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> batzy: do you know which kernel module is used by the card?
<batzy> So I have no idea what to do
<batzy> Not really
<batzy> I'd guess ath10k
<clever> batzy: what happens if you just `modprobe ath10k` ?
Rusty1 has quit [Quit: Konversation terminated!]
<clever> batzy: a quick scan with `nix-locate` says that only ath10k_core and ath10k_pci exist, there is no ath10k
knupfer has joined #nixos
<clever> try loading ath10k_pci
<batzy> How
<clever> batzy: modprobe ath10k_pci
<hpfr[m]> clever: my boot.kernelPackages on the machine that’s building the kernel is linux_latest though
<hpfr[m]> 5.2.6
<batzy> Okay I did it clever what now
<clever> 15934 linuxPackages_latest = linuxPackages_5_2;
<clever> 15935 linux_latest = linuxPackages_latest.kernel;
<clever> hpfr[m]: that should ignore the overlay then, if you comment the overlay out, do you get a different kernel?
<clever> batzy: any change in ifconfig? dmesg?
<batzy> My thing is still not on ifconfig
<clever> batzy: dmesg?
<batzy> Yeah a change to dmesg
<batzy> Direct firmware load for regulatory.db failed with error -2
<batzy> I guess we guessed wrong
<clever> batzy: or the firmware isnt installed
<clever> any other errors in dmesg?
<hpfr[m]> clever: the kernel (uname -r) was 5.2.6. I ran nrs and it built a kernel presumably from an overlay, now it’s 5.2.13, it could have been that kernel I guess but I’d imagine that’s cached
<hpfr[m]> So 4.19 was never involved
<batzy> Hm
<batzy> Am I still connected
<batzy> My connection is shit
<clever> batzy: you are still connected
<batzy> Clever that's kt
<batzy> It
<batzy> Bluetooth is still there obviously
<clever> batzy: try adding `hardware.enableAllFirmware = true;` to configuration.nix and rebuild
<batzy> Do I have to reboot after rebuilds bte
<batzy> Btw
johnw has quit [Quit: ZNC - http://znc.in]
<clever> batzy: nope, just re-run the modprobe from before
johnw has joined #nixos
<gnidorah> clever: thank you!!!
<batzy> Fuck I need internet
<clever> batzy: plug in an ethernet cable?
<clever> batzy: you can also boot the installer, mount the existing fs back under /mnt (along with any partitions it needs), then re-run nixos-install to apply changes to configuration.nix
<batzy> I'm definitely not doing that
<batzy> Ok
<batzy> I rebuilt
<batzy> And did modprobe
<batzy> No changes to dmesg, what now clever
<clever> batzy: did the error repeat, or not show up again?
<batzy> Repeat
<clever> batzy: then we need to figure out what package provides that file, and install it, google may know what its typically inside
knupfer has quit [Ping timeout: 276 seconds]
<clever> batzy: did you enable wireless in configuration.nix?
<batzy> Can't I just do lspci
<batzy> Or something
<batzy> Yes
<clever> cant think of what else to check then, maybe try a reboot anyways?
<batzy> Err not really because gnome3
<batzy> Doesn't like it
<batzy> I have an idea
<batzy> Standby
<clever> batzy: that wont reload things the same as a reboot
<batzy> My idea didn't sofm
<batzy> Worm
<batzy> Work
<batzy> :(
<clever> batzy: try a full reboot?
<batzy> I did
<clever> batzy: what does lspci say the card is?
<batzy> Command not found
<batzy> Lol
<clever> batzy: nix-env -iA nixos.pciutils
<batzy> Clever BCM43142
<batzy> Broadcomm
kvda has joined #nixos
<clever> batzy: 30 seconds on google says you want the wl driver, not the ath10k driver
<clever> batzy: `modprobe wl` ?
<batzy> Module wl not found
<clever> batzy: its not clear which package the driver is in, if any
<clever> batzy: further down, this stack overflow mentions b43, what does `modprobe b43` say?
kvda has quit [Client Quit]
<batzy> It goes through but does not detect card
emacsomancer has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 245 seconds]
<clever> batzy: not sure what else to check
<batzy> I'm testing something now, sec
domogled has quit [Quit: domogled]
<batzy> Clever I fixed it
<clever> batzy: what was the solution?
batzy has quit [Read error: Connection reset by peer]
batzy has joined #nixos
<clever> batzy: what was the solution?
kvda has joined #nixos
orivej has joined #nixos
dermetfan has joined #nixos
endformationage has quit [Ping timeout: 265 seconds]
v88m has joined #nixos
adamantium has joined #nixos
batzy has quit [Read error: Connection reset by peer]
dermetfan has quit [Ping timeout: 240 seconds]
batzy has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.4]
adamantium has quit [Remote host closed the connection]
adamantium has joined #nixos
Zer0xp has joined #nixos
rauno has quit [Ping timeout: 245 seconds]
palo1 has joined #nixos
sb0 has quit [Quit: Leaving]
mexisme has quit [Ping timeout: 276 seconds]
v88m has quit [Ping timeout: 240 seconds]
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
batzy has quit [Read error: Connection reset by peer]
v88m has joined #nixos
zupo has joined #nixos
emptyflask has quit [Ping timeout: 276 seconds]
hyper_ch2 has joined #nixos
<Netsu> How to overrideCC as overlay? is it possible? Got inf recursion https://gist.github.com/Pitometsu/18b8f98bb9d63f38324cd3da7e9c0b9b
drakonis_ has joined #nixos
<Netsu> looks like problem with `cc.nativeTools` overriding
drakonis has quit [Ping timeout: 245 seconds]
emptyfl4sk has joined #nixos
v88m has quit [Ping timeout: 265 seconds]
v88m has joined #nixos
dansho_ has quit [Ping timeout: 265 seconds]
pikajude has quit [Read error: Connection reset by peer]
gxt has quit [Quit: WeeChat 2.6]
orivej has quit [Ping timeout: 240 seconds]
<Netsu> well, I see, it's popular question https://logs.nix.samueldr.com/nixos/2018-09-12#1557748;
emptyfl4sk has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<hpfr[m]> Switching to home manager module within system configuration and I get an error that steam is unfree despite having nixpkgs.config.allowUnfree = true in my config, what’s wrong?
mexisme has quit [Ping timeout: 276 seconds]
<hpfr[m]> Nvm found github issue
wfranzini has joined #nixos
samrose has quit [Ping timeout: 240 seconds]
samrose has joined #nixos
nikola_i has quit [Ping timeout: 245 seconds]
sb0 has joined #nixos
pikajude has joined #nixos
Ariakenom has joined #nixos
user___ has joined #nixos
<Netsu> oh, I found how to `overrideCC` at overlay https://gist.github.com/Pitometsu/18b8f98bb9d63f38324cd3da7e9c0b9b#gistcomment-3026461 I hope, it's a right way
emptyfl4sk has joined #nixos
emptyfl4sk has quit [Ping timeout: 276 seconds]
rauno has joined #nixos
<lewo> Are there any issues with ofBorg?
<lewo> I have two PRs that have not been built by ofBorg:/
vika_nezrimaya has joined #nixos
gxt has joined #nixos
<sphalerite> ,locate bin eglgears
rauno has quit [Ping timeout: 276 seconds]
<sphalerite> lewo: yes. What it is is unclear, and Graham's currently away :/
<sphalerite> (unclear to me at least)
cfricke has joined #nixos
<lewo> sphalerite: he is coming back on next week i guess
adamantium has quit [Ping timeout: 246 seconds]
dansho_ has joined #nixos
rauno has joined #nixos
sb0 has quit [Quit: Leaving]
dermetfan has joined #nixos
civodul has joined #nixos
vonfry has quit [Quit: WeeChat 2.4]
drakonis_ has quit [Remote host closed the connection]
rauno has quit [Ping timeout: 276 seconds]
Tucky has joined #nixos
adamantium has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
graf_blutwurst has joined #nixos
rauno has joined #nixos
Netsu has quit [Ping timeout: 260 seconds]
gnidorah has quit [Quit: Connection closed for inactivity]
dongrappa has joined #nixos
hyper_ch2 has joined #nixos
aiowej has joined #nixos
sb0 has joined #nixos
aiowej has left #nixos [#nixos]
<sb0> are apparmor-utils supposed to work? am I doing something obviously wrong? they seem to really not want to work on nixos. https://hastebin.com/buzivokibu.shell
<sb0> all I did was add "security.apparmor.enable = true" to configuration.nix
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<sb0> hmm and the default profiles also reference a bunch of FHS paths...
kvda has quit [Quit: Textual IRC Client: www.textualapp.com]
sigmundv has joined #nixos
judson_ has quit [Ping timeout: 245 seconds]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
veske has joined #nixos
johanot has joined #nixos
Makaveli7 has joined #nixos
dansho_ has quit [Quit: Leaving]
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
gxt has joined #nixos
Chiliparrot has joined #nixos
hmpffff has joined #nixos
cfricke has quit [Quit: WeeChat 2.6]
joshuagl has joined #nixos
Netsu has joined #nixos
<Netsu> if I use gcc as default compiler on macos, it doesn't see glibc
<Netsu> any ideas how let it see glibc by defaultL
<Netsu> *?
ng0 has joined #nixos
nikola_i has joined #nixos
<sb0> Netsu: how do you run it and what's the error message?
tmaekawa has joined #nixos
adamantium has quit [Remote host closed the connection]
<Netsu> sb0: /nix/store/0mwdnr65mj9b1s0ry2py4i6i21bwby8h-gcc-8.3.0/include/c++/8.3.0/stdlib.h:38:12: error: 'std::abort' has not been declared
<Netsu> using like stdenv = gcc8Stdenv;
Fendor has joined #nixos
smatting has joined #nixos
dongrappa has quit [Ping timeout: 265 seconds]
nikola_ has joined #nixos
nikola_i has quit [Remote host closed the connection]
rudzha has joined #nixos
fendor_ has joined #nixos
rudzha has quit [Client Quit]
tmaekawa has quit [Quit: tmaekawa]
emptyfl4sk has joined #nixos
nspin has quit [Ping timeout: 260 seconds]
Tucky has quit [Quit: WeeChat 2.6]
thc202 has joined #nixos
pikajude has quit [Ping timeout: 245 seconds]
iyzsong has joined #nixos
cfricke has joined #nixos
o1lo01ol1o has joined #nixos
emptyfl4sk has quit [Ping timeout: 276 seconds]
alex`` has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
dongrappa has joined #nixos
jgt has joined #nixos
<jgt> I know I can do nix-env -f "<nixpkgs>", but how do I specify a revision there?
<jgt> or do I have to construct some URL which would resolve to a github tarball?
o1lo01ol1o has quit [Remote host closed the connection]
<Netsu> tarball from commit url, I guess
<jgt> Netsu: do you know how I construct that URL?
<jgt> I only know how to find a tarball URL for a release, like https://github.com/NixOS/nixpkgs/archive/19.03.tar.gz
tyrion-mx has joined #nixos
<jgt> oh, maybe I can do it like this
<jgt> hmm… that's confusing
<jgt> it shows redis-5.0.3
veske has quit [Ping timeout: 246 seconds]
<jgt> I'm quite sure that's the revision of nixpkgs my project is pinned to
<jgt> and yet redis is 4.0.11
<jgt> could it be that my nix-env command shows the version for Linux, and I'm getting an older version because I'm on Darwin?
Makaveli7 has quit [Quit: WeeChat 2.6]
polman has quit [Ping timeout: 245 seconds]
<jgt> ah, interesting. Locally (MacOS), I have Redis 4, whereas on my NixOS server that I deploy to, I have Redis 5
<jgt> and this is from the same pinned version of nixpkgs
<sphalerite> jgt: could you paste the output of `nix run nixpkgs.nix-info -c nix-info`?
Makaveli7 has joined #nixos
polman has joined #nixos
<jgt> system: "x86_64-darwin", multi-user?: yes, version: nix-env (Nix) 2.2.2, channels(jgt): "darwin, nixpkgs-19.09pre177683.5d09420337f", channels(root): "darwin, nixpkgs-19.09pre177683.5d09420337f", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
cinimod has joined #nixos
<jgt> sphalerite: though as I mentioned, my project uses a pinned version of nixpkgs
<alex``> my laptop freezes when updating my system
<alex``> when compiling
<cinimod> colemickens: if you are around, I got quite far - https://github.com/NixOS/nixpkgs/pull/62635#issuecomment-531166394
<jgt> in my shell.nix, I have `pkgs = import (import ./nixpkgs.nix) { inherit config; };`, and that nixpkgs.nix file looks like this: http://ix.io/1UYA
<alex``> I tried multiple times and it always freezes at some point
<sphalerite> jgt: my suspicion is that it's not pinned correctly on darwin, does the command you showed above show 5.x too?
<jgt> sphalerite: also, I ran that command on my local machine, _not_ my NixOS server
<sphalerite> alex``: you may be running out of memory
<alex``> possible
<alex``> I don't have swap
<colemickens> cinimod, I tried to tell you the other day, my Azure branch has the newer version of azcopy.
<colemickens> `nix-env -f ~/path/to/my/azure/branch -iA azure-storage-azcopy` should work
<alex``> sphalerite: how can i add it temporaly?
<sphalerite> alex``: nix is unfortunately quite memory-intensive. Depending on what you're building, it may just be eating all your RAM. Reducing parallelism _might_ help
<jgt> sphalerite: to clarify, my darwin system does not use a pinned nixpkgs. My _project_ uses a pinned nixpkgs.
<cinimod> colemickens: Sorry I just saw your comment: > my 'azure' branch has a newer version of azcopy packaged.
<cinimod> :thumbsup:
<cinimod> colemickens: I will try shortly
<sphalerite> alex``: not sure swapping will help, but if you're on a "classical" filesystem like ext4 you can create a swapfile (as root: umask 077 ; dd if=/dev/zero of=/swap bs=1M count=2k ; mkswap /swap ) for 2GB, then activate it using swapon /swap
<alex``> what does `umask 077`?
statusfa1led is now known as statusfailed
<sphalerite> alex``: ensures that the swapfile is not readable for users other than root
<alex``> i don't see umask taking a file argument
<Netsu> is it possible to use GNU gcc on Darwin insead of Libsystem-osx-* one?
<sphalerite> alex``: yeah, umask is some fun unix legacy stuff. In this case it's a shell builtin which modifies the state of the shell process
__monty__ has joined #nixos
<sphalerite> alex``: have a look at man 2 umask if you want to learn more
<alex``> you prefer dd than fallocate?
cizra has joined #nixos
sigmundv has quit [Ping timeout: 265 seconds]
<cizra> Hello! I'm on 19.03 with unstable = import <unstable> {}; in my configuration.nix. How can I install an unfree package from unstable? All ways to set allowUnfree don't seem to apply to unstable.
<alex``> sphalerite: chmod 600 /swap is the same than your umask?
<sphalerite> alex``: yes, except that with umask it gets _created_ with those permissions
Okinan has joined #nixos
<__monty__> cizra: Maybe try `import <unstable> { allowUnfree = true; }` or mayb it's `{ config.allowUnfree = true; }`.
<eyJhb> __monty__: first seems right
<eyJhb> This is mine `unstablePkgs = import <unstable>{ config.allowUnfree = true; };`
<__monty__> So the *second* seems right?
<__monty__> You're sending confusing signals >.< : p
<eyJhb> Oh yeah, sorry! It was just because you omitted the first part, that the second seemed wrong
<eyJhb> Sorry!
<__monty__> Ah, just lazy typing : )
<cizra> Thanks!
Zer0xp has quit [Ping timeout: 246 seconds]
<__monty__> np
ericsagnes has quit [Ping timeout: 264 seconds]
chiefgoat has quit [Ping timeout: 240 seconds]
<alex``> sphalerite: could it be also because of the heat?
<alex``> I'm at 98°
<alex``> when compiling
<tilpner> alex``: HDD or SSD?
<alex``> hdd
<sphalerite> alex``: that doesn't sound unlikely either. Fix your cooling ;)
<tilpner> alex``: My music always begins to stutter when I compile something large, and I'm on (SATA) SSD
<tilpner> alex``: nix.daemonIONiceLevel might help
<tilpner> (As well as nix.daemonNiceLevel)
<alex``> which temperature do you have when compiling big stuff?
<alex``> what do they do ?
<tilpner> I'm not sure, I never check. I also have 16GB of memory and an SSD, which probably helps with the freezing
<mbrgm> hi! quick and easy: how can I check if I'm currently running on NixOS from a nix expression?
<tilpner> alex``: Those options make the nix daemon declare itself as less important, compared to your other processes
<mbrgm> i.e. I want to distinguish between NixOS <--> some other linux distro
<sphalerite> mbrgm: please don't :p
<mbrgm> sphalerite: y?
<tilpner> alex``: That might make builds slower, but it should help with responsive-ness of everything else
cfricke has quit [Ping timeout: 246 seconds]
<mbrgm> I'm trying to adopt home-manager on my arch machine as well, but some things are different in the configurations.
<sphalerite> alex``: a properly set-up system should never reach CPU temperatures like that, did you build your machine yourself?
<alex``> tilpner: which value do you give to that two options?
<tilpner> sphalerite: Who builds their own laptop? :o
<alex``> sphalerite: no
<sphalerite> ah, it's a laptop
<alex``> yes laptop
<sphalerite> laptops do tend to get hotter than desktops, but still _shouldn't_ get that hot
<__monty__> If that 98° is C it's a problem, if it's F it's probably no big deal.
<alex``> celcius yes x(
<jgt> at least you can put a cup of tea on it to keep it warm
<__monty__> I think 80° is the recommended maximum operation temperature of CPUs these days?
<alex``> i'm at 52° currently
<alex``> but not compiling
<alex``> which value do you have?
<__monty__> 39.5°C But I'm not even running X.
ericsagnes has joined #nixos
<alex``> putting it in the fridge when compiling could help?
Soo_Slow has joined #nixos
<__monty__> And it's an old latitude d400 so probably doesn't output much heat compared to more current devices.
<sphalerite> alex``: no, it probably won't. Are you familiar with hardware at all? I'd suggest disassembling it, removing dust, and ideally applying new thermal paste to the CPU and cooler.
<__monty__> Yes, that'd help bricking it sooner : )
<sphalerite> alex``: or pay someone else to do it if you're not confident you can get that right :)
<sphalerite> __monty__: on the contrary, an older machine will generate more heat doing the same work than a newer one, generally speaking :)
fendor_ has quit [Ping timeout: 246 seconds]
<alex``> sphalerite: i'm not familiar with hardware no
<sphalerite> alex``: then pay someone else to do it for you :)
<alex``> i have to try doing myself
<__monty__> If you're not confident I wouldn't take it apart to apply thermal paste. But you can definitely get some dust out.
<sphalerite> yeah, use a vacuum cleaner and hold onto the fans so they don't spin
<__monty__> sphalerite: Yes but I doubt a pentium M 1.6GHz can consume as much power as Core i-anything.
<alex``> ok
<tilpner> alex``: If you're okay with longer build times, nix.maxJobs = 1; nix.buildCores = 1;
<alex``> compiling started, I'm at 75°C
<alex``> 83
<sphalerite> __monty__: what's the exact model number?
<alex``> 89 x(
<tyrion-mx> Hello, I am reading https://github.com/NixOS/nixpkgs/blob/release-19.03/pkgs/desktops/lxqt/default.nix and I am trying to understand why some things are required. For example, "liblxqt: Core utility library for all LXQt component". Shouldn't every app that needs it, depend on it? Why do I have to install it manually?
o1lo01ol1o has joined #nixos
<alex``> it should be the fourth time I try
<alex``> i'm telling my computer "Please pass"
<tyrion-mx> Same thing with libfm, which is "Core library of PCManFM file manager". If it is a "core" library shouldn't it be already required by pcmanfm?
alex`` has quit [Quit: WeeChat 2.5]
<__monty__> sphalerite: Not sure where to find that. Cpuinfo says "13", which, how appropriate on friday 13th : )
graf_blutwurst has quit [Ping timeout: 245 seconds]
init_6 has joined #nixos
<sphalerite> tyrion-mx: probably stateful stuff in said libraries
mexisme has joined #nixos
<__monty__> i3 doesn't count, that's netbook territory : >
<__monty__> That's still bad new's for alex`` though. I fear their device might be dying.
<tyrion-mx> sphalerite: what does it mean?
<sphalerite> tyrion-mx: it probably needs to be in systemPackages even though it's already pulled into the store by its dependents.
<tyrion-mx> umh, ok :)
<tyrion-mx> thanks for the clarification
user___ has quit [Ping timeout: 240 seconds]
<philipp[m]> Is grahamofborg stuck?
mexisme has quit [Ping timeout: 276 seconds]
<sphalerite> philipp[m]: seems like it. Maybe Graham took ofborg with him on holiday.
<philipp[m]> I imagine the two at a tropical beach now. Well deserved.
<cinimod> colemickens: how long does the copy take?
<tilpner> sphalerite, philipp[m] : Monitoring suggests it's still alive, but slow: https://monitoring.nix.ci/d/000000002/ofborg?orgId=1&fullscreen&panelId=6
sb0 has quit [Quit: Leaving]
<colemickens> <cinimod "colemickens: how long does the c"> Lol who knows. I can upload directly from an Azure VM and it takes 30 seconds or less. But following the instructions you're following took nearly an hour yesterday and was full of repeats and failures because lolazure.
<philipp[m]> Doesn't seem to be doing anything right now despite stuff that should still be in the pipeline. My PR here for example. https://github.com/NixOS/nixpkgs/pull/68586#issuecomment-530894127
<philipp[m]> Would anybody bother ofborg with that one again? I don't have the rights.
<colemickens> They wanted me to contact support after posting 4 api failures and an internal stack trace on GitHub, but I know what that means - they want to stall and send me through loops of support hell. I'm not doing it.
Chiliparrot has joined #nixos
samrose has quit [Remote host closed the connection]
vika_nezrimaya has quit [Ping timeout: 265 seconds]
fendor_ has joined #nixos
asymptotically has joined #nixos
<jgt> sphalerite: I think you were right; I think I was pinning nixpkgs incorrectly
<jgt> sphalerite: because if I do `nix-shell -p redis` on my MacOS machine in a directory without a shell.nix, I get Redis 5
Ariakenom has quit [Remote host closed the connection]
<jgt> sphalerite: can you spot anything stupid that I'm doing here? https://gist.github.com/jezen/5d321967d26ee02f991bdf75cab9123b
Ariakenom has joined #nixos
<rihardsk[m]> hi, any idea why building a package would produce this?
<rihardsk[m]> >/nix/store/xfghy8ixrhz3kyy6p724iv3cxji088dx-bash-4.4-p23/bin/bash: ./gen_rules.sh: /bin/bash: bad interpreter: No such file or directory
<rihardsk[m]> gen_rules.sh is being executed by a Makefile target. gen_rules.sh has a shebang line `#!/bin/bash`
<rihardsk[m]> my impression was that the nix builds happen in a chroot and i don't have to worry about shebangs during build
<alexarice[m]> rihardsk: /bin/bash isn't there on nixos
samrose has joined #nixos
<symphorien> rihardsk[m]: use patchShebangs <the script>
<alexarice[m]> you probably need to patch it out
<rihardsk[m]> wait, should i patch all the shebangs before build?
<manveru> jgt: you don't need to import nixpkgs to import nixpkgs...
<symphorien> Yes
<symphorien> Tuhe
<symphorien> Oops
<tyrion-mx> I get a lot of these: `collision between `/nix/store/k7hnr3hp17j0kaqfwa5qy1g2ky8c2c3f-libfm-extra-1.3.1/lib/libfm-extra.so' and `/nix/store/63rmhhha0rfxwpc2ycfhkdl1fmwr269f-libfm-1.3.1/lib/libfm-extra.so` (Stuff colliding between libfm and libfm-extra). Is it ok?
<symphorien> Only the shebangs of the final, installed files are automatically patched
<alexarice[m]> the only shebangs that will work are `/bin/sh` and `/usr/bin/env x`
nikola_ has quit [Ping timeout: 245 seconds]
<rihardsk[m]> what about this?
<alexarice[m]> and hardcoded paths
<rihardsk[m]> >my impression was that the nix builds happen in a chroot and i don't have to worry about shebangs during build
<rihardsk[m]> so my asumption wasn't true, right?
<rihardsk[m]> alexarice: oh, ok
<jgt> manveru: you mean on the first line of nixpkgs.nix?
zupo has joined #nixos
<alexarice[m]> it's true in that I think environment variables will be modified
<manveru> jgt: `fetchTarball { url = https://github.com/nixos/nixpkgs/archive/1233c8d9e9bc463899ed6a8cf0232e6bf36475ee.tar.gz; sha256 = "0gs8vqw7kc2f35l8wdg7ass06s1lynf7qdx1a10lrll8vv3gl5am"; }`
<manveru> does the same thing
<alexarice[m]> but if the program tries to query an actual path it won't work
tyrion-mx has quit [Remote host closed the connection]
<alexarice[m]> maybe the assumption wasn't true
<__monty__> sphalerite: You seem to be cherry-picking, first i5 I clicked on had a 65w tdp.
<sphalerite> __monty__: I picked a random, launched one from the latest generation.
<rihardsk[m]> hmm, is there a way to place myself into the chroot environment that the builder runs in? i could take a look around to see for myself what's available.
<__monty__> I think the 27w -> 15W is just intel lying about power consumption actually. They tend to misreport TDPs.
<__monty__> But I also don't care. I know hardware's gotten a lot more efficient since 2008.
zupo has quit [Client Quit]
<jgt> manveru: making that change fails with: error: attribute 'ghc843' missing, at /Users/jgt/Sites/riskbookltd.com/pkgconfig.nix:5:25
<alexarice[m]> rihardsk: nix-shell?
<manveru> jgt: because that nixpkgs has no ghc843
Ariakenom has quit [Remote host closed the connection]
<manveru> jgt: [ "ghc822" "ghc822Binary" "ghc844" "ghc861" "ghc862" "ghc863" "ghc863Binary" "ghcHEAD" "ghcjs" "ghcjs84" "ghcjs86" "integer-simple" ]
<rihardsk[m]> alexarice: well, it gives me the same environment, but it doesn't place me in a chroot
Ariakenom has joined #nixos
<rihardsk[m]> alexarice: i was able to build the package just fine using `nix-shell -p ... --pure`, but it fails during build when invoked differently
<jgt> manveru: I guess I'm due a GHC upgrade anyway…
emptyfl4sk has joined #nixos
<manveru> jgt: or use an older nixpkgs revision :)
fendor_ has quit [Ping timeout: 245 seconds]
<alexarice[m]> yh I've had that happen, I don't have a clue what is going on tbh
<alexarice[m]> there's likely some strange stuff going on in `setup.sh`
<rihardsk[m]> * @alexarice:matrix.org: i was able to build the package just fine when building manually from a shell given by `nix-shell -p ... --pure`, but it fails during the automatic build (nix-build or nix-shell -p mypackage)
cinimod has quit [Ping timeout: 240 seconds]
<rihardsk[m]> * @alexarice:matrix.org: i was able to build the package just fine when building manually from a shell given by `nix-shell -p some_deps --pure`, but it fails during the automatic build (nix-build or nix-shell -p mypackage)
marek has joined #nixos
marek has quit [Changing host]
<alexarice[m]> rihardsk: have you tried `nix-shell -A your-package` from your nixpkgs clone or `nix-shell .` if you just have a standalone nix file
<symphorien> rihardsk[m]: does the build process involve Internet access ?
emptyfl4sk has quit [Ping timeout: 265 seconds]
<rihardsk[m]> alexarice: my package is in an overlay, so i can do `nix-shell -p my-package` which atempts to build it. the build fails with the `/bin/bash` error. however, when i go to the `/tmp` directory where the package was being built and atempt to manually build the package, the build works just fine. when i manually build the package, i do it from a nix-shell with all the dependencies specified -- `nix-shell -p cmake and other
<rihardsk[m]> deps` (i first have to clean the old build files first, and then proceed with `mkdir build; cd build; cmake ..; make;`)
<alexarice[m]> I'm surprised /bin/bash exists in a nix-shell
<rihardsk[m]> symphorien: i think not
<rihardsk[m]> alexarice: oh, right, to be more precise - the manual build is done from a pure shell - `nix-shell -p cmake and other deps --pure`
<rihardsk[m]> and i'm not using NixOS
<alexarice[m]> ah, I expect nix-shell doesn't hide your bin directory
<rihardsk[m]> yup
<alexarice[m]> it probably just hides any nix-installed things you have
<alexarice[m]> of which your systems /bin/bash isn't one
<rihardsk[m]> well, and it also wipes other things from the PATH
<rihardsk[m]> but `/bin/bash` is still accessible
<rihardsk[m]> that's why i'm asking about the chroot
<alexarice[m]> that's not using your path to find it
<alexarice[m]> yh
<alexarice[m]> I don't know about chrooting sorry
<rihardsk[m]> can i place myself into one? so that my manual build environemtn matches that of the automatic one
<alexarice[m]> I would also be interested in the answer if you find out
<MichaelEden[m]> rihardsk: there's buildFHSUserEnv which puts you in a chroot, or systemd-nspawn containers, or docker?
<MichaelEden[m]> or bubblewrap which is also great
<symphorien> oh, sorry, rihardsk[m] ^
<rihardsk[m]> alexarice: ok, tahnks anyway, i'll just attempt do `patchShebangs` before the build.
iyzsong-x has joined #nixos
<alexarice[m]> sorry I couldn't help more
orivej has joined #nixos
<rihardsk[m]> symphorien: thanks!
iyzsong has quit [Ping timeout: 276 seconds]
<MichaelEden[m]> rihardsk: you can try: `bwrap --dev dev --proc proc --unshare-all --share-net --die-with-parent --bind /nix /nix --ro-bind /etc /etc --bind /run /run --tmpfs /tmp $(which nix-shell) -p hello`
<rihardsk[m]> Michael Eden: hmm, `buildFHSUserEnv` isn't exactly what i want. i'd want to get a chrooted shell to get an environemnt that's exactly like the one `nix-build` runs in (with /bin/bash hidden). then i could attempt to manually build and see what's where
<rihardsk[m]> Michael Eden: ooh, this looks promising
<rihardsk[m]> thanks!
<MichaelEden[m]> np! there shouldn't be a /bin in there, you can `nix-env -iA nixpkgs.bubblewrap` to install `bwrap`
<tejok[m]> hey there, i have the following `.cabal` file https://pastebin.com/YUA5iF64 which I'm trynig to build on NixOS using `cabal2nix`, but when I do `cabal build` I'm getting `Encountered missing dependencies: postgresql-simple ==0.6.*`, any idea why? (I see nix downloaded the dep when opening the shell... so I'm confused...)
johanot has quit [Quit: WeeChat 2.4]
v88m has quit [Remote host closed the connection]
domogled has joined #nixos
emptyfl4sk has joined #nixos
<jackdk> tejok[m]: did it download the correct version? `ghc-pkg list | grep postgresql-simple`
<jackdk> nixpkgs generally only has one version per nixpkgs version
<tejok[m]> jackdk: suprisingly, the package does not appears at all when doing `ghc-pkg list` 😞
<jackdk> tejok[m]: wheeee. Please show me how you're constructing your nix shell?
<jgt> I tried upgrading to ghc863, but it failed to build. I'm trying ghc844, and Nix has decided it wants to rebuild all of GHC :-/
<jgt> manveru: ^^
<jgt> does the binary cache just not work if you're using a pinned nixpkgs?
<manveru> it works if you pin a version of nixpkgs that was built on hydra
fendor_ has joined #nixos
emptyfl4sk has quit [Ping timeout: 246 seconds]
<tejok[m]> jackdk: thanks for looking into this, here I extract my haskell dev env and the result of cabla2nix: https://pastebin.com/FENwXQeW .. at the end I show the command I use to start the shell. Do you see any issue?
<jgt> manveru: how can I check which commits were built on Hydra? Aside from the obvious way of trial and error, and seeing when it decides to rebuild GHC
Fendor has quit [Ping timeout: 265 seconds]
<manveru> jgt: for nixpkgs-unstable for example you can go to: https://hydra.nixos.org/job/nixpkgs/trunk/unstable#tabs-status
<MichaelEden[m]> rihardsk: i forgot to mention that nixos has _does have_ `/bin/sh` and `/usr/bin/env` exposed, so you can bind mount those into your bubblewrap
<manveru> jgt: when you select one of the succesful builds, you can go to the inputs tab and see what revision it has, e.g.: https://hydra.nixos.org/build/100495777#tabs-buildinputs
<jgt> manveru: thanks!
Makaveli7 has quit [Quit: WeeChat 2.6]
user___ has joined #nixos
veske has joined #nixos
<jackdk> tejok[m]: was that from `cabal2nix --shell`?
<jackdk> when I evaluated that cabal2nix output by putting it in `shell.nix` and running `nix-shell` it gives me a shell with postgresql-simple
Shell has quit [Quit: ZNC 1.7.4 - https://znc.in]
qyliss has quit [Quit: bye]
Shell has joined #nixos
qyliss has joined #nixos
nikola_i has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
veske has joined #nixos
zupo has joined #nixos
<tejok[m]> jackdk: yes that was from `cabal2nix --shell`, okay so it works for you. it must be something with my dev env then I guess...
<tejok[m]> thanks for trying on your machine
Neo-- has joined #nixos
<tejok[m]> jackdk: may I ask how did you install `ghc` on your machine?
<jackdk> I do not have it listed in systempackages, I just pull it in where I have shells that I use
<tejok[m]> okay same here
<jackdk> This is how I add build tools to my shell environments https://www.irccloud.com/pastebin/4UKCcES2/
<jackdk> (`env` is `drv.env` from that `cabal2nix` output)
<tejok[m]> jackdk: when you do ` ghc-pkg list --global` in that working shell, what is the path to `.db` given as the first line?
<tejok[m]> sorry the `--global` is irrelevant
<tejok[m]> I have `/nix/store/gvshp9yvc6gql09r3cyryj2zgsnfk6br-ghc-8.6.4/lib/ghc-8.6.4/package.conf.d`
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jackdk> I have /nix/store/hmvqvdws4fvb8qiab2gdyg4la5lkqdnb-ghc-8.6.4-with-packages/lib/ghc-8.6.4/package.conf.d
<tejok[m]> okay that must be the reason, I'll check if I have some specific ghc config or whatelse
<tejok[m]> thanks again for your help jackdk
<jackdk> good luck
<tejok[m]> thanks! the good news is that when I do ` /nix/store/hmvqvdws4fvb8qiab2gdyg4la5lkqdnb-ghc-8.6.4-with-packages/bin/ghc-pkg list ` (which is my $NIX_GHC) I get the list, so it seems it just a matter of having the right `ghc` in my shell.
arahael2 has joined #nixos
Netsu has quit [Ping timeout: 260 seconds]
arahael1 has quit [Ping timeout: 265 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tejok[m]> okay actually I just found the issue: I did had `ghc` in my dev shell, which is wrong I should get it only when instantiating a shell for a project using `cabal2nix`. 😄
kenshinCH has quit [Quit: WeeChat 2.4]
domogled has quit [Quit: domogled]
waleee-cl has joined #nixos
noudle has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
rauno has quit [Ping timeout: 276 seconds]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
jtojnar has joined #nixos
v88m has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
xkapastel has joined #nixos
jtojnar has joined #nixos
jgt has quit [Ping timeout: 246 seconds]
tboston has quit [Quit: ZNC 1.7.4 - https://znc.in]
arianvp has quit [Quit: WeeChat 2.6]
arianvp has joined #nixos
sjourdoi- has quit [Ping timeout: 276 seconds]
jgt has joined #nixos
dbyte has quit [Ping timeout: 265 seconds]
dbyte has joined #nixos
nikola_i has quit [Ping timeout: 245 seconds]
tboston has joined #nixos
sjourdois has joined #nixos
arahael2 is now known as Arahael
<sphalerite> ,binary
sigmundv has joined #nixos
<hyper_ch2> why vmware?
<cizra> I hear they provide virtual TPM, unlike VirtualBox.
<hyper_ch2> virtual tpm?
turion has quit [Quit: Leaving.]
mrCyborg has joined #nixos
sigmundv has quit [Remote host closed the connection]
<cizra> hyper_ch2: yeah, emulation of the TPM chip
<hyper_ch2> doesn't that defeat the actual prupose of a tpm chip?
<makefu> hyper_ch2: emulating a tpm may help with testing tpm stuff
sigmundv has joined #nixos
sigmundv_ has joined #nixos
sigmundv has quit [Client Quit]
nikola_i has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
veske has joined #nixos
nhey_ has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
wedens has quit [Quit: Connection closed for inactivity]
emptyfl4sk has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
nspin has joined #nixos
cinimod has joined #nixos
<cinimod> colemickens: I get /subscriptions/9ea70aed-5274-4570-acd6-7066d8382e36/resourceGroups/nixos-user-vhds/providers/Microsoft.Compute/images/nixos_1903_20190911_103149 is not a valid resource reference.
<cinimod> colemickens: I am not sure whether the command succeeded or not
<arcnmx> anyone able to look into #67896 ? it's a pretty trivial patch that just fixes a test so the package can build.
emptyfl4sk has quit [Ping timeout: 246 seconds]
hyper_ch2 has joined #nixos
endformationage has joined #nixos
nspin has quit [Ping timeout: 260 seconds]
ddellacosta has joined #nixos
FRidh has quit [Ping timeout: 276 seconds]
<cinimod> colemickens: ping me when you are online
mexisme has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
v88m has quit [Read error: Connection reset by peer]
v88m has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
emptyfl4sk has joined #nixos
<colemickens> cinimod you are pulling and resetting to 'azure' head Everytime you try right?
<colemickens> I think I fixed this issue already too, but I may not have.
<colemickens> Of course, I have no idea why it looks like azcopy is running inside the create-sig-image script, since it shouldn't.
ddellacosta has quit [Ping timeout: 265 seconds]
<colemickens> I might not be able to look at this for a few days. I'm traveling extensively flr the next few days. I'll try to loop back around when I'm free and at my laptop again.
Victor[m]3 has joined #nixos
emptyfl4sk has quit [Ping timeout: 276 seconds]
<eyJhb> hyperfekt: found my problem with Jellyfin, I was a dofus.. I did override the package
jgt1 has joined #nixos
jgt has quit [Ping timeout: 245 seconds]
sigmundv__ has joined #nixos
jgt1 has quit [Ping timeout: 245 seconds]
niksnut has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
sigmundv_ has quit [Ping timeout: 276 seconds]
emptyflask has joined #nixos
zacts has joined #nixos
<cinimod> colemickens: I thought I was up to date with `azure` - 22a5d91dacb
<colemickens> If you want to unblock yourself, the problem is the chaining of the commands.
emptyflask has quit [Ping timeout: 265 seconds]
<colemickens> There azimage is wrong, it shouldn't be the whole jaon blob, just the resource id of the managed disk uploaded in the previous step, etc.
<colemickens> If you look at what the scripts are trying to do you can probably figure it out. Unfortunately due to all the flakiness and 30 minutes delays I never got to test it working together in the chained mode.
<cinimod> colemickens: I will AFK until Monday pm
<cinimod> colemickens: I will try it one step at a time when I get the chance
<cinimod> colemickens: thanks for all your help
emptyflask has joined #nixos
<colemickens> Okay, me too more or less. Traveling all day, flying across the country, finding an apt and moving. I might be out of commission for more than a few days tbh.
<colemickens> No problem, thanks for testing.
<cinimod> colemickens: good luck with the move and talk next week
Ariakenom has quit [Remote host closed the connection]
evanjs| has joined #nixos
selfsymmetric-mu has quit [Ping timeout: 240 seconds]
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs| has joined #nixos
neva has joined #nixos
<eyJhb> HOw ugly is this solution? https://pastebin.com/P18Nz5rz
dermetfan has quit [Ping timeout: 276 seconds]
evanjs- has quit [Ping timeout: 240 seconds]
evanjs- has joined #nixos
evanjs| has quit [Client Quit]
niksnut has joined #nixos
<neva> So I installed busybox (a friend recommended I do it) now when I boot (on USB) it keeps giving me an error "nixos contains a file system with errors, check forced" then "nixos: UNEXPECTED INCOSISTENCY; RUN fsck MANUALLY. (i.e. without -a or -p options) /dev/disc/by-uuid/(uuid) has unrepaired errors, please fix them manually."
<neva> What exactly should I do now
hyper_ch2 has quit [Remote host closed the connection]
<Yaniel> I think that's not related to installing busybox
evanjs| has joined #nixos
<Yaniel> or installing anything
<Yaniel> boot into something that works and run fsck like it tells you
<Yaniel> from an installation on the HDD or from another usb stick
evanjs| has quit [Client Quit]
<neva> It says "checking /dev(etc) fsck (busybox 1.30.1)
<neva> Which leads me to believe that it is in fact from busybox
<Yaniel> the fsck you are using is from busybox
<neva> Since I installed it ans Busybox overrides it
<neva> And*
ddellacosta has quit [Ping timeout: 265 seconds]
iyzsong-x has quit [Ping timeout: 245 seconds]
evanjs| has joined #nixos
neva has quit [Remote host closed the connection]
ng0 has quit [Ping timeout: 260 seconds]
nhey_ has quit [Quit: Leaving]
neva has joined #nixos
evanjs- has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs| has quit [Client Quit]
evanjs- has joined #nixos
ng0 has joined #nixos
cinimod has quit [Remote host closed the connection]
evanjs| has joined #nixos
cinimod has joined #nixos
neva89 has joined #nixos
neva has quit [Remote host closed the connection]
<neva89> so... i checked it... i hope it works, and something i wanted to get running for a while now was the wifi, but it never worked
<neva89> is there a KDE package i have to install or?
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
<symphorien> neva89: can you give more context ?
jgt1 has joined #nixos
<neva89> I tried getting the Wifi on my nixos (which is on a usb) working, yet there's no icon in the system tray, the "connections" setting doesn't exist
<symphorien> it is listed when you run `ip link` ?
<neva89> i don't know how to get it running, i've tried searching it up, but nothing has been working yet
neva89 has quit [Remote host closed the connection]
user___ has quit [Ping timeout: 276 seconds]
neva has joined #nixos
jgt1 has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
<zacts> which channel do I need to add to install this: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/misc/joplin-desktop?
<zacts> although, if it will be included in 19.09 then maybe I'll just wait for that
<neva> "ip link" doesn't show anything
<neva> At least no Wi-Fi or anything like that
<symphorien> only lo ?
<neva> 1: ok
<symphorien> if it's a usb dongle it could have a strange name
<neva> 1:lo
Ariakenom has joined #nixos
<symphorien> you could try to add this in /etc/nixos/cofiguration.nix: hardware.enableAllFirmware = true;
<symphorien> then reboot
<neva> Uuggghhh now my de is also screwed
<neva> I didn't change config yet
pie_ has quit [Ping timeout: 240 seconds]
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs| has joined #nixos
<manveru> neva: did you try nm-applet?
<symphorien> neva: ah forgot to mention: nixos-rebuild boot before rebooting
<manveru> ,locate bin nm-applet
evanjs- has quit [Ping timeout: 246 seconds]
<symphorien> I think it's by default in kde
<manveru> well, the package is networkmanagerapplet, seems the bot is dead :|
evanjs- has joined #nixos
<neva> Ok, I changed config
<neva> No "connections" in settings and no icon on the system tray
<symphorien> and is it listed in ip link ?
<neva> 1: lo; 2:enp4s0; 3:wlp3s0;
<symphorien> the third one seems promising
<symphorien> can you run `nm-applet` ?
<neva> Command not found
<symphorien> did you enable network-manager in configuration.nix ?
<neva> Networking.wireless.enable = true;
<neva> That one?
<symphorien> remove this and replace it by:
<symphorien> networking.networkmanager.enable = true;
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
<symphorien> add networkmanagerapplet to environment.systemPackages
<symphorien> nixos-rebuild switch and logout/login
smatting has quit [Ping timeout: 265 seconds]
evanjs| has joined #nixos
<neva> Without any text this is much harder than imagined
<neva> Still nothing
<symphorien> run `nm-applet`
wfranzini has quit [Remote host closed the connection]
zacts has quit [Quit: WeeChat 2.4]
judson_ has joined #nixos
<neva> Command not found, just like before
<symphorien> did you add networkmanagerapplet to environment.systemPackages ?
abcrawf has joined #nixos
<neva> Yes
rpg has joined #nixos
<symphorien> and run nixos-rebuild switch ?
<neva> Also yes
tobiasBora has joined #nixos
<neva> Strive.
<tobiasBora> Hello,
<neva> Ald
<tobiasBora> Does anyone knows what happens when nixos is supposed to write a configuration file to an already existing configuration file?
<symphorien> it removes the existing one iirc
<tobiasBora> (I meant nixos home manager)
<neva> After KDE crashed I even restarted NixOS a couple of times
<symphorien> home-manager just complains
<tobiasBora> symphorien: ok thanks! And if I later use a graphic tool to edit that file, home-manager will complain at the next build switch?
<symphorien> neva: is there a /run/current-system/sw/bin/nm-applet ?
alex`` has joined #nixos
<symphorien> at least home-manager switch does complain
<symphorien> don't know about home-manager-the-module
fresheyeball has joined #nixos
<infinisil> tobiasBora: If you mean nixos-generate-config, it won't override the existing one
ng0 has quit [Ping timeout: 260 seconds]
<fresheyeball> I want to try and get ghcide running
<fresheyeball> I never got hie to work, but I am hopeful
<fresheyeball> I got it installed using the instructions in the README for nixos
<neva> symphorien: no
<alex``> tilpner: which value should I set nix.daemonIONiceLevel and nix.daemonNiceLevel?
<fresheyeball> and nvim does appear to see it
ng0 has joined #nixos
<fresheyeball> but I get the same error as before
<fresheyeball> cannot satisfy -package-id HTTP-4000.3.12
<alex``> I cleaned my laptop with the vaccum cleaner
<symphorien> neva: rerun nixos-rebuild switch and retry
<symphorien> without rebooting
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<fresheyeball> does anyone know how ghcide finds packages? I tried launching nvim from inside the nix-shell, but no dice
cinimod has quit [Remote host closed the connection]
<tilpner> alex``: That's up to you, really. If you accept potentially much slower builds, set daemonIONiceLevel to 7, and daemonNiceLevel to 19. That will make everything else on your system get priority before the Nix daemon
cinimod has joined #nixos
<neva> Still not found
<tilpner> alex``: You can lower those values if it's too slow, down to the default of 0, or anything inbetween
<symphorien> neva: can you paste your config ?
<neva> I'm texting from my phone
<symphorien> ah ok
<symphorien> run `nix-shell -p networkmanagerapplet`
<symphorien> inside the shell, nm-applet should be installed
leocp1 has joined #nixos
<alex``> tilpner: I have to restart the services to take effect?
<neva> Now busybox caused an error
<tilpner> alex``: At least that, I'm not exactly sure. Reboot for guarantees, I guess?
<symphorien> neva: ?
erasmas has joined #nixos
<eyJhb> Is there a way to make a container run on unstable, instead of stable channel?
<symphorien> neva: do you have a good reason to install busybox ?
<fresheyeball> infinisil: I suspect you know what is going on
<infinisil> fresheyeball: I can help you with hie if you want to try, I've got it working nicely for me
<symphorien> this will cause all sorts of problems
<symphorien> generally nixos just assumes $PATH contains coreutils
<fresheyeball> infinisil: yes please, I have dreamed of this for 5 years
<infinisil> fresheyeball: Let's go to #haskell-ide-engine for that though
<fresheyeball> ok
<neva> Earlier i had a problem with supposedly busybox which bricked the USB im starting from
growpotkin has joined #nixos
<symphorien> if you have it in configuration.nix or nix-env -q, then please remove it
<symphorien> it will only cause trouble
<neva> I have it in neither
<symphorien> ok
evanjs| has quit [Ping timeout: 245 seconds]
<symphorien> then what did you mean by "busybox caused an error" ?
<tobiasBora> whooo
<neva> `nix-she'll -p networkmanagerapplet \n error: opening file 'nix/store/(sha)-busybox.drv': No such file or directory`
<symphorien> sudo nix-store --verify --check-contents
<symphorien> that's not normal
<symphorien> maybe fsck did not fix all errors
<tobiasBora> I don't understand why, I just added home-manager repo and I added this simple configuration: http://paste.debian.net/1100571, and now nixos-switch rebuild... reinstall/compile lot's of stuff, like skype, steam-run...
<neva> Busybox folders disappeared but still has referrers
<symphorien> is it a live media ?
<symphorien> or a "real" installed system ?
<neva> I'm on a mounted system
<symphorien> rerun the same command with --repair
rauno has joined #nixos
<symphorien> it will remove all store paths which depend on the disappeared busybox path
<neva> Cant download
alex`` has quit [Quit: WeeChat 2.5]
jgt1 has joined #nixos
<symphorien> maybe nix-store --delete $busyboxpath
<tobiasBora> Is it possible that import = [ <home-manager/nixos> ]; ... and then environment.systemPackages = pkgs.[mmyprogram] refers to <home-manager/nixos>?
<neva> Didn't do anything
gxt has quit [Ping timeout: 260 seconds]
<tobiasBora> is home-manager/nixos supposed to replace the classical channel nixos?
<tobiasBora> can I make sure that <home-manager/nixos> is used only for the user configuration?
abcrawf has quit [Ping timeout: 245 seconds]
<symphorien> neva: nix-store --delete $(nix-store --query --referers $busybox-path)
polman has quit [Ping timeout: 245 seconds]
justanotheruser has quit [Ping timeout: 246 seconds]
<tobiasBora> ohhh
<tobiasBora> maybe I know what happened: I ran a "nixos-channel --update" to update home-manager... but I guess it updated <nixos> as well...
<tobiasBora> so now I've a bunch of errors
<tobiasBora> builder for '/nix/store/ly48sxh0dwizgdnf4v0chzdgqal6vmsf-tesseract-4.1.0.drv' failed with exit code 1
<symphorien> tobiasBora: nix-channel --rollback :)
jgt1 has quit [Ping timeout: 276 seconds]
emptyflask has quit [Ping timeout: 265 seconds]
<neva> Still nothing
<symphorien> well your store is corrupted
<eyJhb> Can I specify a NixOS container to run on a different channel by default? :) There must be some kind of easy way to do this
<symphorien> the bast thing to do is to boot a nixos live media, and to rerun nixos-install
emptyflask has joined #nixos
<symphorien> it will reuse your current configuration.nix so your system should be largely preserved
<tobiasBora> symphorien: so I won't be able to use home manager I guess?
<eyJhb> tobiasBora: update only that channel
<eyJhb> If that is what you want to do :)
<symphorien> you can upgrade channels one by one
polman has joined #nixos
<tobiasBora> eyJhb: ou it could be a nice idea if the two channels does not need to be synced, thanks!
emptyfl4sk has joined #nixos
<tobiasBora> cool, thanks!
<eyJhb> tobiasBora: I normally like to update my nixos channel, but I don't care update unstable that often... :p
<eyJhb> don't dare*
<tobiasBora> also, any idea why current setting fails to build? The only error I can find is "applying patch /nix/store/f6jp2gw4cwr77jhdizf35mjd9h087p4i-tesseract.patch, patching file src/api/Makefile.amHunk #1 FAILED at 42. 1 out of 1 hunk FAILED -- saving rejects to file src/api/Makefile.am.rej"
<eyJhb> The make process fails, basically a invalid patch (something changed)
<tobiasBora> so I guess I should fill an issue
<eyJhb> Are you running a stable or unstable channel?
<tobiasBora> unstable
<eyJhb> tobiasBora: or fill a PR ? ;)
justanotheruser has joined #nixos
<eyJhb> Try to fix it yourself! :D
jgt1 has joined #nixos
neva has quit [Remote host closed the connection]
emptyflask has quit [Ping timeout: 276 seconds]
nikola_i has quit [Ping timeout: 245 seconds]
cinimod has quit [Ping timeout: 246 seconds]
evanjs| has joined #nixos
<tobiasBora> eyJhb: I can try, but if the code really changed I don't know if I'll be good enough to know if I should or not apply the patch :-°
emptyflask has joined #nixos
emptyfl4sk has quit [Ping timeout: 240 seconds]
leocp1 has quit [Quit: Lost terminal]
<eyJhb> Only one way to find out, get your hands dirty tobiasBora ! ;) The project always needs more hands :D
<tobiasBora> I try to do my best ;-)
<eyJhb> But there might be a PR that has fixed it, I would check beforehand. (clone nixpkgs , and see if the error persists)
jgt1 has quit [Ping timeout: 246 seconds]
<tobiasBora> eyJhb: unstable is equivalent to cloning nixpkgs (without the not merged pr of course) right? Btw, is there a channel that is a bit behind unstable? (unstable has lot's of compilation issues usually)
Soo_Slow has quit [Remote host closed the connection]
<tobiasBora> (I can't find any PR with tesseract in the name)
hmpffff_ has joined #nixos
<eyJhb> tobiasBora: depends, nixos-unstable is a bit behind nixpkgs (as far as I know). nixpkgs is bleeding edge.
<eyJhb> You can see here - https://howoldis.herokuapp.com/
<eyJhb> That gives you some idea on how old it actually is :)
alex`` has joined #nixos
<alex``> tilpner: hope it will pass this time é_é
<tilpner> alex``: Wait, this is the overheating problem?
hmpffff has quit [Ping timeout: 276 seconds]
<tilpner> alex``: nice levels were just for responsiveness and less freezing
<alex``> tilpner: I cannot be sure
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
<tilpner> alex``: To output less heat, do less stuff stuff, with the buildCores and maxJobs option I mentioned earlier
<alex``> once I do `mkswap /swap`, I don't have to do it after reboot no?
<alex``> just `swapon /swap`
<alex``> ?
<tobiasBora> eyJhb: interesting, thanks!
<tilpner> alex``: swapon is not persistent
<tobiasBora> hum, actually, it's more complicated, tesseract alone does compile
<alex``> tilpner: after reboot just `swapon` is needed no?
<alex``> not mkswap
<tilpner> alex``: Right, no mkswap every time
<tobiasBora> problem seems to be from k2pdfopt?
<alex``> tilpner: have to reboot too after descreasing buildCores and maxJobs? x(
<alex``> which values you recommend me for the two options?
<tobiasBora> ok, someone is on it I think https://github.com/NixOS/nixpkgs/pull/68506
t58 has joined #nixos
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
<tilpner> alex``: 1 and 1 for the lowest performance and least heat
<tilpner> alex``: Those should work without a reboot
evanjs| has joined #nixos
hmpffff_ has quit [Ping timeout: 246 seconds]
emptyflask has quit [Ping timeout: 240 seconds]
<lejonet> If I want to do a slightly more complex firewall than a host firewall, am I better off enabling like ferm than the "standard" nixos firewall? Sure, I could probably hack everything through networking.firewall.extraCommands, but that seems like using ferm, with extra steps... :P
drakonis has quit [Quit: WeeChat 2.4]
dbyte has quit [Ping timeout: 265 seconds]
FRidh has joined #nixos
dbyte has joined #nixos
schneefux has joined #nixos
schneefux has quit [Remote host closed the connection]
dbyte has quit [Ping timeout: 265 seconds]
dbyte has joined #nixos
emptyfl4sk has joined #nixos
schneefux has joined #nixos
<schneefux> Hi, I've had this issue for years now - My nixos server has a hard drive with 40GB and I use about 80% of it. When I run `nixos-rebuild --upgrade` after a month or so the drive fills up until nix crashes. Basically, I can't upgrade with less than 10G available. I'm always running `nix-collect-garbage -d` beforehand. Is there something that I can
<schneefux> do, like partial upgrades?
<cransom> have you ever run nix-store --optimise?
<cransom> or have auto optimise enabled in your configuration.nix
dongrappa has quit [Ping timeout: 276 seconds]
<ajs124> cransom: yes. why are you asking?
<cransom> that was for schneefux .
<ajs124> I should maybe read more than just the last two messages of the channel. oops
<schneefux> I remember running that a long, long time ago. Didn't know about `autoOptimiseStore` - cool. I'm trying it right now…
hmpffff has joined #nixos
<alexarice[m]> schneefux: it doesn't really solve your problem, only pushes a bit more space out your hard drive
<lejonet> Hmm, I'm guessing that jumping 17.09 -> 19.03 will make things mad at me? It says that the nixpkgs requires nix >= 2.0, and than if I run nixos (which I am) I can do nixos-rebuild to upgrade, problem is, that is exactly what I'm trying to do lol :P
dbyte has quit [Read error: Connection reset by peer]
<lejonet> s/than/then/
<tilpner> schneefux: It can help to build on another machine (your desktop/laptop) and push to the server
dbyte has joined #nixos
zacts has joined #nixos
<tilpner> schneefux: That way, the build-time-only requirements don't end up on your server. Benefit will vary with your config though
zupo has joined #nixos
<tilpner> lejonet: You can take smaller steps, or use nixos-install to upgrade
<tilpner> (From a live system)
<alexarice[m]> schneefux: I think the only real fix is having more disk space as nix will at least want to store the new and old configurations
<lejonet> tilpner: ah, I completely forgot about nixos-install
<schneefux> thank you
<schneefux> --optimise freed up 1.5GB, very nice
dbyte has quit [Read error: Connection reset by peer]
<lejonet> tilpner: nixos-install spat the same thing at me, oh well, I am going to use nixops for this one anyway, might aswell do it directly :P
jgt1 has joined #nixos
<evanjs> schneefux: or you can turn on autoOptimise, and it'll do all that in the background 😝
dbyte has joined #nixos
dermetfan has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
<tilpner> lejonet: You ran nixos-install from the same system you ran nixos-rebuild on, right?
<schneefux> It bugs me that I have to buy more storage just to upgrade my server… every time I add storage, I end up using it to store more data, it's an endless loop. ^^
<lejonet> tilpner: indeed
Chiliparrot has joined #nixos
<tilpner> lejonet: That's not what I meant. You were supposed to boot a recent NixOS ISO, which would bring you a newer Nix
<schneefux> I think I'll update more often & use a temporary volume for larger upgrades
<tilpner> schneefux: If you're up for a reinstall, filesystem compression can be nice
dbyte has quit [Read error: Connection reset by peer]
<alexarice[m]> schneefux: I switched over to using a single partition because of this problem
zupo_ has joined #nixos
<lejonet> tilpner: I see, I thought that nixos-install maybe pulled things down in its own way, but yeah, I'm gonna be nixopsing this one anyway, so I'll just set that up
jgt1 has quit [Ping timeout: 276 seconds]
dbyte has joined #nixos
hmpffff has quit [Ping timeout: 240 seconds]
<alexarice[m]> tilpner: Does compressing /nix not affect performance?
zupo has quit [Ping timeout: 246 seconds]
<tilpner> alexarice[m]: It can have positive and negative effects on performance, yes
alex`` has quit [Ping timeout: 245 seconds]
zupo_ has quit [Ping timeout: 245 seconds]
zacts has quit [Ping timeout: 276 seconds]
<arianvp> is there a semantic difference between mkIf a { boot.kernelParams = mkIf b ["lol=3"]; }
chiefgoat has joined #nixos
<arianvp> and mkIf a (mkMerge [mkIf b { boot.kernelParams = ["lol=3"];}])
<arianvp> ?
<arianvp> bubbling up the mkIf b vs bubbling it down
fendor_ has quit [Remote host closed the connection]
Fendor has joined #nixos
fendor_ has joined #nixos
Fendor__ has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
Fendor has quit [Ping timeout: 265 seconds]
dongrappa has joined #nixos
pikajude has joined #nixos
init_6 has quit []
dongrappa has quit [Ping timeout: 276 seconds]
ixxie has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
srl295 has joined #nixos
wildtrees has joined #nixos
wildtrees has quit [Remote host closed the connection]
mexisme has joined #nixos
wildtrees has joined #nixos
<alexarice[m]> arianvp: Just had a look at `modules.nix`. It looks like `pushDownProperties` gets called on everything https://github.com/NixOS/nixpkgs/blob/a5b2e090ec895ceee728c95fca3384748ac655da/lib/modules.nix#L395
<alexarice[m]> arianvp: I think if you get the same form both after calling pushDownProperties then it should be the same
hmpffff has joined #nixos
<alexarice[m]> arianvp: for what it's worth according to my nix repl these are exactly the same
schneefux has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 245 seconds]
lordcirth_ has joined #nixos
<lordcirth_> Just ordered a Pinebook Pro :) Looking forward to tinkering with it. Anyone else running NixOS on RockPro64?
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
domogled has joined #nixos
ddellacosta has joined #nixos
swerlk has joined #nixos
hmpffff has quit [Ping timeout: 265 seconds]
<swerlk> Hello! I have a question about nix-shell and purity. When I run `nix-shell --pure -E "with import <nixpkgs> {}; derivation { name = ''Hi''; builder = ''something''; system = ''some system'';}"` I still get some environmental locations on the $PATH variable
<swerlk> That would seem impure....
<swerlk> Specifically the $PATH looks like `PATH=/nix/store/mn4jdnhkz12a6yd6jg6wvb4mqpxf8q1f-bash-interactive-4.4-p23/bin:/home/swerlk/bin:/run/wrappers/bin:/home/swerlk/.nix-profile/bin:/etc/profiles/per-user/swerlk/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin
<swerlk> ls
<swerlk> haha oops
jgt1 has joined #nixos
<sphalerite> lordcirth_: rockpro64 is a different board also based on the rk3399 I think. I'm running nixos happily on my rk3399-based chromebook :)
<sphalerite> lordcirth_: I think samueldr is fiddling with a pinebook pro too
<lordcirth_> sphalerite, cool! I want to try and set it up as stateless as possible, and I have some ideas regarding automated provisioning over unknown networks.
jgt1 has quit [Ping timeout: 276 seconds]
<alexarice[m]> swerlk: mine is doing the same thing, seems strange
<swerlk> alexarice[m]: I'm still not quite sure how to use the NIX_ENFORCE_PURITY environmental bit but I set that as well and it leads to the same result
Myhlamaeus1 has joined #nixos
<alexarice[m]> mine has even more stuff
<samueldr> sphalerite: can't until it ships
<samueldr> though I'm in the first batch
<sphalerite> samueldr: oh I thought you had yours already :p
<samueldr> no, I have a pinebook (a64) :)
<lordcirth_> The Pro starts shipping in October.
<samueldr> lordcirth_: "in the following week" for the first batch
<lordcirth_> Oh nice.
<samueldr> though if you just ordered you're not in the first batch :)
<swerlk> alexarice[m]: What else is on your path?
<lordcirth_> No, I ordered this week.
<samueldr> it would have been past month
<lordcirth_> samueldr, but that just means I can lean on you for help :P
<swerlk> alexarice[m]: I wasn't quite sure if some of this was a result of using home-manager, since some of the paths on there generated from home-manager
<alexarice[m]> swerlk: you might be right
<alexarice[m]> it says in the manual that anything sourced in bashrc will still be in there
<swerlk> Hmm, interesting
domogled has quit [Ping timeout: 246 seconds]
<alexarice[m]> swerlk: I wonder if home-manager sets some bash specific thing that breaks purity of nix shells
<swerlk> That would be unfortunate.
<swerlk> I'll try a system without home-manager to see if it changes
<alexarice[m]> swerlk: out of interest what de/wm are you using as swaybg has managed to get into my pure nix-shell somehow
<swerlk> alexarice[m]: I'm using pantheon. It doesn't appear to be in my PATH
<swerlk> alexarice[m]: I tried on a server without home-manager and I still get some user things on my path
<alexarice[m]> swerlk: really strange
<alexarice[m]> I wonder if this is why I've been getting lots of odd things with pure nix-shells recently
<swerlk> ¯\_(ツ)_/¯
<swerlk> Could be
pi3r has joined #nixos
alex`` has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<swerlk> It is unsettling that I can run home-manager from within a pure nix shell
<swerlk> That is supposed to be blank
<alex``> tilpner: even with all the options I reached 90°C
<tilpner> alex``: And then it shut off?
<alexarice[m]> swerlk: I'm wondering if there's a bug in nix-shell
<alex``> kinda
<tilpner> alex``: Did you verify they had any effect?
<pi3r> is there a way to bring the attention to an issue before 19.09 release ?
<alex``> it doesn’t shut off
<alex``> but freeze
<swerlk> alexarice[m]: Originally I was trying to figure out why gcc was in a pure nix shell but I think the mkDerivation function brings that in (from reading it briefly)
<alex``> freeze and I think temp was decreasing
<tilpner> alex``: Is that when it hits swap?
<swerlk> alexarice[m]: potentially. I'll look through the existing issues and make one if it does not appear
<alex``> because of the sound
<alexarice[m]> swerlk: mkDerivation will bring in things like gcc
<alex``> I don’t know
<alex``> I think it freeze when reaching 90°C~
<alexarice[m]> swerlk: and the bash also looks sensible, it's all the other stuff I wonder about
<swerlk> alexarice[m]: Ok cool, good to have an answer for one piece of this puzzle. :-)
<alex``> I have to switch to another distro?
<swerlk> alexarice[m]: right
<alex``> I just can’t update my system because of compiling
<pi3r> Anyhow this is a real annoyance for me: https://github.com/NixOS/nixpkgs/issues/65542 (I am using nixos from virtualbox)
<tilpner> alex``: 1. You may be able to avoid/reduce compilation
<alex``> how can I know which package trigger a compilation?
<tilpner> alex``: 2. There are ways to further throttle it, by e.g. only allowing it 10% CPU
<tilpner> alex``: 3. If nothing else helps, you can offload building to another machine
<alex``> throttle compilation looks nice no?
<alex``> s/compilation/CPU/
<alex``> how to do it
<tilpner> alex``: Try nix-build '<nixpkgs/nixos>' -A system --dry-run
<tilpner> That should tell you what will be fetched, and what will be built
<alexarice[m]> swerlk: going to test if the same thing happens with an older nix
<alex``> I read mesa or something
<alex``> before freezing
<alex``> and clang
<alex``> /nix/store/wx6w91cvwd9mj7llzv3bmg29slvabf85-chromium-76.0.3809.132.drv be built??
<tilpner> Uh oh
<tilpner> alex``: systemd.services.nix-daemon.serviceConfig.CPUQuota = "10%";
<alex``> have to restart?
<tilpner> Note that you may also need to enable CPU accounting somewhere
<tilpner> Perhaps systemd.enableCgroupAccounting
<alex``> > Whether to enable cgroup accounting.
<tilpner> Yep, that will do it
<alex``> what does it mean?
<alex``> I don't find the doc for systemd.services.nix-daemon.serviceConfig.CPUQuota
ddellacosta has quit [Ping timeout: 265 seconds]
<tilpner> Yep, but please try it anyway
<tilpner> serviceConfig is a catch-all option, you can set anything, and it's just passed along
_ris has joined #nixos
<tilpner> Control groups (cgroup) are how the CPU throttling is implemented, but I'm not that familiar with the details
<tilpner> alex``: You could monitor your system before it freezes. atop is an option, not sure if it does temperature though
<tilpner> alex``: If this still doesn't work, temporarily comment out the packages you saw it tries to build (steam)
<swerlk> alexarice[m]: I checked the nix program repo and it does not appear as an issue. I've made an issue here: https://github.com/NixOS/nix/issues/3090
<swerlk> alexarice[m]: What is also interesting is that I am using direnv to modify my path in a certain directory. If I run a blank pure shell from it, those modifications appear on the PATH as well.
adamantium has joined #nixos
alex`` has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
alex`` has joined #nixos
juhe has joined #nixos
<tilpner> alex``: So it froze again, huh?
<tilpner> :/
pi3r has quit [Ping timeout: 240 seconds]
pi3r has joined #nixos
pi3r_ has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
emptyfl4sk has quit [Ping timeout: 246 seconds]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
bennofs has joined #nixos
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
pi3r has quit [Ping timeout: 240 seconds]
dbyte has joined #nixos
bennofs has quit [Client Quit]
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
jgt1 has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
jgt1 has quit [Ping timeout: 245 seconds]
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs| has joined #nixos
<eyJhb> Am I wrong in assuming that `services.cron.systemCronJobs` allows to specify the user? ` "* * * * * eelco echo Hello World > /home/eelco/cronout"`, looks like "eelco" user?
gxt has joined #nixos
cizra has left #nixos [#nixos]
Fendor__ is now known as Fendor
pi3r_ has quit [Ping timeout: 246 seconds]
alex`` has quit [Quit: WeeChat 2.5]
dongrappa has joined #nixos
alex`` has joined #nixos
kleisli has joined #nixos
<alex``> tilpner: I’ll try
ixxie has quit [Ping timeout: 240 seconds]
<alex``> I wonder if setting that in configuration.nix will take effect while building
<alex``> or *after*
<tilpner> alex``: Setting what?
<tilpner> alex``: It will take effect after building
<alex``> the options you told me
<tilpner> And then after switching
<tilpner> None of them take effect immediately
<alex``> lol
<tilpner> That is why I told you to verify they have an effect
<tilpner> With htop, or atop
<alex``> they don't xd
<tilpner> Because you always immediately upgrade?
dongrappa has quit [Ping timeout: 246 seconds]
<tilpner> At the very least, you can see how many threads it's using, and what priorities they have
<alex``> nixos-rebuild switch --upgrade --keep-going --fallback
<tilpner> Yeah, that's not going to help
<eyJhb> That is close to bingo thou
t58 has quit [Read error: Connection reset by peer]
Forkk has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<alex``> tilpner: I already done `nix-channel --update`
<alex``> so even nix-rebuild switch tries to upgrade
<tilpner> alex``: You can do nix-channel --rollback
<alex``> I'm on the unstable
<alex``> channel
Forkk has joined #nixos
<alex``> error: no generation older than the current (38) exists
<alex``> error: program '/nix/store/1s7ajgxpkqjapqr30xclw7s1qpldy64z-nix-2.2.2/bin/nix-env' failed with exit code 1
<tilpner> alex``: nixos-rebuild --option max-jobs 1 --option cores 1
<tilpner> That will immediately use two of those options
<alex``> trying..
<alexarice[m]> swerlk: thanks for creating an issue
hmpffff has joined #nixos
emptyfl4sk has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
<kleisli> what's the best way to set up a shell.nix for an ocaml project with opam packages?
domogled has joined #nixos
boxdot1 has joined #nixos
emptyfl4sk has quit [Ping timeout: 276 seconds]
hmpffff_ has joined #nixos
gxt has quit [Remote host closed the connection]
hmpffff has quit [Ping timeout: 246 seconds]
fusion809 has quit [Remote host closed the connection]
erasmas has quit [Quit: leaving]
adamantium has quit [Remote host closed the connection]
mexisme has joined #nixos
t58 has joined #nixos
evanjs- has quit [Quit: ZNC 1.7.4 - https://znc.in]
hmpffff has joined #nixos
jgt1 has joined #nixos
evanjs| has quit [Ping timeout: 276 seconds]
<fresheyeball> ok so I don't know how this bit works
dbyte has quit [Read error: Connection reset by peer]
hmpffff_ has quit [Ping timeout: 276 seconds]
dbyte has joined #nixos
<fresheyeball> but I can do a `nix-build` with my nix.serveSsh stuff and get cached builds
<fresheyeball> if I build as myself or root
dbyte has quit [Read error: Connection reset by peer]
evanjs- has joined #nixos
<fresheyeball> but if I login as `jenkins` the ssh doesn't connect
o1lo01ol1o has joined #nixos
hmpffff has quit [Client Quit]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
jgt1 has quit [Ping timeout: 245 seconds]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
jgeerds has joined #nixos
orivej has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
ddellacosta has joined #nixos
dbyte has joined #nixos
pi3r_ has joined #nixos
knupfer has joined #nixos
emily has quit [Excess Flood]
emily has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
boxdot1 has quit [Quit: Leaving.]
boxdot1 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
pi3r_ has quit [Quit: Leaving]
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
talqu has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 245 seconds]
boxdot1 has quit [Quit: Leaving.]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
dermetfan has quit [Ping timeout: 246 seconds]
<kleisli> hey all, this page says that the ocamlPackages.findlib package will set CAML_LD_LIBRARY_PATH for dynamically loaded shared libraries: https://nixos.wiki/wiki/OCaml
emptyfl4sk has joined #nixos
<kleisli> but the path is incorrect for me
<maurer> Can you be more specific? What did you do, and what is the path? What do you think the path should have been?
<kleisli> ie, the directory it gets set to doesn't exist
<maurer> What directory did it get set to?
selfsymmetric-pa has joined #nixos
<kleisli> and when i try to compile something that uses a shared library, it crashes with this error:
<kleisli> Reason: dllcryptokit_stubs.so: cannot open shared object file: No such file or directory
<kleisli> (normal compilation works fine)
selfsymmetric-pa has quit [Remote host closed the connection]
<maurer> kleisli: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/ocaml-modules/cryptokit/default.nix is using a normal make-based build, not an ocamlbuild or similar-based build and doesn't appear to be realizing that it needs a shared library
wfranzini has joined #nixos
<maurer> tl;dr I think our cryptokit packaging is bugged and should be fixed
* eraserhd wonders about keeping one fork of nixpkgs with a bunch of individual commits instead of a bunch of branches for PRs.
<maurer> kleisli: If you can't figure it yourself, file a github issue and tag this guy: https://github.com/NixOS/nixpkgs/blob/master/maintainers/maintainer-list.nix#L7065
<kleisli> ok, thanks very much @maurer
mexisme has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
nobbo[m] has quit [Remote host closed the connection]
Victor[m]3 has quit [Remote host closed the connection]
seekerus3r[m] has quit [Remote host closed the connection]
Woland[m] has quit [Remote host closed the connection]
gudea[m] has quit [Remote host closed the connection]
info_supplicant[ has quit [Remote host closed the connection]
orospakr[m] has quit [Remote host closed the connection]
ck3d[m] has quit [Remote host closed the connection]
syntaxtree[m] has quit [Remote host closed the connection]
ZD[m] has quit [Remote host closed the connection]
cgm[m] has quit [Remote host closed the connection]
boredom101[m]1 has quit [Remote host closed the connection]
aymenstudios[m] has quit [Remote host closed the connection]
alex[m]16 has quit [Remote host closed the connection]
GerdFlaig[m] has quit [Remote host closed the connection]
Christian[m]5 has quit [Remote host closed the connection]
bnasty[m] has quit [Remote host closed the connection]
aterius has quit [Remote host closed the connection]
Gopal[m] has quit [Remote host closed the connection]
peterhoeg[m] has quit [Remote host closed the connection]
isgy[m] has quit [Remote host closed the connection]
MichaelEden[m] has quit [Remote host closed the connection]
quiet_laika[m] has quit [Remote host closed the connection]
icetan has quit [Remote host closed the connection]
schmittlauch[m] has quit [Remote host closed the connection]
layus[m] has quit [Remote host closed the connection]
sierraDelta has quit [Remote host closed the connection]
stalker254[m] has quit [Remote host closed the connection]
snupples[m] has quit [Remote host closed the connection]
frederic_chopwn[ has quit [Read error: Connection reset by peer]
atopuzov[m] has quit [Read error: Connection reset by peer]
roberth has quit [Read error: Connection reset by peer]
white_bluff[m] has quit [Read error: Connection reset by peer]
midi[m] has quit [Write error: Connection reset by peer]
attente[m] has quit [Read error: Connection reset by peer]
siraben has quit [Write error: Connection reset by peer]
Ericson2314 has quit [Read error: Connection reset by peer]
MiloIgnis[m] has quit [Read error: Connection reset by peer]
Dandellion[m] has quit [Read error: Connection reset by peer]
ma27[m] has quit [Read error: Connection reset by peer]
Vskilet has quit [Write error: Connection reset by peer]
xavierm02 has quit [Read error: Connection reset by peer]
otini has quit [Read error: Connection reset by peer]
cyberwolf[m] has quit [Write error: Connection reset by peer]
philipp[m] has quit [Read error: Connection reset by peer]
abbradar[m] has quit [Read error: Connection reset by peer]
is0x3F has quit [Read error: Connection reset by peer]
ctrl_shift_smtng has quit [Read error: Connection reset by peer]
malteof[m] has quit [Read error: Connection reset by peer]
bricewge has quit [Read error: Connection reset by peer]
wildtrees[m] has quit [Remote host closed the connection]
bikki[m]1 has quit [Remote host closed the connection]
tindvik[m] has quit [Remote host closed the connection]
anton-latukha[m] has quit [Remote host closed the connection]
badmutex[m] has quit [Remote host closed the connection]
tonic0x539[m] has quit [Remote host closed the connection]
flip[m]1 has quit [Remote host closed the connection]
cab404[m] has quit [Remote host closed the connection]
grahamc[m] has quit [Remote host closed the connection]
pop[m]1 has quit [Remote host closed the connection]
ajirx[m] has quit [Remote host closed the connection]
Dan[m]8 has quit [Remote host closed the connection]
blitzclone_ has quit [Write error: Connection reset by peer]
bikki[m] has quit [Write error: Connection reset by peer]
Notkea[m] has quit [Read error: Connection reset by peer]
clacke[m] has quit [Remote host closed the connection]
bennofs[m] has quit [Write error: Connection reset by peer]
DanP[m] has quit [Write error: Connection reset by peer]
joepie91[m] has quit [Read error: Connection reset by peer]
domenkozar[m] has quit [Write error: Connection reset by peer]
ndarwincorn has quit [Write error: Connection reset by peer]
florianjacob has quit [Write error: Connection reset by peer]
mildred has quit [Read error: Connection reset by peer]
JaakkoLuttinen[m has quit [Write error: Connection reset by peer]
craige[m] has quit [Write error: Connection reset by peer]
das-g[m] has quit [Write error: Connection reset by peer]
EuAndreh[m] has quit [Read error: Connection reset by peer]
rnhmjoj has quit [Write error: Connection reset by peer]
coniferous-cube[ has quit [Read error: Connection reset by peer]
ptival[m] has quit [Remote host closed the connection]
Minijackson[m] has quit [Write error: Connection reset by peer]
dtz has quit [Write error: Connection reset by peer]
rycee has quit [Write error: Connection reset by peer]
sphalerit has quit [Write error: Connection reset by peer]
timclassic has quit [Remote host closed the connection]
wrunt[m] has quit [Write error: Connection reset by peer]
hr[m] has quit [Write error: Connection reset by peer]
arturo[m] has quit [Write error: Connection reset by peer]
steshaw[m] has quit [Write error: Connection reset by peer]
yangm has quit [Write error: Connection reset by peer]
ronny has quit [Write error: Connection reset by peer]
peel has quit [Write error: Connection reset by peer]
nilsirl[m] has quit [Write error: Connection reset by peer]
IslandUsurper has quit [Write error: Connection reset by peer]
marius851000[m] has quit [Write error: Connection reset by peer]
neonfuz2 has quit [Write error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
tobim[m] has quit [Remote host closed the connection]
bpye has quit [Remote host closed the connection]
arianvp[m] has quit [Remote host closed the connection]
Tony[m]3 has quit [Remote host closed the connection]
NickHu has quit [Read error: Connection reset by peer]
manveru[m] has quit [Read error: Connection reset by peer]
bohan[m] has quit [Read error: Connection reset by peer]
roadt[m] has quit [Read error: Connection reset by peer]
Nyanloutre[m] has quit [Read error: Connection reset by peer]
MerlinGttlinger[ has quit [Read error: Connection reset by peer]
nh2[m] has quit [Read error: Connection reset by peer]
Thinkofname[m] has quit [Read error: Connection reset by peer]
tokudan[m] has quit [Read error: Connection reset by peer]
sauyon[m] has quit [Read error: Connection reset by peer]
LinuXit has quit [Read error: Connection reset by peer]
timokau[m] has quit [Read error: Connection reset by peer]
contrun[m] has quit [Read error: Connection reset by peer]
Smith[m] has quit [Read error: Connection reset by peer]
thequux[m] has quit [Read error: Connection reset by peer]
TravisRt2botio[m has quit [Read error: Connection reset by peer]
balsoft[m] has quit [Read error: Connection reset by peer]
alxev[m] has quit [Read error: Connection reset by peer]
fulgjon has quit [Read error: Connection reset by peer]
ninjatrappeur[m] has quit [Read error: Connection reset by peer]
pingveno[m] has quit [Write error: Connection reset by peer]
zurdo has quit [Read error: Connection reset by peer]
v0id72[m] has quit [Remote host closed the connection]
mariusz-kowalski has quit [Remote host closed the connection]
fidgetspinoza[m] has quit [Remote host closed the connection]
alexarice[m] has quit [Remote host closed the connection]
ejpcmac has quit [Write error: Connection reset by peer]
luftmensch[m] has quit [Read error: Connection reset by peer]
sylvie[m] has quit [Read error: Connection reset by peer]
worldofpeace has quit [Read error: Connection reset by peer]
divansantana has quit [Write error: Connection reset by peer]
bee[m]1 has quit [Write error: Connection reset by peer]
b-m-f[m] has quit [Read error: Connection reset by peer]
yoho[m]1 has quit [Read error: Connection reset by peer]
MayeulC_backup has quit [Write error: Connection reset by peer]
vvbb[m] has quit [Remote host closed the connection]
Ralith has quit [Write error: Connection reset by peer]
Ox4A6F has quit [Write error: Connection reset by peer]
ilya-fedin has quit [Remote host closed the connection]
groggy[m] has quit [Read error: Connection reset by peer]
Guest16074 has quit [Read error: Connection reset by peer]
tyx2q[m] has quit [Read error: Connection reset by peer]
jschievink has quit [Read error: Connection reset by peer]
ptotter[m] has quit [Read error: Connection reset by peer]
spacekitteh[m] has quit [Write error: Connection reset by peer]
eqyiel has quit [Read error: Connection reset by peer]
Moredread[m] has quit [Read error: Connection reset by peer]
corpix[m] has quit [Read error: Connection reset by peer]
imj[m] has quit [Remote host closed the connection]
goibhniu has quit [Remote host closed the connection]
Seb[m] has quit [Remote host closed the connection]
wangoe[m] has quit [Read error: Connection reset by peer]
smolboye[m] has quit [Remote host closed the connection]
hackeryarn[m] has quit [Remote host closed the connection]
fasd has quit [Remote host closed the connection]
grim_reaper[m] has quit [Remote host closed the connection]
NfixEstrada[m] has quit [Remote host closed the connection]
schmittlauch[m]1 has quit [Remote host closed the connection]
xbreak[m] has quit [Remote host closed the connection]
Yakulu[m] has quit [Remote host closed the connection]
elais[m] has quit [Remote host closed the connection]
klbrn[m] has quit [Remote host closed the connection]
joelpet1 has quit [Remote host closed the connection]
simbergm has quit [Read error: Connection reset by peer]
rihardsk[m] has quit [Read error: Connection reset by peer]
Brio[m] has quit [Read error: Connection reset by peer]
haslersn has quit [Read error: Connection reset by peer]
olejorgenb[m] has quit [Read error: Connection reset by peer]
tejok[m] has quit [Remote host closed the connection]
bendlas has quit [Remote host closed the connection]
macerbi[m] has quit [Write error: Connection reset by peer]
escaP[m] has quit [Write error: Connection reset by peer]
codyopel has quit [Write error: Connection reset by peer]
pinage404[m] has quit [Remote host closed the connection]
Noughtmare[m] has quit [Write error: Connection reset by peer]
abbafei[m] has quit [Read error: Connection reset by peer]
zmlww[m] has quit [Write error: Connection reset by peer]
bachp has quit [Write error: Connection reset by peer]
Fabian[m]3 has quit [Remote host closed the connection]
HappyEnt[m] has quit [Remote host closed the connection]
vxzero[m] has quit [Remote host closed the connection]
Shyim[m] has quit [Remote host closed the connection]
infinisil-m has quit [Remote host closed the connection]
jonreeve[m] has quit [Remote host closed the connection]
kxlljoyy[m] has quit [Remote host closed the connection]
provessor[m] has quit [Remote host closed the connection]
balsoft has quit [Remote host closed the connection]
RobinKroonen[m] has quit [Remote host closed the connection]
bkl[m] has quit [Write error: Connection reset by peer]
musicmatze has quit [Write error: Connection reset by peer]
li_matrix has quit [Write error: Connection reset by peer]
MilkManzJourDadd has quit [Read error: Connection reset by peer]
chuzz_ has quit [Write error: Connection reset by peer]
wak-work has quit [Write error: Connection reset by peer]
frislie[m] has quit [Write error: Connection reset by peer]
jonge[m] has quit [Write error: Connection reset by peer]
zmlww[m]1 has quit [Write error: Connection reset by peer]
hpfr[m] has quit [Write error: Connection reset by peer]
cornu has quit [Write error: Connection reset by peer]
vdot0x23[m] has quit [Remote host closed the connection]
jak[m] has quit [Remote host closed the connection]
abbec has quit [Write error: Connection reset by peer]
kaychaks[m] has quit [Write error: Connection reset by peer]
alj[m] has quit [Write error: Connection reset by peer]
sm[m] has quit [Write error: Connection reset by peer]
matthewbauer has quit [Write error: Connection reset by peer]
BinkyTheClown has quit [Write error: Connection reset by peer]
Lisanna[m] has quit [Write error: Connection reset by peer]
zaphar_ps[m] has quit [Write error: Connection reset by peer]
pachacuti[m] has quit [Write error: Connection reset by peer]
danielrf[m] has quit [Write error: Connection reset by peer]
dwagenk has quit [Write error: Broken pipe]
aquarial has quit [Write error: Connection reset by peer]
laas has quit [Write error: Connection reset by peer]
M0ddba11[m] has quit [Write error: Connection reset by peer]
harkenedraven has quit [Write error: Connection reset by peer]
am3on[m] has quit [Write error: Connection reset by peer]
v88m has quit [Read error: Connection reset by peer]
emptyfl4sk has quit [Quit: WeeChat 2.5]
dominicusin[m] has quit [Remote host closed the connection]
ffl^ has quit [Max SendQ exceeded]
y0x3y[m] has quit [Remote host closed the connection]
Diamaths[m] has quit [Remote host closed the connection]
bkchr has quit [Remote host closed the connection]
kyleondy[m] has quit [Remote host closed the connection]
jwaksbaum[m] has quit [Remote host closed the connection]
KarelWDingeldey[ has quit [Remote host closed the connection]
freddie_freeload has quit [Remote host closed the connection]
gspia[m] has quit [Remote host closed the connection]
submoo[m] has quit [Remote host closed the connection]
sputny[m] has quit [Remote host closed the connection]
iceychris[m] has quit [Remote host closed the connection]
hiroshi[m] has quit [Write error: Broken pipe]
vaibhavsagar has quit [Write error: Connection reset by peer]
fgaz has quit [Write error: Broken pipe]
MarkOtaris has quit [Remote host closed the connection]
weebull[m] has quit [Write error: Connection reset by peer]
alienpirate5 has quit [Write error: Connection reset by peer]
tails[m] has quit [Write error: Broken pipe]
ArtemVorotnikov[ has quit [Write error: Connection reset by peer]
nocent has quit [Read error: Connection reset by peer]
momack2[m] has quit [Write error: Connection reset by peer]
regnat[m] has quit [Remote host closed the connection]
VaNilLa[m] has quit [Write error: Connection reset by peer]
arcnmx has quit [Write error: Connection reset by peer]
slabity has quit [Write error: Broken pipe]
copy` has quit [Write error: Connection reset by peer]
colemickens has quit [Write error: Broken pipe]
clefru has quit [Write error: Connection reset by peer]
truby has quit [Write error: Connection reset by peer]
craigevil[m] has quit [Write error: Connection reset by peer]
<kleisli> ??
<kleisli> that was a lot of disconnects
<clever> matrix went down
<clever> so every single user that relays thru matrix disconnects at once
<kleisli> ah
mexisme has quit [Ping timeout: 276 seconds]
ffl^ has joined #nixos
<kleisli> maurer: do you know a working ocaml package that uses a shared lib that i can look at?
<zfnmxt> every single user that uses the matrix homserver as their homeserver :^)
<clever> zfnmxt: ah, you can self-host to avoid that spam?
<zfnmxt> Or, I guess, joined using the matrix-hosted bridge
<clever> i just run irssi under screen on my own hardware
<zfnmxt> clever: I'm pretty sure you can self-host IRC bridges, yeah
<clever> ah
<clever> that would reduce the spamage
<alex``> tilpner: these derivations will be built:
<alex``> /nix/store/wx6w91cvwd9mj7llzv3bmg29slvabf85-chromium-76.0.3809.132.drv
<alex``> it means it will built the whole chromium source code?
<maurer> kleisli: The key thing is that using "buildOcaml" in theory sets up all the .so stuff correctly automatically
<alex``> why does it built instead of just fetching
<maurer> If it turns out that cryptokit is doing something custom (upon cursory inspection it doesn't look like it), you can do something manual like what I had to do with bap
dongrappa has joined #nixos
jgt1 has joined #nixos
<alex``> could be because of this setting?
<alex``> nixpkgs.config.chromium = {
<alex``> enablePepperFlash = true;
<alex``> }
<maurer> Yes.
<maurer> If you set configuration flags for a package other than the default, it is not likely to be what is built on the cache.
<alex``> I didn’t know it would compile the whole chromium just for flash
<clever> some of the browser flags are setup to not cause a rebuild, that may be a bug in the pepper flash option
<maurer> We could add a target to hydra to resolve that, but that seems unlikely since flash support *at all* for chromium is deprecated and slated to be hard-killed in 2020
<maralorn> I use a lot of (niv managed) urls for ifd. Is there a way to prevent them from being gc'd?
<clever> maralorn: write a derivation that will map over every one of them, and create a text file with every url, then nix-build it and keep the symlink it makes
knupfer has quit [Ping timeout: 245 seconds]
<maralorn> clever: Makes sense.
jtojnar has quit [Ping timeout: 246 seconds]
<maralorn> clever: I'll just include a symlink to every derivation in /etc/nix-path via my system-config.
<eraserhd> buildGoModule doesn't honor postPatch?? What to do?
jtojnar has joined #nixos
<clever> eraserhd: run `nix show-derivation` on the drv file, does it have a patchPhase?
jgt1 has quit [Ping timeout: 264 seconds]
<eraserhd> clever: no patchPhase.
<clever> eraserhd: phases? buildCommand?
dongrappa has quit [Ping timeout: 252 seconds]
<alex``> eraserhd hey o/
<eraserhd> no phases, no buildCommand, looks like default builder... https://gist.github.com/eraserhd/602084ec41580f56913effd0015d61d5
* alex`` kak'tap eraserhd
Myhlamaeus1 has quit [Remote host closed the connection]
<clever> eraserhd: i would expect that to work then, what is it doing when building?
<clever> eraserhd: since patches is empty, you can also just use patchPhase directly
<eraserhd> aha... it seems to make two derivations, one downloads all the modules, the other does the noraml building. So if the problem is that it is trying for a no-longer-accessible module, you can't apply a patch to the go.mod.
<eraserhd> Because the patch is applied too late, and the "downloader" fails.
Myhlamaeus1 has joined #nixos
o1lo01ol1o has joined #nixos
kleisli has quit [Ping timeout: 245 seconds]
Myhlamaeus1 has quit [Remote host closed the connection]
drakonis has joined #nixos
Myhlamaeus1 has joined #nixos
tyrion-mx has joined #nixos
ffl^ has quit []
nuh^ has joined #nixos
<alex``> how nixos-rebuild can retry downloading when falling because of networking?
<alex``> 200 timeout
<alex``> I have this multiple times
v88m has joined #nixos
gxt has joined #nixos
<andi-> s -la
alex`` has quit [Quit: WeeChat 2.5]
<fresheyeball> clever: do you know how to make it so the `jenkins` user can use ssh substituters?
<fresheyeball> I get Broken Pipe right now
Denommus has joined #nixos
<clever> fresheyeball: it should be going thru nix-daemon, and using root to do the ssh
<benley> is it my imagination that nixos-rebuild got a LOT more verbose recently?
<tyrion-mx> Hello, I installed `lxqt-notificationd` and I noticed it is not started automatically. On the ArchWiki I read that I can make it autostart, by editing `$XDG_DATA_HOME/dbus-1/services`. How does it work with nixos? Should I set `$XDG_DATA_HOME` to `~/.local/share` and put it there?
<benley> or maybe just nix-build in general? Normally I don't see a trillion "linking '/nix/store/alsdkfjalksdfjlkadfsjkl' to '/nix/store/.links/alskdjflasjdfkladlsfkjlakjsdfsadf'" messages fly by when I do a build
<benley> but today my terminal is exploding with them
<clever> benley: did you use -v?
<benley> Nope
<clever> benley: or auto-optimize?
<benley> auto-optimise, yes
<benley> but I've had that on for years
<clever> benley: ah, maybe some verbosity with it has changed, and nobody else has noticed, because they have it off
<benley> I've been wondering why auto-optimize isn't enabled by default. Does it affect performance too much?
<clever> benley: it requires reading and hashing the entire $out twice, once for the narhash, then again for the links
<clever> benley: and checking for a single hardlink in a dir with millions of files can suffer on some filesystems
<fresheyeball> clever: if I ssh into the server and cd to the jenkins workspace as root
<clever> benley: also, on ext4 there is a max of 65535 hardlinks for a single file, ive seen 2 instances of a file failing to hardlink
<fresheyeball> I can build, and it pulls from cache
<fresheyeball> if I sudo su - jenkins
<benley> interesting
<fresheyeball> I get broken pipe
<clever> fresheyeball: sudo -u jenkins -i
<clever> fresheyeball: also, is trusted-users or other users flags set in nix.conf? can it build anything at all?
<clever> fresheyeball: allowed-users also
<fresheyeball> clever: the thing is jenkins had been building just fine for a long time
<fresheyeball> its only started having a problem when I added an ssh substituter
<benley> well ... if this is the new normal I'm going to have to turn off auto-optimize just because it's making my terminal consume 100% CPU
<clever> fresheyeball: check the journal for nix-daemon?
<fresheyeball> clever: https://www.lpaste.com/kUervUjaus
<fresheyeball> this is interesting
M0ddba11[m] has joined #nixos
is0x3F has joined #nixos
vvbb[m] has joined #nixos
cornu has joined #nixos
Ox4A6F has joined #nixos
MiloIgnis[m] has joined #nixos
laas has joined #nixos
MilkManzJourDadd has joined #nixos
Noughtmare[m] has joined #nixos
Minijackson[m] has joined #nixos
EuAndreh[m] has joined #nixos
fulgjon has joined #nixos
zurdo has joined #nixos
Ericson2314 has joined #nixos
abbafei[m] has joined #nixos
abbradar[m] has joined #nixos
abbec has joined #nixos
alienpirate5 has joined #nixos
alexarice[m] has joined #nixos
hackeryarn[m] has joined #nixos
atopuzov[m] has joined #nixos
aterius has joined #nixos
alj[m] has joined #nixos
am3on[m] has joined #nixos
arturo[m] has joined #nixos
alxev[m] has joined #nixos
aquarial has joined #nixos
arcnmx has joined #nixos
attente[m] has joined #nixos
bennofs[m] has joined #nixos
bachp has joined #nixos
Guest92011 has joined #nixos
balsoft has joined #nixos
b-m-f[m] has joined #nixos
bendlas has joined #nixos
balsoft[m] has joined #nixos
bohan[m] has joined #nixos
bikki[m] has joined #nixos
blitzclone_ has joined #nixos
bkl[m] has joined #nixos
v88m has quit [Read error: Connection reset by peer]
chuzz_ has joined #nixos
Brio[m] has joined #nixos
clacke[m] has joined #nixos
colemickens has joined #nixos
clefru has joined #nixos
corpix[m] has joined #nixos
VaNilLa[m] has joined #nixos
ndarwincorn has joined #nixos
copy` has joined #nixos
craigevil[m] has joined #nixos
coniferous-cube[ has joined #nixos
craige[m] has joined #nixos
cyberwolf[m] has joined #nixos
danielrf[m] has joined #nixos
Dandellion[m] has joined #nixos
BinkyTheClown has joined #nixos
DanP[m] has joined #nixos
divansantana has joined #nixos
dtz has joined #nixos
dwagenk has joined #nixos
das-g[m] has joined #nixos
domenkozar[m] has joined #nixos
dominicusin[m] has joined #nixos
fendor_ has quit [Ping timeout: 240 seconds]
escaP[m] has joined #nixos
RobinKroonen[m] has joined #nixos
fgaz has joined #nixos
frederic_chopwn[ has joined #nixos
florianjacob has joined #nixos
frislie[m] has joined #nixos
goibhniu has joined #nixos
tails[m] has joined #nixos
hr[m] has joined #nixos
hiroshi[m] has joined #nixos
harkenedraven has joined #nixos
iceychris[m] has joined #nixos
icetan has joined #nixos
MichaelEden[m] has joined #nixos
ilya-fedin has joined #nixos
imj[m] has joined #nixos
hpfr[m] has joined #nixos
codyopel has joined #nixos
IslandUsurper has joined #nixos
isgy[m] has joined #nixos
joepie91[m] has joined #nixos
JaakkoLuttinen[m has joined #nixos
joelpet1 has joined #nixos
jak[m] has joined #nixos
jonge[m] has joined #nixos
anton-latukha[m] has joined #nixos
ajirx[m] has joined #nixos
kaychaks[m] has joined #nixos
ejpcmac has joined #nixos
layus[m] has joined #nixos
ctrl_shift_smtng has joined #nixos
jschievink has joined #nixos
aymenstudios[m] has joined #nixos
badmutex[m] has joined #nixos
macerbi[m] has joined #nixos
manveru[m] has joined #nixos
ma27[m] has joined #nixos
malteof[m] has joined #nixos
Lisanna[m] has joined #nixos
luftmensch[m] has joined #nixos
li_matrix has joined #nixos
LinuXit has joined #nixos
bricewge has joined #nixos
marius851000[m] has joined #nixos
arianvp[m] has joined #nixos
bkchr has joined #nixos
Thinkofname[m] has joined #nixos
simbergm has joined #nixos
mildred has joined #nixos
MarkOtaris has joined #nixos
MerlinGttlinger[ has joined #nixos
Moredread[m] has joined #nixos
MayeulC_backup has joined #nixos
matthewbauer has joined #nixos
bnasty[m] has joined #nixos
cab404[m] has joined #nixos
momack2[m] has joined #nixos
bpye has joined #nixos
bikki[m]1 has joined #nixos
fasd has joined #nixos
nocent has joined #nixos
musicmatze has joined #nixos
neonfuz2 has joined #nixos
nilsirl[m] has joined #nixos
NickHu has joined #nixos
ninjatrappeur[m] has joined #nixos
nh2[m] has joined #nixos
cgm[m] has joined #nixos
boredom101[m]1 has joined #nixos
peel has joined #nixos
otini has joined #nixos
pachacuti[m] has joined #nixos
Nyanloutre[m] has joined #nixos
olejorgenb[m] has joined #nixos
Notkea[m] has joined #nixos
philipp[m] has joined #nixos
ck3d[m] has joined #nixos
rihardsk[m] has joined #nixos
ptotter[m] has joined #nixos
ptival[m] has joined #nixos
pingveno[m] has joined #nixos
roadt[m] has joined #nixos
quiet_laika[m] has joined #nixos
Ralith has joined #nixos
eqyiel has joined #nixos
pinage404[m] has joined #nixos
Diamaths[m] has joined #nixos
elais[m] has joined #nixos
haslersn has joined #nixos
schmittlauch[m] has joined #nixos
roberth has joined #nixos
rycee has joined #nixos
Seb[m] has joined #nixos
GerdFlaig[m] has joined #nixos
ronny has joined #nixos
sauyon[m] has joined #nixos
grahamc[m] has joined #nixos
fidgetspinoza[m] has joined #nixos
Dan[m]8 has joined #nixos
sphalerit has joined #nixos
sm[m] has joined #nixos
freddie_freeload has joined #nixos
slabity has joined #nixos
spacekitteh[m] has joined #nixos
siraben has joined #nixos
snupples[m] has joined #nixos
steshaw[m] has joined #nixos
Smith[m] has joined #nixos
HappyEnt[m] has joined #nixos
gspia[m] has joined #nixos
flip[m]1 has joined #nixos
grim_reaper[m] has joined #nixos
tokudan[m] has joined #nixos
sylvie[m] has joined #nixos
midi[m] has joined #nixos
thefloweringash has joined #nixos
tejok[m] has joined #nixos
Christian[m]5 has joined #nixos
groggy[m] has joined #nixos
gudea[m] has joined #nixos
timclassic has joined #nixos
truby has joined #nixos
TravisRt2botio[m has joined #nixos
regnat[m] has joined #nixos
bee[m]1 has joined #nixos
thequux[m] has joined #nixos
timokau[m] has joined #nixos
info_supplicant[ has joined #nixos
jwaksbaum[m] has joined #nixos
Fabian[m]3 has joined #nixos
jonreeve[m] has joined #nixos
infinisil-m has joined #nixos
Victor[m]2 has joined #nixos
vaibhavsagar has joined #nixos
contrun[m] has joined #nixos
tyx2q[m] has joined #nixos
ArtemVorotnikov[ has joined #nixos
Vskilet has joined #nixos
KarelWDingeldey[ has joined #nixos
kxlljoyy[m] has joined #nixos
xavierm02 has joined #nixos
wrunt[m] has joined #nixos
white_bluff[m] has joined #nixos
wak-work has joined #nixos
kyleondy[m] has joined #nixos
wangoe[m] has joined #nixos
weebull[m] has joined #nixos
worldofpeace has joined #nixos
klbrn[m] has joined #nixos
mariusz-kowalski has joined #nixos
zmlww[m] has joined #nixos
zmlww[m]1 has joined #nixos
sierraDelta has joined #nixos
Yakulu[m] has joined #nixos
yangm has joined #nixos
yoho[m]1 has joined #nixos
zaphar_ps[m] has joined #nixos
NfixEstrada[m] has joined #nixos
alex[m]14 has joined #nixos
nobbo[m] has joined #nixos
orospakr[m] has joined #nixos
rnhmjoj has joined #nixos
peterhoeg[m] has joined #nixos
provessor[m] has joined #nixos
pop[m]1 has joined #nixos
smolboye[m] has joined #nixos
Shyim[m] has joined #nixos
seekerus3r[m] has joined #nixos
sputny[m] has joined #nixos
schmittlauch[m]1 has joined #nixos
submoo[m] has joined #nixos
syntaxtree[m] has joined #nixos
stalker254[m] has joined #nixos
tindvik[m] has joined #nixos
tonic0x539[m] has joined #nixos
v0id72[m] has joined #nixos
tobim[m] has joined #nixos
wildtrees[m] has joined #nixos
Woland[m] has joined #nixos
vdot0x23[m] has joined #nixos
vxzero[m] has joined #nixos
y0x3y[m] has joined #nixos
xbreak[m] has joined #nixos
Gopal[m] has joined #nixos
Tony[m]3 has joined #nixos
ZD[m] has joined #nixos
noudle has left #nixos [#nixos]
<clever> fresheyeball: nix-store is not in the PATH on the remote machine your ssh'ing into
<fresheyeball> clever: what do you mean?
<fresheyeball> the same command works if I am root
<clever> fresheyeball: `ssh nix-serve@fresheyeball.com nix-store --version`
<clever> what does that do?
<fresheyeball> clever: if I use nix-serve as the user, it's permission denied
<fresheyeball> but if I use `nix-ssh`
<fresheyeball> it just hangs
Denommus has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<clever> fresheyeball: add -i and the private key, to the command i last gave
<fresheyeball> if I run NIXPKGS_ALLOW_UNFREE=1 nix-build as root
<fresheyeball> it connects to the cache and starts downloading
<elvishjerricco> Is there a meaningful difference between `builtins.fetchurl` and `import <nix/fetchurl.nix>`?
jgt1 has joined #nixos
<fresheyeball> clever: what do you mean by add the private key?
<fresheyeball> which one?
<clever> fresheyeball: ah, if your not setting one, then disable the ssh agent, `unset SSH_AUTH_SOCK` i think
<clever> elvishjerricco: nix/fetchurl.nix will create a derivation, that can then download things in parallel
<clever> elvishjerricco: but builtins.fetchurl downloads it at eval time, in a single-threaded way
<fresheyeball> elvishjerricco: hey dude
<elvishjerricco> Huh, that's interesting. So should it be preferred over `builtins.fetchurl`?
<elvishjerricco> hello!
<clever> elvishjerricco: yeah
knupfer has joined #nixos
<elvishjerricco> TIL. Very good to know
<fresheyeball> clever: so I think it should be using that key already
<fresheyeball> its the default root ssh key
abathur has joined #nixos
<clever> fresheyeball: run `strace -f -e execve -p <PID>` on the pid of nix-daemon, then do another build under jenkins
<clever> fresheyeball: what args does it run ssh with?
<fresheyeball> clever: its just running nix-build
jgt1 has quit [Ping timeout: 276 seconds]
<fresheyeball> is there a way it can have different args?
<clever> fresheyeball: the ssh wont be running nix-build on the remote end, we need the exact args nix-daemon used
kleisli has joined #nixos
<fresheyeball> ["ssh", "nix-ssh@fresheyeball.com", "-x", "-a", "nix-store --serve --write"]
<fresheyeball> clever: ^^
<clever> fresheyeball: now run that ssh yourself, as root
<fresheyeball> ssh nix-ssh@fresheyeball.com -x -a nix-store --serve --write -vvv
dbyte has quit [Read error: Connection reset by peer]
<fresheyeball> just hangs
<fresheyeball> lets see if the command is different if I run as root
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
<clever> fresheyeball: its waiting for a nix level protocol msg
<elvishjerricco> It ought to hang, right?
<clever> yeah
dbyte has joined #nixos
<fresheyeball> ok
<fresheyeball> [pid 11234] execve("/nix/store/si8adck21xj42dm1h5k7zf3x6x9dv5fg-systemd-237/sbin/ssh", ["ssh", "nix-ssh@fresheyeball.com", "-x", "-a", "nix-store --serve --write"], 0x7fff08394400 /* 10 vars */) = -1 ENOENT (No such file or directory)
<fresheyeball> that is the whole line
<fresheyeball> that is with running the build as jenkins
<elvishjerricco> wait why is ssh in the systemd package lol
<fresheyeball> strangly when I build as root, I see no additional output in strace
<elvishjerricco> fresheyeball: anyway is your client a nixos machine?
<fresheyeball> both are nixos
<clever> fresheyeball: is it trying to execute ssh multiple times?
<clever> fresheyeball: and for root, you need to strace the nix-build process itself
<clever> if nix-build can write to /nix/store, it wont contact nix-daemon
<elvishjerricco> I wonder if the fact that the daemon has a fairly pristine set of environment variables would have anything to do with it
domogled has quit [Quit: domogled]
<clever> fresheyeball: you should see multiple execve's for ssh, until it finds the binary
dbyte has quit [Read error: Connection reset by peer]
<fresheyeball> strace when root, showing success
<clever> yeah, lines 11-16, its just testing for ssh in every entry of $PATH
<clever> until one works
dbyte has joined #nixos
<elvishjerricco> fresheyeball: Wait... does the path `/nix/store/si8adck21xj42dm1h5k7zf3x6x9dv5fg-systemd-237/sbin/ssh` even exist?
<fresheyeball> this is a full strace from running the same command
<fresheyeball> but as jenkins at it failing
dbyte has quit [Read error: Connection reset by peer]
<elvishjerricco> Yea, looks like ssh isn't on PATH for the daemon
<fresheyeball> elvishjerricco: yes, obviously since it succeededs using the path when run as root
justbeingglad has joined #nixos
dbyte has joined #nixos
domogled has joined #nixos
<fresheyeball> I don't get it!
<fresheyeball> failure: https://www.lpaste.com/73UOKvhQ42
<fresheyeball> success: https://www.lpaste.com/73UOKvhQ42
<clever> systemd.services.<name>.path
<clever> Packages added to the service's PATH environment variable. Both the bin and sbin subdirectories of each package are added.
<fresheyeball> they look identical to me in what is getting executed
<clever> fresheyeball: you can use this to add ssh to the PATH of nix-daemon
Myhlamaeus1 has quit [Ping timeout: 240 seconds]
<clever> fresheyeball: you pasted the same link twice, of course they look identical!
<fresheyeball> sorry
<fresheyeball> failure: https://www.lpaste.com/73UOKvhQ42
<fresheyeball> success: https://www.lpaste.com/eFpi3tM5OR
<clever> fresheyeball: try adding systemd.services.nix-daemon.path = [ pkgs.ssh ]; to configuration.nix
<elvishjerricco> clever: Wait, I thought ssh stores were a userspace thing, not a daemon thing. Like I thought it'd be my user process invoking the ssh command, not the daemon
<fresheyeball> elvishjerricco: you had it
<fresheyeball> that path is NOT there
<clever> elvishjerricco: when using a binary cache, it has to be a trusted process, because the path your downloading could be a trojaned copy of sudo
<fresheyeball> ok
<clever> elvishjerricco: if you are not listed as a trusted-user, then nix-daemon has to do things, to enforce the rules
<fresheyeball> clever: What would be the <name> in systemd.services.<name>.path ?
<elvishjerricco> Wouldn't importing the nar with a valid signature be sufficient?
<clever> fresheyeball: nix-daemon
<fresheyeball> clever: and what is it's type?
<clever> elvishjerricco: and then there is issues like how to you configure which user owns the ssh priv key
<fresheyeball> just a string?
<clever> 2019-09-13 19:02:45 < clever> fresheyeball: try adding systemd.services.nix-daemon.path = [ pkgs.ssh ]; to configuration.nix
<fresheyeball> ok
<fresheyeball> ok I see
asymptotically has quit [Quit: Leaving]
juhe has quit [Remote host closed the connection]
NightTrain has joined #nixos
<fresheyeball> grr
<fresheyeball> what pacakges has the ssh binary?
<fresheyeball> pkgs.openssh?
<elvishjerricco> fresheyeball: `which ssh`; the name in the nix store path is usually identical or close to the package name in nixpkgs.
<elvishjerricco> And yea, pkgs.openssh
<elvishjerricco> er, `readlink -f $(which ssh)`
Myhlamaeus1 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<iqubic> What's a good way to get an idris development evironment up and running on nixos?
dbyte has quit [Ping timeout: 240 seconds]
<fresheyeball> woot!
<fresheyeball> clever: elvishjerricco: that looks to have done it
<fresheyeball> now to run it in actual jenkins
dbyte has joined #nixos
<fresheyeball> YESSS!!!!
<fresheyeball> elvishjerricco++
<fresheyeball> clever++
<infinisil> (The bot is on vacation)
<fresheyeball> FINALLY the bidirectional caching works entirely
<fresheyeball> this cuts my deploy pain from 1.5 hours to 10 minutes
__monty__ has quit [Quit: leaving]
<fresheyeball> infinisil: haha
<fresheyeball> still this was a TON of learning for me
<fresheyeball> and I really appricate the help
<fresheyeball> the improvement to my life that moving nix-store things around is providing is pretty huge
o1lo01ol1o has joined #nixos
<infinisil> Hm I'd like to have substitutes between machines working too
hmpffff has joined #nixos
<infinisil> That would be nice
<fresheyeball> infinisil: I set up bidirectional subsitutation of my personal build machine
abathur has quit [Ping timeout: 276 seconds]
<fresheyeball> which is running gitlab runner
<fresheyeball> and is in my house
<fresheyeball> I then set it up with a jenkins box for a project
<fresheyeball> and the build machine we use at work
<fresheyeball> the jenkins was the last one to function
<fresheyeball> but now its glorious
<fresheyeball> like truely glorious
<fresheyeball> I also had to go through with nix-diff
<fresheyeball> and diagnose and resolve all cache misses
<fresheyeball> but now that its clean on all my projects
<fresheyeball> I am save SO MUCH TIME
<fresheyeball> if I built it on my workstation, ci downloads it
<fresheyeball> the MR merges
<fresheyeball> and because nix-diff clean
<fresheyeball> no rebuild
<fresheyeball> if it build previous on ci, my workstation downloads it
<fresheyeball> and since my personal box is connected to mulitple projects, there is just goodness all around
<fresheyeball> what would be even better is if I could spoke and wheel this
<fresheyeball> where some centeral cache hub forwards lookups to other systems
<fresheyeball> right now if lets say its build on my personal ci box
<fresheyeball> but not work's ci box
<clever> fresheyeball: cachecache
<fresheyeball> and not my workstation
<fresheyeball> work ci wont query my workstation and get forwarded onto my personal ci box
<fresheyeball> what really?
<fresheyeball> this is already a thing!
<clever> fresheyeball: currently, it only supports http caches, so you would have to switch over to nix-serve
<clever> and it will cache the entire nar.xz file
<fresheyeball> nah I need to have keys
<fresheyeball> these are not public caches
m15k has joined #nixos
<infinisil> clever: You still need a readme for that mate!
<clever> infinisil: yeah
domogled has quit [Ping timeout: 245 seconds]
<m15k> Do I get it right: nixpkgs branch releases-19.03 is the base for what's available via nix-channel 19.03?
jgt1 has joined #nixos
sigmundv_ has joined #nixos
bgamari has quit [Remote host closed the connection]
bgamari has joined #nixos
domogled has joined #nixos
<infinisil> m15k: release-19.03 git branch for the nixos-19.09 channel
sigmundv__ has quit [Ping timeout: 245 seconds]
<m15k> So which branch is used for 19.03?
jgt1 has quit [Ping timeout: 276 seconds]
tyrion-mx has quit [Remote host closed the connection]
<infinisil> Oh sorry I meant nixos-19.03
<infinisil> release-19.03 for nixos-19.03
Rusty1 has joined #nixos
<qyliss> (from https://github.com/NixOS/nixpkgs-channels, not the main repo)
<m15k> And there's an expression which generates nixexprs.tar.xz?
Myhlamaeus1 has quit [Ping timeout: 265 seconds]
<clever> m15k: yes
<clever> m15k: its in release.nix i believe
<infinisil> qyliss: Well the release-* branches are on the main repo, but yeah there's nixos-* branches on the channels repo
jgeerds has quit [Ping timeout: 276 seconds]
Fendor has quit [Quit: Leaving]
<qyliss> Yeah I started typing before your message about release-19.03 came through
domogled has quit [Ping timeout: 265 seconds]
<m15k> Thanks!
<m15k> Is it a stupid idea to "mount" nixpkgs as resource for nixos-rebuild for development purposes?
<iqubic> I would like to create a shell.nix for idris development. How could I easily go about doing that?
selfsymmetric-mu has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
evanjs- has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs- has joined #nixos
<bsima> iqubic: the simple answer is 'nix-shell -p idrisPackages.yaml'
<infinisil> iqubic: Did you read the idris section in the manual?
<iqubic> I didn't know there was an idris section.
sigmundv_ has quit [Ping timeout: 265 seconds]
ng0 has quit [Ping timeout: 260 seconds]
rxf4el has joined #nixos
rxf4el has quit [Client Quit]
ng0 has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
hmpffff has quit [Quit: nchrrrr…]
jgt1 has joined #nixos
evanjs- has quit [Ping timeout: 245 seconds]
jgt1 has quit [Ping timeout: 246 seconds]
emptyflask has joined #nixos
srid[m] has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
mounty has quit [Read error: Connection reset by peer]
Ariakenom has quit [Quit: Leaving]
kleisli has quit [Ping timeout: 250 seconds]
tyrion-mx has joined #nixos
<tyrion-mx> Does anybody know why even if I have `gnome3.gvfs.enable = true;` gvfs does not seem to be started automatically?