worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
cantstanya has quit [Remote host closed the connection]
hlisp has quit [Remote host closed the connection]
spacefrogg has joined #nixos
mbrgm has quit [Ping timeout: 244 seconds]
mbrgm has joined #nixos
spacefrogg has joined #nixos
spacefrogg has quit [Changing host]
mbrgm has joined #nixos
mbrgm has quit [Changing host]
hlisp has joined #nixos
cantstanya has joined #nixos
eoli3n_ has quit [Ping timeout: 264 seconds]
m0rphism has quit [Ping timeout: 260 seconds]
hlisp has quit [Ping timeout: 264 seconds]
proofofk_ has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<cole-h> > qt5.qtbase.version
<{^_^}> "5.12.7"
<cole-h> Welp
<{^_^}> [nixpkgs] @jtojnar merged pull request #86361 → gnomeExtensions.window-is-ready-remover: init at unstable-2020-03-25 → https://git.io/JfYMK
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfO2K
icey_ has joined #nixos
WhatisRT has quit [Ping timeout: 256 seconds]
iceypoi has quit [Ping timeout: 256 seconds]
jlv has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli opened pull request #86427 → jameica: 2.8.4 -> 2.8.6 → https://git.io/JfOav
ambroisie has joined #nixos
jgeerds_ has joined #nixos
jgeerds has quit [Ping timeout: 240 seconds]
eoli3n__ has quit [Quit: WeeChat 2.8]
ambroisie has quit [Ping timeout: 260 seconds]
thc202 has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfOa8
alp has quit [Ping timeout: 264 seconds]
qrnteen has quit [Quit: Leaving]
shibboleth has quit [Quit: shibboleth]
invra has left #nixos ["WeeChat 2.3"]
tobeportable has quit [Ping timeout: 272 seconds]
butterthebuddha has quit [Remote host closed the connection]
asbachb has quit [Remote host closed the connection]
virus_dave has quit [Quit: virus_dave]
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos
romildo has quit [Quit: Leaving]
ambroisie has joined #nixos
iyzsong has joined #nixos
Kyndig has joined #nixos
<Kyndig> when a dependency URL in a derivation expires (404 errors at all mirrors) and it is fixed on the latest nixpkgs.unstable, does the fix also get backported to the latest nixpkgs.stable?
sarcasticadmin has quit [Ping timeout: 265 seconds]
invra has joined #nixos
proofofkeags has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @flokli merged pull request #86427 → jameica: 2.8.4 -> 2.8.6 → https://git.io/JfOav
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JfOVI
proofofkeags has joined #nixos
<cole-h> I imagine you're talking about the Ninja patch 404'ing, in which case: it's already been backported to 20.03 and 19.09 IIRC
<Kyndig> right; but just wanting to understand the process.
<Kyndig> found more 404
<Kyndig> maybe i should be tracking unstable
<cole-h> Which ones?
<cole-h> Those should definitely be fixed.
<Kyndig> CVE-2017-6519-CVE-2018-100084.patch
<{^_^}> [nixpkgs] @aanderse merged pull request #83436 → nixos/mediawiki: allow using default extensions → https://git.io/Jv9w6
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JfOV3
<cole-h> Kyndig: Assuming this is the avahi patch?
<cole-h> If so: patch doesn't 404 for me.
proofofkeags has quit [Ping timeout: 256 seconds]
<simpson> Kyndig: I don't think that there's a formal policy for backports; it seems that it's up to the reviewer or committer to determine whether a backport would be appropriate. I may be totally wrong though.
iyzsong has quit [Ping timeout: 260 seconds]
<cole-h> Well, 404'ing patches should definitely be fixed. In fact, my fix for the ninja patch 404'ing was backported to 19.09 and 19.03 (which is EOL)
jgeerds_ has quit [Ping timeout: 240 seconds]
<Kyndig> sorry; wasn't prepared, trying to find referrer
invra has quit [Quit: WeeChat 2.3]
user_0x58 has quit [Read error: Connection reset by peer]
<Kyndig> nix-store -q --referrers ~/nix/store/va963i5gqgx5b68plg5xvm5d21sadzr5-CVE-2017-14160.drv says avahi
<Kyndig> i just didn't see it in error output
<Kyndig> i guess i was wondering if this is more likely to happen when the stable version of the package still uses the patch (or whatever URL resource), but the unstable version has moved on and no longer uses the patch
user_0x58 has joined #nixos
<Kyndig> like the unstable version is being tested more?
<Kyndig> since i compile from source, maybe I should be following it?
<Kyndig> seems most ppl use the cache
<Kyndig> so they aren't bothered
<Kyndig> can't believe you rememberd ninja cole-h; don't you do like tens of fixes every day?
<cole-h> Kyndig: :) I'm just that awesome.
<Kyndig> :)
<cole-h> That shouldn't be avahi, by the way
<Kyndig> hmm
<cole-h> (which does indeed 404)
<Kyndig> i see libvorbis in my output, but referrers says avahi
<Kyndig> weird
hlisp has joined #nixos
morgrimm has joined #nixos
<{^_^}> [nixpkgs] @cole-h opened pull request #86428 → qimgv: 0.8.9 -> 0.9 → https://git.io/JfOwU
<Kyndig> i think i must have something wrong with my env, because I also have an issue with nix-channel closure not including gnutar
ambroisie has quit [Ping timeout: 265 seconds]
<Kyndig> but didn't want to bring that up
<cole-h> Kyndig: But that patch definitely 404's, thanks for bringing it to my attentino
<cole-h> Fix spelling as you see fit
<Kyndig> sure; thx
morgrimm has quit [Ping timeout: 246 seconds]
shatsky has quit [Ping timeout: 240 seconds]
<jophish> What's the correct way to get a nix shell with some node packages instaled
<jophish> installed*
hlisp has quit [Ping timeout: 256 seconds]
<jophish> I don't have a package.json, so node2nix doesn't seem to work
<waleee-cl> nix-shell -p nodejsXX nodePackges.NAME ?
fragamus has joined #nixos
<jophish> waleee-cl: that's what I've been doing up to now, but I had to add these specifically to nixpkgs
<jophish> it works very well and I'd like to open a PR, however these are libraries and not executables
<waleee-cl> I haven't used node in a nix-shell, but libraries for other languages work
<jophish> yeah, the documentation for nodePackages discourages putting libraries in there (pointing to node2nix in the process)
<waleee-cl> jophish: if the libraries doesn't have system dependencies, try using npm inside the nix-shell?
<jophish> waleee-cl: good idea. I'll have to learn about npm though :)
sigmundv_ has quit [Ping timeout: 246 seconds]
braunse_ has quit [Ping timeout: 265 seconds]
braunse has joined #nixos
cr4y1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @cole-h opened pull request #86429 → libvorbis: fix 404'ing patch → https://git.io/JfOw6
<cole-h> cc Kyndig ^
gustavderdrache has quit [Quit: Leaving.]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @firmero opened pull request #86430 → gnomeExtensions: refactor pnames and derivations headers → https://git.io/JfOw5
jkachmar has joined #nixos
proofofkeags has quit [Ping timeout: 260 seconds]
foineoi has joined #nixos
h0m1 has quit [Ping timeout: 246 seconds]
<foineoi> I'm trying to use nix-shell to develop a derivation for a package. My postPatch does some substitutions. But when I enter nix-shell and run patchPhase, I'm not able to modify the source because it's a read-only file system. How am I supposed to use nix-shell in this case?
philr has joined #nixos
h0m1 has joined #nixos
hlisp has joined #nixos
jumper149 has quit [Quit: WeeChat 2.8]
jluttine has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #86277 → dnsmasq: 2.80 → 2.81 → https://git.io/Jfm5Y
<{^_^}> [nixpkgs] @andir pushed 2 commits to staging-next: https://git.io/JfOrU
philr_ has quit [Ping timeout: 264 seconds]
<clever> foineoi: unpackPhase copies the source to ., patchPhase must then modify the copy in .
<foineoi> oh yeah, I'm supposed copy the source, right? Forgot about that
hlisp has quit [Ping timeout: 240 seconds]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #86279 → [20.03] dnsmasq: 2.80 → 2.81 → https://git.io/Jfm52
<{^_^}> [nixpkgs] @andir pushed 2 commits to staging-20.03: https://git.io/JfOr3
<{^_^}> [nixpkgs] @andir merged pull request #86280 → [19.09] dnsmasq: 2.80 → 2.81 → https://git.io/Jfmdk
<{^_^}> [nixpkgs] @andir pushed 2 commits to staging-19.09: https://git.io/JfOrn
jluttine has joined #nixos
foineoi has quit [Quit: leaving]
<Raito_Bezarius> I'm in a nix-shell and it's complaining about libstdc++.so.6.0 being missing, which buildInputs am I missing?
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
hlisp has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
user_0x58 has quit [Remote host closed the connection]
rickhull has quit [Remote host closed the connection]
teto has quit [Ping timeout: 240 seconds]
<Raito_Bezarius> nevermind, makeLibraryPath done the deed
Vikingman has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
Darkmatter66_ has joined #nixos
<{^_^}> [nixpkgs] @purcell opened pull request #86431 → jackett: 0.14.365 -> 0.16.175, add aarch64 support → https://git.io/JfOo8
user_0x58 has joined #nixos
Darkmatter66 has quit [Ping timeout: 265 seconds]
aw has quit [Quit: Quitting.]
wucke13 has quit [Quit: ZNC 1.7.5 - https://znc.in]
mumuluxi has quit [Quit: ZNC 1.7.5 - https://znc.in]
aw has joined #nixos
spacefrogg has joined #nixos
mumuluxi has joined #nixos
<energizer> qyliss: i love how this page looks, where do i find the source? https://spectrum-os.org/git/nixpkgs/
wucke13 has joined #nixos
<drakonis> this is cgit
<energizer> oh
turona has quit [Ping timeout: 272 seconds]
turona has joined #nixos
jboy56 has quit [Remote host closed the connection]
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @ju1m opened pull request #86432 → libsass: fix unpacking on ZFS Nix store with normalization=formD → https://git.io/JfOKf
alexherbo2 has quit [Ping timeout: 256 seconds]
quinn has joined #nixos
<cole-h> If anybody wants to give #86428 a shot and leave a review, it would be greatly appreciated :^)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/86428 (by cole-h, 1 hour ago, open): qimgv: 0.8.9 -> 0.9
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
pjt_014 has joined #nixos
quinn has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
jonathan34 has joined #nixos
hlisp has joined #nixos
<hyper_ch> cole-h: dmesg resp. journalctl don't notice anything... accoridng to onscreen notebook reaches poweroff state but it won't get powered off and the fans become really loud
hlisp has quit [Ping timeout: 265 seconds]
Kyndig has quit [Remote host closed the connection]
<bdju> someone told me a way to find emacs packages in a nix search, but I can't seem to find it in my shell history easily. anyone know what I'm thinking of? it put me into some repl where I could tab-complete stuff, I think, then I'd know the name to put in my home.nix
<cole-h> hyper_ch: Sorry?
CMCDragonkai1 has joined #nixos
<hyper_ch> cole-h: the other day you said to check dmes/journalctl if there's anything relevant because my notebook won't power off properly
<bdju> Ah! It was nix repl I was looking for. precisely this command: nix repl '<nixpkgs>'
shafox has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
oborot has quit [Ping timeout: 264 seconds]
delroth has quit [Changing host]
delroth has joined #nixos
chagra_ has joined #nixos
chagra has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @kalbasit opened pull request #86433 → asmfmt: do not include gofmt/goimports/goreturns → https://git.io/JfO6M
hlisp has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #86374 → protobuf3_11: 3.11.3 -> 3.11.4 → https://git.io/JfYQa
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfO6Q
ddellacosta has quit [Ping timeout: 264 seconds]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @marsam merged pull request #86352 → birdtray: 1.8.0 -> 1.8.1 → https://git.io/JfYoF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfO6d
<hyper_ch> marsam is being active :)
xO1 has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
hlisp has quit [Remote host closed the connection]
wavirc22 has joined #nixos
pjt_014 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #86303 → frp: 0.32.0 -> 0.33.0 → https://git.io/JfYIl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfOiI
pjt_014 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #86306 → monolith: 2.2.2 -> 2.2.4 → https://git.io/JfYIi
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfOiL
<{^_^}> [nixpkgs] @marsam merged pull request #86298 → mu: 1.4.1 -> 1.4.3 → https://git.io/JfYTY
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfOiO
proofofkeags has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #86302 → emplace: 0.2.15 -> 0.2.19 → https://git.io/JfYIZ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfOi3
hlisp has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #73385 → kubernix: v0.2.0 → https://git.io/Jerwm
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfOic
<{^_^}> [nixpkgs] @kalbasit merged pull request #86433 → asmfmt: 1.1 -> 1.2.1; remove outdated binaries → https://git.io/JfO6M
<{^_^}> [nixpkgs] @kalbasit pushed 3 commits to master: https://git.io/JfOiB
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Wulfsta has joined #nixos
hlisp has quit [Ping timeout: 246 seconds]
<Wulfsta> What do I do if a python package I'm trying to create a derivation for doesn't have a setup.py?
<cole-h> hyper_ch: Sorry I can't help more. But I think your next step is to increase the verbosity of your kernel logs, to get more information out of dmesg
<hyper_ch> cole-h: I'm not sure kernel is even running anymore. last notification i get is powering off point reached.. then screen turns of.. there is no further indication except some notebook leds are running and fan starts to run at full power
<hyper_ch> cole-h: and don't say sorry :)
<cole-h> More kernel logs certainly wouldn't hurt... ;^) But I get what you're saying. It could even be a hardware quirk...
proofofkeags has joined #nixos
<Wulfsta> It's on PyPi, https://pypi.org/project/meshio/, so I figured I would just be able to do `src = fetchPypi ...` but it doesn't seem to work?
<hyper_ch> it started a few days ago...
<hyper_ch> I did update the bios also.. nothing changed
<hyper_ch> it's really weird :)
<Wulfsta> hyper_ch: I currently have this poweroff bug as well
<hyper_ch> Wulfsta: notebook? amd? ryzen?
<hyper_ch> nixos unstable?
<hyper_ch> it happening on a lenovo notebook for me
<Wulfsta> `# poweroff -f` gets to poweroff target then sits. unstable channel on Ryzen 3800X
<hyper_ch> also using nixos unstable and ryzen.. let me check which one
<energizer> Wulfsta: it has setup.cfg, which is sufficient
<Wulfsta> I assumed it was a kernel bug that would eventually get resolved ::shrug::
<hyper_ch> Wulfsta: rsyzen 7 3700u
<energizer> (or should be)
<hyper_ch> it has only started maybe a week ago
<Wulfsta> energizer: I'm still seeing `FileNotFoundError: [Errno 2] No such file or directory: 'setup.py'`
<energizer> Wulfsta: which pip version are you using?
hlisp has joined #nixos
<Wulfsta> hyper_ch I assume it's an AMD CPU bug in the kernel then, have you looked around https://bugzilla.kernel.org?
proofofkeags has quit [Ping timeout: 265 seconds]
<hyper_ch> Wulfsta: nope
<energizer> Wulfsta: and setuptools version
<hyper_ch> I'm on 5.4.33
dansho has joined #nixos
<energizer> Wulfsta: that should work with setuptools v40.9.0 (april 2019)
<hyper_ch> Wulfsta: I still have previous generations with 5.4.32 and 5.4.28.... I'll try those
<Wulfsta> energizer: I'm probably doing something wrong, since I don't understand why pip is needed?
<energizer> Wulfsta: show your code?
<Wulfsta> hyper_ch: When I noticed this bug I was on that kernel as well, don't know if it's updated since
<Wulfsta> energizer: sure, let me push it to git first
<energizer> just bpaste.net
<hyper_ch> let me try out newer kernel
hlisp has quit [Ping timeout: 240 seconds]
<Wulfsta> energizer: too late, last two commits here: https://github.com/Wulfsta/nixpkgs/tree/pygmsh
<energizer> Wulfsta: pip ("pip installs packages") installs packages. probably buildPythonPackage runs it internally
<energizer> see if you can find out what version of setuptools it's using
<energizer> that looks new enough
<Wulfsta> energizer: so if I wanted to start a shell with this package, how would I do it? `nix-shell -I nixpkgs=./ -p 'python3.withPackages(ps: with ps; [ pygmsh ])' --run python3`?
<energizer> maybe it's not the same version in bootstrapped-pip
hlisp has joined #nixos
stree has quit [Read error: Connection reset by peer]
stree has joined #nixos
<energizer> i think so. but if the setuptools version can't handle the pyproject.toml build-system format then it's not gonna work
<Wulfsta> I am a few days behind, I wonder if I need to pull upstream
<energizer> Wulfsta: for reference https://github.com/pypa/setuptools/pull/1675
<{^_^}> pypa/setuptools#1675 (by pganssle, 1 year ago, merged): Add support for setup.cfg-only projects
<Wulfsta> Anything look off to you?
Alexey100 has joined #nixos
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
hlisp has quit [Read error: Connection timed out]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #86434 → vault: 1.4.0 -> 1.4.1 → https://git.io/JfOip
<Wulfsta> energizer I pulled upsteam and merged it so I should have a recent enough setuptools
proofofkeags has quit [Ping timeout: 246 seconds]
<energizer> Wulfsta: i dont dont understand why it's not working. it seems weird to have setuptools in the propagatedBuildInputs but i dont see that mattering. out of curiosity i might try adding a patch/build step that just adds a setup.py containing "from setuptools import setup; setup()", which is what new setuptools versions do automatically
<energizer> that's as deep as i can go atm. the nix experts may have better advice
drakonis has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @GTrunSec opened pull request #86435 → Zeek: fix zeekctl and add Zeek module to deploy it → https://git.io/JfOPL
zupo has joined #nixos
Wulfsta has quit [Remote host closed the connection]
wavirc22_ has joined #nixos
wavirc22 has quit [Ping timeout: 260 seconds]
dansho has quit [Quit: Leaving]
morgrimm has joined #nixos
<jluttine> is there some rule when to use stdenv.lib and when lib when writing package derivations in nixpkgs?
mamo has joined #nixos
morgrimm has quit [Ping timeout: 265 seconds]
palo1 has joined #nixos
chagra_ has quit [Quit: WeeChat 2.7.1]
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
<cole-h> jluttine: No, but I (now) prefer using `lib` over `stdenv.lib`, because `lib` is its own thing apart from `stdenv`
<jluttine> cole-h: ok. but there is still some difference or are they the same thing?
<jluttine> in nix repl, how can i see help for some command? i'd like to read the docstring of builtins.split
<cole-h> Probably minor ones, but nothing that should matter. e.g. if you're just using it for `lib.optionals`, or `lib.maintainers.cole-h`, either will work
<cole-h> jluttine: AFAIK there are no docstrings for anything. Your best bet is to read the source over at https://github.com/NixOS/nix
<jluttine> cole-h: i'm using it, for instance, mapAttrs and attrValues
<cole-h> If it works, use `lib`. If, for whatever reason, it doesn't work, try `stdenv.lib`.
<cole-h> That's how I go about it.
<cole-h> And I haven't had to use `stdenv.lib` since I starting abiding by that
<jluttine> cole-h: ok, thank
user_0x58 has quit [Quit: Leaving]
cole-h has quit [Quit: Goodbye]
hlisp has joined #nixos
mamo has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @gnidorah opened pull request #86436 → maintainers/scripts/build.nix: script to build all maintainer packages → https://git.io/JfOPz
mamo has joined #nixos
<lovesegfault> What's the right way to use niv to pin nixpkgs with NixOps?
siel has quit [Ping timeout: 272 seconds]
siel has joined #nixos
alexherbo2 has joined #nixos
hlisp has quit [Ping timeout: 265 seconds]
<mamo> is enabling a service in nixos diifer from other distros?
mamo has quit [Remote host closed the connection]
<jluttine> lovesegfault: i've had the same question.. some answers: https://github.com/NixOS/nixpkgs/issues/62832
<{^_^}> #62832 (by jluttine, 46 weeks ago, closed): Pinning nixpkgs in configuration.nix?
mamo has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer pushed 36 commits to geoclue-agent-wants-network: https://git.io/JfOPP
<jluttine> oh, wait, what is niv? maybe i misunderstood..
<{^_^}> [nixpkgs] @matthewbauer pushed 0 commits to geoclue-agent-wants-network: https://git.io/JfOPX
<jluttine> lovesegfault: sorry, nevermind me
<mamo> /
<makefu> mamo: not sure i understand, but enabling services is fundamentally different. you will not have config files of the service lingering in /etc or /opt or wherever, but you will write asingle file which defines your whole service including service configuraiton
<lovesegfault> jluttine: niv is really handy, worth checking out
<makefu> mamo: check out the chapter about declarative configuration in the wiki: https://nixos.wiki/wiki/NixOS#Declarative_Configuration
fragamus has joined #nixos
CMCDragonkai1 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #86437 → nixos/geoclue2: add network-online.target as wanted by geoclue2 → https://git.io/JfOPD
<mamo> makefu i installed connman (which is a network manager) i want to enable it's service
jkachmar has quit [Quit: Connection closed for inactivity]
<makefu> how have you installed conman?
mamo has quit [Remote host closed the connection]
mamo has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #73957 → emacspeak: init at 51.0 → https://git.io/Jeiuq
<{^_^}> [nixpkgs] @Mic92 pushed commit from @Dema to master « emacspeak: init at 51.0 (#73957) »: https://git.io/JfOP9
<makefu> i checked the nixos options page which describes all available configuration options (https://nixos.org/nixos/options.html#) however it seems there currently is no conman service to configure
alp has joined #nixos
<mamo> makefu shouldn't this be provided by the package maintainer within the package itself ?
mamo has quit [Remote host closed the connection]
<makefu> regarding service files, nixos does not normally rely on upstream configuration. in the configuration nixos cobbles together a whole new configuration because normally a lot of assumptions and bias is inside the config
mamo has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Vikingman has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to staging: https://git.io/JfOPx
FRidh has joined #nixos
phreedom has quit [Ping timeout: 240 seconds]
phreedom has joined #nixos
mamo has quit [Remote host closed the connection]
<makefu> mamo: due to different paradigms nixos pursues a lot of things are vastly different from other distros, this solves many problems such as reproducibility (imagine dotfiles but for your whole system) but it also creates some overhead because we need to fix stuff which assumes that specific software resides in pre-defined places (say /usr)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JfOXU
<{^_^}> [nixpkgs] @vcunat closed pull request #77800 → luajit: add version with gc64 enabled → https://git.io/JvUSn
<{^_^}> [nixpkgs] @vcunat merged pull request #85483 → luajit_2_0, luajit_2_1: bump to 2020-03-20, GC64 mode switch → https://git.io/JfJ1u
<{^_^}> [nixpkgs] @PhDyellow closed pull request #82127 → rPackages.rzmq: add pkgs.pkgconfig and patchShebangs configure → https://git.io/JvoOa
zupo has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #86330 → Staging next → https://git.io/JfY40
<{^_^}> [nixpkgs] @FRidh pushed 7 commits to master: https://git.io/JfOXL
zupo has quit [Client Quit]
otwieracz has joined #nixos
<otwieracz> hey
<otwieracz> I'm trying to migrate my 19.09 to release-20.03
<hyper_ch> good choice
hlisp has joined #nixos
<otwieracz> But unfortunately, somethings is funny here: https://pastebin.com/N9kaUCAC
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/322fd893724 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<otwieracz> That's when trying to perform `nixos-rebuild switch`
<hyper_ch> otwieracz: how do you try to migrate?
<otwieracz> `nixos-rebuild switch --upgrade`
<hyper_ch> updated channel to 20.03? a nd then nixos-rebuild swithc?
Vikingman has quit [Ping timeout: 276 seconds]
<otwieracz> More or less, yes. I have rebased my personal nixos tree to `release-20.03`4
<hyper_ch> try boot instead of switch
<otwieracz> OK, let's see.
<otwieracz> And the error is exactly the same.
<otwieracz> OK, actually, let me check one thing.. that might be PEBKAC!
<hyper_ch> I love those ones :)
<otwieracz> I had additional udev-rule to be installed into initrd to keep names persistent.
<otwieracz> Maybe it has been included in newer release and it's conflicting now.
<hyper_ch> permission denied on cp sounds like a different issue
<hyper_ch> actually, check if /nix/store/b3j2m18dg59viaxcmz8fhc3b33kyxv2h-udev-rules/75-net-description.rules exists
linarcx has joined #nixos
<jluttine> how can i build on the commandline so that i can use overrides? a pseudo example: nix-build '<nixpkgs>' -A "somepackage.override {foo=true;}"
<otwieracz> hyper_ch: yes, it exists
<{^_^}> [nixpkgs] @FRidh merged pull request #86419 → cups: 2.3.1 -> 2.3.3 → https://git.io/JfOl3
<{^_^}> [nixpkgs] @FRidh pushed commit from @mmilata to staging « cups: 2.3.1 -> 2.3.3 »: https://git.io/JfOXl
<hyper_ch> otwieracz: no idea how to fix that
<{^_^}> [nixpkgs] @FRidh merged pull request #86063 → LLVM: mark as big-parallel → https://git.io/JftQY
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to staging: https://git.io/JfOX8
<{^_^}> [nixpkgs] @FRidh merged pull request #86429 → libvorbis: fix 404'ing patch → https://git.io/JfOw6
<{^_^}> [nixpkgs] @FRidh pushed commit from @cole-h to staging « libvorbis: fix 404'ing patch »: https://git.io/JfOX4
pingiun has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #85653 → darwin.binutils: propagate man pages from darwin.cctools → https://git.io/JfTKG
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to staging: https://git.io/JfOX0
<otwieracz> hyper_ch: hopefully it's PEBKAC, and the files I once had to provide manually are already there.
<otwieracz> hyper_ch: seems like that was the issue
<hyper_ch> yey
<{^_^}> [nixpkgs] @elohmeier opened pull request #86440 → [20.03] backport v4l2loopback and broadcom-sta fixes → https://git.io/JfOXV
<{^_^}> [nixpkgs] @FRidh merged pull request #86413 → re2c: 1.2.1 -> 1.3 + patch → https://git.io/JfOcJ
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/JfOXi
<{^_^}> [nixpkgs] @FRidh merged pull request #86325 → python3.pkgs.certifi: 2019.11.28 -> 2020.4.5.1 → https://git.io/JfYlZ
<{^_^}> [nixpkgs] @FRidh pushed commit from @Mic92 to staging « python3.pkgs.certifi: 2019.11.28 -> 2020.4.5.1 »: https://git.io/JfOX1
hlisp has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 217 commits to staging-next: https://git.io/JfOX9
zupo has joined #nixos
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @FRidh pushed 218 commits to staging: https://git.io/JfOXb
<{^_^}> [nixpkgs] @FRidh merged pull request #86292 → gawk: 5.0.1 -> 5.1.0 → https://git.io/Jfmj5
<{^_^}> [nixpkgs] @FRidh pushed commit from @chkno to staging « gawk: 5.0.1 -> 5.1.0 »: https://git.io/JfOXN
Alexey100 has quit [Ping timeout: 245 seconds]
alp has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #86215 → openblas: 0.3.8 -> 0.3.9 → https://git.io/Jfmlj
<{^_^}> [nixpkgs] @FRidh pushed commit from @markuskowa to staging « openblas: 0.3.8 -> 0.3.9 »: https://git.io/JfO1U
<{^_^}> [nixpkgs] @FRidh merged pull request #84365 → glew: 2.1.0 -> 2.2.0 → https://git.io/JvNlQ
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « glew: 2.1.0 -> 2.2.0 »: https://git.io/JfO1I
<{^_^}> [nixpkgs] @FRidh merged pull request #85295 → felix: 5.6.1 -> 6.0.
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « felix: 5.6.1 -> 6.0.3 »: https://git.io/JfO1L
<{^_^}> [nixpkgs] @FRidh merged pull request #85288 → vertcoind: 0.14.0 -> 0.15.0.
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « vertcoind: 0.14.0 -> 0.15.0.1 »: https://git.io/JfO1t
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #84592 → qmidinet: 0.6.1 -> 0.6.2 → https://git.io/JvArl
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « qmidinet: 0.6.1 -> 0.6.2 »: https://git.io/JfO1m
<{^_^}> [nixpkgs] @FRidh merged pull request #84347 → eventstore: 5.0.7 -> 5.0.8 → https://git.io/JvNsj
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « eventstore: 5.0.7 -> 5.0.8 »: https://git.io/JfO1O
<{^_^}> [nixpkgs] @FRidh merged pull request #84319 → suitesparse-graphblas: 3.2.1 -> 3.2.2 → https://git.io/JvNte
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « suitesparse-graphblas: 3.2.1 -> 3.2.2 »: https://git.io/JfO13
<{^_^}> [nixpkgs] @FRidh merged pull request #84339 → collectd: 5.10.0 -> 5.11.0 → https://git.io/JvN32
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « collectd: 5.10.0 -> 5.11.0 »: https://git.io/JfO1G
justanotheruser has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #84346 → duplicity: 0.8.11.1596 -> 0.8.12.1612 → https://git.io/JvNsQ
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « duplicity: 0.8.11.1596 -> 0.8.12.1612 »: https://git.io/JfO1n
<{^_^}> [nixpkgs] @FRidh merged pull request #85098 → libtirpc: 1.2.5 -> 1.2.6 → https://git.io/Jvj4H
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « libtirpc: 1.2.5 -> 1.2.6 »: https://git.io/JfO1c
domogled has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #85057 → eagle: 9.6.0 -> 9.6.1 → https://git.io/JvjLE
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « eagle: 9.6.0 -> 9.6.1 »: https://git.io/JfO1l
<{^_^}> [nixpkgs] @FRidh merged pull request #83943 → c-blosc: 1.17.1 -> 1.18.1 → https://git.io/JvdLd
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « c-blosc: 1.17.1 -> 1.18.1 »: https://git.io/JfO14
<{^_^}> [nixpkgs] @FRidh merged pull request #83158 → libmwaw: 0.3.15 -> 0.3.16 → https://git.io/JvDMU
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « libmwaw: 0.3.15 -> 0.3.16 »: https://git.io/JfO10
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « mercurial: 5.3 -> 5.3.1 »: https://git.io/JfO1z
<{^_^}> [nixpkgs] @FRidh closed pull request #81930 → mercurial: 5.3 -> 5.3.1 → https://git.io/Jvw1w
<{^_^}> [nixpkgs] @FRidh merged pull request #80575 → gmime3: 3.2.5 -> 3.2.6 → https://git.io/JvBaW
<{^_^}> [nixpkgs] @FRidh pushed 0 commits to master: https://git.io/JfO1g
<{^_^}> [nixpkgs] @FRidh merged pull request #86428 → qimgv: 0.8.9 -> 0.9 → https://git.io/JfOwU
alp has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @cole-h to master « qimgv: 0.8.9 -> 0.9 »: https://git.io/JfO1a
<{^_^}> [nixpkgs] @FRidh merged pull request #86426 → clipit: 1.4.4 -> 1.4.5 → https://git.io/JfO2k
<{^_^}> [nixpkgs] @FRidh pushed commit from @kamilchm to master « clipit: 1.4.4 -> 1.4.5 »: https://git.io/JfO1V
<{^_^}> [nixpkgs] @FRidh merged pull request #86307 → tuir: 1.28.3 -> 1.29.0 → https://git.io/JfYI1
<{^_^}> [nixpkgs] @FRidh pushed commit from @filalex77 to master « tuir: 1.28.3 -> 1.29.0 »: https://git.io/JfO1o
<{^_^}> [nixpkgs] @FRidh merged pull request #86301 → fselect: 0.6.9 -> 0.6.10 → https://git.io/JfYkx
<{^_^}> [nixpkgs] @FRidh pushed commit from @filalex77 to master « fselect: 0.6.9 -> 0.6.10 »: https://git.io/JfO1K
<{^_^}> [nixpkgs] @FRidh merged pull request #86264 → ungoogled-chromium: 81.0.4044.92-2 -> 81.0.4044.122-2 → https://git.io/JfmDb
<{^_^}> [nixpkgs] @FRidh pushed commit from @squalus to master « ungoogled-chromium: 81.0.4044.92-2 -> 81.0.4044.122-2 »: https://git.io/JfO16
<{^_^}> [nixpkgs] @FRidh merged pull request #86232 → kubie: 0.7.3 -> 0.8.4 → https://git.io/JfmgD
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JfO1P
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #86186 → sentencepiece: 0.1.85 -> 0.1.86 → https://git.io/Jfmtv
<{^_^}> [nixpkgs] @FRidh pushed commit from @danieldk to master « sentencepiece: 0.1.85 -> 0.1.86 »: https://git.io/JfO1M
<{^_^}> [nixpkgs] @FRidh merged pull request #86162 → eksctl: 0.17.0 -> 0.18.0 → https://git.io/Jfqhl
<{^_^}> [nixpkgs] @FRidh pushed commit from @xrelkd to master « eksctl: 0.17.0 -> 0.18.0 »: https://git.io/JfO1D
<otwieracz> Huh, I don't get it. By some reason I still have samba 4.7 :(
<{^_^}> [nixpkgs] @FRidh merged pull request #86153 → metamath: 0.181 -> 0.182 → https://git.io/Jfqb4
<{^_^}> [nixpkgs] @FRidh pushed commit from @Taneb to master « metamath: 0.181 -> 0.182 »: https://git.io/JfO1y
sarcasticadmin has joined #nixos
maddo has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #85843 → gjo: 1.0.2 -> 1.0.3 → https://git.io/JfInK
<{^_^}> [nixpkgs] @FRidh pushed commit from @doronbehar to master « gjo: 1.0.2 -> 1.0.3 »: https://git.io/JfO1H
fabianhjr has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @FRidh merged pull request #85737 → nushell: 0.12.0 -> 0.13.0 → https://git.io/Jfk4L
<{^_^}> [nixpkgs] @FRidh pushed commit from @marsam to master « nushell: 0.12.0 -> 0.13.0 »: https://git.io/JfO1Q
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/73e73c7d6b5 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @FRidh merged pull request #85705 → rtl8812au: 5.2.20.2_28373.20190903 -> 5.6.4.2_35491.20200318 → https://git.io/Jfkqz
<{^_^}> [nixpkgs] @FRidh pushed commit from @danielfullmer to master « rtl8812au: 5.2.20.2_28373.20190903 -> 5.6.4.2_35491.20200318 »: https://git.io/JfO17
cyraxjoe has quit [Quit: No Ping reply in 180 seconds.]
cyraxjoe has joined #nixos
yasu has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #85407 → pep8-naming,sqlalchemy-utils: 2020.04 1 → https://git.io/Jff1L
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JfO15
sarcasticadmin has quit [Ping timeout: 256 seconds]
<yasu> What's the best way to install Discourse, the discussion software, on NixOS? Docker or 'Native'?
rauno has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh pushed 124 commits to staging-next: https://git.io/JfO1N
<{^_^}> [nixpkgs] @FRidh pushed 29 commits to staging: https://git.io/JfO1A
<{^_^}> [nixpkgs] @FRidh opened pull request #86442 → Staging next → https://git.io/JfO1p
<srk> yasu: native is wip
ashesham` has joined #nixos
<yasu> srk, thank you, it looks like it doesn't it? So Docker would be better, I think?
<{^_^}> [nixpkgs] @FRidh merged pull request #86332 → python3Packages.transforms3d: init at unstable-2019-12-17 → https://git.io/JfYBP
<{^_^}> [nixpkgs] @FRidh pushed commit from @bcdarwin to master « python3Packages.transforms3d: init at unstable-2019-12-17 »: https://git.io/JfOMT
<yasu> srk, I just need a proof-of-concept
<srk> yasu: depends, if you want to try debugging the issues preventing native you can take a peak at #83438
<{^_^}> https://github.com/NixOS/nixpkgs/pull/83438 (by sorki, 5 weeks ago, open): discourse: init at 2.4.1
arjen-jonathan has joined #nixos
<srk> yasu: it works, even test passes but not quite there yet due to assets/js compilation
<srk> also links to older PR with some more details about underlying mini_racer issue
<yasu> srk, Oh I see, so it might work enough to enable video conference already?
<srk> yasu: not sure what's needed for that, asset compilation currently SEGFAULTs :(
<yasu> @srk it would be awesome if I could help debug it but I just need to show it to my cooperative colleagues to see if it works at all or not
<yasu> I c...
<srk> I can gist the test I'm using for that so you can try it if you want
hlisp has joined #nixos
<yasu> @srk ok let me try the docker first and then try the native if you don't mind. You can still send me gist if you wish, yasu@yasuaki.com is my email
<yasu> Great thanks!!
<srk> yasu: overlay/module import is not strictly needed with the PR
<yasu> @srk btw have you been involved with packaging discourse for sometime? I'm just curious
wavirc22_ has quit [Read error: Connection reset by peer]
avalenn has joined #nixos
<srk> yasu: not really, I've started working on it because it was listed on NixOS Discourse as nice to have package, someone pointed me to older PR afterwards, was only able to find few references to IRC logs but not the older PR for some reason :)
pjt_014 has quit [Ping timeout: 260 seconds]
<srk> I should contact upstream and ask them about few things like running from another directory or asset compilation requiring db connection
<yasu> srk, I see, I have only used NixOS intermittently as and when I needed so I am not even comfortable of basic operations...
<yasu> got it
<srk> no problem, we can help if needed :)
<yasu> @srk Just to confirm, is Discourse the best there is that's open source (or free software)?
<srk> well, that's quite opinionated, for one I don't like it requires tons of javascript but it is pretty neat to use
aveltras has joined #nixos
<srk> I don't know many alternatives to it
zebrag has quit [Quit: Konversation terminated!]
<srk> cool thing is it supports mail so you don't neccessarily have to use web interface
<yasu> @srk all I need is just a discussion forum that's not Slack or anything proprietary. :-) But I think mailing list is too limited and it seems people don't use NNTP NewsNet anymore??
KindOne has quit [Ping timeout: 260 seconds]
<yasu> @srk I wonder if there is anything that's very easy to install natively on NixOS
<srk> phpbb was pretty popular before discourse, never used that tho :) you can also take a look at hyperkitty (aka mailman3)
KindOne has joined #nixos
<niso> yasu: if you're looking for a slack alternative: how about matrix-synapse?
hlisp has quit [Read error: Connection timed out]
<srk> or IRC!
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #82628 → spring-boot-cli: 2.1.9->2.2.6 → https://git.io/Jviof
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JfOD2
iyzsong has joined #nixos
lsix1 has joined #nixos
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
domogled has quit [Quit: domogled]
<yasu> @niso @srk hmm thank you for the pointers - The assumed users are not necessarily very technical and the system really needs to foster discussions to bloom :]
<yasu> :]
<niso> yasu: should be fine, potential frontend/client: https://about.riot.im/
<srk> yasu: yw! even IRC can be made easy to use with web interface with e.g. https://github.com/glowing-bear/glowing-bear
<srk> yasu: but it is less persistant compared to forum, more like for ad-hoc discussions :)
daniels[m] has joined #nixos
<yasu> Hmm let me check it out now
<yasu> @niso @srk thanks it seems to work well!!
<{^_^}> [nixpkgs] @FRidh pushed to master « nixos/release.nix: closures.lapp: use enablePHP, fixes metrics job #86439 »: https://git.io/JfOys
<{^_^}> [nixpkgs] @vbgl merged pull request #85918 → ocamlPackages.uri: remove at 1.9.{1,2} → https://git.io/JfLLC
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.uri: remove at 1.9.{1,2} »: https://git.io/JfOyZ
hlisp has joined #nixos
opticnerve has joined #nixos
Avaq has joined #nixos
arahael3 is now known as Arahael
gnidorah has joined #nixos
mallox has joined #nixos
<{^_^}> #50898 (by whohoho, 1 year ago, open): mididings package
<Avaq> Good day! I have recently updated to 20.03 from 20.03-pre and I noticed this morning my external monitor is no longer detected. This happened after I disconnected my monitor and my laptop ran out of battery over the night.
<Avaq> After trying some basic things, and verifying the monitor does work on other devices, I decided to boot an older generation. I tried several generations all the way to a month back, and none detect the screen.
<Avaq> Does that mean I've reliably excluded the possibility that it's related to the update? Like, the xf86-video-intel driver version is also reverted when I reboot to an older generation, right?
ebopp has joined #nixos
<symphorien> Yes
ashesham` has quit [Remote host closed the connection]
hlisp has quit [Ping timeout: 256 seconds]
drewc has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @LnL7 merged pull request #86434 → vault: 1.4.0 -> 1.4.1 → https://git.io/JfOip
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/JfOy9
<yasu> @niso @srk We'll see how it goes: https://matrix.to/#/!QVAchmAeNEpXxmKDgq:matrix.org?via=matrix.org
knupfer has joined #nixos
hlisp has joined #nixos
eyenx has joined #nixos
eyenx has quit [Changing host]
<{^_^}> [nixpkgs] @minijackson opened pull request #86443 → jellyfin: 10.5.4 -> 10.5.5 → https://git.io/JfOy5
hlisp has quit [Ping timeout: 260 seconds]
alexherbo29 has joined #nixos
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo29 is now known as alexherbo2
__Sander__ has joined #nixos
asheshambasta has joined #nixos
thc202 has joined #nixos
<asheshambasta> anyone else seeing "attribute 'getCabalDeps' missing on 20.03"?
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @LnL7 merged pull request #86327 → plex: 1.19.1.2645 -> 1.19.2.2737 → https://git.io/JfY8M
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/JfOSv
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #86444 → ocamlPackages.core_extended: remove at 112.24.00 → https://git.io/JfOST
hlisp has joined #nixos
alexherbo22 has joined #nixos
drewc has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #86445 → podman: use $out instead of $bin with buildGoPackage → https://git.io/JfOS8
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo22 is now known as alexherbo2
hlisp has quit [Ping timeout: 246 seconds]
opthomasprime has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
yasu has quit [Remote host closed the connection]
knupfer1 is now known as knupfer
<{^_^}> [nixpkgs] @gnidorah opened pull request #86446 → cpu-x: init at 3.2.4 → https://git.io/JfOSa
<Avaq> Hmm, I have two videoDrivers configured in services.xserver.videoDrivers, and if I understand this correctly, I should see two corresponding Screen sections in /etc/X11/xorg.conf: https://github.com/NixOS/nixpkgs/blob/20.03/nixos/modules/services/x11/xserver.nix#L755-L756
<Avaq> However, I only see one Screen section there. Could that be why my hdmi screen is not detected?
<srk> Avaq: looks like two different options - videoDrivers vs drivers
<srk> ah, drivers is internal
pingiun has joined #nixos
eyenx has quit [Quit: bye]
eyenx has joined #nixos
eyenx has joined #nixos
eyenx has quit [Changing host]
<srk> Avaq: yeah, was about to sent it to you, maybe your videoDriver is just filtered in there
choward has quit [Ping timeout: 260 seconds]
linarcx has quit [Quit: WeeChat 2.8]
linarcx has joined #nixos
Desetude has joined #nixos
<srk> hm, the module should probably warn or even assert when unknown one is use, I guess that's what the FIXME is about :)
<srk> *used
<Avaq> Yeah :p
<Avaq> In here: `if xorg ? ${"xf86video" + name}`? That would mean that the xorg.xf86videoxf86-video-intel attribute doesn't exist. My config has had the value `[ "xf86-video-intel" "intel" ]` for the longest time based on some ancient tutorial I followed like 6 years ago when first installing NixOS.
<Avaq> It kind of makes sense for xorg.xf86videoxf86-video-intel not to exist, but xorg.xf86videointel to exist.
stree has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfOSN
<{^_^}> [nixpkgs] @Mic92 merged pull request #86444 → ocamlPackages.core_extended: remove at 112.24.00 → https://git.io/JfOST
<{^_^}> [nixpkgs] @mmilata opened pull request #86447 → [20.03] re2c: 1.2.1 -> 1.3 + patch → https://git.io/JfOSA
<srk> yup :)
opthomasprime has quit [Ping timeout: 240 seconds]
Jonathan60 has quit [Remote host closed the connection]
__Sander__ has quit [Ping timeout: 246 seconds]
Ilya_G has quit [Remote host closed the connection]
stree has joined #nixos
dramforever has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
<{^_^}> [nixpkgs] @sorki opened pull request #86449 → dt-schema: init at v2019.11 → https://git.io/JfO9U
mallox has quit [Client Quit]
mallox has joined #nixos
choward has joined #nixos
<dramforever> On https://nixos.org/channels/nixos-20.03 you can see a timestamp like 'Released on 2020-04-29 08:45:27'. What's the timezone?
mallox has quit [Client Quit]
mallox has joined #nixos
<avalenn> Is there any licensing checks of what is published on nixos channels ?
<srk> hydra won't build nonfree stuff
<dramforever> Context: I maintain the TUNA Nix mirror (more info at [1]), and I'm looking to keep track of how the mirror's keeping up with (basically making a howoldis for the mirror). I found out that the time there can't be UTC, because then it means I have updates from 2 hours in the future
<hyper_ch> and in the default.nix you have to indicate the license
__monty__ has joined #nixos
fusion809 has quit [Remote host closed the connection]
mallox has quit [Client Quit]
mallox has joined #nixos
<srk> hyper_ch: that diagonal.. w00t
mallox has quit [Client Quit]
mallox has joined #nixos
<dramforever> I know mirror-nixos-branch.pl [2] made that timestamp, which should be close to the time the update was actually available for download. I think just need to know the timezone
mallox has quit [Client Quit]
mallox has joined #nixos
<avalenn> I just find it strange to see "not specified" license on some base packages like https://nixos.org/nixos/packages.html?attr=xorg.xorgproto&channel=nixos-20.03&page=14&query=xorg%20
<dramforever> srk: apparently it's 100 cols
<{^_^}> [nixpkgs] @GRBurst opened pull request #86450 → bront_fonts: init at 2015-06-28 → https://git.io/JfO98
smatting_ has joined #nixos
* srk still loading larger version
<NobbZ[m]> Something in the tool that generates the page is broken. Sadly. Licenses are specified in the Derivation correctly as far as I know. avalenn
<dramforever> And it's interesting but not that surprising that [xyxy] = [xy] * 101 is so popular
<{^_^}> [nix] @domenkozar merged pull request #3552 → Revamp README.md → https://git.io/JfO8Q
<{^_^}> [nix] @domenkozar pushed 5 commits to master: https://git.io/JfO9R
<srk> true!
<{^_^}> [nixpkgs] @firmero opened pull request #86451 → gnomeExtensions.gtile: init at 34 → https://git.io/JfO9E
<dramforever> > "Do we have a nix expression bot?"
<{^_^}> "Do we have a nix expression bot?"
<dramforever> > xorg.xorgproto.meta.license
<{^_^}> attribute 'license' missing, at (string):308:1
<avalenn> Thanks NobbZ
<dramforever> > vscode.meta.license
<{^_^}> { free = false; fullName = "Unfree"; shortName = "unfree"; }
<dramforever> So unfortunately the license does seem to be missing
<avalenn> > xorg.meta.license
<{^_^}> attribute 'meta' missing, at (string):308:1
mbrgm_ has joined #nixos
<dramforever> LnL: Ah, thanks
<dramforever> Also thanks to NixOS I guess
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<LnL> ie. what you see on status.nixos.org
<dramforever> ok, thanks for the info
stree has quit [Read error: Connection reset by peer]
stree has joined #nixos
<{^_^}> [nix] @aepsil0n opened pull request #3555 → Warn about using the cache only when its older → https://git.io/JfO9K
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
fendor has joined #nixos
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #86452 → softmaker-office: 972 -> 976 → https://git.io/JfO97
<{^_^}> [nixpkgs] @mjlbach opened pull request #86453 → Ray: init at 0.8.4 → https://git.io/JfO95
<{^_^}> [nixpkgs] @danieldk closed pull request #80793 → [20.03] softmaker-office: 972 -> 974 → https://git.io/Jv0mv
zupo has joined #nixos
<{^_^}> [nixpkgs] @LnL7 closed pull request #73260 → yabai: init at 2.1.2 → https://git.io/Jewgw
mallox has quit [Quit: WeeChat 2.8]
<{^_^}> [nix] @edolstra pushed to master « Tweak README.md »: https://git.io/JfOHO
opticnerve has quit [Quit: Leaving]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
WhatisRT has joined #nixos
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
lord| has joined #nixos
<{^_^}> [nix] @edolstra closed pull request #3555 → Warn about using the cache only when its older → https://git.io/JfO9K
jgeerds_ has joined #nixos
jakobrs has joined #nixos
<jakobrs> Theoretically speaking, can I "install" a channel using nix-env -i --profile?
<jakobrs> I mean, the channels *are* a profile
dxtr has joined #nixos
<{^_^}> [nix] @edolstra pushed 16 commits to flakes: https://git.io/JfOHK
hlisp has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
tobeportable has joined #nixos
<dxtr> How would I add custom patches to the kernel? I'm trying to do that but the information I find seem pretty outdated and doesn't seem to quite work - and I can't find any good examples of using boot.kernelPatches
jonathan34 has quit [Remote host closed the connection]
<jakobrs> You just add the patches to boot.kernelPatches?
<jakobrs> There's a list of packaged patches in pkgs.kernelPatches
<{^_^}> [nixpkgs] @Tomahna opened pull request #86454 → scalafmt: 2.4.2 -> 2.5.0 → https://git.io/JfOHP
hlisp has quit [Ping timeout: 246 seconds]
<dxtr> jakobrs: Yes but I want to add a custom one
<jakobrs> I believe you can just add the path to a patch
<dxtr> Alright
<jakobrs> boot.kernelPatches = [ ./a-patch.patch ];
<jakobrs> OR
<dxtr> That's neat
<jakobrs> boot.kernelPatches = [ (pkgs.fetchPatch { url = "abc"; hash = "def"; }) ]
<jakobrs> If the patch is available online
<dxtr> Excuse my ignorance - I started toying with this nixos thing yesterday!
<dxtr> Haven't quite grasped nix yet
<jakobrs> It's perfectly alright to ask questions
<dxtr> Although I am quite satisfied that it only took me a couple of hours from nothing to get it just like I wanted it - with the exception of this one patch
<dxtr> So I'm gonna try what you just said
chagra has joined #nixos
<jakobrs> Looking in the nixpkgs source, you might need to package the patch like this:
<jakobrs> boot.kernelPatches = [
<jakobrs> {
<jakobrs> name = "patch-name";
<jakobrs> patch = ./file.patch;
<jakobrs> }
<jakobrs> ];
eyenx has joined #nixos
eyenx has joined #nixos
eyenx has quit [Changing host]
<dxtr> right
<dxtr> And how would that translate to using pkgs.fetchPatch?
<jakobrs> Just replace `./file.patch` with `pkgs.fetchpatch { ... }`
<jakobrs> That's the file where the pre-packaged patches are defined
<dxtr> Ah cool
zupo has joined #nixos
<dxtr> Also, second question: What if I want to compile my own kernel and add the patch? Not just change kernel options which I seem to find the most information about
<jakobrs> Could you elaborate?
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #86455 → [20.03] cups: 2.3.1 -> 2.3.3 → https://git.io/JfOQq
<dxtr> Let's say I want to download the latest mainline kernel, add my patch and compile that
<srk> dxtr: (kernelPatches)
<adisbladis> It's also worth noting that we already have the latest mainline/stable/lts kernels packaged
<srk> you can also override linuxPackages_latest like that
<jakobrs> Yeah, you'd just package the kernel normally
<srk> well normally for kernel is mainline or some stable release + patches on top of it
<srk> if needed
* srk gonna struggle with that soon
whatisRT` has joined #nixos
<jakobrs> Are the latest mainline kernels actually packaged? I don't think release candidates are packaged.
<jakobrs> Which makes sense because it'd be far too much work but stiff
<jakobrs> s/ff/ll
o1lo01ol1o has quit [Remote host closed the connection]
<adisbladis> jakobrs: linuxPackages_testing
jgeerds__ has joined #nixos
<adisbladis> > linuxPackages_testing.kernel
<{^_^}> "<derivation /nix/store/2g1pyb8nzbgn9ambaw3dxg5xm6g5527w-linux-5.7-rc2.drv>"
eyenx has quit [Quit: bye]
<jakobrs> Oh
<jakobrs> I'm going to try that
eyenx has joined #nixos
eyenx has joined #nixos
eyenx has quit [Changing host]
Swant has quit [Quit: Gone to IKEA]
Swant has joined #nixos
jgeerds_ has quit [Ping timeout: 258 seconds]
WhatisRT has quit [Ping timeout: 258 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @kraem opened pull request #86456 → picom: 7.5 -> 8 → https://git.io/JfOQ4
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #84330 → nixos/xonsh: source NixOS environment → https://git.io/JvNYl
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JfOQR
vidbina has joined #nixos
<dxtr> Hmm, is there a list of the kernels you have packaged?
<jakobrs> Just do nix repl '<nixos>' and
<dxtr> Oh yeah, found it
<jakobrs> type linuxPackages<TAB>
<jakobrs> Question: Is it possible to use a prebuilt kernel with nixos?
stree has quit [Read error: Connection reset by peer]
<jakobrs> I mean, without having to rebuild the entire kernel
<srk> not easily I would say
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/JfOQw
<jakobrs> Even if they're built for NixOS specifically?
<dxtr> so if I wanted to use, say, linuxPackages_5_6 I'd do something like boot.kernelPackages = linuxPackages_5_6?
stree has joined #nixos
<jakobrs> Yes
cr4y1 has joined #nixos
<srk> jakobrs: other things depend on it, e.g. initrd module collection
Avaq has quit [Quit: Leaving.]
<jakobrs> Completely irrelevant question, but:
<jakobrs> I've got this problem here where some containers refuse to die
<srk> sure there's a way how to do it, not sure if it's worth it tho :) my kernel build for armv7l is like 10h and I can cross compile it in much less time but haven't tried actually using the output of cc
o1lo01ol1o has joined #nixos
<MichaelRaskin> Some prebuilt kernels are available in the binary cache, most NixOS systems use them
<{^_^}> [nixpkgs] @flokli merged pull request #86363 → systemd: 245.3 -> 245.5 → https://git.io/JfYDr
<{^_^}> [nixpkgs] @flokli pushed 3 commits to staging: https://git.io/JfOQX
<MichaelRaskin> RCs are not packaged normally, yes
primeos has quit [Quit: WeeChat 2.8]
<jakobrs> > import <nixos-20.03> {}
<{^_^}> { AAAAAASomeThingsFailToEvaluate = <CODE>; AMB-plugins = <CODE>; AgdaSheaves = <CODE>; AgdaStdlib = <CODE>; CoinMP = <CODE>; DisnixWebService = <CODE>; EBTKS = <CODE>; EmptyEpsilon = <CODE>; FIL-plugi...
<jakobrs> > with import <nixos-20.03> {}; linux_testing.version
<{^_^}> "5.5-rc7"
<jakobrs> > with import <nixos-unstable> {}; linux_testing.version
<{^_^}> "5.7-rc2"
<jakobrs> That's kinda interesting
stree has quit [Read error: Connection reset by peer]
<jakobrs> What's the point of packaging 5.5-rc7 in stable?
<MichaelRaskin> Some RCs got attention in some way
<MichaelRaskin> They were there at branching, nobody removed them
<jakobrs> It's not an lts kernel (like 5.4) and it's also not one of the newest version
stree has joined #nixos
<{^_^}> [nixpkgs] @viric pushed commit from @ryantm to release-20.03 « Merge pull request #81646 from r-ryantm/auto-update/tribler »: https://git.io/JfOQQ
<{^_^}> [nixpkgs] @flokli merged pull request #84139 → nixos/gitlab-runner: support multiple services → https://git.io/JvF2N
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfOQd
zupo has quit [Ping timeout: 260 seconds]
ym555 has joined #nixos
zupo has joined #nixos
confus has joined #nixos
<confus> hi, does someone have a link to a sample config for gitlab, that I could build upon? I'm a bit lost atm.
<flokli> confus: nixos/tests/gitlab.nix maybe (except the serviceConfig.Restart = mkForce "no";) ofcourse
hlisp has joined #nixos
<dxtr> jakobrs: Seems to work great!
<jakobrs> :)
<dxtr> Compiling the kernel right now
<dxtr> Beautiful
<dxtr> How do I activate a config after doing "nixos-rebuild build"?
<jakobrs> nixos-rebuild switch
<jakobrs> or
<dxtr> Won't switch build it again?
<jakobrs> not unless something's changed, but you can also do
<jakobrs> ./result/bin/switch-to-configuration test
<jakobrs> to activate, and
<{^_^}> [nix] @edolstra pushed to master « Fix build »: https://git.io/JfO7J
<jakobrs> ./result/bin/switch-to-configuration boot
<jakobrs> to set as boot default
<dxtr> cool
<jakobrs> where ./result is the result from nixos-rebuild build
<dxtr> What directory does it build the kernel in?
<jakobrs> as in, build root?
<dxtr> yeah
<yorick> when setting up raid1, should I use grub and just have it read /boot from my main partition with some md module?
<jakobrs> If you're using sandboxing, it's in /build in a ssandbox
hlisp has quit [Ping timeout: 265 seconds]
<jakobrs> s/ss/s
<dxtr> I'm not using sandboxing
<jakobrs> You can see the build root in htop
<adisbladis> Also, why are you not using sandboxing?
<jakobrs> F5 -> find nix-daemon -> look for absolute paths
<adisbladis> Not using sandboxing is a really bad idea
<{^_^}> [nixpkgs] @flokli opened pull request #86457 → kops: fix hash → https://git.io/JfO7T
ym555_ has joined #nixos
<dxtr> adisbladis: I didn't know that was a thing
<jakobrs> The sandbox is enabled by default, I think
ym555 has quit [Ping timeout: 260 seconds]
<dxtr> Oh
<jakobrs> nixos-option nix.useSandbox
<dxtr> But I don't have a /build
<jakobrs> That's because it's in a chroot/sandbox
<dxtr> Oh, is it in /tmp? I have a /tmp/nix-build-linux-5.6.7.drv-0/linux-5.6.7/build there
<jakobrs> oh, /build is a ro bind
<jakobrs> yes
<dxtr> Well then
<dxtr> I wanted to mount a tmpfs system there so I could speed up the build a little
<dxtr> But if it's in /tmp it's already on a tmpfs so
<dxtr> Gotta make use of my RAM
<jakobrs> tmp is a normal folder by default unless you set boot.tmpOnTmpfs = true;
<dxtr> I did set tmpOnTmpfs
gnidorah has quit [Quit: Connection closed for inactivity]
hlisp has joined #nixos
<dxtr> I have a rather small disk but I have lots of ram so I want to put as little as possible on the disk
<dxtr> at least until I get the new disk I ordered
justanotheruser has joined #nixos
<jakobrs> Personally I just use boot.cleanTmpDir to clean /tmp on boot, but that's mainly because I only have 4 GB ram
<dxtr> I have 64gb
<jakobrs> So I don't personally want to use tmpOnTmpfs
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dxtr> Also, man was it easy to set up gpg-agent with my Yubikey!?
<{^_^}> [nixpkgs] @Mic92 opened pull request #86458 → radare2: 4.3.1 -> 4.4.0 → https://git.io/JfO7c
<dxtr> That's one of the main issues I've always had with my setup - no matter the distro
<dxtr> Here I just added a couple of lines to my configuration.nix and it just worked
<dxtr> I'm sold
mallox has joined #nixos
hlisp has quit [Ping timeout: 256 seconds]
<dxtr> I'm gonna test this for a while and see how it works and if I'm still happy in a month I'll install it on my work laptop too!
<jakobrs> On a completely unrelated note, here's a command I just crafted to print the /build directory of each of the nix build users:
<jakobrs> for n in {1..32}; do cat "/proc/$(ps -o 'pid=' -u nixbld$n | head -n1 |sed 's/^ *//')/mounts" | grep '/build'; done
<manveru> jakobrs: there's nix-top :)
eacameron has quit [Quit: Connection closed for inactivity]
<jakobrs> That seems like a better idea yeah
ym555_ has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
confus has quit [Remote host closed the connection]
<dxtr> jakobrs: Also you don't have to pipe cat to grep
<adisbladis> manveru: Which iirc sort of does the same thing ^_^
<manveru> yeah, just nicer to type :)
<jakobrs> nix-top is like top though
<adisbladis> By all means, I use it all the time.
<jakobrs> The main thing missing is colours
hlisp has joined #nixos
<jakobrs> just like top
<adisbladis> I just wish the daemon had an interface for this kind of stuff
<jakobrs> It would be nice if you could directly query the daemon for running builds, etc
<dxtr> Can I remove a build I did with nixos-rebuild build?
<jakobrs> like nix ask --builds or nix ask --build-dir --builder nixbld1
<jakobrs> dxtr: rm result
<jakobrs> Although why would you do that?
<jakobrs> It still stays in the nix store until (and only until) you run nix-collect-garbage
<dxtr> jakobrs: Maybe I want to waste some CPU cycles and build the kernel again :)
<dxtr> alright
<{^_^}> [nixpkgs] @talyz merged pull request #86420 → gitlab: 12.8.9 -> 12.8.10 → https://git.io/JfORN
<{^_^}> [nixpkgs] @talyz pushed 4 commits to master: https://git.io/JfO7X
<jakobrs> What was your compile time?
<dxtr> Couple of minutes
<dxtr> possible
<dxtr> possibly*
<jakobrs> I'm still building
<dxtr> let's see here
<jakobrs> Although that shouldn't be surprising considering this isn't exactly a high-end laptop
<srk> there's also nix-build --check for forcing builds
<srk> (re)builds
<{^_^}> [nixpkgs] @jluttine opened pull request #86459 → nerdfonts: reuse individual fonts → https://git.io/JfO7M
<jakobrs> And you can do nix-store --delete to remove your build specifically
<clever> but dont use --delete --force
<jakobrs> without garbage collecting other stuff like dependencies
<jakobrs> and you'll need to remove the symlink first
<clever> you can use `nix-store --query --roots` to figure out why something cant be deleted
hlisp has quit [Ping timeout: 260 seconds]
maxter has joined #nixos
srxl[m] is now known as srxl
<adisbladis> Is there a good way to figure out if I'm a trusted user (other than trying to copy a closure or something)?
<clever> adisbladis: `nix show-config` would show the result of parsing all cfg files, though it also parses the ones root wont read
<adisbladis> clever: That still requires me to parse the configuration though, which I could absolutely do
<adisbladis> But I don't want to if I don't have to :)
<jakobrs> Is there any way to get nix to ignore unknown configuration options in nix.conf?
<jakobrs> Nix stable doesn't like me setting experimental-features = nix-command in my nix.conf
never_released has quit [Ping timeout: 244 seconds]
<dxtr> jakobrs: Building again now. Let's see how long it takes
<jakobrs> Currently building drivers/net/ethernet/{intel,mellanix}
<jakobrs> for comparison
<adisbladis> clever: For context I was thinking about the possibility of bailing out early if your deployment is gonna fail in https://github.com/NixOS/nixops/pull/1270/files
<dxtr> I'm building all kinds of stuff. -j16
<clever> adisbladis: what about using privilegeEscalationCommand with the copy-closure too?
never_released has joined #nixos
<adisbladis> clever: How could we do that?
<clever> adisbladis: checking the src...
<adisbladis> <3
<clever> adisbladis: $NIX_SSHOPTS lets you inject custom arguments into the ssh cmd that nix uses to reach a remote machine...
<jakobrs> Hm, nixFlakes is complaining about "experimental feature nix-command disallowed" despite me using --experimental-features nix-command
hlisp has joined #nixos
sarcasticadmin has joined #nixos
<adisbladis> clever: Yes, but that doesn't allow us to inject something exactly before the remote command
prusnak has quit [Changing host]
prusnak has joined #nixos
prusnak has joined #nixos
<clever> adisbladis: yeah, potentially adds -S foo and -v after the $NIX_SSHOPTS
<clever> so if you tried doing `NIX_SSHOPTS="sudo" nix-copy-closure` it can potentially break
<clever> 62 args.push_back(command);
<clever> 27 std::unique_ptr<SSHMaster::Connection> SSHMaster::startCommand(const std::string & command)
<clever> so we want to insert it around here
<clever> 82 conn->sshConn = master.startCommand("nix-daemon --stdio");
vidbina has quit [Ping timeout: 246 seconds]
<clever> adisbladis: you may need to patch the client-side nix, to support running sudo on the remote machine
<{^_^}> [nixpkgs] @talyz opened pull request #86460 → [20.03] gitlab: 12.8.9 -> 12.8.10 → https://git.io/JfO7p
o1lo01ol1o has joined #nixos
hlisp has quit [Ping timeout: 246 seconds]
sarcasticadmin has quit [Ping timeout: 256 seconds]
<adisbladis> clever: This is about where I stopped last time I looked at this ;)
<dxtr> jakobrs: `time nixos-rebuild build` gave me 11m48s
<jakobrs> Alright
<clever> adisbladis: `NIX_SSHOPTS="sudo"` would only work if your not using ah ssh master socker and not using -v
<jakobrs> still in drivers/media
<adisbladis> clever: And NixOps is _always_ using a master socket
<qyliss> energizer: It's cgit with custom CSS
<dxtr> jakobrs: I think my memory, memory disk and cpu makes all the difference
Setzer22_2 has joined #nixos
<jakobrs> I've an i5-6200U so I'm not at all surprised this is taking a lot of time.
dramforever has quit [Quit: Leaving]
<dxtr> Hehe
<dxtr> i9-9900k here
<adisbladis> jakobrs: Do you have another beefier box?
<{^_^}> [nixpkgs] @talyz opened pull request #86461 → [19.09] gitlab: 12.8.9 -> 12.8.10 → https://git.io/JfO5T
<dxtr> Yes I know! I should've bought a ryzen instead
<jakobrs> I do have access to a macbook pro 2018 I could boot in linux (using a live usb)
<adisbladis> nixos-rebuild --build-host user@host build
<{^_^}> [nixpkgs] @SFrijters opened pull request #86462 → terminator: 1.91 -> 1.92 → https://git.io/JfO5k
<jakobrs> Thing is, Linux support on macbooks isn't quite where I'd replace macos
<qyliss> energizer: the original version came from https://git.causal.agency/src/tree/www/git.causal.agency/custom.css, and then I modified it a bit.
<Setzer22_2> Hi! I'm finally decided to go out of the VM and try nixOS on the bare metal :) I'd like to set up dual booting with windows, but my current setup is a bit weird, and I was wondering if os-prober would work out of the box. What I currently have is a 128GB ssd with a Windows install, and a 1TB hdd, with a 250GB partition where nixos will go. I'm
<Setzer22_2> not sure if installing nixOS on this 250GB partition will properly install boot so that I can also boot windows (which is on a different hard drive). Any tips on that?
hlisp has joined #nixos
<clever> Setzer22_2: is windows booting with uefi or legacy?
<Setzer22_2> uefi
<jakobrs> You can run os-prober _before_ installing nixos to make sure it finds windows
<clever> Setzer22_2: i believe for uefi, you just give linux its own fat32 /boot, and then both OS's will show up in the bios's menu
<jakobrs> I don't remember the specific command, though
<Setzer22_2> jakobrs: ok, that makes sense, I've done a similar thing when installing arch..
<clever> [root@amd-nixos:~]# os-prober
<clever> /dev/sdc1:Windows 7:Windows:chain
o1lo01ol1o has quit [Remote host closed the connection]
eof has quit [Quit: eof]
<clever> if i run it with zero args, it does pick up the win7 nearby
<jakobrs> I did that when there was an issue with os-prober
pingiun has joined #nixos
<jakobrs> pkgdatadir=$(nix-build '<nixpkgs>' -A grub2 --no-out-link)/share/grub $(nix-build '<nixpkgs>' -A grub2 --no-out-link)/etc/grub.d/30_os-prober
eof has joined #nixos
<Setzer22_2> to clarify, that's so I can run os-prober from the live image, right?
<jakobrs> Yes
<Setzer22_2> ok, great!
<jakobrs> Or just run os-prober to see if it can detect windows
<jophish> I wish it was possible to do `foo = addExtraLibrary pkgs.myLibrary . doHaddock . disableLibraryProfiling $ bar` instead of `foo = addExtraLibrary (doHaddock (disableLibraryProfiling bar)) pkgs.myLibrary`
<jakobrs> The longer command will actually generate the grub config, so if something breaks you can just copy-paste it into grub.extraConfig
<jakobrs> s/Config/Entries
<jophish> Or even just `foo = addExtraLibrary pkgs.myLibrary (doHaddock (disableLibraryProfiling bar))`
<clever> jakobrs: i just manually wrote such a grub entry
<jakobrs> It's just chainloading the windows boot loader, right? I can't check, I don't have windows installed
<clever> jakobrs: yep
<clever> but mine is legacy based
<jakobrs> I've got this really weird bug where grub is refusing to chainload when the chainloading command is invoked interactively
hlisp has quit [Ping timeout: 256 seconds]
<jakobrs> ... which is why I don't chainload stuff
<clever> jakobrs: did you boot via legacy or efi? efi cant chainload legacy
<jakobrs> It's efi chainloading efi
<jakobrs> There's an error message of the form "/Entire ... /EndEntire"
<clever> weird
<jakobrs> Apparently it's got something to do with Legacy, but ... it's not legacy
ambroisie has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #86452 → [20.03] softmaker-office: 972 -> 976 → https://git.io/JfO97
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-20.03: https://git.io/JfO5n
<{^_^}> [nixpkgs] @offlinehacker merged pull request #85198 → pasystray: add patch to fix crash when running under wayland → https://git.io/JfeCQ
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/JfO5C
<dxtr> Hmm, wasn't there support for running my new configuration in a VM?
<dxtr> I wanna see if my new kernel works before I reboot
<jakobrs> nixos build-vm
hlisp has joined #nixos
<jakobrs> s/nixos/nixos-rebuild
<dxtr> Cool
<jakobrs> Although if it's broken you can just choose a previous generation in the boot menu
smatting_ has quit [Ping timeout: 256 seconds]
<jakobrs> That's kind of the point with nixos
<dxtr> Yeah I know
<dxtr> But I wanna try all these cool features
<dxtr> I'm sorry!
nschoe has joined #nixos
Desetude has quit [Ping timeout: 240 seconds]
<jakobrs> Is it possible to change the path to the store itself?
<jakobrs> I mean, nix build --store appends nix/store after the path
alp has quit [Quit: Leaving]
<clever> jakobrs: yes, one min
<dxtr> Hmm, yeah, I noticed a quirk in the running of the VM
<dxtr> It tries to set up the interfaces on the host - which doesn't exist in the VM
<{^_^}> [nixpkgs] @flokli merged pull request #82026 → nixos/networkd: update configuration options → https://git.io/JvrVD
<{^_^}> [nixpkgs] @flokli pushed 9 commits to master: https://git.io/JfO5o
<jakobrs> dxtr: That's normal I believe
<jakobrs> I had the same issue when running one configuration on another machine without changing network interface names
<clever> jakobrs: NIX_STORE, NIX_LOG_DIR, NIX_CONF_DIR, NIX_STATE_DIR all work together, to put the store at /home/example/nix
Margatroid is now known as Yaniel
<clever> jakobrs: NIX_REMOTE=local?root=/home/clever/rootfs then prepends that to the paths, so the store ACTUALLY winds up at /home/clever/rootfs/home/example/nix, and the internal strings expect it to be at /home/example/nix
ambroisie has quit [Ping timeout: 240 seconds]
alp has joined #nixos
<clever> jakobrs: and then the override to nix within the -E, makes the 1st half permanent within the copy of nix its building
<clever> jakobrs: so you can then copy /home/clever/rootfs/home/example/nix to /home/example/nix of a remote box, and the resulting nix binary will just work
<dxtr> jakobrs: I guess it's pretty easy to solve that with some nix hackery
<jakobrs> So it lets you build packages with a different temporary store dir?
hlisp has quit [Ping timeout: 260 seconds]
<jakobrs> Wouldn't it be easier to use a chroot/proot/whatever?
<clever> jakobrs: chroot/namespacing would be much simpler
<clever> jakobrs: NIX_REMOTE=local?root= is if you want to relocate the /nix/store, but you plan to chroot later, and the paths should still think its at /nix/store
<clever> jakobrs: NIX_STORE, NIX_LOG_DIR, NIX_CONF_DIR, NIX_STATE_DIR is if you want it to actually run from that wonky dir, without any chroot
never_released has quit [Max SendQ exceeded]
<clever> they can also be combined, if you lack access to that wonky dir, on the build machine
<jakobrs> Then why did you do this in the first place (without a chroot)?
<clever> i didnt know how namespacing worked when i wrote that
<clever> and chroot needs root
<jakobrs> root, right.
<clever> jakobrs: but you can now use this to chroot without root
<jakobrs> although you can probably do unshare -r
<jakobrs> Can't spell chroot without root
<jakobrs> Oh, linux is in installPhase
<clever> jakobrs: NIX_REMOTE=local?root= also has other fun uses
<jakobrs> Is this the same as nix-bundle/nix-user-chroot? https://github.com/nix-community/nix-user-chroot
<clever> jakobrs: the one in nix-bundle has a few extra features
<clever> ive modified it some
<clever> nix copy --to ssh://root@target?remote-store=local?root=/mnt /nix/store/hash-nixos
<clever> Raw
<jakobrs> Where are NIX_REMOTE query arguments documented?
<clever> jakobrs: this will tell the remote nix (after the ssh) to open the store of `local?root=/mnt`
<clever> and then that causes the remote nix to prefix all things with /mnt/
c382feb92 has joined #nixos
<clever> jakobrs: ive not found any proper documentation, so i just searched my irc logs for every single use of it, gathered them into one gist (linked above), and then began figuring out what they do
<jakobrs> Not completely related, but can you set the path with remote builds?
<jakobrs> Wait that's probably a feature of ssh_config
<clever> jakobrs: set which path?
<jakobrs> PATH path
<jakobrs> used for finding nix-store
<jakobrs> when remote building
<clever> jakobrs: ah, dont think so, your better off fixing the .bashrc on the remote box
<jakobrs> This is a completely unmodified standard multi-user install btw
<{^_^}> [nixpkgs] @Mic92 merged pull request #86454 → scalafmt: 2.4.2 -> 2.5.0 → https://git.io/JfOHP
never_released has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfO5F
<jakobrs> So logically speaking it should never work out of the box
<{^_^}> [nixpkgs] @flokli merged pull request #86461 → [19.09] gitlab: 12.8.9 -> 12.8.10 → https://git.io/JfO5T
<{^_^}> [nixpkgs] @flokli pushed 3 commits to release-19.09: https://git.io/JfO5b
<jakobrs> I figure single-user installs are simply more tested
<{^_^}> [nixpkgs] @flokli merged pull request #86460 → [20.03] gitlab: 12.8.9 -> 12.8.10 → https://git.io/JfO7p
<{^_^}> [nixpkgs] @flokli pushed 4 commits to release-20.03: https://git.io/JfO5N
<jakobrs> dxtr: Build finished
<clever> jakobrs: ive found both single and multiuser tend to not put nix in PATH for non-interactive ssh
<jakobrs> 4.43s user 1.53s system 0%cpu 1h 17min 2.22sec total
<{^_^}> [nixpkgs] @flokli merged pull request #86457 → kops: fix hash → https://git.io/JfO7T
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfO5x
hlisp has joined #nixos
<jakobrs> I'll try to fix it then.
c382feb92 has quit [Ping timeout: 264 seconds]
mallox has quit [Quit: WeeChat 2.8]
__Sander__ has joined #nixos
Desetude has joined #nixos
asbachb has joined #nixos
linarcx1 has joined #nixos
linarcx has quit [Ping timeout: 260 seconds]
gxt has quit [Remote host closed the connection]
<jakobrs> It would be really cool if one could run a nixos service locally
<jakobrs> think nix run, but for services
hlisp has quit [Ping timeout: 260 seconds]
<eoli3n_> Hi
gxt has joined #nixos
<eoli3n_> how packages are built ?
<eoli3n_> i remember that the first users who compile a package automatically up it for others, is that right ?
<eoli3n_> any link about how nix cache is managed ?
<clever> eoli3n_: nope, things are pre-built by hydra.nixos.org, and only that can upload to cache.nixos.org
<eoli3n_> ok thx
<{^_^}> [nixpkgs] @symphorien opened pull request #86464 → multibootusb: patchelf syslinux, add missing dependencies → https://git.io/JfOdm
<MichaelRaskin> If you have a group of fully mutually trusting devices, you can setup something similar to what you say with nix-serve
<asbachb> Any suggestions what I'm doing wrong? https://gist.github.com/asbachb/3c849dd86c2450f30df2ba1ebab4723e
<clever> $ nix-locate capability.h
<clever> libcap_progs.dev 3,297 r /nix/store/fczfcxq7kab59ki9ijfknd0cix472j43-libcap-2.25-dev/include/sys/capability.h
<clever> asbachb: did you add libcap_progs to buildInputs ?
<clever> asbachb: or perhaps its already broken...
<jakobrs> clever: It's a package in nixpkgs
<jakobrs> I think it's just broken
<clever> and what i said, is the fix
<jakobrs> But they didn't write the derivation
<clever> yeah
<MichaelRaskin> This doesn't make a fix useless
thomassgn has joined #nixos
<jakobrs> It seems to have broken 10. april
<clever> $ nix-shell -p 'linuxPackages.turbostat.overrideAttrs (_: { buildInputs = [ libcap_progs ]; })'
<clever> that would temporarily fix it
<clever> and adding it here, would fix it for good
Setzer22_2 has quit [Remote host closed the connection]
<asbachb> I see.
<asbachb> Is someone preparing a fix? Otherwise I'll do.
<thomassgn> Hi! I'm trying to understand what INSTALL_ROOT is. It is used in several nixpkgs but can't find docs or definition of it by grepping the nix + nixos + nixpkgs sources. Anyone know what this is?
<gchristensen> thomassgn: it looks like a variable used by various packages' source
<gchristensen> it isn't anything to Nix/Nixpkgs/NixOS
<thomassgn> oh, ok. do you know where it is described?
<gchristensen> yeh, so src/image/image.pro src/pdf/pdf.pro must have the string '$(INSTALL_ROOT)'
<gchristensen> and that code is deleting it from those files
<thomassgn> oh
<thomassgn> ah
<clever> asbachb: oh, it might be that my nixpkgs is old enough to not be broken yet
<clever> asbachb: so i didnt actually fix the problem
jakobrs has left #nixos ["WeeChat 2.8"]
<thomassgn> haha, I get it. That's a substitution removing that string from some qmake file ... hahaha. Thanks a whole bunch gchristensen :)
<gchristensen> yep! you're welcome :)
<{^_^}> [nixpkgs] @Ma27 merged pull request #86396 → php.extensions: Add descriptions, homepage and license to all upstream extensions → https://git.io/JfOvn
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfOdz
<clever> asbachb: yep, it fails if i use nixpkgs master
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<clever> nix-shell -p 'linuxPackages.turbostat.overrideAttrs (_: { buildInputs = [ libcap_progs.dev ]; })'
<clever> asbachb: ahh, split outputs, dev wasnt picked up automatically
<pbogdan> anyone got working nvidia prime offload config they could share?
<puffnfresh> pbogdan: as in Optimus?
<puffnfresh> pbogdan: https://nixos.wiki/wiki/Nvidia#offload_mode I have this
<pbogdan> puffnfresh: yeah, that's what I tried but couldn't get it working :-(
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pbogdan> do you have your config online somewhere so I could compare and see if I missed something?
<rycee> Anybody know how to fix the Nix in Travis issue? I don't seem to be able to get Nix 2.2 or 2.3 running for darwin so all travis jobs fail to evaluate nixpkgs master.
otwieracz has left #nixos ["WeeChat 2.7"]
<tokudan> does it make sense to backport a "oh btw, this package is unmainted for 4 years now and could be missing critical security fixes" from master to release-20.03?
<rycee> Due to sri hashes popping up in Nixpkgs…
<tokudan> does it make sense to backport a "oh btw, this package is unmainted for 4 years now and could be missing critical security fixes"-warning from master to release-20.03?
<{^_^}> [nixpkgs] @flokli opened pull request #86466 → bwwidget: fix hash → https://git.io/JfOFt
<emily> tokudan: makes sense to me, though I think removing the package > a warning for master in that case
<tokudan> emily, p7zip is used by too many other packages to just remove it in a release, i think :(
<emily> tokudan: ah, yeah. I just fixed some licensing issues in it no less
<emily> tokudan: sadly removing p7zip entirely is probably not an option; I don't know of any alternative for .7z files
<emily> (actually maybe Unarchiver can handle them?)
<tokudan> emily, they are probably all using the same unsafe code ;)
<emily> tokudan: no doubt (though Unarchiver frequently has its own implementations, it's still objc)
<emily> haven't seen any comprehensive memory-safe .7z implementations yet
<{^_^}> [nixpkgs] @flokli merged pull request #86440 → [20.03] backport v4l2loopback and broadcom-sta fixes → https://git.io/JfOXV
<{^_^}> [nixpkgs] @flokli pushed 3 commits to release-20.03: https://git.io/JfOFC
<tokudan> emily, my feeling is that the warning in master is warranted and we should just try to fix possible CVEs in p7zip until 20.03 is dead. at least there are no *known* vulnerabilities in p7zip once the two patches are in
lsix1 has quit [Ping timeout: 272 seconds]
<emily> tokudan: seems reasonable to me, it already has some backported CVE patches after all
<tokudan> so I'll keep the warning out of 20.03, unless our release managers prefer it otherwise :)
<emily> incidentally the non-portable 7zip has gotten releases more recently :/
<{^_^}> [nixpkgs] @flokli merged pull request #86417 → p7zip: fix two CVEs and mark as insecure → https://git.io/JfOcS
<tokudan> yeah
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JfOF4
<tokudan> I've removed p7zip from my system just yesterday
<emily> ok, unar(1) supports .7z to some extent it looks like
<emily> probably better to recommend that over p7zip
<emily> (I use nixpkgs#archiver for "most things", which is in Go)
<Ashy> hmm, i seem to have this issue in 20.03: https://github.com/NixOS/nixpkgs/issues/9006
<{^_^}> #9006 (by bjornfor, 4 years ago, closed): Lock screen does not work in Gnome 3
<{^_^}> [nixpkgs] @marsam merged pull request #86210 → vdirsyncer: fix build → https://git.io/JfmWb
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JfOFB
<emily> looks like actually its own implementation too
<{^_^}> [nixpkgs] @tokudan opened pull request #86467 → p7zip: fix two CVEs → https://git.io/JfOFR
<emily> tokudan: omg, I hadn't seen "There was another developer that worked for all p7zip related things. And there are no any news or messages from that developer"...
<emily> I assumed it was just standard FOSS project dormancy
<emily> tbh the main casualty of investing the 7zip source is that now I have no idea what archiver to use on windows
<tokudan> emily, nope, sadly the p7zip dev seems to be missing. just the 7zip dev mentioned that in the forum
<tokudan> emily, 7zip on windows seems fine to me
<emily> probably fine for being kept relatively up to date, but I saw enough of the code and the existing CVE patches are subtle enough that my trust in it kinda tanked
zupo has joined #nixos
<emily> it is, after all, usually one of the first things you run on random untrusted files from the internet
<tokudan> ah, yeah. well, I'm not using windows, so I don't have to worry about that :)
<emily> maybe I can just use WSL to extract things next time I'm on a windows box
hlisp has joined #nixos
<{^_^}> [nixpkgs] @tokudan closed pull request #86467 → p7zip: fix two CVEs → https://git.io/JfOFR
<{^_^}> [nixpkgs] @tokudan opened pull request #86468 → p7zip: fix two CVEs → https://git.io/JfOFS
<tokudan> now the PR for 20.03 is actually against 20.03 and not master :)
hlisp has quit [Ping timeout: 260 seconds]
d4rkshad0w has joined #nixos
o1lo01ol1o has joined #nixos
morgrimm has joined #nixos
<flokli> tokudan: emily: let's see what workarounds we come up with to fix packages on master
<flokli> We should definitely backport them to decrease the number of usages
<emily> fwiw I think that p7zip is the only thing that e.g. file-roller integrates with
<emily> of course, not supporting opening .7zs in gnome is better than owning users because they did so
<tokudan> yes, I hope that most work by just removing p7zip
<emily> I guess what I'm really saying is that if someone were to write a .7z implementation in Rust I'd be really grateful
<flokli> ^ puck :-P
<emily> I think it also leaves no free-software .rar archivers that integrate with gnome :(
<tokudan> yeah, though rar was always a bad format for free software and pretty much all its software was known for security issues
<puck> flokli: i'm not implementing 7z lol
<emily> tokudan: yeah, I certainly don't recommend anyone create new .rars, but the existing ones on the internet are a fact of life
<emily> especially when dealing with wine
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @talyz opened pull request #86469 → google-drive-ocamlfuse: 0.7.2 -> 0.7.21 → https://git.io/JfObr
elux has joined #nixos
<elux> hi there
<elux> im trying to use `docker` command as my wheel user without having to use sudo .. i've added the user to the "docker" group and restarted docker but I still can't `docker ps` as the user, any suggestions? (thank you)
fragamus has joined #nixos
<{^_^}> [nixpkgs] @offlinehacker merged pull request #86431 → jackett: 0.14.365 -> 0.16.175, add aarch64 support → https://git.io/JfOo8
<{^_^}> [nixpkgs] @offlinehacker pushed 3 commits to master: https://git.io/JfOb9
<clever> elux: what does `id` report?
<asbachb> 700 wakeups/s is quite high on idle or?
<elux> interesting, id does not show "docker" in the list
<elux> i do see my user in /etc/group tho
Cadey has quit [Disconnected by services]
<clever> elux: changes to your groups dont take effect until you logout and back in
linarcx1 has quit [Quit: WeeChat 2.8]
Xe is now known as Cadey
wagnerf has joined #nixos
Guest30980 has joined #nixos
<elux> i did quit the terminal and open it back up. i suppose its not a full logout. good to know
<elux> thank you
<clever> elux: the terminal inherits the groups from the window manager, which has the same problem
<clever> elux: you have to go all the way back to something with root (sshd, the login screen) for the changes to apply
<emily> asbachb: sounds bad
<wagnerf> hi, I'm using a proprietary program which is linked against qt
<wagnerf> I managed to build an expression for it
<wagnerf> and it worked in 19.09
<asbachb> emily: `1.7 ms/s 64.5 Timer tick_sched_timer`
<wagnerf> not in 20.03 anymore
orivej has joined #nixos
<wagnerf> I'm trying to have all my packages in 20.03 except this one
<wagnerf> in 19.09
alp has quit [Ping timeout: 240 seconds]
<wagnerf> i've read the pinning faq
<wagnerf> but it's not helping me too much
<wagnerf> (i'm really a newbie)
<wagnerf> any idea how to do this kind of things ?
<emily> wagnerf: it might be easier to just fix your package for the program
<wagnerf> I can't
<emily> I don't recommend keeping a package pinned on an old stable version forever
<wagnerf> the package is fine
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fragamus has quit [Ping timeout: 240 seconds]
lsix1 has joined #nixos
<emily> well, if it was fine then it would still be working >.>
<wagnerf> closed source software is a pb
<wagnerf> how do I link against old qt ?
<emily> anyway, people can help with both pinning old nixpkgs and updating a package to work with new nixpkgs, just suggesting that one will probably pay off better in the long run
<asbachb> Around 10W power comsumption :-/
pingiun has joined #nixos
<adisbladis> wagnerf: Considering Qt has a stable ABI you shouldn't have to link against old Qt
<wagnerf> well, it stopped working
<emily> wagnerf: generally you'll want to do something like let nixpkgs_19_09 = import (fetchFromGitHub { ... }) {}; in ... nixpkgs_19_09.callPackage ./my-old-derivation {}
hlisp has joined #nixos
<dxtr> Hmm, how do I make sure virt-manager can detect that libvirtd is running? I have set up dconf and I am a member of the libvirtd group
<dxtr> And libvirtd *is* running according to systemctl status
<adisbladis> wagnerf: Generally speaking the Qt ABI stability guarantee is pretty solid. I'm not convinced your problem is actually Qt related.
<dxtr> But when I start it it just says "libvirtd is installed but not running. Start the libvirtd service to manage virtualization on this host."
<adisbladis> Could you paste your expression?
<wagnerf> adisbladis: to be fair, there is a dependency on libGL
<freeman42x[m]> in the past there used to be some type of Nix cache provided by IOHK. Does that still need to be configured or is Nix using some cache by default now? I seen cachix references when intalling stuff recently
<wagnerf> and it tells me it cannot initialize glx
<emily> wagnerf: that sounds really unlikely to be fixed by pinning nixpkgs
<adisbladis> Gl is a massive impurity
<emily> you should really just share your package if you can, it's the only way people will be able to help. don't worry, there's guaranteed to be worse things inside nixpkgs
<{^_^}> [nixpkgs] @ajs124 opened pull request #86470 → memtest86-efi: replace p7zip with mtools → https://git.io/JfONZ
lsix1 has quit [Ping timeout: 240 seconds]
<b42> dxtr: try exporting LIBVIRT_DEFAULT_URI=qemu:///system before running virt-manager?
<freeman42x[m]> actually, not cachix but cache.nixos.org So, is it using a cache by default?
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2020-04-26 -> 2020-04-30 »: https://git.io/JfONW
philr has quit [Ping timeout: 260 seconds]
<wagnerf> it took me some time to write it and i was happy it worked for a few months
<{^_^}> [nixpkgs] @andir opened pull request #86471 → nixos/tests/: add systemd-networkd-ipv6-prefix-delegation → https://git.io/JfONR
<wagnerf> the callpackage needs to be a libsForQt5.callpackage
<adisbladis> wagnerf: Which GPU (driver) are you using?
elux has quit [Quit: leaving]
<wagnerf> adisbladis: right now it's intel
<wagnerf> but i also used it on an nvidia machine
hlisp has quit [Ping timeout: 258 seconds]
<adisbladis> wagnerf: And what errors are you seeing?
asbachb has quit [Remote host closed the connection]
<wagnerf> qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wagnerf> ...
<wagnerf> Could not initialize GLX
<adisbladis> Hm
<adisbladis> Starts up for me (after adding wrapQtAppsHook)
<wagnerf> what's wrapQtAppsHook ?
<adisbladis> wagnerf: As the name implies it creates wrappers for Qt applications
<adisbladis> Qt does a bunch of runtime spelunking to find it's libraries
<wagnerf> isn't what libsForQt5.callpackage is doing ?
<wagnerf> yes I understood that
<adisbladis> wagnerf: No, that's adding extra attributes to the dependency injection
<wagnerf> adisbladis: so, where do you add the hook exactly ?
virus_dave has joined #nixos
<adisbladis> nativeBuildInputs = [ wrapQtAppsHook ];
<adisbladis> I don't really think that's your problem though.. But it might be?
<wagnerf> i'm giving it a run
<wagnerf> no, it's still the same behaviour
hlisp has joined #nixos
pingiun has quit [Read error: Connection reset by peer]
<adisbladis> At this point I think strace is your friend
proofofkeags has joined #nixos
<adisbladis> If I'm gonna guess upstream are refering to some symbols your GL driver doesn't have
<adisbladis> Proprietary software is a PITA :/
teto has joined #nixos
<wagnerf> yes :-(
<dxtr> b42: OH yeah forgot about that variable
hlisp has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @andir merged pull request #86468 → p7zip: fix two CVEs → https://git.io/JfOFS
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-20.03: https://git.io/JfON9
<adisbladis> I feel that it's unlikely to be Qt related
<{^_^}> [nixpkgs] @filalex77 opened pull request #86472 → procs: 0.10.0 -> 0.10.1 → https://git.io/JfON5
<adisbladis> wagnerf: strace is your friend when debugging these kind of issues :)
<wagnerf> you are right. it cannot find libGLX_indirect.so.0
<Cadey> i'm getting a bizarre error when trying to migrate my emacs config to home-manager: https://gist.github.com/Xe/b1bbb3e0b7bf75510f70fbf4d9888794
hlisp has joined #nixos
<emily> wagnerf: I wonder if this could relate to switching to glvnd or something
<emily> though I think that happened prior to 19.09
<adisbladis> emily: There were other significant changes around libgl/mesa for 20.03
<emily> Cadey: I think this means you won NixOS
<Cadey> oh god
<Cadey> but yeah do you have any ideas how i can debug this?
<emily> I'd get into a nix-shell building the derivation so you can look at the lines/variable expansions that are causing an error
<emily> like cross-reference line 84 of stdenv setup, check what variables are set in the nix-shell, probably one of them has some gigantic pathname
<emily> I'm guessing the home-manager emacs module is doing some weird stuff
<{^_^}> [nixpkgs] @bjornfor merged pull request #80922 → programs/chromium: allow extensions outside chrome web store → https://git.io/Jv0ji
<{^_^}> [nixpkgs] @bjornfor pushed commit from @danielfullmer to master « programs/chromium: allow extensions outside chrome web store »: https://git.io/JfONh
<adisbladis> Iirc home-manager emacs module is a simple wrapper around emacsWithPackages
hlisp has quit [Ping timeout: 256 seconds]
<emily> it may be that stdenv has to change to pass less long argument lists, even
<Cadey> except line 84 does not have a basename call
<emily> presumably you might be able to work around it if nobody else is having issues though
<Cadey> (the script in question)
<adisbladis> Cadey: Anyway :)
<adisbladis> cd $(mktemp -d) && nix-shell /path/to/drv
<adisbladis> Inside nix-shell: set -x && genericBuild
<emily> ♥ nix: "hm, I should just look at that stdenv myself" → "but I'm not on 20.03" → nix build /nix/store/vilh5ays3ymz3xkwk0fri2a70lha7pfc-stdenv-linux and it materializes
<ajs124> Cadey: as a shitty hack, you can also set -x in some super early stdenv hook
<emily> no need, you already shared a globally-reproducible hash cached on hydra :3
<Cadey> ajs124: which hook is that?
<{^_^}> [nixpkgs] @bjornfor merged pull request #86462 → terminator: 1.91 -> 1.92 → https://git.io/JfO5k
<{^_^}> [nixpkgs] @bjornfor pushed commit from @SFrijters to master « terminator: 1.91 -> 1.92 »: https://git.io/JfOAY
<emily> well I have no idea what's up with the line numbers at least
<adisbladis> Cadey: I find debugging nix-build issues _much_ easier outside of the sandbox
<Cadey> well
<Cadey> this is odd
<ajs124> Yeah, just do what adisbladis said, that sounds easier.
<Cadey> the genericBuild worked
<Cadey> but
<Cadey> when i try to list the files in the current folder
<Cadey> bash: /nix/store/bgvd279hrb53i3ah2mi0nf8jp6g6g6g9-coreutils-8.31/bin/ls: Argument list too long
<ajs124> are you doing ls * ?
<ajs124> and are there >127 (or whatever the magical limit was) files?
<Cadey> no, `ls`
obadz- has joined #nixos
<Cadey> and there are _zero_ files
<ajs124> Maybe it's time to invoke https://xkcd.com/2083/ ?
<emily> may I recommend the services of an exorcist?
vidbina has joined #nixos
<emily> uhhh, what about pwd
<adisbladis> Did you remember to sacrifice a goat?
eoli3n_ has quit [Quit: WeeChat 2.8]
<adisbladis> I do not condone this behaviour ^
<emily> maybe environ being too huge is included in "Argument list too long" since they're both passed to main?
<emily> check env(1)??
<MichaelRaskin> Just strace
<Cadey> i get that on every coreutils program
obadz has quit [Ping timeout: 264 seconds]
obadz- is now known as obadz
<ajs124> use busybox?
<ajs124> I never liked gnu coreutils
<{^_^}> [nixpkgs] @bachp opened pull request #86473 → nixos/virtualbox-guest: VMSVGA → https://git.io/JfOAg
<genevino> i even use gls from coreutils as default ls on bsd, shoot me
<Cadey> is there a way to force bash to dump its current config?
zupo has joined #nixos
<genevino> Cadey: you can use "env" to get a list of all currently set environment variables, but that's probably not what you want.
<Cadey> yeah env isn't working :D
<clever> Cadey: try `set` then
<clever> that one is part of bash, so it doesnt need to fork
samrose_ has joined #nixos
samrose has quit [Ping timeout: 256 seconds]
<Cadey> lol running any command in bash fails
<Cadey> not builtins tho
virus_dave has quit [Ping timeout: 256 seconds]
hlisp has joined #nixos
<Cadey> could this be an environment variable being too big?
<clever> Cadey: the fact that its 3000 lines long, could be the problem, lol
<Cadey> !
<Cadey> apparently it's the environment being too big!
eoli3n_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<Cadey> command line arguments and environment variables go in the same bucket
<Cadey> if either is too big, that causes the process to fail to execute at the kernel level
xkapastel has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @poscat0x04 opened pull request #86474 → vscode-extensions.justusadam.language-haskell: 2.6.0 -> 3.0.3 → https://git.io/JfOAy
<ajs124> EMACSLOADPATH also seems comically long
<Cadey> yeah, i'm not sure why that's happening
dongcarl has joined #nixos
<Cadey> or why it's got so many repeated elements
<{^_^}> [nixpkgs] @guibou opened pull request #86475 → apitrace: fix to find OpenGL libraries → https://git.io/JfOA5
<Cadey> is there a way to like uniq them?
<ajs124> It's 728378 characters long 🤣
shibboleth has joined #nixos
<ajs124> 7800 entries separated by ":"s. with only 51 uniques.
eof has quit [Ping timeout: 246 seconds]
<Cadey> i wonder if this has some kind of quadratic logic to it
eof has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
zupo has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @filalex77 opened pull request #86476 → wormhole: init at 0.1.5 → https://git.io/JfOx3
wagnerf has quit [Quit: WeeChat 2.7.1]
<ajs124> Cadey: if you don't care about a good solution, you can just unique it https://github.com/NixOS/nixpkgs/blob/master/lib/lists.nix#L635
proofofkeags has quit [Ping timeout: 256 seconds]
qbit has joined #nixos
<qbit> hi
<Cadey> not working ajs124
<ajs124> Still >640KB in the environment variable? What would Bill Gates think of you...
wagnerf has joined #nixos
alp has joined #nixos
<clever> Cadey: `xargs --show-limits`
<clever> that shows the actual limits, for your system
<Cadey> POSIX upper limit on argument length (this system): 2088870
oida has joined #nixos
<clever> of note, the limit is for the sum of both argv and all env vars
<Cadey> yeah
<{^_^}> [nixpkgs] @filalex77 opened pull request #86477 → gitui: init at 0.2.0 → https://git.io/JfOpe
<Cadey> i replaced the auto-detection logic with a static list of emacs packages and i'm still getting the error
<ajs124> Hm. So I looked at what you pasted again and every path is in there exactly 156 times.
<genevino> upgrading 'lilyterm-0.9.9.4' to 'lilyterm-2017-01-06'
proofofk_ has joined #nixos
<genevino> huh, is this normal?
<genevino> the 2 version things looks extremely different
<LnL> 2017 > 0
dnlkrgr has joined #nixos
<genevino> LnL: tru
wagnerf has quit [Quit: WeeChat 2.6]
<LnL> but generally, unless the project switched version scheme using an unreleased version (ie. commit date) should have an -unstable suffix to avoid this
cjpbirkbeck has joined #nixos
corpix has quit [Remote host closed the connection]
corpix has joined #nixos
ddellacosta has joined #nixos
civodul has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #86470 → memtest86-efi: replace p7zip with mtools → https://git.io/JfONZ
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfOpA
<{^_^}> [nixpkgs] @flokli pushed commit from @ajs124 to release-20.03 « memtest86-efi: replace p7zip with mtools »: https://git.io/JfOph
Setzer22_2 has joined #nixos
jakobrs has joined #nixos
dadada_ has joined #nixos
<jakobrs> On a scale from "it's acceptable" to "makes me physically unwell", how bad an idea is it to update the channels using nix-env -i?
<jakobrs> nixos-container run container -- nix-env --profile /nix/var/nix/profiles/per-user/root/channels -i $(realpath /nix/var/nix/profiles/per-user/root/channels)
<Setzer22_2> hi! I'm trying to install the nvidia propietary driver following the guide at the wiki (https://nixos.wiki/wiki/Nvidia). Unfortunately, I'm forced to use sync mode due to a hardwired HDMI to the dedicated gpu, so I added hardware.nvidia.prime.sync.enable = true; as suggested, but nixos-install complained about that option not being supported.
<Setzer22_2> Instead, by looking at the options list I see that there's "hardware.nvidia.optimus_prime.enable", which I could use instead. Does anyone know about this differences?
<{^_^}> [nixpkgs] @paumr opened pull request #86478 → qutebrowser: 1.10.1 -> 1.11.0 → https://git.io/JfOhG
<Setzer22_2> If I didn't know any better, I'd think the wiki is just outdated, but the wiki is clearly referencing the new method, with "official" prime offloading being relatively new, and bumblebee deprecated. Instead, the nixos options page lists bumblebee alongside this optimus_prime flag, which suggests the older situation
<{^_^}> [nixpkgs] @filalex77 opened pull request #86479 → intermodal: init at 0.1.7 → https://git.io/JfOhC
<betaboon> Florian[m]1: are you FlorianFranzen on github ?
<Setzer22_2> (brb, If someone has an answer please tell, I'll check the logs ^^')
Setzer22_2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mkg20001 opened pull request #86480 → modules.steam: init module with workarrounds → https://git.io/JfOhB
stepcut has joined #nixos
cole-h has joined #nixos
jakobrs has quit [Quit: WeeChat 2.8]
<stepcut> I used node2nix to generate some .nix files from my package.json. But everytime I run nix-shell -A shell it seems to rebuild everything.. that can't be right?
<stepcut> it takes several minutes to compile and gobbles up more disk space
ambro718 has joined #nixos
Setzer22_2 has joined #nixos
ok2` has quit [Ping timeout: 246 seconds]
reallymemorable has joined #nixos
cjpbirkbeck has quit [Quit: cjpbirkbeck]
proofofk_ has quit [Ping timeout: 260 seconds]
ok2` has joined #nixos
<freeman42x[m]> got following error when trying to use cachix: https://gist.github.com/razvan-flavius-panda/7c422a482b54bb7648133f233a8a0eee any ideas how to fix it?
<srk> looks like nix-build problem
<srk> it tries to find default.nix in your ~
<srk> (or better put in your pwd)
<{^_^}> [nixpkgs] @peti pushed 196 commits to haskell-updates: https://git.io/JfOhA
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfOhh
<betaboon> anyone found a solution how to pass SWAYSOCK to waybar when both are started as systemd-user-unit
<ToxicFrog> Is there an equivalent to symlinkJoin that uses hardlinks instead? I'm trying to symlinkJoin [read-only program code, generated config file that the program expects to find in the same directory as $0], but it resolves symlinks when finding $0, so it ends up looking in /nix/store/program rather than /nix/store/program-with-config
<ToxicFrog> (the program in question is Kanboard, written in PHP and using __DIR__ -- I'm trying to write a nixos settings module for it)
<clever> ToxicFrog: `nix-store --optimize` will create the hardlinks after the build has finished
<clever> ToxicFrog: so you can just copy normally, then have nix dedup the whole store
<ToxicFrog> Ok, so is there an equivalent to `symlinkJoin` that uses `cp` instead of `ln -s`? Because if not, and I have to write it myself, I might as well use `ln` and save space during the build.
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<clever> ToxicFrog: dont think theres anything like that really
<clever> pkgs.runCommand can simplify doing it manually though
stree has quit [Read error: Connection reset by peer]
stree has joined #nixos
mla has quit [Ping timeout: 258 seconds]
vyorkin has joined #nixos
chloekek has joined #nixos
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @SFrijters opened pull request #86482 → pyprof2calltree: 1.4.4 -> 1.4.5 → https://git.io/JfOjO
tno has quit [Ping timeout: 260 seconds]
Pwnna has quit [Ping timeout: 256 seconds]
AstroBadger has quit [Ping timeout: 264 seconds]
ben has quit [Ping timeout: 264 seconds]
proofofkeags has joined #nixos
Pwnna has joined #nixos
ben has joined #nixos
<evanjs> Alright, I pinged icetan the other day, but does anybody else have experience patching programs managed almost entirely with mavenix?
v0|d has quit [Remote host closed the connection]
<evanjs> `patches = [];` seems to have no effect :/
tno has joined #nixos
<evanjs> But I figure there's something I might be doing wrong
mdash has joined #nixos
rickhull has joined #nixos
<evanjs> Trying to limit it to one nix expression (save the mavenix lock file) if possible, but if that won't work, that's fine
<mdash> Suddenly I find myself needing to run a SAML IdP. What do y'all like for that?
<{^_^}> [nixpkgs] @flokli pushed to master « Revert "nixos/systemd.nix: don’t require online for multi-user.target" »: https://git.io/JfOj8
<{^_^}> [nixpkgs] @Vskilet opened pull request #86483 → roundcube: 1.4.3 -> 1.4.4 → https://git.io/JfOj4
proofofk_ has joined #nixos
proofofkeags has quit [Read error: Connection reset by peer]
reallymemorable has quit [Quit: reallymemorable]
AstroBadger has joined #nixos
reallymemorable has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
<icetan> evanjs: sorry must of missed your ping
erasmas has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #86484 → nixos/systemd.nix: don’t require online for multi-user.target → https://git.io/JfOjz
<evanjs> nah you're fine. I only sent _one_ ping tbf haha
<evanjs> I just want to patch a pom but it doesn't seem to do anything with my patches is all :D
proofofk_ has quit [Ping timeout: 240 seconds]
<icetan> Patches isn't implemented, but will have to look into how that could be done
<{^_^}> [nixops] @grahamc merged pull request #1323 → Use rsync instead of scp for file copying → https://git.io/JfLau
<{^_^}> [nixops] @grahamc pushed 2 commits to master: https://git.io/JfOj6
<icetan> Guess you could do it in a derivation on the `src` where you apply the patch before passing it to mavenix
<evanjs> icetan: sweet, that's mostly what I was wondering. Wanted to firstly ensure I wasn't doing anything "wrong" per se
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @Ma27 closed pull request #86483 → roundcube: 1.4.3 -> 1.4.4 → https://git.io/JfOj4
<evanjs> That's what I was wondering. Unsure of how I could do that if src is merely a `fetchGit` right now :D
tewfik has joined #nixos
domogled has joined #nixos
<freeman42x[m]> could anyone help with this issue? https://octolinker-demo.now.sh/cachix/cachix/issues/173#issue-415549617
<icetan> evanjs: could you open an issue on https://github.com/nix-community/mavenix/issues haven't had much time over lately though
jakobrs has joined #nixos
<jakobrs> Is it possible to use a remote nix-daemon over tcp?
<srk> with some socat magic possibly :)
<clever> jakobrs: that usually happens over ssh
<clever> but i think --store daemon?something=/path/to can point you to a diff socket, and then socat
<evanjs> icetan: nah same here but would be happy to open an issue
<jakobrs> When I run a remote build, it literally connects via SSH and does the build there, right?
<jakobrs> What if it could create an SSH tunnel instead
<clever> jakobrs: it runs `nix-store --serve` over ssh, then uses that to push storepaths and drv's over
<clever> jakobrs: then issues a build of a .drv file remotely, waits, and copies store-paths back out
<jakobrs> Yeah, but for the actual building
<jakobrs> It just feels wrong the way it uses the shell
<clever> shell?
<jakobrs> remote builds call nix-store from the shell to realise derivations
knupfer has quit [Quit: knupfer]
<jakobrs> I assume
<clever> jakobrs: its calling `nix-store --serve`, which opens a binary bi-directional protocol
knupfer has joined #nixos
<jakobrs> okay, so it's just using that bi-directional protocol for
<jakobrs> everything?
<clever> yeah
swapgs has quit [Ping timeout: 252 seconds]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.7-rc2 -> 5.7-rc3 »: https://git.io/Jf3es
<evanjs> icetan: https://github.com/nix-community/mavenix/issues/39 feel free to reword the title to anything that might be more concise :P
<{^_^}> nix-community/mavenix#39 (by evanjs, 33 seconds ago, open): Support for `patches` variable
<jakobrs> Can you use ssh-agent for decrypting the SSH keys?
<clever> jakobrs: depends on if its single or multi-user nix
<jakobrs> The latter
<clever> jakobrs: for multi-user nix, the nix-daemon running under systemd is doing the ssh normally
<clever> jakobrs: which complicates setting the env var to make it talk to ssh-agent
<jakobrs> Okay
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
Alexey82 has joined #nixos
<jakobrs> Isn't list of attribute sets deprecated?
<jakobrs> nix.buildMachines is a list of attribute sets
<clever> submodule would be better, so it typechecks those sets
<jakobrs> But you're not supposed to use submodules either?
<clever> i think submodules are still allowed
<clever> fileSystems and swapDevices are both submodule based, last i looked
<jakobrs> I'd expect it to be an attribute set of submodules indexed by the name
<jakobrs> like with httpd.virtualHosts
<Izorkin> Mic92: how to need to merge PR 85225?
<jakobrs> But yeah the main problem is that the actual attributes aren't documented in the man page
quinn has joined #nixos
corpix has quit [Remote host closed the connection]
corpix has joined #nixos
<clever> jakobrs: and the example just above that
sarcasticadmin has joined #nixos
<jakobrs> I don't see any pathToNixStoreCommand
<{^_^}> [nixpkgs] @flokli merged pull request #86471 → nixos/tests: add systemd-networkd-ipv6-prefix-delegation → https://git.io/JfONR
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/Jf3e7
<clever> jakobrs: thats not a valid option
<jakobrs> That's my point
nschoe has quit [Ping timeout: 240 seconds]
<clever> jakobrs: line 453 is what converts it, and should be throwing errors for unknown keys
<Izorkin> flokli: need others changes to pr 85862?
never_released has quit [Max SendQ exceeded]
corpix has quit [Remote host closed the connection]
corpix has joined #nixos
vidbina has quit [Ping timeout: 264 seconds]
never_released has joined #nixos
corpix has quit [Remote host closed the connection]
corpix has joined #nixos
<{^_^}> [nixpkgs] @cole-h opened pull request #86485 → [20.03] libvorbis: fix 404'ing patch → https://git.io/Jf3vn
<jakobrs> What's nix.machines? It's not a configuration option
<jakobrs> $ nix build --help-config | grep 'builders '
<jakobrs> [...] in the format of nix.machines.
<clever> jakobrs: the file at /etc/nix/machines
<clever> jakobrs: which is described in the nix manual
<jakobrs> oh, right
<clever> jakobrs: the nix.buildMachines nixos option, then generates that
zupo has joined #nixos
<icetan> evanjs: thank you for the issue!
corpix has quit [Remote host closed the connection]
corpix has joined #nixos
<{^_^}> [nixpkgs] @firmero closed pull request #86395 → vscode-extensions.slevesque.vscode-hexdump: init at 1.7.2 → https://git.io/JfOvJ
corpix has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @firmero closed pull request #86399 → vscode-extensions.tomoki1207.pdf: init at 0.6.0 → https://git.io/JfOfB
<{^_^}> [nixpkgs] @firmero closed pull request #86397 → vscode-extensions.streetsidesoftware.code-spell-checker: init at 1.8.0 → https://git.io/JfOvB
<{^_^}> [nixpkgs] @firmero closed pull request #86394 → vscode-extensions.ionutvmi.path-autocomplete: init at 1.13.6 → https://git.io/JfOe5
<{^_^}> [nixpkgs] @firmero closed pull request #86393 → vscode-extensions.mhutchie.git-graph: init at 1.22.0 → https://git.io/JfOeg
<{^_^}> [nixpkgs] @firmero closed pull request #86392 → vscode-extensions.donjayamanne.githistory: init at 0.6.5 → https://git.io/JfOeI
<{^_^}> [nixpkgs] @firmero closed pull request #86390 → vscode-extensions.DavidAnson.vscode-markdownlint: init at 0.35.1 → https://git.io/JfYji
<{^_^}> [nixpkgs] @firmero closed pull request #86389 → vscode-extensions.bierner.markdown-preview-github-styles: init at 0.1.6 → https://git.io/JfYjk
<{^_^}> [nixpkgs] @firmero closed pull request #86385 → vscode-extensions.bierner.markdown-checkbox: init at 0.1.3 → https://git.io/JfYha
<{^_^}> [nixpkgs] @firmero closed pull request #86383 → vscode-extensions.cschlosser.doxdocgen: init at 0.6.0 → https://git.io/JfYhf
<{^_^}> [nixpkgs] @firmero closed pull request #86380 → vscode-extensions.bbenoist.vscode-doxygen: init at 1.0.0 → https://git.io/JfYpI
corpix has joined #nixos
gustavderdrache has joined #nixos
corpix has quit [Remote host closed the connection]
corpix has joined #nixos
splintah has joined #nixos
<jakobrs> Are there static builds of Nix available?
<clever> > pkgsCross.musl64.nix
<{^_^}> "<derivation /nix/store/ybm43c968jdgjqqcs1lv8rm1df8nmx2y-nix-2.3.4-x86_64-unknown-linux-musl.drv>"
<clever> jakobrs: i think that will be static
user_0x58 has joined #nixos
<jakobrs> $ file result/bin/nix
<jakobrs> nix: [...] dynamically linked, interpreter [...]
<clever> jakobrs: which interpreter?
fabianhjr has joined #nixos
<jakobrs> musl-1.1.24-x8664-unknown-linux-musl/lib/ld-musl-x86_64.so.1
<clever> > pkgsCross.musl64.pkgsStatic.nix
<{^_^}> "<derivation /nix/store/4r8vryfv2yps01zcdhdpn8y7csrn14ah-nix-2.3.4-x86_64-unknown-linux-musl.drv>"
<clever> ah, so it was a dynamic musl
<clever> try that last one
<jakobrs> What does pkgsCross.musl64 do?
<jakobrs> As in, how is that different from
<clever> cross-compile with x86-64 musl, instead of glibc
<jakobrs> > pkgsStatic.nix
<{^_^}> "<derivation /nix/store/4r8vryfv2yps01zcdhdpn8y7csrn14ah-nix-2.3.4-x86_64-unknown-linux-musl.drv>"
<clever> thats static with glibc
<clever> which tends to be larger
<{^_^}> [nixpkgs] @Mic92 merged pull request #86458 → radare2: 4.3.1 -> 4.4.0 → https://git.io/JfO7c
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/Jf3vN
<jakobrs> Okay, we'll see if this works
<jakobrs> 26 parts to build
<jakobrs> It would be cool if Nix could use the Hydra stats to estimate build times
<jakobrs> Erm, if I drop pkgsCross.musl64 it's still musl
<jakobrs> So I guess static builds are musl by default
<clever> `pkgsCross.musl64.pkgsStatic.nix` should combine both static and musl
<jakobrs> That's the same as just pkgsStatic.nix
<jakobrs> pkgsStatic changes to musl by default
<jakobrs> And you'd do pkgsStatic.pkgsCross.gnu64.nix to revert that
<clever> ah, ive not messed with them much yet
<{^_^}> [nixpkgs] @marsam merged pull request #86472 → procs: 0.10.0 -> 0.10.1 → https://git.io/JfON5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3fG
<turlando> Another noob question from me: if for example I want to install something for a single user in my system user I should edit .nixpkgs/config.nix and then call nix-build as such user?
<clever> turlando: yeah, thats one option
<jakobrs> nix-env -i?
<jakobrs> Or am i missing something
<turlando> Thanks clever. Your tips are being very helpful in these days
suchar has joined #nixos
hakujin has joined #nixos
<turlando> Is there a way to run a nix env inside a linux namespace? (So that it will only see part of the filesystem and I can avoid using docker and such?)
<clever> turlando: it should work just fine once you map /nix to that namespace
qbit has left #nixos ["WeeChat 2.8"]
<hakujin> hi folks, we use haskell + hydra on a growing project, with growing compilation times. I'd like to cache as much as possible and ideally allow hydra to reuse unchanged build products between builds. Is there a way to share module-level caching of haskell projects between builds? If not, is my best bet to factor heavy code out into a separate package?
<Yaniel> separate packages I think
<Yaniel> look at how rust packages are done
<infinisil> Yeah Nix can't reasonably do module-level caching
<{^_^}> [nixpkgs] @flokli merged pull request #70318 → thelounge: Set THELOUNGE_HOME environment variable → https://git.io/JecBG
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf3f1
<hakujin> Yaniel: infinisil: thanks
<infinisil> There is an experimental https://github.com/nmattia/snack which could do module-level caching, but it's not very practical
<infinisil> Actually it might not be experimental
<infinisil> Hm, and for a single package this might actually work
<clever> infinisil: it has several issues, 1st one is that it can only do module level building for the final cabal file
<clever> and uses plain cabal2nix for all deps
<infinisil> clever: Yeah, so this might be fine for the CI of a single project
<clever> so if your project has 2 or more cabal files, things already start to fall apart
<clever> i wrote a cabal-merger to undo that, and put it all back into 1 cabal file
<clever> it took over 48 hours just to eval cardano-sl with snack :P
<hakujin> right now our project has one cabal file
<clever> just the nix eval alone
<hakujin> so maybe this is a good fit?
<infinisil> clever: Why so long though? A ton of modules?
<clever> in that 48 hours, i was able to rewrite half of snack, to make it eval in 15mins
<clever> infinisil: lack of memoization
<clever> infinisil: basically, every time you import Foo.Bar, it re-runs stdenv.mkDerivation for generating Foo.Bar
<infinisil> I see, yeah that'll be pretty bad
<clever> infinisil: which has to re-hash the build directions for Foo.Bar, and everythng it depends on, recursively
<turlando> clever: do I have to run unshare manually? I can't really find any option in Nix. There is no way to automate it through nix?
<clever> turlando: if you want to sandbox things at runtime, yes
<clever> turlando: but nix will automaticall sandbox things at build-time for you
<hakujin> clever: for a monorepo-style project do you recommend snack or just creating a few separate packages for heavy/infrequently changing parts of the codebase?
<infinisil> clever: cardano-sl seems to have over 1000 Haskell files, so this probably contributed to the 15 minutes eval time :)
<Yaniel> separate packages is almost definitely going to be more robust
<Yaniel> and less of a headache to deal with
nschoe has joined #nixos
<clever> infinisil: yeah, it also depends on the scale of the package
<infinisil> hakujin: If you're feeling adventurous, I'd give snack a try
<clever> this is the fork where i did the overhaul to fix performance
<infinisil> Oh it's not upstreamed
<clever> yeah
<infinisil> Why not upstream it?
<clever> i never finished things, and just kind of abandoned it
fresheyeball has joined #nixos
<turlando> clever: yes, I'd like to sandbox running services. For example I have to run Icecast and being a huge pile of old C code I'd rather give it as little privileges as possible. Unless I am really keen to reinvent the wheel I should stick with docker?
<infinisil> Hm I see
<clever> and this is the code for cabal-merger (turns many cabal files into one) and also cabal-to-snack (creates a nix file that snack can use)
<jakobrs> nix build pkgs.Static failed:
<jakobrs> chmod: missing operand after 'u+w'
<infinisil> hakujin: Well, maybe don't try snack after all, I doubt it's gonna be an improvement :P
<clever> turlando: systemd can sandbox services automatically for you
<turlando> clever I didn't know that. Thanks for pointing out. I will check some documentation about that.
<{^_^}> [nixpkgs] @flokli opened pull request #86486 → nixosTests: re-enable networking tests → https://git.io/Jf3JC
<hakujin> hah, alright
jakobrs has quit [Quit: WeeChat 2.8]
Thra11 has joined #nixos
qrnteen has joined #nixos
asheshambasta has quit [Ping timeout: 246 seconds]
<{^_^}> [nixops] @manveru opened pull request #1334 → fix op_check → https://git.io/Jf3JN
<niso> did this build fail due to a network error? https://github.com/NixOS/nixpkgs/pull/86478/checks?check_run_id=636826540
<fresheyeball> how can I investigate a nginx 500 on nixos?
<clever> niso: Could not resolve SDK product version for 'macosx'.
<fresheyeball> logs are not where I expect with googling for this
<clever> niso: the error is further up
<clever> fresheyeball: /var/spool/nginx/logs/
<{^_^}> [nixpkgs] @adisbladis opened pull request #86487 → Python: introduce NIX_PYTHONPREFIX in order to set site.PREFIXES (20.03 backport) → https://git.io/Jf3Uk
<fresheyeball> clever: thanks
<niso> clever: oh, thanks just noticed the "view details" link :)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
Vikingman has joined #nixos
<niso> i assume i cannot easily reproduce/fix this issue without owning a machine running OSX right?
<clever> niso: correct
<niso> clever: alright, thanks
cp9 has joined #nixos
Ralith_ has quit [Remote host closed the connection]
Ralith_ has joined #nixos
wozeparrot has joined #nixos
dnlkrgr has quit [Ping timeout: 256 seconds]
fps has joined #nixos
johnw has quit [Remote host closed the connection]
<fps> hi, i have setup a small default.nix for a project i'm working on. i got my build dependencies just fine. but to test it i need to have some lv2 plugins available in the nix-shell
<fps> the problem is that liblilv doesn't discover the plugins. LV2_PATH isn't set either
<fps> and since this is my first day of nixos after quite a while i'm not even sure where the packages in the nix-shell environment go. it's a different place from ~/.nix-profile/
<azazel> fps: if you set an LV2PATH attr on your derivation, it will be available as variable during phase run
<azazel> fps: If you want to run things when "nix-shell" starts, you can define a "shellHook" attr on your derivation… it will be sourced by nix-shell
shafox has quit [Remote host closed the connection]
tewfik has quit [Ping timeout: 260 seconds]
tewfik has joined #nixos
<{^_^}> [nixpkgs] @cole-h opened pull request #86488 → [WIP] doas: 6.0 -> 6.6.1, nixos/doas: init → https://git.io/Jf3Ts
<cole-h> adisbladis: ^
drakonis has joined #nixos
shafox has joined #nixos
hlolli has joined #nixos
counterfactual[m has joined #nixos
stepcut has quit [Ping timeout: 246 seconds]
<fps> azazel: hmm. i wonder where the plugins went though on the nix-shell invocation. so i know what to point LV2_PATH to
<fps> also unrelated: any recommendations for a terminal to use with i3. xterm is kind of dated ;)
<azazel> fps: I use "sakura"
<cp9> termite
<cole-h> Alacritty ;^)
<cp9> fast + doesn't have any extraneous stuff + supports truecolor
<{^_^}> [nixpkgs] @FRidh pushed 106 commits to staging-20.03: https://git.io/Jf3Ta
<azazel> fps: it's nix, so if you have the packages, you have the paths ;-)
<cp9> I've used kitty and alacritty in the past and liked both, but they both require GPU acceleration that doesn't work easily in VM
<hlolli> Looking for advice on how to best package a nested directory. In newer graalvm versions, there's included a bundled clang. This is mostly for internal use, but is also needed for graalvm packages which use Sulong. To create a wrapCCWith, I have to refer to a derivation and not store path. Should I call stdenv.mkDerivation and just symlink the the nested directories?
bornjre has joined #nixos
<morgrimm> Anyone ever had issues with importing a symlink to a package before?
<{^_^}> [nixops] @grahamc merged pull request #1334 → fix op_check → https://git.io/Jf3JN
<morgrimm> Nix is complaining that it's missing a `lastModified` attribute, which I assume it needs
<{^_^}> [nixops] @grahamc pushed 3 commits to master: https://git.io/Jf3Ti
<gchristensen> is this a flake thing?
vidbina has joined #nixos
jumper149 has joined #nixos
jumper149 has quit [Client Quit]
xelxebar has quit [Remote host closed the connection]
<morgrimm> gchristensen: I can't really tell. Nothing points to it being specifically a flake issue, but I've not seen it before
xelxebar has joined #nixos
<morgrimm> I am using it in a flake configuration though
<fps> azazel: hm, ok.. i suppose if i knew what i was doing that would be sufficient information. but i don't ;)
<fps> azazel: can you give me another hint for reading up on the relevant info?
<fps> [i'm more familiar with guix than with nix at this point in time]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #86489 → nixos/documentation: add option to generate caches → https://git.io/Jf3ke
<{^_^}> [nixpkgs] @LnL7 merged pull request #86411 → yabai: init at 2.4.3 → https://git.io/JfOZP
<{^_^}> [nixpkgs] @LnL7 pushed 3 commits to master: https://git.io/Jf3kJ
zebrag has joined #nixos
mallox has joined #nixos
bornjre is now known as butcher
<fps> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<azazel> fps: every derivation and package can be converted to string with something like "${pkgs.foo}" to get the base path of it in the nix store
<{^_^}> [nixpkgs] @jtojnar pushed to master « terminator: clean up »: https://git.io/Jf3kT
butcher has quit [Quit: Leaving]
butcher has joined #nixos
primeos has joined #nixos
proofofkeags has quit [Remote host closed the connection]
splintah has quit [Ping timeout: 265 seconds]
sigmundv_ has quit [Remote host closed the connection]
<morgrimm> after a few rebuilds and a couple of hard restarts, it's now swapped to an error about missing the `system.build.topLevel` attribute for my host config
dnlkrgr has joined #nixos
<clever> morgrimm: can you pastebin the full error and the nix files you are using?
pipppluto has joined #nixos
pipppluto has left #nixos [#nixos]
pipppluto has joined #nixos
<morgrimm> I'm going to take a crack at the flake docs first I think - I guarantee I'm missing some required flake attributes somewhere
<{^_^}> [nixpkgs] @hedning merged pull request #86406 → Gnome shell 3.36.2 → https://git.io/JfOL7
<{^_^}> [nixpkgs] @hedning pushed 4 commits to master: https://git.io/Jf3kE
waleee-cl has joined #nixos
<energizer> qyliss: thanks
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « fmt: fix pkg-config paths »: https://git.io/Jf3ku
<{^_^}> [nixpkgs] @flokli merged pull request #86329 → openexr, imlbase: unbreak on macOS → https://git.io/JfY8p
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf3kg
hakujin has quit [Quit: WeeChat 2.8]
pipppluto has quit [Ping timeout: 245 seconds]
<armin> hm, can i use fetchFromGitHub in home-manager?
<adisbladis> armin: Home-manager is still using all the same libraries & packages from nixpkgs, so yes.
<energizer> fps: i'm curious what's the day-to-day experience like in guix. do you have to compile your own browser and stuff?
<{^_^}> [nixpkgs] @SFrijters opened pull request #86490 → [20.03] terminator: 1.91 -> 1.92 → https://git.io/Jf3kX
<{^_^}> [nixpkgs] @flokli merged pull request #86067 → nixos/prosody: make module defaults comply with XEP-0423 → https://git.io/Jftd3
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/Jf3kN
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @marsam merged pull request #86482 → pyprof2calltree: 1.4.4 -> 1.4.5 → https://git.io/JfOjO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf3Iv
snajpa has left #nixos [#nixos]
<armin> adisbladis: looks like i'm clearly doing something wrong then
<armin> error: The option `home.file.git/peyote.__ignoreNulls' defined in `/home/armin/git/nixos-config/phoenix/home-manager/nixpkgs/home.nix' does not exist.
tewfik has quit [Ping timeout: 264 seconds]
chagra has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken builds to fix evaluation »: https://git.io/Jf3It
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jf3IO
<{^_^}> [nixpkgs] @peti merged pull request #85656 → haskellPackages.stylish-haskell: fix broken dependencies → https://git.io/JfTiM
<{^_^}> [nixpkgs] @peti pushed 3 commits to release-20.03: https://git.io/Jf3IW
reallymemorable has quit [Quit: reallymemorable]
<niso> kinda wondering: what level of support does darwin get in nixpkgs? will software still get merged if it doesn't build in darwin?
<MichaelRaskin> What is the upstream Darwin support status, first of all?
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf3I0
<{^_^}> [nixpkgs] @flokli merged pull request #86478 → qutebrowser: 1.10.1 -> 1.11.0 → https://git.io/JfOhG
<{^_^}> [nixpkgs] @flokli merged pull request #86466 → bwidget: fix hash → https://git.io/JfOFt
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf3IE
<{^_^}> [nixpkgs] @peti merged pull request #86081 → R: 3.6.3 --> 4.0.0 & update packages → https://git.io/Jfthu
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/Jf3Iu
<MichaelRaskin> If upstream does not support Darwin, just set linux-only meta.platforms. If they do but ofborg fails, check if the error is easily searchable, and whether the package is high-impact enough (or already supported on Darwin in the current version) to ping some random Darwin people.
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 39 commits to haskell-updates: https://git.io/Jf3Ig
<drakonis> bqv: say, how do you update the flake lock?
<{^_^}> [nixpkgs] @peti pushed 19 commits to haskell-updates: https://git.io/Jf3I2
<MichaelRaskin> niso: if it is hard to fix, it is a reason to wait some time for other people to come up with the fix, then document the problem as well as possible and merge.
butcher_ has joined #nixos
<drakonis> i'm yet to get it
<niso> MichaelRaskin: means darwin support is existant, but somewhat treated as a second class citizen?
butcher has quit [Ping timeout: 260 seconds]
<MichaelRaskin> Tier-2, yes
* niso could have phrased that a bit better
<niso> MichaelRaskin: alright, thanks
<{^_^}> [nixpkgs] @peti pushed 10 commits to haskell-updates: https://git.io/Jf3Iw
reallymemorable has quit [Quit: reallymemorable]
therealsarcastic has joined #nixos
<MichaelRaskin> Well, we have less Darwin contributors than Linux contributors, and even the Linux work is always more than can be done, so just give people time to react if they want to, and notify about regressions
sarcasticadmin has quit [Read error: Connection reset by peer]
<niso> MichaelRaskin: i completely understand that, i'm not a darwin user either
cust0dian has joined #nixos
<cole-h> drakonis: Try `nix flake update --commit-lock-file`?
<niso> MichaelRaskin: thx!
<drakonis> huh
<drakonis> neat
alp has quit [Ping timeout: 272 seconds]
sgo__ has joined #nixos
shibboleth has quit [Quit: shibboleth]
chagra has joined #nixos
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/Jf3I9
sgo_ has quit [Ping timeout: 260 seconds]
lsix1 has joined #nixos
alp has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Fare has joined #nixos
griff__ has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
griff__ has quit [Ping timeout: 265 seconds]
reallymemorable has joined #nixos
mdash has quit [Quit: Lost terminal]
griff__ has joined #nixos
<{^_^}> [cabal2nix] @peti pushed 0 commits to refs/tags/v2.15.3: https://git.io/Jf3Lc
<{^_^}> [nixpkgs] @Xe opened pull request #86491 → [20.03] emacs: improve setup hook → https://git.io/Jf3Ll
<Cadey> What is the best way to test #86491? It's a backport of the unstable branch of nixpkgs.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/86491 (by Xe, 1 minute ago, open): [20.03] emacs: improve setup hook
mkenigs has joined #nixos
mkenigs has quit [Remote host closed the connection]
inkbottle has joined #nixos
<drakonis> i think this would be overlays maybe?
mkenigs has joined #nixos
zebrag has quit [Ping timeout: 260 seconds]
<drakonis> or you can build something that uses that on your local copy of the repository
mkenigs has quit [Remote host closed the connection]
<Cadey> i can use the disk location of nixpkgs as a NIX_PATH entry right?
<drakonis> yes
<Cadey> okay cool
<drakonis> its reasonably easy to test things
endformationage has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-ed25519: jailbreak to fix build with ghc-8.10.1 »: https://git.io/Jf3Lw
inkbottle has quit [Ping timeout: 246 seconds]
zebrag has joined #nixos
detran has quit [Ping timeout: 260 seconds]
zupo has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jf3L5
<Cadey> i'm getting the same error with a custom NIX_PATH, could my `sudo nixos-rebuild switch` be interfering with this?
Setzer22_2 has quit [Remote host closed the connection]
rickhull has quit [Ping timeout: 240 seconds]
<cole-h> What is "the same error"?
<colemickens> Cadey: yes. the `sudo` is losing your env vars
<colemickens> and thus losing the custom NIX_PATH you're setting
mr_sm1th has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « cabal-install: patch the ghc-8.10.x build to succeed »: https://git.io/Jf3tJ
<colemickens> cadey: `sudo env NIX_PATH=nixpkgs=/tmp/nixpkgs-pr nixos-rebuild switch` ought to do it
<mr_sm1th> Hiya. Is the original PhD still worth a read? Or am I better off reading and following along with the Nix Pills?
<srk> hi, it is!
<srk> it explains the concepts and motivation quite nicely
<clever> colemickens: you can also just `-I nixpkgs=/tmp/nixpkgs-pr` instead
butcher_ has quit [Ping timeout: 246 seconds]
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<cole-h> mr_sm1th: IMO those are two different things. Pills is for basic use of the language (and relatively outdated, at that), while the PhD thesis is for Nix's rationale in its entirety, AFAIK
<cole-h> Might also be interested in https://github.com/tazjin/nix-1p
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « configuration-common.nix: cosmetic »: https://git.io/Jf3tm
<arianvp[m]> I think nix pills is sufficient but the PhD also has some cool ideas that were never implemented
<mr_sm1th> I really enjoyed "A Purely Functional Linux Distribution"
<mr_sm1th> That was the original paper on NixOS.
<srk> nix pills is a bit more practical I would say :)
<Cadey> cole-h: that seems to have done it! it looks like the backport works
<mr_sm1th> cole-h, Thanks looks interesting!
<drakonis> cole-h: relatively outdated doesnt even begin to describe it
<cole-h> Cadey: (you meant colemickens :P )
<cole-h> Ooh, triple ping! A new high score!
<mr_sm1th> drakonis, cole-h, Outdated?!
<drakonis> it was originally published in 2009
<Cadey> probably
<mr_sm1th> Is there a better whay to do things now?
<tazjin> hmm I should put some minor updates in nix-1p
<drakonis> NixOS was 5 years old by then
<cole-h> tazjin: :P
<drakonis> mr_sm1th: there has been improvements in the machinery
<etu> ,locate rdkafka.h
<{^_^}> Found in packages: rdkafka
<mr_sm1th> What's the best introduction then?
<mr_sm1th> THe manual/
<mr_sm1th> ?
<drakonis> for now it works, but it can be better
<{^_^}> [nixpkgs] @peti pushed 8 commits to haskell-updates: https://git.io/Jf3tZ
proofofkeags has quit [Remote host closed the connection]
<mr_sm1th> Is the manual available in PDF format somewhere?
<mr_sm1th> I like reading on dead tree pulp. :)
proofofkeags has joined #nixos
<drakonis> the manual is always in flux
<drakonis> so its kinda pointless to have a printed version
chloekek has quit [Quit: WeeChat 2.6]
mr_sm1th has quit [Remote host closed the connection]
proofofkeags has quit [Remote host closed the connection]
<drakonis> oh no :(
proofofkeags has joined #nixos
chloekek has joined #nixos
<drakonis> i need to work on my help game
<niso> mr_sm1th: semi-related: once you are start playing with the language / lib itself you want to check the source (since there it's nicely documented) e.g. https://github.com/NixOS/nixpkgs/blob/master/lib/lists.nix
<cole-h> You're doing just fine, drakonis++ :^)
<{^_^}> drakonis's karma got increased to 10
<drakonis> he left tho
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2020-04-28T23:45:54Z »: https://git.io/Jf3t8
<niso> oh, my bad
zebrag has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @etu opened pull request #86492 → php.extensions.rdkafka: init at 3.0.3 → https://git.io/Jf3t4
<drakonis> regarding flake lock updating
<drakonis> i'm confused to why it doesnt commit changes to the file?
<drakonis> idgi, invoking the update doesnt yield output nor it commits the changes
<drakonis> it needs a flag for that
<cole-h> ¯\_(ツ)_/¯
<drakonis> ~experimental changes~
<cole-h> I'm not knowledgable about flakes -- I just pulled that command from something Eelco posted somewhere
<Fare> I want to build a development docker image in nix. How do I stuff in "the packages that foo depends on" ?
<{^_^}> [nixpkgs] @prusnak opened pull request #86493 → gzip: add setup-hook to stop gzip from adding timestamps to headers → https://git.io/Jf3tE
<{^_^}> [nixpkgs] @GTrunSec opened pull request #86494 → zeek: add zeek module and fix zeekctl to deploy it. → https://git.io/Jf3tu
<{^_^}> [nixpkgs] @GTrunSec closed pull request #86435 → zeek: fix zeekctl and add Zeek module to deploy it → https://git.io/JfOPL
<Fare> and how do I learn how to answer such a question?
zebrag has joined #nixos
<simpson> Fare: Depends on exactly what you want to do in the container. If you don't need Nix in the container, then maybe dockerTools is a good starting point: https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools
<simpson> If you *do* need Nix in the container, maybe just start with a Dockerfile with `FROM nixos/nix`
<simpson> I got the former from reading the manual, and the latter from happening to see somebody else do it.
<drakonis> cole-h: we very clearly need more docs
<cole-h> For sure
<{^_^}> [nixpkgs] @veprbl merged pull request #85922 → nheko: 0.6.4 -> 0.7.1 → https://git.io/JfLqd
<{^_^}> [nixpkgs] @veprbl pushed 13 commits to master: https://git.io/Jf3t1
<drakonis> and i have to figure out how to swap out the nixFlakes package available in nixpkgs with the one from the nix flake itself
<drakonis> so it isnt bound to whenever eelco updates the snapshot
<Fare> simpson, I was using dockerTools. I don't need all of nix, but I want gambit, gcc, and various libraries in their development version
<{^_^}> [nixpkgs] @veprbl merged pull request #85891 → uriparser: 0.9.1 -> 0.9.3 → https://git.io/JfIFz
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/Jf3tQ
<adisbladis> simpson: Actually it's not that hard to build a Docker container with dockerTools that contains a Nix db
<Fare> so I could e.g. recompile gerbil on top of that, or libraries that use gerbil.
<Fare> so, I suppose I want to get to the buildInputs or the gerbil recipe.
<simpson> adisbladis: Oh, sure, I figure that we do something like that to build the nixos/nix image on Docker Hub.
<adisbladis> simpson: Sadly not...
<adisbladis> That one is based on alpine....
<Fare> pkgs.gerbil-unstable.buildInputs seems to be working... crossing fingers.
<drakonis> hmm, the only thing flakes is missing is improved handling of other vcs formats
<drakonis> it does git a little too well
cp9 has quit [Remote host closed the connection]
<Fare> I tried to build a Docker image FROM lnl7/nix:2.3.3 but it was *way* too slow, and not taking advantage of the host's local nix store.
<eoli3n_> ahahah lovesegfault
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-stack: update overrides for the new 2.3.1 version »: https://git.io/Jf3tp
alp has quit [Ping timeout: 240 seconds]
<eoli3n_> we both are on a same issue again : https://github.com/dasJ/sd-zfs/issues/4
<{^_^}> dasJ/sd-zfs#4 (by dasJ, 3 years ago, open): Support zfs native encryption
<LnL> Fare: you might want to take a look at dockerTools if you don't want to build _inside_ the container
<eoli3n_> lovesegfault: you're my ghost, or i'm yours i don't know
<{^_^}> [nixpkgs] @ehmry pushed to master « nixos/yggdrasil: add group option »: https://git.io/Jf3th
<{^_^}> [nixpkgs] @peti pushed 15 commits to haskell-updates: https://git.io/Jf3qe
griff__ has quit [Quit: griff__]
<cole-h> drakonis: Might want to ask bqv (or bqy or whatever their current Matrix-to-IRC nick is...) about that
<fresheyeball> so I just got banned by #nginx
<drakonis> lol why
<fresheyeball> I asked where I can find verbose error messages to explain a 500 I was seeing
<fresheyeball> and they wanted me to paste my config in a highly specific way, and reason about the error itself
<fresheyeball> which is fine, but I just wanted to know where I can see a better error message
MightyJoe has joined #nixos
<cole-h> (-> #nixos-chat probably)
cyraxjoe has quit [Ping timeout: 256 seconds]
<fresheyeball> apparently not wanting to do all the steps they want to do, and instead get a straight answer to my question, is enough to get banned
<energizer> fresheyeball: that is characteristic of #nginx
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<fresheyeball> energizer: boo
<lovesegfault> eoli3n_: YES
<lovesegfault> I noticed!
<lovesegfault> :D
<{^_^}> [nixpkgs] @kimat opened pull request #86495 → espanso: init at 0.5.5 → https://git.io/Jf3qq
<{^_^}> [nixpkgs] @peti merged pull request #86116 → Update Haskell package set to LTS 15.10 (plus other fixes) → https://git.io/Jfqcb
<{^_^}> [nixpkgs] @peti pushed 16 commits to master: https://git.io/Jf3q3
zupo has joined #nixos
<fps> energizer: i just sometimes dabble in it. i don't use it as a daily driver. it being a fsf project makes it quite unsuitable for day to day use
<energizer> fps: ah i see
<adisbladis> simpson: http://ix.io/2kml/nix
<adisbladis> Something along those lines
<drakonis> fps: i've tried doing that, it is a pain.
MightyJoe has quit [Ping timeout: 240 seconds]
tewfik has joined #nixos
<{^_^}> [nix-pills] @wamserma opened pull request #138 → change ensureDir to mkdir -p in example → https://git.io/Jf3qE
cyraxjoe has joined #nixos
tewfik has quit [Client Quit]
<drakonis> energizer: you have to compile your own browser if you want to go against the overall philosophy
<energizer> drakonis: is the philosophy not having a browser?
griff__ has joined #nixos
fragamus has joined #nixos
<drakonis> the philosophy is free software only
<drakonis> fsdg and all that
<drakonis> so you get to use icecat instead of firefox because of branding
<energizer> mhmm
<drakonis> an year old firefox release
<drakonis> and it has javascript disabled!
<{^_^}> [nixpkgs] @eadwu opened pull request #86497 → woeusb,jetbrains,ark: prune p7zip → https://git.io/Jf3qV
<manveru> so then you run nix on guixsd? :)
<drakonis> ha
<manveru> i thought guix had an unfree repo somewhere
<drakonis> but then you dont get to enjoy the niceties of having working hardware across the board
<drakonis> it does, yes.
<drakonis> but it isn't backed by a hydra instance
<drakonis> it has a very limited range of packages
<manveru> given that i use nvidia, it's a no-go for me anyway...
<drakonis> i tried getting nvidia to work, but as it turns out, nix has a lot of scaffolding to enable it
<drakonis> so i'd have to replicate all of that and then maintain it
<manveru> yeah
<drakonis> it already has issues on nix
<manveru> i'm really thankful to whoever does that, it never failed me once :)
<drakonis> the extra repository covers packages that don't match policy
<drakonis> ie: the other useful bits of clojure live here
MightyJoe has joined #nixos
<drakonis> the annoying thing is having to manually build the kernel every point release, so pinning ahoy
alp has joined #nixos
<drakonis> there seems to be some measure of patchelf scaffolding
<drakonis> there's also no nix shell equivalent
cyraxjoe has quit [Ping timeout: 256 seconds]
<drakonis> but that's a derail
fragamus has quit [Ping timeout: 240 seconds]
<Fare> OK, so I built my image with dockertools, and I am surprised to find that it's > 1.1GB when the "equivalent" on top of Ubuntu is < 400MB.
<manveru> that usually means that we can improve the closure size of the derivations :)
<adisbladis> Fare: What are you building?
<clever> Fare: use pkgs.writeText to create a file that contains every storepath you told nix to put into the docker image (you can just "${toString [ the list ]}")
<clever> Fare: then run `du -hc --max=0 $(nix-store -qR result) | sort -h` on the result of building that writeText
<clever> that should show everything that gets included into the docker image, sorted by size
<Fare> zsh: command not found: nix-store
<Fare> the image doesn't even contain nix itself!
<manveru> why would it?
<clever> Fare: you have to include nix in the list if you want nix in the docker image
<adisbladis> dockerTools is only including the _runtime closure_ of a package
<Fare> doing just that... it's a development / test image, after all (that I want to use in github / gitlab CI)
gustavderdrache has quit [Quit: Leaving.]
butcher_ has joined #nixos
cyraxjoe has joined #nixos
inkbottle has joined #nixos
<adisbladis> Fare: So what exactly do you want to end up with?
MightyJoe has quit [Ping timeout: 240 seconds]
zebrag has quit [Ping timeout: 265 seconds]
mallox has quit [Quit: WeeChat 2.8]
<Fare> adisbladis, a replacement for the current ubuntu-based image used in CI
<Fare> something I can run build and test commands on top of
<Fare> not a production image (yet, that will come later)
<adisbladis> Fare: I mean very specifically
<adisbladis> A toolchain to build some package presumably. Which one?
<Fare> contents = [ gerbil-unstable gambit-unstable gcc bash coreutils zsh openssh su screen nix ] ++ pkgs.gerbil-unstable.buildInputs;
butcher_ has quit [Client Quit]
butcher_ has joined #nixos
codygman___ has joined #nixos
Rusty1 has joined #nixos
<manveru> hm, i get 601 MB for that
MightyJoe has joined #nixos
<clever> $ nix-build -E 'with import <nixpkgs>{}; writeText "name" "${toString ([ gerbil-unstable gambit-unstable gcc bash coreutils zsh openssh su screen nix ] ++ pkgs.gerbil-unstable.buildInputs)}"'
<Fare> which is already more than < 400 MB for Ubuntu, yet much less than the > 1100 GB I get.
<clever> 382mb here, counting zfs compression
<{^_^}> [nixpkgs] @fabianhjr opened pull request #86501 → Patchwork: 3.17.6 -> 3.17.7 → https://git.io/Jf3mI
bkv has joined #nixos
cyraxjoe has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « Merge pull request #86116 from NixOS/haskell-updates »: https://git.io/Jf3mm
<adisbladis> I got inspired and hacked up http://ix.io/2knm
codygman___ has quit [Remote host closed the connection]
bqv has quit [Ping timeout: 265 seconds]
codygman has joined #nixos
<adisbladis> I don't know how to get the users/groups in there nicely
codygman is now known as codygman__
reallymemorable has quit [Quit: reallymemorable]
<manveru> LnLs container does that...
<clever> adisbladis: the typical thing is to just run adduser, but that requires the runAsRoot thing, which uses qemu+kvm and harms build perf
<clever> $ nix-build -E 'with import <nixpkgs>{}; dockerTools.buildImage { name = "name"; contents = [ gerbil-unstable gambit-unstable gcc bash coreutils zsh openssh su screen nix ] ++ pkgs.gerbil-unstable.buildInputs; }' --option builders ''
<clever> Fare: this produces a 222mb gzip'd docker image
<{^_^}> [nixpkgs] @bjornfor merged pull request #86490 → [20.03] terminator: 1.91 -> 1.92 → https://git.io/Jf3kX
<{^_^}> [nixpkgs] @bjornfor pushed 2 commits to release-20.03: https://git.io/Jf3mG
<clever> which is 774mb after decompression
<adisbladis> manveru: That one uses buildImage though
<Fare> top 6: 29656 /nix/store/ypz4lpqq0jr54xzf3v41h670qy7x8bm4-gambit-unstable-2020-04-28
<Fare> 33612 /nix/store/8jii34h6pa8nsz48l8rv5c0ljm1lpsb1-icu4c-64.2
<Fare> 31836 /nix/store/an6bdv4phxsz14q2sk57iscl2dc7bnj1-glibc-2.30
<Fare> 143088 /nix/store/36528w3sswq1sl8nl3krpbmysyazn7wx-gcc-9.3.0
<Fare> 33632 /nix/store/sq2b0dqlq243mqn4ql5h36xmpplyy20k-binutils-2.31.1
<Fare> 274476 /nix/store/glj5x8qspbq567ym4yh071qw4dbbdm2f-gerbil-unstable-2020-04-30
<adisbladis> So it's all one fat layer
<clever> adisbladis: yeah
<clever> Fare: let me ignore zfs comp....
<Fare> I see my gerbil package is way too big. Even if I shrink it, the dependencies are still 518MB
<manveru> adisbladis: yep, it was built before layered images were a thing :)
<manveru> anw, good to have alternatives
<adisbladis> manveru: Totally
<clever> Fare: gcc is 134mb, python is another 58mb, systemd is in there and could be removed
<clever> $ nix why-depends ./result /nix/store/xdmdlw4m1ad99xm6y5wrmx655iadfza7-systemd-243
<clever> Fare: this tells me that postgresql depends on systemd!
<clever> (when used against the writeText from before)
<Fare> Happily, I do without python, but gambit is only slightly less big.
<clever> Fare: do you need postgres?
<Fare> gerbil comes packaged with postgres support.
<clever> Fare: but does your docker image need the postgres enabled version?
<Fare> no, but then I need to somehow split the gerbil recipe
reallymemorable has joined #nixos
<adisbladis> clever: I guess I could always construct users/groups in another derivation
Darkmatter66 has joined #nixos
<clever> adisbladis: already done...
<Fare> and what is the correct way to garbage collect all those intermediate nix and docker images without deleting the stuff I otherwise care about?
<clever> Fare: run `nix-store --delete` on each one you can find in /nix/store/
<clever> dont use force
Darkmatter66_ has quit [Ping timeout: 256 seconds]
<adisbladis> clever: Nice <3
<clever> adisbladis: for reasons, this had to support building from a DockerFile as well
<clever> but i prefered to have a pure nix build remain intact
o1lo01ol_ has quit [Remote host closed the connection]
<clever> adisbladis: also, this runs nixos services, under runit
<clever> adisbladis: so with this image, you get nginx, oauth2_proxy, grafana, prometheus, and several iohk products
<clever> i went a little nuts with it, lol
<adisbladis> That's fine :)
<Fare> apparently, the nixbld user is also missing on the image... how do I tell the image to setup a usable nix inside?
<adisbladis> I think I'm replacing https://github.com/NixOS/docker/blob/master/Dockerfile :)
<clever> adisbladis: then the devs went and rewrote it using 6 seperate docker containers and a docker compose :P
<adisbladis> I don't really know why I'm doing this tbh
<adisbladis> clever: :'(
griff__ has quit [Quit: griff__]
o1lo01ol1o has joined #nixos
<clever> adisbladis: do you know much about the cross-compile stuff in nixpkgs?
dnlkrgr has quit [Ping timeout: 260 seconds]
<simpson> adisbladis++ for that layered Nix DB trick
<{^_^}> adisbladis's karma got increased to 63
<codygman__> What do I do if nix-store --repair doesn't work? http://dpaste.com/288P1G9
<adisbladis> clever: Nope :/
<clever> codygman__: drv files cant be repaired, all you can do is delete them with `nix-store --delete`, dont use the force flag
<clever> codygman__: next time you eval the expr that created it, nix will restore the file
o1lo01ol1o has quit [Ping timeout: 246 seconds]
Alexey82 has quit [Remote host closed the connection]
<clever> codygman__: for env-manifest.nix, all you can do is a rollback against whatever profile its in
<Fare> Aha, actually *after compression*, the nix image I built is smaller than the ubuntu based image.
<codygman__> clever: I think that 'nix-shell '<home-manager>' -A install' created it but running that again fails so apparently not
<Fare> so all is good
<clever> codygman__: that cmd fails, because /nix/store/rjfvyfc4k8rw5kyjcc6lxg2vs1jr5c90-home-manager-20.03 is also corrupt
<Fare> still I have to work on some thing
<clever> codygman__: you need to delete that home-manager path, using the same `nix-store --delete`
cyraxjoe has joined #nixos
<Fare> ... how do I tell nix-build to make nix usable on the docker image?
bqv has joined #nixos
aswanson has quit [Quit: WeeChat 2.7.1]
<clever> Fare: the expr adisbladis linked above i believe
<codygman__> clever: The home-manager path is still alive, how can I find what's keeping it alive?
aswanson has joined #nixos
<clever> codygman__: `nix-store -q --roots`
<clever> Fare: 2020-05-01 17:31:35 < adisbladis> I got inspired and hacked up http://ix.io/2knm
bkv has quit [Ping timeout: 272 seconds]
MightyJoe has quit [Ping timeout: 260 seconds]
<Fare> clever, thanks!
<cab404[m]> isn't pinned message a bit old?
<clever> cab404[m]: irc doesnt support pinned messages
justanotheruser has quit [Ping timeout: 265 seconds]
reallymemorable has quit [Quit: reallymemorable]
<cab404[m]> edit: pinned message on riot mirror
shafox has quit [Remote host closed the connection]
MightyJoe has joined #nixos
cyraxjoe has quit [Ping timeout: 260 seconds]
cyraxjoe has joined #nixos
MightyJoe has quit [Ping timeout: 260 seconds]
shibboleth has joined #nixos
reallymemorable has joined #nixos
reallymemorable has quit [Client Quit]
<Fare> adisbladis, buildImage has a runAsRoot parameter that could avoid your issue. Does buildLayeredImage have the same?
morgrimm has quit [Ping timeout: 258 seconds]
<adisbladis> Fare: Nope, it doesn't
<adisbladis> Fare: But I solved that with some help from clever's expressions :)
reallymemorable has joined #nixos
<adisbladis> http://ix.io/2knJ/nix < noticed a typo
<codygman__> hm, I have another complication. home-manager is still alive and can't be deleted and my environment is what's keeping it alive. There is no previous generation to roll back to: http://dpaste.com/03JJNXT
<adisbladis> That's pretty much equivalent to https://hub.docker.com/r/nixos/nix/
<Fare> what user do these extraCommands run as? Shouldn't buildLayeredImage be extended with a runAsRoot parameter?
<adisbladis> Fare: runAsRoot is running in a VM
<colemickens> adisbladis: hm, neat. I would've thought that would already be in nixpkgs, used to make docker.io/nixos/nix
<adisbladis> colemickens: Yeah, I'll probably upstream buildLayeredImageWithNixDb
<adisbladis> It's pretty useful ;)
<Fare> adisbladis, and buildLayeredImage manages to wholly avoid the VM thing?
<adisbladis> It's a copy of what dockerTools.buildImageWithNixDb is doing :)
<adisbladis> Fare: Yes
<Fare> I truly am standing on the shoulders of giants... made of heaps of normal people.
<Fare> (or more clever than normal people, but still people)
<adisbladis> clever: Thank you so much for linking the iohk user stuff
<adisbladis> It save me heaps of time :)
<clever> adisbladis: which thing? ive linked a lot of iohk things, heh
<adisbladis> clever: Your passwd/shadow thing
<clever> ah
erasmas has quit [Quit: leaving]
<adisbladis> clever: This is what I have now http://ix.io/2knJ/nix
<adisbladis> It seems to be equivalent to the "official" docker image
<adisbladis> But with buildLayeredImage awesomeness :)
splintah has joined #nixos
__monty__ has quit [Quit: leaving]
knupfer has quit [Ping timeout: 244 seconds]
<manveru> adisbladis: could use some tidying, but pretty awesome :)
reallymemorable has quit [Quit: reallymemorable]
<manveru> really would like to make a nix-built docker image our official one...
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
splintah has quit [Ping timeout: 265 seconds]
<adisbladis> manveru: Yeah :) I just hacked it up as quick as possible
griff__ has joined #nixos
jgeerds__ has quit [Remote host closed the connection]
sgo__ is now known as stigo
domogled has quit [Quit: domogled]
<Fare> adisbladis, how in this script you wrote do I create a home directory owned by some user?
<codygman__> clever I forgot to tag earlier, but I don't have a previous generation to roll back to and home-manager gc root is kept alive by my environment it seems: http://dpaste.com/03JJNXT
<clever> codygman__: is there only one generation of nix-env's profile?
<{^_^}> [nix] @Ma27 opened pull request #3557 → Improve help-message for nix-repl → https://git.io/Jf3OR
<{^_^}> [hydra] @gilligan opened pull request #744 → Update README → https://git.io/Jf3Oa
fragamus has joined #nixos
morgrimm has joined #nixos
<colemickens> Any Firefox Nightly users want to test vaapi video? #81917
<{^_^}> https://github.com/NixOS/nixpkgs/pull/81917 (by colemickens, 8 weeks ago, open): firefox: wrapper: add libva to libs
stigo has quit [Remote host closed the connection]
dnlkrgr has joined #nixos
stigo has joined #nixos
<adisbladis> Fare: I guess you can add a user in the users attrset and then create a home directory and chown appropriately in extraCommands
<fresheyeball> ok I am just going to ask here
<fresheyeball> I have nginx virtual hosts with locations
<fresheyeball> I want one location to serve one root
dnlkrgr has quit [Ping timeout: 246 seconds]
<fresheyeball> and another location to serve another
<fresheyeball> that's it
morgrimm has quit [Ping timeout: 260 seconds]
<HedgeMage> exit
<{^_^}> Let me do that for you
<fresheyeball> locations."/static/" = {
<fresheyeball> root = "${chatstrike-webchat}";
<fresheyeball> };
<HedgeMage> oops, wrong window :o
<fresheyeball> I don't get why setting root at that location, seems to do nothing
<fresheyeball> I just get 404s
fragamus has quit [Ping timeout: 240 seconds]
<Fare> adisbladis, somehow nix-build tells me error: attempt to call something which is not a function but a set, at (the line where I try to use buildLayeredImageWithNixDb)
<fresheyeball> base root directive works
<fresheyeball> but /static does nothing
fendor has quit [Read error: Connection reset by peer]
__Sander__ has quit [Ping timeout: 258 seconds]
<Fare> adisbladis, I copypasted what you had in http://ix.io/2knJ/nix for the definition of buildLayeredImageWithNixDb
thelounge79 has joined #nixos
<nh2> fresheyeball: `builtins.trace` the path, check on the server that it actually exists, check that nginx can read it (e.g. error logs), if still in doubt, use `strace` to check that it does try to ready it
zarel_ has joined #nixos
<fresheyeball> nh2: nginx is running fine
<fresheyeball> I cated the conf file nix builds
zarel has quit [Ping timeout: 265 seconds]
<fresheyeball> and am not seeing the problem
<codygman__> clever Yes, this is a fresh vm
<nh2> fresheyeball: then strace is probably the fastest way, check that it tries to read it when making the request
<clever> codygman__: if the only root is your nix-env profile, then you can use `--delete --force` and it will just blow away the entire nix-env profile
<fresheyeball> nh2: what is your suspicion?
<clever> codygman__: then you can just reinstall home-manager from scratch
<nh2> fresheyeball: usually editing some part of the config that is accidentally not in effect
<nh2> fresheyeball: in any case, strace will give you good hints
o1lo01ol1o has joined #nixos
<fresheyeball> nh2: ahh, I know it's having effect
<fresheyeball> because if I use proxy_pass it works
ninegrid has joined #nixos
<nh2> fresheyeball: `strace -fyp "$(pidof nginx)" -e open,openat` on your server, then make the request
Henson has joined #nixos
<Henson> hi everyone, I have a system that has some caches defined in nix.binaryCaches but they are no longer accessible. I am unable to use nixos-rebuild to rebuild the configuration to remove them, because it's trying to access them to do the rebuild. How do I get out of this problem?
<Fare> aha I had a ''; leftover at the end of the invocation... so I presume it was trying to call the *result of calling the function* with an empty string.
<fresheyeball> [pid 4947] openat(AT_FDCWD, "/var/spool/nginx/html/static", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory)
<fresheyeball> nh2: ^^
<fresheyeball> location /static/ {
<fresheyeball> root /nix/store/ji2xmk88218r3bkyk0mkl3l83pq8wki0-ui-chat-staging;
<fresheyeball> }
shibboleth has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #86079 → lxqt: update to version 0.15.0 → https://git.io/Jftp8
<{^_^}> [nixpkgs] @worldofpeace pushed 35 commits to master: https://git.io/Jf33a
shibboleth has joined #nixos
<adisbladis> Fare: This expression needs some serious cleaning up before I'd consider actually using it :)
<Fare> adisbladis, the ln command in your expression fails with permission denied
<Fare> ... still not run as root.
vyorkin` has joined #nixos
<Fare> could a debian-like fakeroot program help?
<{^_^}> [hydra] @grahamc merged pull request #744 → Update README → https://git.io/Jf3Oa
<{^_^}> [hydra] @grahamc pushed 3 commits to master: https://git.io/Jf33D
<nh2> fresheyeball: looks like nginx misunderstands what you want then, it does act upon your declaration of `location /static/`. Possibly this? https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/#root-inside-location-block
hyper_ch has quit [Quit: ZNC 1.7.5 - https://znc.in]
vyorkin has quit [Ping timeout: 260 seconds]
hyper_ch has joined #nixos
<armin> ok weird, i just built a custom iso, everything is working nicely so far, but i only have dynamic width fonts under both konsole and xfce4-terminal
<nh2> fresheyeball: sorry, I meant to say "does NOT act"
chloekek has quit [Ping timeout: 258 seconds]
<fresheyeball> nh2: so I tried that
Thra11 has quit [Quit: WeeChat 2.8]
<fresheyeball> [pid 6255] openat(AT_FDCWD, "/nix/store/nwfp685pldpsdln8qcv806n8y0v1gsv2-ui-strikechat-staging/static", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory)
<fresheyeball> which makes sense
<fresheyeball> since that nix-store path is for the top level root directive
<fresheyeball> not the one I set for static
<nh2> fresheyeball: that looks better
<Fare> adisbladis, interestingly, it looks like the ln succeeds in many iterations before failing for the gambit path (!)
stigo has quit [*.net *.split]
Ralith_ has quit [*.net *.split]
eoli3n_ has quit [*.net *.split]
butcher_ has quit [*.net *.split]
KindOne has quit [*.net *.split]
epta has quit [*.net *.split]
cross has quit [*.net *.split]
c_wraith has quit [*.net *.split]
sveitser2 has quit [*.net *.split]
lzmartinico has quit [*.net *.split]
lorimer has quit [*.net *.split]
bukkitgerman8608 has quit [*.net *.split]
plutes has quit [*.net *.split]
neobit has quit [*.net *.split]
Scriptkiddi has quit [*.net *.split]
ajs124 has quit [*.net *.split]
kapilp has quit [*.net *.split]
MarcWeber has quit [*.net *.split]
avn has quit [*.net *.split]
niksnut has quit [*.net *.split]
itorres has quit [*.net *.split]
mupf has quit [*.net *.split]
seanparsons has quit [*.net *.split]
inf has quit [*.net *.split]
minicom has quit [*.net *.split]
meck has quit [*.net *.split]
mvnetbiz_ has quit [*.net *.split]
Heirlung has quit [*.net *.split]
Gohla has quit [*.net *.split]
acowley has quit [*.net *.split]
lukash_|away has quit [*.net *.split]
ornxka has quit [*.net *.split]
gentauro has quit [*.net *.split]
luigy has quit [*.net *.split]
otti0815 has quit [*.net *.split]
meatcar has quit [*.net *.split]
adamtkh6 has quit [*.net *.split]
Nazral has quit [*.net *.split]
hyper_ch has quit [*.net *.split]
vyorkin` has quit [*.net *.split]
primeos has quit [*.net *.split]
hlolli has quit [*.net *.split]
user_0x58 has quit [*.net *.split]
lsix1 has quit [*.net *.split]
bqv has quit [*.net *.split]
Desetude has quit [*.net *.split]
m0rphism has quit [*.net *.split]
thc202 has quit [*.net *.split]
aswanson has quit [*.net *.split]
andi- has quit [*.net *.split]
mumuluxi has quit [*.net *.split]
xO1 has quit [*.net *.split]
siel has quit [*.net *.split]
dingenskirchen has quit [*.net *.split]
NinjaTrappeur has quit [*.net *.split]
snupples[m] has quit [*.net *.split]
tbenst[m] has quit [*.net *.split]
dckc has quit [*.net *.split]
konobi has quit [*.net *.split]
dhess has quit [*.net *.split]
xantoz has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
plp_ has quit [*.net *.split]
qyliss has quit [*.net *.split]
U-armin has quit [*.net *.split]
klys has quit [*.net *.split]
kgz has quit [*.net *.split]
immae has quit [*.net *.split]
aranea has quit [*.net *.split]
{^_^} has quit [*.net *.split]
rail_ has quit [*.net *.split]
cyphase has quit [*.net *.split]
gerschtli has quit [*.net *.split]
woffs has quit [*.net *.split]
mog has quit [*.net *.split]
fionera has quit [*.net *.split]
lopsided98 has quit [*.net *.split]
greizgh has quit [*.net *.split]
drewr has quit [*.net *.split]
infty has quit [*.net *.split]
Reisen has quit [*.net *.split]
thonkpod has quit [*.net *.split]
plp__ has joined #nixos
neobit_ has joined #nixos
Ralith_ has joined #nixos
siel_ has joined #nixos
dckc has joined #nixos
dhess has joined #nixos
xO1 has joined #nixos
Nazral has joined #nixos
niksnut has joined #nixos
snupples[m] has joined #nixos
tbenst[m] has joined #nixos
U-armin has joined #nixos
user_0x58 has joined #nixos
butcher_ has joined #nixos
Desetude has joined #nixos
avn has joined #nixos
<genevino> \m/
NinjaTrappeur has joined #nixos
luigy has joined #nixos
epta has joined #nixos
bqv has joined #nixos
gerschtli has joined #nixos
aswanson has joined #nixos
m0rphism has joined #nixos
dingenskirchen has joined #nixos
itorres has joined #nixos
sveitser2 has joined #nixos
andi- has joined #nixos
tdeo has joined #nixos
eoli3n_ has joined #nixos
thonkpod has joined #nixos
vidbina has quit [Ping timeout: 265 seconds]
adamtkh6 has joined #nixos
lzmartinico has joined #nixos
Desetude has quit [Changing host]
Desetude has joined #nixos
xantoz has joined #nixos
primeos has joined #nixos
Scriptkiddi has joined #nixos
cross has joined #nixos
inf has joined #nixos
Reisen has joined #nixos
kapil_ has joined #nixos
mupf has joined #nixos
eoli3n_ has quit [Client Quit]
meatcar has joined #nixos
fionera has joined #nixos
eoli3n_ has joined #nixos
lukash_|away has joined #nixos
immae has joined #nixos
m0rphism is now known as Guest35509
tdeo has joined #nixos
tdeo has quit [Changing host]
meatcar has joined #nixos
meatcar has quit [Changing host]
primeos is now known as Guest90765
inf is now known as Guest84206
drewc has quit [Ping timeout: 244 seconds]
hlolli has joined #nixos
hlolli has quit [Remote host closed the connection]
Heirlung has joined #nixos
acowley has joined #nixos
seanparsons has joined #nixos
cyphase has joined #nixos
plutes has joined #nixos
<Fare> adisbladis, aha, somehow I need to remove duplicates
c_wraith has joined #nixos
vyorkin` has joined #nixos
hlolli has joined #nixos
qyliss has joined #nixos
ornxka has joined #nixos
minicom has joined #nixos
Gohla has joined #nixos
greizgh has joined #nixos
mog has joined #nixos
mumuluxi has joined #nixos
stigo has joined #nixos
KindOne has joined #nixos
kgz has joined #nixos
lopsided98 has joined #nixos
MarcWeber has joined #nixos
klys has joined #nixos
gentauro has joined #nixos
infty has joined #nixos
rail_ has joined #nixos
hyper_ch has joined #nixos
otti0815 has joined #nixos
Avaq has joined #nixos
* Fare greps his way to lib.unique
drewc has joined #nixos
<Raito_Bezarius> Do someone know how to set up IPv6 /64 on Scaleway under NixOS (unstable) ?
<Raito_Bezarius> I have enableIPv6 = true; and set statically the IPv6
thelounge792 has joined #nixos
amir has quit [Ping timeout: 256 seconds]
<Raito_Bezarius> but "curl api6.ipify.org" tell me that I'm still on IPv4
amir has joined #nixos
<Raito_Bezarius> (I used the data provided by Scaleway at the <magic-ip>/conf)
<Fare> are you on *both* IPv4 and IPv6 ?
siel_ has joined #nixos
siel_ has quit [Changing host]
meck has joined #nixos
<Raito_Bezarius> Yes
<Fare> can you "just" disable IPv4?
<Raito_Bezarius> Well, it's a server, so if I disable it and cannot SSH back, it'll be a bit annoying
<qyliss> Have you set networking.defaultGateway6 and networking.interfaces.<name>.ipv6.addresses?
thelounge79 has quit [Ping timeout: 256 seconds]
thelounge792 is now known as thelounge79
<Raito_Bezarius> Yes
Guest90765 has quit [Quit: WeeChat 2.8]
primeos_ has joined #nixos
morgrimm has joined #nixos
<Raito_Bezarius> and I can see them in effect in "route -6 -n" and "ip addr"
<armin> so i'm building custom iso's, everything works like expected, i even get a fully working kde desktop and whatnot, but the fonts in my terminal windows (both konsole and xfce4-terminal) look weird (no monospace fonts available there, too). i have zero idea how to debug this.
<Raito_Bezarius> armin: fc-list ?
<armin> Raito_Bezarius: well those fonts are available even in kde's system settings
<armin> Raito_Bezarius: so they must be present in some way or the other
<armin> Raito_Bezarius: will definitely continue to test and try :)
covidian has joined #nixos
<Raito_Bezarius> armin: one hardcore way is to strace your terminal binary
<Raito_Bezarius> take a look if it's trying to look for the fonts properly
<Raito_Bezarius> you can filter out based on the filesystem syscalls I believe
smatting_ has joined #nixos
<armin> Raito_Bezarius: i'll have a look, thank you :)
<eoli3n_> look at the comment :P
<fresheyeball> I figured it out
<eoli3n_> and thx to you
<fresheyeball> nh2++
<fresheyeball> the answer was to use the `alias` directive
<fresheyeball> maybe we should add that on the nix side
<nh2> cool
numkem has quit [Ping timeout: 246 seconds]
<Raito_Bezarius> does anyone knows if there is a way to use netboot on wifi?
<covidian> ´alias´
<covidian> 'alias' alias `alias`
<Fare> adisbladis, actually, a last pass that runs as root would be nice, so I could create /usr/bin/env and user directories, etc.
<covidian> know whadda mean?
notgne2 has quit [Quit: ZNC 1.7.4 - https://znc.in]
morgrimm has quit [Ping timeout: 256 seconds]
detran has joined #nixos
oborot has joined #nixos
justanotheruser has joined #nixos
notgne2 has joined #nixos
drewr has joined #nixos
<adisbladis> Fare: The / FHS is constructed from nix store paths
primeos_ has quit [Quit: WeeChat 2.8]
<adisbladis> So you can just create whatever directory structure you want in a derivation and add it to contents :)
hyper_ch has quit [Remote host closed the connection]
hyper_ch has joined #nixos
Ralith_ has quit [Remote host closed the connection]
<covidian> ’’ is not ''
<covidian> btw.
primeos_ has joined #nixos
<covidian> gotta know ure '’´`
<Avaq> Hi! Is it possible to "query" my nixo(p)s configuration for info on a derivation it *would* use? Eg. `nix show-derivation nixpkgs.hello` but using the nixpkgs as they are after evaluating a configuration.nix (applying overlays etc). The command `nix show-derivation -f ./configuration.nix pkgs.hello` produces "error: cannot auto-call a function .." of course.
<covidian> see my point??
<Fare> adisbladis, but not chown it?
<lovesegfault> eoli3n_: :D
<lovesegfault> utterances rocks
<eoli3n_> so easy to implement
<covidian> lovesegfault: whudd?
<lovesegfault> covidian: hum?
whatisRT` has quit [Ping timeout: 240 seconds]
<eoli3n_> but harder
<eoli3n_> not out of the box
<covidian> what u mean utterance
<lovesegfault> it's a comment system for blogs
<eoli3n_> the comments widget
<covidian> frankly I am anti-JS
stree has quit [Read error: Connection reset by peer]
<infinisil> Avaq: With this it should be e.g. `nix-build -A nodes.emma.pkgs.hello`
<covidian> Emma Goldman is all I say
<covidian> or was it Emma Goldmann?
<Avaq> infinisil: oohh :) Thanks!
hyper_ch has quit [Ping timeout: 240 seconds]
stree has joined #nixos
<codygman__> clever: I guess you didn't mean `nix store --delete --force ...`
<covidian> /join #May_1st. "worker’s day"
<clever> codygman__: meant `nix-store --delete --force`
hyper_ch has joined #nixos
primeos_ is now known as primeos
<clever> codygman__: that would blow away everything in the nix-env profile
<infinisil> Avaq: (you will need to adjust at least the genInfo file though for it to work for you)
pjt_014 has joined #nixos
aminechikhaoui has joined #nixos
Ralith_ has joined #nixos
<adisbladis> Fare: Nope, because the Nix store doesn't have uids set
<eoli3n_> lovesegfault: why don't you change your theme to a dark one ?
<eoli3n_> to match your blog's theme
smatting_ has quit [Ping timeout: 256 seconds]
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
arjen-jonathan has quit [Ping timeout: 246 seconds]
<lovesegfault> my blog has a dark theme?
<lovesegfault> it looks white to me
pjt_014 has quit [Ping timeout: 260 seconds]
<Avaq> infinisil: hm, maybe take a step back. Is it possible for `nix-instantiate --eval` to show be the info I want from a regular /etc/nixos/configuration.nix file? I'm working towards just finding what package version would be installed by a specific configuration file.
<Avaq> So I tried `nix-instantiate --eval -A 'pkgs.hello' ./configuration.nix` but that also tells me it can't call the function it encounters automatically.
<clever> Avaq: configuration.nix doesnt return a set containing pkgs
<infinisil> Avaq: Ah yeah that's pretty simple: `nix-instantiate --eval '<nixpkgs/nixos>' -A pkgs.hello.name`
<energizer> eoli3n_: some browsers respect your desktop prefer-dark-theme config
<infinisil> Avaq: Or `nix-instantiate --eval '<nixpkgs/nixos>' -A pkgs.hello.name --arg configuration /etc/nixos/configuration.nix` if you want to be explicit about the file
covidian has quit [Quit: Konversation terminated!]
<Avaq> infinisil: --arg configuration was what I was missing! :)
<eoli3n_> lovesegfault: i mean theme of the comment widget
<eoli3n_> ah i misread
dnlkrgr has joined #nixos
<eoli3n_> yeah i see it as a dark one
Desetude has quit [Quit: WeeChat 2.7.1]
<eoli3n_> lovesegfault: https://x0.at/Qqs.png
<Fare> how do I tell nix that some program has extra dependencies? Apparently, gambit needs sed
<eoli3n_> energizer: its seems that it's happening :)
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
<lovesegfault> eoli3n_: Fascinating, I guess it picks the dark theme depending on ????
<Fare> (of course, the right thing is to tell gambit about the "right" path to sed)
<eoli3n_> as energizer said
<infinisil> ,runtimeDeps Fare
<infinisil> Oh
<cole-h> ,runtimedeps Fare
<codygman__> clever `nix-store --delete --force` says `error: unknown flag '--force'`
<lovesegfault> eoli3n_: Which browser are you using?
<cole-h> Hello
<infinisil> {^_^} not here
<cole-h> Robot
<eoli3n_> lovesegfault: firefox
<cole-h> Fare: "In order of preference: Patch source OR ((if it uses PATH -> wrap with new $PATH) AND (if it uses dlopen, (patchelf --set-rpath in postFixup OR wrap with new LD_LIBRARY_PATH)))"
<eoli3n_> latest on archlinux without nothing particular
<clever> codygman__: ah, its --ignore-liveness not --force
<lovesegfault> Ah, it's my privacy stuff :D
<eoli3n_> huhu lovesegfault, your blog is organic
<eoli3n_> it lives by itself
<lovesegfault> energizer: even if I set ui.systemUsesDarkTheme to 1 my blog is still light themed
quinn has joined #nixos
<lovesegfault> idk what's up
<Fare> infinisil, cole-h -- thanks!
CptCaptain has joined #nixos
<Fare> this is work, but it is so much better than a Dockerfile
<infinisil> Fare: And once done, it works forever pretty much!
CptCaptain has quit [Client Quit]
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
griff__ has quit [Quit: griff__]
konobi has joined #nixos
<Fare> ok, next nix task is finding the "right" way to build and expose gerbil libraries
<Fare> each library will create its own set of compiled files. What's the right way to make the collection of them plus whatever the user is currently building available to the user?
<Fare> a wrapper that exports some variables and executes gerbil ?
<Fare> something that adds all the stuff you want in ~/.nix-profile/lib/gerbil ?
quinn has joined #nixos
<Fare> (or some other such semi-fixed path?)
Avaq has quit [Quit: Leaving.]
Avaq has joined #nixos
<clever> Fare: development stuff is only meant to work inside nix-shell
<clever> Fare: enless you want to re-engineer a lot of stuff, its recommended you just run nix-shell as normal
dnlkrgr has quit [Quit: WeeChat 2.6]
<energizer> or lorri
<clever> energizer: that just extracts the env vars from nix-shell, and sets them in your shell
<Fare> clever, I'll still have to engineer the nix-shell for Gerbil --- same difficulty, really
<energizer> clever: what is the alternative?
<energizer> iow, in what ways is lorri's environment incomplete relative to nix-shell's
xkapastel has joined #nixos
<clever> Fare: even basic gcc use wont work right if your outside of nix-shell
<Fare> plus the whole point of Gerbil is interactive development. I *want* this stuff available at runtime.
<clever> Fare: then run the IDE under nix-shell
<Fare> clever, I have a script to reproduce what nix-shell does, to work with GCC
<Fare> I don't want to reproduce my entire IDE under the nix-shell.
<Fare> I want my IDE to commandeer my nix-shell's, not the other way around
<clever> Fare: why do you have to reproduce the IDE under nix-shell?
<Fare> uh, how else to "run the IDE under nix-shell" ?
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
maddo has quit [Quit: See ya]
<clever> Fare: run nix-shell, then run the IDE cmd
<Fare> oh, you mean, not in a pure way?
<clever> yeah
<clever> nix-shell is impure by default
<Fare> that defeats part of the purpose
<clever> the whole point of nix-shell, is to do impure builds in an interactive manner
<Fare> maybe I should learn to use nix-shell more
<Fare> anyway... even nix-shell needs to be taught about all the Gerbil libraries I build.
<clever> Fare: just put those libraries into the buildInputs list in your shell.nix file, done
<Fare> and then set a GERBIL_LOADPATH with each and every of those paths?
<clever> thats what setup hooks are for
<Fare> I suppose
<Fare> I'll work on that
<Fare> Thanks!
Avaq has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
<Fare> next question: how do I work with lots of packages I want to define, but not *yet* upstream to nixpkgs ?
<clever> Fare: overlays
<energizer> clever: in what ways is lorri's environment incomplete relative to nix-shell's?
fusion809 has joined #nixos
<Fare> ok, I'll go read about overlays
<clever> energizer: the main thing is bash functions
o1lo01ol1o has joined #nixos
<Fare> clever, adisbladis thanks *a lot* to both of you! (and the rest of the nix team)
<energizer> clever: which bash functions?
quinn has joined #nixos
<clever> energizer: all functions the stdenv adds, buildPhase, installPhase, unpackPhase, unpackFile ....
<energizer> clever: do people use those inside nix-shell?
<energizer> like, manually run buildPhase
<clever> energizer: configurePhase and buildPhase are still of use during development
xO1 has quit [Ping timeout: 260 seconds]
<clever> energizer: and if your targeting something you lack the source for, you also need unpackPhase and patchPhase
<adisbladis> Fare: :)
<Fare> other issue with nix-shell: I have patches, but when I edit my code, I want to commit the unpatched variant
<Fare> nix-shell makes that hard
o1lo01ol1o has quit [Ping timeout: 240 seconds]
mbrgm_ has joined #nixos
<clever> Fare: why do you need those patches you cant upstream?
<Fare> because those patches replace "normal" paths by nix paths.
<adisbladis> clever: I noticed that your expressions don't add group memberships
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
<clever> Fare: modify the build system to allow env vars to do that at build time
<clever> Fare: for example, compile something with -DFOO_PATH=${FOO_PATH}
<clever> Fare: then the Makefile can decide between a default, or a value in makeFlags
<clever> adisbladis: it was mostly the bare min needed to make the whole stack work
<adisbladis> clever: Right
<Fare> something like (def (gsc-path) (or (getenv "GSC" #f) (build-time (getenv "GSC" #f))))
<adisbladis> Anyway, I fixed it :) http://ix.io/2koB/nix
<clever> Fare: you could even make it 100% automatic
<clever> Fare: modify the Makefile to just do `-DFOO_PATH=$(which foo)`
<clever> Fare: then it will just find it from $PATH, and hard-code that into things
<Fare> instead of replacing the literal "gsc" by the path to GSC
<clever> then if its in buildInputs, it gets found
<Fare> ok, what about the part where I use ${coreutils}/bin/env instead of /usr/bin/env ? Just use /usr/bin/env ?
<clever> Fare: what are you doing with env?, a #! line? running it? at build or runtime?
<Fare> that was a #! line
{^_^} has joined #nixos
<clever> Fare: use #!/usr/bin/env foo, but then run patchShebangs on the directory if its ran at build-time
<Fare> I also modify shell scripts to call the "right" gsc, gsi, gxc, gsi.
<Fare> these scripts are part of the source
<clever> Fare: you should just run "gsc" directly, let $PATH do its job
<clever> Fare: `#!/usr/bin/env foo` will work just fine outside of nixos as well
<clever> it will look in $PATH
stree has quit [Excess Flood]
<johnjay> clever: i tried running a python script earlier today and got an error from Imagemagick
<johnjay> went away when I added #!/usr/bin/python3. XD
<Fare> clever, but to make gerbil available outside nix-shell, don't I need see the path to gsc ?
alp has quit [Ping timeout: 244 seconds]
<clever> Fare: thats what wrapProgram is for, to prepend things to PATH before the thing gets ran
stree has joined #nixos
<Fare> actually, on a mac, the path to gcc is almost certainly wrong for gambit and gerbil: gcc on a mac is usually an alias to clang, but gambit will be confused by that, and even if you unconfuse it will run 10x slower with clang than with gcc.
<clever> Fare: use $CC and $CXX to get the compiler
<clever> Fare: or use gccStdenv to get a real gcc
<clever> > gccStdenv.mkDerivation
<{^_^}> <LAMBDA>
<Fare> clever, what I did was patch gambit to replace its calls to nake "gcc" by calls to the full path.
<clever> Fare: it should just respect $CC, and then the makefile can provide a default when its missing
<Fare> not sure how good an idea it is: if you use a CC that is different from the one used to compile gambit, you may have "surprises".
<Fare> (especially if you use any C++, where the ABI often changes)
<Fare> (gambit compiles to C)
alp has joined #nixos
* Fare uses docker push... those hundred layers take forever to push
justanotheruser has quit [Ping timeout: 260 seconds]
<codygman__> clever: Thank you, that worked
<{^_^}> [nixpkgs] @Xe closed pull request #86491 → [20.03] emacs: improve setup hook → https://git.io/Jf3Ll
fresheyeball has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @marsam closed pull request #66697 → gopass: 1.8.6 -> unstable-2019-07-31 → https://git.io/fjd0K
konobi has quit [Ping timeout: 260 seconds]
philr has joined #nixos
justanotheruser has joined #nixos
shibboleth has quit [Remote host closed the connection]
hlisp has joined #nixos
konobi has joined #nixos
<glittershark> is there some way more forceful than setting HOME for changing the home dir in a nix shell?
ebopp has quit [Quit: leaving]
<glittershark> I'm doing an export HOME but maven is still installing stuff to my home directory
<glittershark> or trying
hlisp has quit [Ping timeout: 256 seconds]
<glittershark> I'm trying to make a fixed-output derivation for a bunch of maven packages... someone tell me if this is a bad idea
<glittershark> maven seems highly intent on installing everything to ~/.m2 though
<ToxicFrog> glittershark: last time I needed to do this I used mavenix: https://github.com/NixOS/nixpkgs/pull/85714
<{^_^}> #85714 (by ToxicFrog, 1 week ago, open): Build airsonic from source and allow patches
<niso> glittershark: maybe you have to set JAVA_HOME ?
<glittershark> ooh that may have been what I'm looking for
<glittershark> I'm trying to do it for a clojure deps.edn so general maven package tooling isn't gonna work
<glittershark> ...though I guess deps.edn does have the ability to spit out a pom.xml
<glittershark> nope JAVA_HOME didn't do it
<niso> looks like there also was M2_HOME
hlisp has joined #nixos
<Fare> ahem, after this layeredImage thing, pushing to docker takes forever and the image is 40% larger.
<glittershark> ooh m2_home
griff__ has joined #nixos
<niso> glittershark: looks like M2_HOME was removed with maven 3.5.0
tobeportable has quit [Ping timeout: 240 seconds]
<glittershark> oh noooooo
<glittershark>
<glittershark> hmm maybe -Duser.home