worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<{^_^}> [nixpkgs] @markuskowa opened pull request #72337 → uhd: fix outdated python module (Mako) → https://git.io/JezRs
VilDab has joined #nixos
<evanjs> I did see tarballs in there initially so that might be what it was. Same concept to diagnose it, anyway.
ozychhi has quit [Remote host closed the connection]
ozychhi has joined #nixos
jlmeeker has joined #nixos
m0rphism has quit [Ping timeout: 276 seconds]
nikivi has joined #nixos
ozychhi has quit [Ping timeout: 245 seconds]
domogled has quit [Ping timeout: 245 seconds]
ozychhi has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
tbenst has joined #nixos
mbrgm_ has joined #nixos
<{^_^}> [nixpkgs] @nkpart opened pull request #72338 → rPackages.ModelMetrics: fix darwin build → https://git.io/JezRB
mbrgm has quit [Ping timeout: 276 seconds]
mbrgm_ is now known as mbrgm
<tbenst> hello! I'm packaging a new python module, and right now it keeps trying to rebuild scikit-image-0.16.2. I already have this package built, but can't figure out why it's not using the existing derivation / why the hash doesn't match. Any debugging tips?
mexisme has joined #nixos
mniip has quit [Ping timeout: 612 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #72307 → pulumi: 1.3.4 -> 1.4.0 → https://git.io/JezOP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JezRz
NfixEstrada[m] has quit [*.net *.split]
anton-latukha[m] has quit [*.net *.split]
Bruno[m]1 has quit [*.net *.split]
ZD[m] has quit [*.net *.split]
LinuXit has quit [*.net *.split]
cab404[m] has quit [*.net *.split]
submoo[m] has quit [*.net *.split]
rihardsk[m] has quit [*.net *.split]
quiet_laika[m] has quit [*.net *.split]
icetan has quit [*.net *.split]
laas has quit [*.net *.split]
frislie[m] has quit [*.net *.split]
jtojnar has quit [*.net *.split]
rycee has quit [*.net *.split]
timokau[m] has quit [*.net *.split]
wangoe[m] has quit [*.net *.split]
am3on[m] has quit [*.net *.split]
Ox4A6F has quit [*.net *.split]
bennofs[m] has quit [*.net *.split]
bikki[m] has quit [*.net *.split]
l33[m] has quit [*.net *.split]
Taneb has quit [*.net *.split]
fadenb has quit [*.net *.split]
pointfree has quit [*.net *.split]
awygle has quit [*.net *.split]
bwe has quit [*.net *.split]
nikola has quit [*.net *.split]
<tbenst> as far as I can tell, both derivations use the exact same build inputs, except the hash is different for numpy, scipy, etc, yet version number is the same
<tbenst> I'm on latest master in both cases
l33[m] has joined #nixos
bikki[m] has joined #nixos
am3on[m] has joined #nixos
dreverri has joined #nixos
bennofs[m] has joined #nixos
wangoe[m] has joined #nixos
toppler has joined #nixos
timokau[m] has joined #nixos
kvda has joined #nixos
jtojnar has joined #nixos
frislie[m] has joined #nixos
laas has joined #nixos
quiet_laika[m] has joined #nixos
icetan has joined #nixos
CMCDragonkai has joined #nixos
rihardsk[m] has joined #nixos
Bruno[m]1 has joined #nixos
ZD[m] has joined #nixos
cab404[m] has joined #nixos
LinuXit has joined #nixos
anton-latukha[m] has joined #nixos
submoo[m] has joined #nixos
ozychhi has quit [Ping timeout: 276 seconds]
ozychhi has joined #nixos
mniip has joined #nixos
dreverri has quit [Ping timeout: 240 seconds]
Ox4A6F has joined #nixos
rycee has joined #nixos
NfixEstrada[m] has joined #nixos
nikola has joined #nixos
bwe has joined #nixos
awygle has joined #nixos
fadenb has joined #nixos
pointfree has joined #nixos
Taneb has joined #nixos
Ox4A6F has quit [Changing host]
Ox4A6F has joined #nixos
rycee has joined #nixos
rycee has quit [Changing host]
NfixEstrada[m] has joined #nixos
NfixEstrada[m] has quit [Changing host]
Rusty1 has joined #nixos
fusion809 has joined #nixos
<infinisil> tbenst: For a .drv file you can see the dependency tree with `nix-store -q --tree /nix/store/....drv`
Thra11 has quit [Ping timeout: 240 seconds]
<infinisil> It's not great for finding out why derivations are different, but the only way I know of if that's all you have
<clever> infinisil: nix-diff can tell you why they differ
<infinisil> Ah nice, was wondering what the best way was to see the difference
jgt2 has quit [Ping timeout: 264 seconds]
mniip has quit [Remote host closed the connection]
<infinisil> tbenst: If however you know the Nix expressions they were generated from, you should be able to figure out the difference with those too
mniip has joined #nixos
ozychhi has quit [Ping timeout: 250 seconds]
<aanderse> some days i wish i knew nix lang better -_-
<aanderse> well... the nix library, at least
<tbenst> infinisil, clever ah hah! nix-diff is incredble. One used openblas for numpy, while the other used mkl. seems like nix-build does not check ~/.config/nixpkgs/overlays.nix ?
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<clever> tbenst: nix-build should obey that
<clever> tbenst: enless the derivation does `import <nixpkgs> { overlays = []; }`
jlmeeker has quit [Ping timeout: 240 seconds]
fendor has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @marsam merged pull request #72288 → cargo-watch: 7.2.1 -> 7.2.2 → https://git.io/JezRb
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JezRN
<tbenst> clever, good to know, thx.
<{^_^}> [nixpkgs] @schmittlauch opened pull request #72339 → cawbird: 1.0.2 -> 1.0.3.1 → https://git.io/JezRA
<clever> tbenst: i prefer doing { config = {}; overlays = []; } for some things
<clever> to stop it from obeying any user specified config
<clever> then users cant randomly break it
alexherbo2 has quit [Ping timeout: 264 seconds]
mexisme has quit [Ping timeout: 240 seconds]
<DigitalKiwi> aanderse: only some? I wish every day
<DigitalKiwi> i don't do anything about it though
<DigitalKiwi> that's why i wish
Thra11 has joined #nixos
ozychhi has joined #nixos
<{^_^}> [nixpkgs] @schmittlauch opened pull request #72340 → Cawbird gnutls → https://git.io/Jez0L
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @schmittlauch closed pull request #72340 → cawbird: backport gnutls patches fixing TLS connection issues → https://git.io/Jez0L
<{^_^}> [nixpkgs] @marsam merged pull request #72329 → ffsend: 0.2.54 -> 0.2.55 → https://git.io/JezlL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jez0B
wildtrees has quit [Quit: Leaving]
silver has quit [Quit: rakede]
ris has quit [Ping timeout: 258 seconds]
<pie_> is there an idiom for importing the source code of a package from a local git repo
o1lo01ol1o has joined #nixos
<clever> pie_: nix-build -E 'with import <nixpkgs> {}; hello.overrideAttrs (old: { src = ./.; })'
<pie_> clever: isnt there some kind of filtering one should do
<pie_> im not sure i just vaguely remember having seen something. or not.
<clever> pie_: can also throw in a lib.cleanSource ./.
<pie_> i guess that was probably it
jgt2 has joined #nixos
<pie_> sidenote, in this case i think you can just leave out the old: ?
<clever> probably
<pie_> also WOW im rusty, i forgot its overrideAttrs and not just override :(
<pie_> thanks
<clever> override acts at the callPackage level
<clever> overrideAttrs works at the stdenv.mkDerivation level
<clever> overrideDerivation works below mkDerivation, and wont play nicely with cross-compile flags
halfbit has quit [Ping timeout: 276 seconds]
<pie_> looks like overrideattrs requires a function whereas override takes either a function or a set depending on if you want old
<pie_> id dare say thats some manner of UX bug
toppler has quit [Ping timeout: 240 seconds]
<pie_> clever: that makes sense but i didnt realize override is a callpackage thing
<clever> its callPackage that adds .override to the result
drakonis has joined #nixos
<pie_> good to know
<clever> and it basically saves the un-called version of the function within default.nix
<clever> and can re-call it with different args
mexisme has joined #nixos
<pie_> i imagine overrideDerivation operates on te args to `derivation`
<clever> yeah
thomashoneyman has quit [Ping timeout: 240 seconds]
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @chkno opened pull request #72342 → itstool: 2.0.2 -> 2.0.6 → https://git.io/JezEf
drakonis has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « tzdata: handle structuredAttrs »: https://git.io/JezEI
lord| has quit [Ping timeout: 276 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 16 commits to nixos-unstable-small: https://git.io/JezEO
MmeQuignon has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/17da09c2fad (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
selfsymmetric-mu has joined #nixos
hmpffff has quit [Quit: nchrrrr…]
qubasa_ has joined #nixos
VilDab has left #nixos [#nixos]
qubasa has quit [Ping timeout: 240 seconds]
thc202 has quit [Ping timeout: 264 seconds]
Shell has quit [Quit: ZNC 1.7.4 - https://znc.in]
qyliss has quit [Quit: bye]
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @ivan opened pull request #72343 → chromium: do not load .so files from current working directory → https://git.io/JezEa
bvdw has joined #nixos
<{^_^}> [nixpkgs] @ivan opened pull request #72344 → [19.09] chromium: do not load .so files from current working directory → https://git.io/JezEr
<{^_^}> [nixpkgs] @marsam merged pull request #72267 → bshapr & bsequencer: init at v0.4 → https://git.io/JeubC
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JezEi
lord| has joined #nixos
<pie_> oh boy. this may or may not be relevant again https://github.com/NixOS/nixpkgs/pull/33094
<{^_^}> #33094 (by samdroid-apps, 1 year ago, closed): werkzeug: patch reloader to find nix wrapped python scripts
aveltras has quit [Quit: Connection closed for inactivity]
<pie_> i get something that looks like https://github.com/NixOS/nixpkgs/issues/33093 when i run searx in debug mode
<{^_^}> #33093 (by samdroid-apps, 1 year ago, closed): Werkzerg reloader crashes due to Nix wrapped scripts
<pie_> it works ok in non-debug though strangely enough
genesis has quit [Ping timeout: 264 seconds]
<pie_> its called werkzeug now or something though
<pie_> nixos needs more regression tests? :P
<DigitalKiwi> do you know python
<pie_> to a minimally functional level
<pie_> im still poking around here but i might just go to bed soon
<pie_> i might make a repro
Shell has joined #nixos
<pie_> upstream left a comment about reverting a patch, havent checked yet whether i have reverted version, also https://github.com/pallets/werkzeug/pull/1613
<{^_^}> pallets/werkzeug#1613 (by davidism, 15 weeks ago, merged): don't detect executable file for reloader
qyliss has joined #nixos
<{^_^}> [nixpkgs] @nh2 merged pull request #71480 → glibc: Fix building with musl on GCC 8 → https://git.io/JeRv0
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JezE5
<{^_^}> [rfcs] @Ericson2314 opened pull request #56 → CI all nix PRs → https://git.io/JezEd
<DigitalKiwi> pie_: there's a pr to make the perl tests python instead
<clever> DigitalKiwi: ive been wanting to use haskell for the nixos test framework, for a few reasons
<clever> DigitalKiwi: first, have you seen how $machine->run works?, and gets exit codes!
<DigitalKiwi> me too
<DigitalKiwi> but i'm not allowed to talk about it
<pie_> ok some manner of triage of flask problem https://github.com/NixOS/nixpkgs/issues/72345
<{^_^}> #72345 (by deliciouslytyped, 2 minutes ago, open): Flask patch reversion causing breakage in development mode
<clever> DigitalKiwi: it basically does `(foo);echo '|!EOF' ?$` over a serial console
<clever> DigitalKiwi: and then parses the result to find the EOF and exit code
<clever> DigitalKiwi: what i want, is some haskell code, that runs in both the host and guest, and uses a binary rpc to coordinate between the 2 halves
<DigitalKiwi> i will support you in your endeavor and help if i can :)
<clever> then, rather then have to smuggle files around thru echo and 9plan, you can just send a signal to the guest proc, and it can do complex actions on its own
<clever> and the guest proc can be as complex or simple as it needs to be
<DigitalKiwi> i know at least one objection is that ghc is large closure
<clever> and for those that dont want to do complex stuff, the default guest functions can support what we already have
<clever> ghc is only needed to compile the test runner, which only changes rarely (when editing tests, or a mass-rebuild)
<DigitalKiwi> ok yeah that's kind of what it seemed like it would be
toppler has quit [Ping timeout: 240 seconds]
dreverri has joined #nixos
drakonis has joined #nixos
<clever> DigitalKiwi: using a proper muxed rpc over the serial port also adds more options
<clever> DigitalKiwi: for example, with the perl framework, you can only run one thing at once
<clever> DigitalKiwi: but with haskell and some muxing, you can run multiple things in the child proc at once, and not mix the outputs up
drakonis_ has quit [Ping timeout: 276 seconds]
jonringer has joined #nixos
dreverri has quit [Remote host closed the connection]
LoneThistle has quit [Remote host closed the connection]
orivej has joined #nixos
dreverri has joined #nixos
toppler has joined #nixos
cryptomonad has joined #nixos
matthuszagh has joined #nixos
<matthuszagh> is it possible to disable man page compression?
<pie_> the wanted/got in nix build is confusing, i can never remember which is whic
<pie_> would be nice if it was more verbose
wanditoast has joined #nixos
nuncanada has quit [Ping timeout: 268 seconds]
CMCDragonkai has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #72346 → maestral: 0.4.0 -> 0.4.2 → https://git.io/JezuO
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #72347 → treewide: set -u everywhere → https://git.io/Jezu3
<pie_> clever: dumb idea?: repro-nix tool that takes a reference to a github issue or comment which contains nix code for repro and specially formatted comments to check the result
orivej has quit [Ping timeout: 268 seconds]
<clever> pie_: depends on if the problem is at build time or when running the built result
andreas31 has quit [Ping timeout: 260 seconds]
<pie_> clever: modulo stuff like networking, does it matter? if its a build time failure oyu check the shell output and or use -K? for the other case youd want to run that in a sandbox too i think?
<{^_^}> nix#3142 (by cleverca22, 2 weeks ago, open): NIX_BUILD_TOP not set correctly outside of nixos
<clever> pie_: some failures are with nix itself, not setting the right env vars when it launches a build
<pie_> clever: im not saying mandate this for everything though, just pondering if it would be useful a lot
<clever> pie_: i think it may just need some better guidelines on how to document it, and make things more reproducable
andreas31 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
stzsch has quit [Ping timeout: 252 seconds]
<{^_^}> [nixos-weekly] @Ericson2314 pushed to 2-big-stdenv-refactors « Mention the big stdenv refactors in flight »: https://git.io/Jezug
<{^_^}> [nixos-weekly] @Ericson2314 pushed to 2-big-stdenv-refactors-1 « Mention the big stdenv refactors in flight »: https://git.io/Jezu2
<{^_^}> [nixos-weekly] @Ericson2314 opened pull request #107 → Mention the big stdenv refactors in flight → https://git.io/Jezua
stzsch has joined #nixos
snicket has joined #nixos
Neo-- has joined #nixos
vidbina_ has joined #nixos
thomashoneyman has joined #nixos
vidbina has quit [Ping timeout: 240 seconds]
snicket has quit [Ping timeout: 265 seconds]
cryptomonad has quit [Quit: cryptomonad]
cjpbirkbeck has quit [Quit: Quitting now.]
xd1le has joined #nixos
Neo-- has quit [Ping timeout: 245 seconds]
stzsch has quit [Ping timeout: 276 seconds]
stzsch has joined #nixos
toppler has quit [Ping timeout: 276 seconds]
puffnfresh has quit [Quit: ZNC 1.6.5 - http://znc.in]
orivej has joined #nixos
puffnfresh has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #72348 → procs: 0.8.11 -> 0.8.13 → https://git.io/JezuH
toppler has joined #nixos
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 240 seconds]
stzsch has quit [Ping timeout: 276 seconds]
stzsch_ has joined #nixos
abathur has quit [Ping timeout: 276 seconds]
Esa_ has quit []
dreverri has quit [Remote host closed the connection]
inkbottle has quit [Ping timeout: 268 seconds]
<hpfr[m]> nixpkgs unstable is 8 days old now
jlmeeker has joined #nixos
inkbottle has joined #nixos
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
endformationage has quit [Quit: WeeChat 2.6]
buckley310 has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #72349 → terracognita: 0.1.6 -> 0.2.0 → https://git.io/Jezzt
stzsch_ has quit [Ping timeout: 276 seconds]
<pie_> Im doing an override with `python3Packages = pkgs.python3.override { packageOverrides = (self: super: {}); };` and that causes undefined variable 'buildPythonApplication' at https://github.com/NixOS/nixpkgs/blob/8c0786babe5599dfb03cbdf34dffa78a855d7f4d/pkgs/servers/web-apps/searx/default.nix#L5
stzsch has joined #nixos
<pie_> pythonpackages is begging for a .extend, but how do i fix this?
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 276 seconds]
<clever> pie_: this takes something in the form of (self: { ... }) and turns it into a set with extend and callPackage
o1lo01ol1o has joined #nixos
<clever> pie_: you can use self.callPackage to get things from self, and pkgs is the fallback
mexisme has joined #nixos
freeman42x has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #72346 → maestral: 0.4.0 -> 0.4.2 → https://git.io/JezuO
<{^_^}> [nixpkgs] @jonringer pushed commit from @peterhoeg to master « maestral: 0.4.0 -> 0.4.2 »: https://git.io/Jezzu
<{^_^}> [nixpkgs] @jonringer merged pull request #72349 → terracognita: 0.1.6 -> 0.2.0 → https://git.io/Jezzt
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « terracognita: 0.1.6 -> 0.2.0 »: https://git.io/Jezzz
toppler has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #72348 → procs: 0.8.11 -> 0.8.13 → https://git.io/JezuH
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « procs: 0.8.11 -> 0.8.13 »: https://git.io/Jezz2
EsperLily has quit [Quit: leaving]
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
slack1256 has joined #nixos
EsperLily has joined #nixos
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #72350 → check-nwc-health: fix source URL → https://git.io/JezzK
thomashoneyman has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #72339 → cawbird: 1.0.2 -> 1.0.3.1 → https://git.io/JezRA
<{^_^}> [nixpkgs] @jonringer pushed commit from Trolli Schmittlauch to master « cawbird: 1.0.2 -> 1.0.3.1 »: https://git.io/Jezz6
mexisme_ has joined #nixos
mexisme has quit [Ping timeout: 265 seconds]
matthuszagh has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
o1lo01ol1o has quit [Remote host closed the connection]
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
domogled has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #72317 → vimPlugins.antonys-macro-repeater: init at 2017-09-10 → https://git.io/JezZx
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jezz7
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #72350 → check-nwc-health: fix source URL → https://git.io/JezzK
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JezzA
cyraxjoe has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #72352 → codeowners: add jonringer as vimplugin and vscode ext owner → https://git.io/Jezzp
mexisme_ has quit [Ping timeout: 268 seconds]
<xd1le> is it normal to set installPhase and have runHook preInstall at the start and runHook postInstall at the end?
<xd1le> or is there a 'better' way?
<xd1le> because I seem to remember that setting phases explicitly was not recommended but can't find that suggestion
cyraxjoe has quit [Quit: I'm out!]
cyraxjoe has joined #nixos
<clever> xd1le: if you do explicitely set a phase, the pre/post hooks will cease to run (enless you add the runHook's back in yourself)
<xd1le> ok so I guess if installPhase needs to be set, wrapping it with runHook's is good
<xd1le> clever: thanks
toppler has quit [Ping timeout: 268 seconds]
<jonringer> correct, you should add back the pre/post hooks if you declare a phase yourself.
<jonringer> but there are some exceptions, in general I don't see pre/post added to custom checkPhases, because they are generally very specific to that build
<jonringer> but it probably more correct to have the hooks there, incase there is a use case for someone wanting to define those hooks later on
mexisme_ has joined #nixos
<xd1le> jonringer: yeah i was asking cause of the svaba init PR. ty for reviewing it also!
toppler has joined #nixos
jlmeeker has quit [Ping timeout: 268 seconds]
hpfr has joined #nixos
evils has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
mexisme_ has quit [Ping timeout: 240 seconds]
dreverri has joined #nixos
domogled has quit [Quit: domogled]
<yorick> the spotify package not building in most of asia is... suboptimal
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<yorick> (I have to use a cloud builder for it)
marler8997_ has joined #nixos
<marler8997_> so, my nixos has been a little broken for a while, NIX_REMOTE is not set and I'd like to figure out why
dreverri has quit [Ping timeout: 240 seconds]
<marler8997_> does anyone have any idea where it is supposed to be set?
<marler8997_> can someone run some greps maybe? like "grep -r NIX_REMOTE /etc"?
<{^_^}> [nixpkgs] @jonringer merged pull request #72276 → python3.pkgs.cherrypy: 18.1.2 -> 18.3.0 and fix tests → https://git.io/Jeup6
<{^_^}> [nixpkgs] @jonringer pushed commit from @ajs124 to master « python3.pkgs.cherrypy: 18.1.2 -> 18.3.0 and fix tests »: https://git.io/Jezgu
<marler8997_> actually you'll need "grep -R" with a capital R to follow symlinks
<marler8997_> this is odd, on my old nix VM, I don't have NIX_REMOTE=daemon set but I can still install packages...???
<marler8997_> what the heck is going on?
<marler8997_> maybe NIX_REMOTE is a new environment variable? and somehow when I upgraded my machine the new environment didn't get setup properly?
cyraxjoe has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
cyraxjoe has joined #nixos
infinee has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 11 commits to nixos-unstable-small: https://git.io/JezgH
palo1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/def9d098068 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
zupo has joined #nixos
cyraxjoe has quit [Quit: I'm out!]
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
cyraxjoe has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #72337 → uhd: fix outdated python module (Mako) → https://git.io/JezRs
<{^_^}> [nixpkgs] @bjornfor pushed commit from @markuskowa to master « uhd: fix outdated python module (Mako) »: https://git.io/Jezgd
cyraxjoe has quit [Client Quit]
<{^_^}> [nixpkgs] @tbenst opened pull request #72353 → <!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you … → https://git.io/Jezgb
cyraxjoe has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
cyraxjoe has quit [Quit: I'm out!]
mexisme_ has joined #nixos
toppler has joined #nixos
cross has quit [Quit: Lost terminal]
rauno has joined #nixos
cyraxjoe has joined #nixos
thomashoneyman has joined #nixos
thomashoneyman has quit [Remote host closed the connection]
cyraxjoe has quit [Quit: I'm out!]
hyper_ch2 has joined #nixos
cyraxjoe has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #67760 → pythonPackages.opentracing: init at 2.2.0 → https://git.io/fjxy1
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jez2n
chocopuff has joined #nixos
<chocopuff> it's not true that in general, you can put into environment.systemPackages something you could with nix-env -i <package-name> right?
<chocopuff> or what is the difference? --a confused newb
<gchristensen> ,iA
<gchristensen> ,-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<gchristensen> chocopuff: ^ will describe some of the differences
<chocopuff> gchristensen: thank you! the problem is sometimes, i look for a package and i try to put it into environment.systemPackages but it can't find it
<chocopuff> it might be because I have used nix-env -i in the past
CMCDragonkai has joined #nixos
Heirlung has quit [Quit: ZNC - http://znc.in]
<CMCDragonkai> In the netboot.nix there's a `system.build.*` options. What module interprets the options in `system.build.*`.
Heirlung has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
v0|d has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @chkno opened pull request #72354 → nixos/qemu-vm: Option to use squashfs Nix store closure instead of virtfs access to host's store → https://git.io/Jez2o
chocopuff has quit [Quit: WeeChat 2.4]
cyraxjoe has quit [Quit: I'm out!]
vidbina_ has quit [Ping timeout: 265 seconds]
guest81818199090 has joined #nixos
cyraxjoe has joined #nixos
orivej has joined #nixos
<CMCDragonkai> Is there some tool that can help me find where something is defined/declared in the nixpkgs codebase?
<CMCDragonkai> Right now when I see `makeInitrd` and I want to know where it is. I use `ag makeInitrd =` and it does a full text search over the entire codebase.
<CMCDragonkai> Other times i use nix repl and load it and see if I can access it
<CMCDragonkai> but anything that works nicely and can integrate into text editors, tags?
toppler has quit [Ping timeout: 265 seconds]
<CMCDragonkai> what is that?
captn3m0- has quit [Ping timeout: 265 seconds]
<CMCDragonkai> something thati can run locally?
<gchristensen> houndd, there is a module
hyper_ch2 has quit [Remote host closed the connection]
cyraxjoe has quit [Quit: I'm out!]
<{^_^}> [nixpkgs] @vbgl merged pull request #71892 → ocamlPackages.sawja: 1.5.6 → 1.5.7 → https://git.io/Je0gC
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.sawja: 1.5.6 → 1.5.7 »: https://git.io/Jez25
cyraxjoe has joined #nixos
toppler has joined #nixos
__monty__ has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
FRidh has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #68097 → pythonPackages.labelbox: init at 2.1 → https://git.io/fjhnV
<{^_^}> [nixpkgs] @jonringer pushed commit from @Rakesh4G to master « pythonPackages.labelbox: init at 2.1 »: https://git.io/Jez2x
bvdw has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
tabasko has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
mexisme_ has quit [Ping timeout: 245 seconds]
Ariakenom has joined #nixos
captn3m0 has joined #nixos
soju has quit [Remote host closed the connection]
lukash_|away is now known as lukash_
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72333 → stress-ng: 0.10.05 -> 0.10.08 → https://git.io/Jez8O
<{^_^}> [nixpkgs] @c0bw3b pushed to master « stress-ng: 0.10.05 -> 0.10.08 (#72333) »: https://git.io/JezaI
orivej has joined #nixos
Jackneill has joined #nixos
ddellacosta has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jonringer closed pull request #63612 → [WIP] Update Azure sdk → https://git.io/fjwTO
Makaveli7 has joined #nixos
sweep has joined #nixos
Chiliparrot has joined #nixos
jonringer has quit [Ping timeout: 265 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sweep is now known as genesis
genesis has joined #nixos
genesis has quit [Changing host]
orivej has quit [Ping timeout: 240 seconds]
lsix has joined #nixos
nikivi has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to python-unstable: https://git.io/JezaD
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 14 commits to nixos-unstable-small: https://git.io/JezaS
Makaveli7 has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @markuskowa opened pull request #72355 → welle-io: 1.0 -> 2.0 → https://git.io/JezaH
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6b463388478 (from 52 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
orivej has joined #nixos
mexisme_ has joined #nixos
nikivi has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
orivej has joined #nixos
toppler has joined #nixos
slack1256 has quit [Ping timeout: 240 seconds]
gxt has joined #nixos
orivej has quit [Ping timeout: 276 seconds]
ng0 has joined #nixos
knupfer has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixos-homepage] @caugner closed pull request #247 → Fixes the package/options search user experience → https://git.io/fxD9q
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @basvandijk opened pull request #72356 → cargo-audit: 0.9.3 -> 0.10.0 → https://git.io/JezVA
ben has quit [Ping timeout: 268 seconds]
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #67591 → nixos/orangefs: init at 2.9.7, add modules and test → https://git.io/fjApw
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JezwY
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #72355 → welle-io: 1.0 -> 2.0 → https://git.io/JezaH
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jezw0
mexisme_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #72352 → codeowners: add jonringer as vimplugin and vscode ext owner → https://git.io/Jezzp
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jezwz
thc202 has joined #nixos
dm9 has joined #nixos
ardumont has quit [Ping timeout: 246 seconds]
toppler has quit [Ping timeout: 240 seconds]
evils has joined #nixos
Tucky has joined #nixos
knupfer has quit [Quit: knupfer]
toppler has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ardumont has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #72089 → trezor-udev-rules: init at unstable-2019-07-17 → https://git.io/JeEN5
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JezwQ
knupfer has joined #nixos
zupo has joined #nixos
<{^_^}> [nix] @bhipple opened pull request #3182 → Minor updates to inline comments → https://git.io/JezwA
zupo has quit [Client Quit]
hyper_ch2 has quit [Remote host closed the connection]
msgctl is now known as loonquawl
basvandijk has joined #nixos
neiluj has joined #nixos
neiluj has joined #nixos
neiluj has quit [Changing host]
<{^_^}> [nixpkgs] @grahamc merged pull request #72186 → ec2-amis.nix: add 19.09 amis → https://git.io/JeuRE
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JezrY
<{^_^}> [nixpkgs] @grahamc pushed commit from @AmineChikhaoui to release-19.09 « ec2-amis.nix: add 19.09 amis »: https://git.io/JezrO
Ariakenom has quit [Ping timeout: 268 seconds]
Ariakenom has joined #nixos
Ariakenom has quit [Client Quit]
<basvandijk> Does anybody know how to use the localhost as a builder on Hydra on NixOS-19.09? Adding localhost to your /etc/nix/machines which worked on NixOS-19.03 doesn't seem to work anymore: https://github.com/NixOS/nix/issues/3177
<{^_^}> nix#3177 (by basvandijk, 18 hours ago, open): cannot build on 'localhost': don't know how to open Nix store 'localhost'
<{^_^}> [nixpkgs] @timokau opened pull request #72357 → Fix sage dependencies → https://git.io/JezrC
<tilpner> basvandijk: https://tx0.co/YPw
<tilpner> basvandijk: That's what I have in a nix = { ... }; block
<gchristensen> that is a very capable machine
<tilpner> It's cheating
<tilpner> qemu-user lets it pretend to be able to build everything
<gchristensen> it must be :)
<tilpner> That adds the following line to nix/machines
<tilpner> localhost x86_64-linux,i686-linux,armv6l-linux,armv7l-linux,aarch64-linux - 3 1 big-parallel,nixos-test,kvm
<tilpner> But you can of course just delete all those targets
<gchristensen> but that is the same as what basvandijk is doig already
<tilpner> Oh yes, I wasn't saying "do this to fix your hydra", more of a "this is what works here, on 19.09"
<{^_^}> [nixpkgs] @peti merged pull request #71967 → polysemy-plugin: fix tests → https://git.io/Je0db
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Jezr9
<basvandijk> tilpner: and are you sure that your Hydra is actually building on localhost. Because my Hydra on 19.09 will say it's building on localhost but when I look at the build log I see the "cannot build on 'localhost': don't know how to open Nix store 'localhost'" line and the build happily continues running on a remote builder.
<tilpner> basvandijk: That line is the entire content of nix/machines, and it does build stuff
<basvandijk> tilpner: OK interesting. Thank you!
<pie_> Im doing an override with `python3Packages = pkgs.python3.override { packageOverrides = (self: super: {}); };` and that causes undefined variable 'buildPythonApplication' at https://github.com/NixOS/nixpkgs/blob/8c0786babe5599dfb03cbdf34dffa78a855d7f4d/pkgs/servers/web-apps/searx/default.nix#L5
<pie_> does anyone know why and or how to get this to work
<tilpner> basvandijk: I also have hydra, hydra-evaluator, and hydra-queue-runner in nix.trustedUsers
<pie_> oh actually now that i got some sleep and am more lucid i have an idea
<basvandijk> tilpner: I see that the NixOS hydra module already adds hydra-queue-runner to nix.trustedUsers. I'll also try adding hydra and hydra-evaluator to it.
<gchristensen> not sure why that would be needed
<basvandijk> Me neither, although I guess it makes sense to add `hydra` (that's the user running the hydra-evaluator) to nix.trustedUsers if you're using IFD which we are.
toppler has quit [Ping timeout: 240 seconds]
<tilpner> I'm not saying it's necessary, just that it's set like that here, probably because some other config did that when I was setting up this Hydra
<tilpner> And I never questioned this after Hydra was working, so...
ThatDocsLady has joined #nixos
__Sander__ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71486 → forge: init at 1.0.4 → https://git.io/JeRfG
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JezoT
<pie_> i needed to use `python3Packages = (pkgs.python3.override { packageOverrides = (self: super: {}); }).pkgs;` with the .pkgs for some reason. which is weird because i didnt see any of the examples doing that, but they generally used .withPAckages so idk
iyzsong has joined #nixos
toppler has joined #nixos
petar has quit [Read error: Connection reset by peer]
<timokau[m]> My hostname seemingly randomly changes to "localhost" sometimes. Any ideas what could be causing this?
freeman42x has joined #nixos
vidbina_ has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « gnome-doc-utils: don't propagate libxml2Python »: https://git.io/JezoO
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Jezoc
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72334 → firestarter: 1.7.3 -> 1.7.4 → https://git.io/JezBf
<evax> worldofpeace: hi, let me know if there's anything I can do to assist with https://github.com/NixOS/nixpkgs/issues/72330
<{^_^}> #72330 (by evax, 13 hours ago, open): USB WWAN network-manager connection fails to start
<pie_> im trying to patch Flask and I get this on the rebuild... https://bpaste.net/show/5DP7Q
petar has joined #nixos
Mateon2 has joined #nixos
<pie_> this is the expression https://bpaste.net/show/XU4BY
<pie_> i didnt even touch flask-babel so i dont understand why the rebuild for it is failing
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon2 is now known as Mateon1
<pie_> in pipinstallphase
ubert has joined #nixos
<pie_> doh, lol flask = super.werkzeug.overrideAttrs
<{^_^}> [nixpkgs] @basvandijk merged pull request #72356 → cargo-audit: 0.9.3 -> 0.10.0 → https://git.io/JezVA
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/Jezoz
<pie_> is it time we got our own stackoverflow?
<pie_> :P
<kaychaks> with xmonad as WM and gdm as DM, I am having issues connecting external monitor
<kaychaks> external monitor getting detected at login (GDM) but as i get into xmonad it gets disconnected
<kaychaks> xrandr shows only laptop screen connected
<kaychaks> laptop is precision 7540
Makaveli7 has quit [Ping timeout: 246 seconds]
Makaveli7 has joined #nixos
<{^_^}> [nix] @bhipple opened pull request #3184 → Manual: update appendix on nar produciton/consumption → https://git.io/JezoD
<pie_> clever: w00t quality monkey patching :ok_hand: https://github.com/NixOS/nixpkgs/issues/72345#issuecomment-548319532
toppler has quit [Ping timeout: 276 seconds]
kfound has joined #nixos
<worldofpeace> evax: if there's anyway you can get more logging when initiating the connection https://wiki.gnome.org/Projects/NetworkManager/Debugging
<worldofpeace> evax: and if the connection already exists in /etc/NetworkManager/system-connections to recreate it
ambro718 has joined #nixos
<kfound> hi all, i have a hydra/nix-build question
<kfound> is there a way to generate the store-paths output from a nix-build, in the way hydra does it?
<adisbladis> kfound: I don't understand the question? What do you want to accomplish?
<kfound> hi adisbladis: i'm trying to produce a channel without going through hydra, if possible
<kfound> i'm afraid i don't really understand what the store-paths file in the channel is for
toppler has joined #nixos
jgt2 is now known as jgt
<jgt> how do I find the most recent stable nixpkgs commit?
<evax> worldofpeace: I updated the ticket with some strace - it's looking in the wrong place it seems
<kfound> but if it is necessary to publish a channel, i will need to generate it somehow?
<jgt> for the purposes of upgrading my pinned nixpkgs version
<jgt> xd1le: thanks!
<adisbladis> jgt: https://github.com/NixOS/nixpkgs-channels/tree/nixos-19.09 is better for the purpose
<tilpner> jgt: git ls-remote https://github.com/nixos/nixpkgs nixos-19.09
<adisbladis> kfound: Let's step back a bit :) What makes you think you want to publish a channel?
<xd1le> jgt: there's also https://github.com/NixOS/nixpkgs-channels but i think it's deprecated and going to be removed soon
tabasko has quit [Ping timeout: 240 seconds]
<xd1le> oh nvm adisbladis knows more than me
<adisbladis> xd1le: Nope, no such plans AFAIK
lsix has quit [Remote host closed the connection]
<kfound> good question :) i am trying to build a set of packages which will be published inside my company firewall
lsix has joined #nixos
<kfound> this will be nixpkgs + some additional internal software
<worldofpeace> evax: it is indeed, and nothing is wrong with our build config. What's weird is we hardcode binaries the same way for everything and they work, but just for pppd it doesn't care about the build substituted one.
<adisbladis> kfound: You could also pin nixpkgs inside your repo with an overlay with custom packages
<adisbladis> You don't need to use channels at all
<kfound> ok, so this is how i've done it so far
<worldofpeace> evax: in strace, are there ENOENT for other binaries?
<kfound> but i have needed to distribute my overlays to everyone who uses the new packages
<xd1le> adisbladis: oh ok, i saw #71176 and from some of the comments it seemed like it would be removed
<{^_^}> https://github.com/NixOS/nixpkgs/issues/71176 (by edolstra, 2 weeks ago, closed): Merge nixpkgs-channels repo into nixpkgs
<adisbladis> xd1le: Ahh, I have missed that discussion
<evax> worldofpeace: not in the trace I have (but I went straight to testing this)
<adisbladis> Good plan :)
<adisbladis> xd1le: Thanks
<kfound> is there a way i can publish my overlays + nixpkgs in a single place without using a channel?
<xd1le> adisbladis: but idk, maybe they're keeping the repo up and running, just never using it, i'm not sure.
<evax> worldofpeace: I did a ln -s `which pppd` /bin/pppd for now and I'm up and running
<xd1le> like as some mirror
<xd1le> kfound: I think nix flakes is designed for something like that, however, it's still an experimental thing I think
<worldofpeace> evax: !!! how frightening
<xd1le> kfound: (so i'm not sure)
<adisbladis> kfound: Yes, I'm not sure about the general structure of your repo(s) though so I'm not sure what's the best way forward in your case
<kfound> i chatted to edolstra about it at NixCon :) it looks very promising
<kfound> and i agree it's what we want
<xd1le> oh nice!
<adisbladis> kfound: Flakes will be great, but it's not something we can recommend for production right now
jophish has quit [Quit: WeeChat 2.4]
<kfound> but it think it's a way off ready
<kfound> agreed
<worldofpeace> evax: PPPD_PATH is missing in https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/master/config.h.meson so it is always null
<kfound> so say i wanted to have an overlay which just produces a small set of additional tools, but rebuilt with GCC9 rather than the default compiler
<kfound> and i want people to be able to install this internally
<worldofpeace> evax: I think I can make a patch upstream, and maybe forward you branch to test it with
<kfound> i could distribute the overlays to people, and add an internal binary cache with nix-serve
<adisbladis> kfound: You could do something like this http://ix.io/20oZ/nix
<evax> worldofpeace: this is 1.18.4 though
<adisbladis> Also look into the post-build hook: https://nixos.org/nix/manual/#chap-post-build-hook there was a talk about that at nixcon too https://www.youtube.com/watch?v=NB8YHWc7dLk
<adisbladis> You could host your own binary cache easily in some blob storage
<kfound> that snippet looks like what i want, i think
<worldofpeace> evax: I can make a branch variant for stable, they'll likely backport my patch anyway.
<kfound> serving the binary cache is solved (i think)
<evax> worldofpeace: ah I see, great, thanks a lot!
<kfound> is that expression for distributing to users to build their environment?
<kfound> adisbladis: i think i have enough to get started now: thank you!
<worldofpeace> evax: Updated the issue with our chat in irc
<evax> worldofpeace: now that I think about it though, it's actually trying to get the pppd binary on an nix store path, so it's actually working
<evax> worldofpeace: it's more looking like a nix issue to me
<kvik> any idea what this error is about?
<kvik> $ zig build-exe --c-source ccode.c --library c -target x86_64-linux-musl
<kvik> Unable to hash /nix/store/2f0rkgkik236d2s7f9s676yxrc6lh39d-zig-0.4.0/lib/zig/libc/musl/src/math/finite.c: file system error
<kvik> though, i don't know why i assumed this would be nixos related :P
<worldofpeace> evax: It's actually a meson.build issue, they do config_h.set_quoted('PPPD_PATH', pppd_path) but the config.h.meson file doesn't have a PPPD_PATH entry. Because of this it doesn't get the defines PPPD_PATH so it defaults to recursing in its usually way for the binary. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/master/src/ppp/nm-ppp-manager.c#L756
<{^_^}> [nixos-homepage] @edolstra merged pull request #316 → Remove trailing / on Hydra homepage → https://git.io/Je0LU
<{^_^}> [nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/Jezoj
Astralix9 has joined #nixos
<evax> worldofpeace: ok, but why then would the NM process try to look for pppd in a nix store path at all?
<evax> worldofpeace: even more, that path isn't on my system, so it must have been from the build system
<{^_^}> [nixpkgs] @andys8 opened pull request #72359 → Update elm-language-server to 1.4.4 → https://git.io/JezKe
alexherbo2 has joined #nixos
<worldofpeace> evax: in the strace you shown it was checking in NM's prefix, does your trace show it actually looking in `/nix/store/*-ppp-*/bin/pppd`? but that was after you initiated the /bin symlink
<evax> worldofpeace: thanks for bearing with me, I understand now, sorry for the slow start :)
<evax> worldofpeace: thanks again!
kfound has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 268 seconds]
<Astralix9> while tor work just fine last night on one machine of mine, today tor-browser-bundle-bin is broken and get a 404 trying to download https://github.com/TheTorProject/gettorbrowser/releases/download/v8.5.4/tor-browser-linux64-8.5.4_en-US.tar.xz
<Astralix9> do i assume the project has changed on github and broken the package?
<andi-> That is common
<Astralix9> no recent commits there
<yorick> > pkgsStatic.xorg.libX11
<{^_^}> infinite recursion encountered, at undefined position
<andi-> O.o
<worldofpeace> evax: You're welcome. If you're interested, this is the paths they look in default https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/master/src/nm-core-utils.c#L1089, we could maybe add /run/current-system/sw/bin. and the function that does the looking https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/master/libnm-core/nm-utils.c#L3578
sigmundv__ has joined #nixos
<worldofpeace> the error message you saw initially was actually from that function
toppler has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
drakonis has quit [Ping timeout: 265 seconds]
Okinan has quit [Quit: Konversation terminated!]
dreverri has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #72144 → libck: init at 0.7.0 → https://git.io/JeuqE
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JezK2
<{^_^}> [nixpkgs] @mmahut merged pull request #69962 → Cypress 3.4.1: Fix files used for verification. → https://git.io/JeZ7k
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/JezKa
sigmundv__ has quit [Ping timeout: 276 seconds]
<cyris212> Is there a way to build portable go binaries that run on none Nix/NixOS systems?
dreverri has quit [Ping timeout: 265 seconds]
<adisbladis> cyris212: Add `CGO_ENABLED = 0;` to your derivation, if CGO is not required you'll get a static binary.
<{^_^}> [nixpkgs] @mmahut opened pull request #72360 → jormungandr: 0.7.0-rc2 -> 0.7.0-rc3 → https://git.io/JezKr
<adisbladis> Tbh this should probably be the default in buildGoPackage/buildGoModule
<{^_^}> [nixpkgs] @mmahut merged pull request #72336 → flow: 0.110.0 -> 0.111.0 → https://git.io/JezRq
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JezKK
<{^_^}> [nixpkgs] @basvandijk opened pull request #72361 → Backport cargo-audit to 19.09 → https://git.io/JezK1
<{^_^}> [nixpkgs] @peti merged pull request #72338 → rPackages.ModelMetrics: fix darwin build → https://git.io/JezRB
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/JezKM
silver has joined #nixos
jgt has quit [Ping timeout: 276 seconds]
vidbina_ has quit [Ping timeout: 264 seconds]
<hexa-> I'm trying to use Ansible with ansible_connection=netconf, which runs into a SyntaxError for one of the wrapper scripts (ansible-connection). My educated guess is that it doesn't want ansible-connection to be wrapped, as it will be executed as Python from within a parent process. How can I disable wrapping for it?
<hexa-> I guess wrapping automatically happens in the buildPythonPackage hook https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/ansible/default.nix
Astralix9 has quit [Ping timeout: 276 seconds]
fendor has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #72362 → networkmanager: fix PPPD_PATH → https://git.io/JezKp
<{^_^}> [nixpkgs] @worldofpeace opened pull request #72363 → [staging-19.09] networkmanager: fix PPPD_PATH → https://git.io/Jez6c
<cyris212> adisbladis: Thx, exactly what I was looking for.
<{^_^}> [nixpkgs] @taku0 opened pull request #72364 → firefox, firefox-bin: 69.0.2 -> 70.0.1 → https://git.io/Jez6R
<exarkun> How do I add a non-Haskell package build input to a haskell-nix packaged Haskell library?
<{^_^}> [nixpkgs] @worldofpeace closed pull request #71654 → libinput: 1.14.1 -> 1.14.2 → https://git.io/JeR1C
<exarkun> The build fails with the vague suggestion "You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found."
<wedens[m]> exarkun: which library does fail?
<exarkun> wedens[m]: a library I wrote
lsix has quit [Ping timeout: 252 seconds]
<exarkun> neither is in nixpkgs
<wedens[m]> exarkun: are nix files up to date in the repo?
<exarkun> hm almost, let me push one small unrelated fix
<gchristensen> exarkun: that is a nice partnership you've got there
<wedens[m]> anyway, you'll need to add an overlay with `privacypass = ...` so that it knows to what derivation map "privacypass" dependency
<exarkun> wedens[m]: the `fix-nix-build` branch is now up-to-date
<kaychaks> am having issues with external monitors as I switch to XMonad from Gnome. Gnome(wayland) detects external monitor fine.
<exarkun> gchristensen: between privatestorageio and leastauthority?
<gchristensen> yeah
<gchristensen> and PIA
<exarkun> gchristensen: I hope it will be fruitful, yea. :)
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @AmineChikhaoui to nixos-19.09-small « ec2-amis.nix: add 19.09 amis »: https://git.io/JezrO
toppler has quit [Ping timeout: 245 seconds]
<wedens[m]> exarkun: I don't see any non-haskell dependencies listed other than ristretto
<exarkun> wedens[m]: it should just be that one, yea
<exarkun> Where would you suggest defining the overlay? In the default value for pkgs in `nix/default.nix`?
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d0770296475 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> [nixpkgs] @basvandijk merged pull request #72361 → Backport cargo-audit to 19.09 → https://git.io/JezK1
<{^_^}> [nixpkgs] @basvandijk pushed 4 commits to release-19.09: https://git.io/Jez66
<wedens[m]> exarkun: yeah
dreverri has joined #nixos
<wedens[m]> it's a bit different in recent haskell.nix. haskell.nix itself became an overlay
marcusr has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jez6X
<{^_^}> [nixpkgs] @mmahut merged pull request #72360 → jormungandr: 0.7.0-rc2 -> 0.7.0-rc3 → https://git.io/JezKr
<exarkun> aahh, so much to keep up with
<exarkun> building w/ this overlay adding ristretto seems to be working
orivej has joined #nixos
toppler has joined #nixos
endformationage has joined #nixos
lsix has joined #nixos
jgt has joined #nixos
halfbit has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #72359 → Update elm-language-server to 1.4.4 → https://git.io/JezKe
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jezif
jlmeeker has joined #nixos
marcusr has joined #nixos
o1lo01ol1o has joined #nixos
kreisys has quit [Read error: No route to host]
aae has joined #nixos
waleee-cl has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3179 → minor: fix mismatch of struct/class forward decl of 'Source' → https://git.io/Jezce
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JeziI
gxt has quit [Remote host closed the connection]
Astralix9 has joined #nixos
ben has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Makaveli7 has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72285 → brakeman: 4.6.1 -> 4.7.1 → https://git.io/Jezi8
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeziB
o1lo01ol1o has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3182 → Minor updates to inline comments → https://git.io/JezwA
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JeziE
<{^_^}> [nixpkgs] @lsix merged pull request #72316 → radare2: 3.9.0 -> 4.0.0 → https://git.io/JezZF
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/Jeziu
drakonis_ has joined #nixos
johnnywho has joined #nixos
<johnnywho> I 'm building a package that needs to pass configure the specific location of tcl
<johnnywho> how do I do that?
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<etu> johnnywho: Probably by overriding the configurePhase, but it depends very much on how the build system for that package works.
<johnnywho> I need to sed a part of the Makefile.in, then running autoconf and automake and then proceeding as usual
<johnnywho> but I don 't know how to pass a specific, system dependent string argument to the relevant variable in an easy way
drakonis has quit [Ping timeout: 268 seconds]
<etu> johnnywho: Ah, if it's in that file you can probably do that in preConfigurePhase and use substituteInPlace :)
<johnnywho> but how do I do the autoreconf thing? I guess normal configure just runs configure
Neo-- has joined #nixos
aveltras has joined #nixos
<etu> You include autoconf and autotools in nativeBuildInputs
<etu> That should be enough
ddellacosta has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<yorick> libXt depends on xorgproto and xorgproto depends on libXt, how does that ever work?
neiluj has quit [Quit: Konversation terminated!]
<johnnywho> etu: Should it be nativeBuildInputs or just BuildInputs?
<etu> johnnywho: Depends, build time dependencies should be nativeBuildInputs and runtime dependencies should be buildInputs.
<johnnywho> Ah I see
<yorick> oh, it's overridden, but why not for me?
<etu> johnnywho: Think: How would it make sense if I cross compile this :)
<{^_^}> [nixpkgs] @talyz opened pull request #72365 → [WIP]: PostgreSQL declarative databases → https://git.io/JeziF
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #72366 → WIP: Windows cross compilattation via LLVM → https://git.io/Jezib
<{^_^}> [nixpkgs] @Ericson2314 closed pull request #72366 → WIP: Windows cross compilattation via LLVM → https://git.io/Jezib
<{^_^}> [nixpkgs] @Ericson2314 reopened pull request #72366 → WIP: Windows cross compilattation via LLVM → https://git.io/Jezib
toppler has joined #nixos
AluisioASG has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
page has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.09 « Revert "gnome3.sushi: fix module loading" »: https://git.io/JezPI
<{^_^}> [nix] @Ericson2314 opened pull request #3185 → Windows -- depends on Meson build system (#3160) → https://git.io/JezPL
nuncanada has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
aae has quit [Quit: Leaving]
glittershark has joined #nixos
<johnnywho> etu: I think I got it. Any idea on how to set the proper location of tcl? There is no relevant environment variable, but I also can' t hardcode a store path
Astralix9 has quit [Ping timeout: 252 seconds]
<etu> johnnywho: if you get tcl as a input to your function (tcl), you should be able to replace it to use ${tcl}/bin/tclsh or whatever it's looking for
o1lo01ol1o has joined #nixos
nikivi has quit [Ping timeout: 250 seconds]
<etu> johnnywho: Sure, then it becomes "hardcoded" for that output, but it's fixed for that output and change with updates of tcl :)
<johnnywho> I can 't see this environment variable in my nix-shell
<johnnywho> I do have tclsh in path though
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @FRidh to nixos-19.03 « python35: 3.5.7 -> 3.5.8 »: https://git.io/Jeuid
<etu> johnnywho: It's not really an env variable thing, it's more a build input but with string context stuff :p
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/575d2d711aa (from 2 days ago, history: https://channels.nix.gsc.io/nixos-19.03)
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #69030 → contrast: init at 0.0.2 → https://git.io/JeOjh
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JezPo
<{^_^}> [nixpkgs] @worldofpeace merged pull request #72281 → nixos/geoclue: minor cleanups → https://git.io/JezeY
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JezPD
<{^_^}> [nixpkgs] @worldofpeace closed pull request #69318 → services.emacs: fx: do not set EDITOR = [ ] → https://git.io/JesD5
rauno has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @romildo merged pull request #72027 → enlightenment.efl: 1.22.5 -> 1.23.1 → https://git.io/JezP7
<{^_^}> [nixpkgs] @romildo pushed 6 commits to master: https://git.io/JezP5
<{^_^}> [nixpkgs] @adisbladis merged pull request #72255 → gitlab-runner: 12.4.0 -> 12.4.1 → https://git.io/JeuSd
nikivi has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JezPd
Astralix9 has joined #nixos
<exarkun> hmm security.acme cannot succeed because it is a v1 acme client and letsencrypt only supports account creation on v2 acme now.
<exarkun> ah someone bumped the client to v2 a couple weeks ago... but I've barely recovered from my last nixpkgs upgrade
dm9 has quit [Quit: WeeChat 2.6]
toppler has quit [Ping timeout: 268 seconds]
<exarkun> hmm... maybe
<exarkun> or maybe that was only the integration test
ubert1 has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<exarkun> security.acme uses simp_le which does not support v2 at all
ubert has quit [Quit: Leaving]
ubert1 is now known as ubert
toppler has joined #nixos
<johnnywho> etu: Well, I guess my problem was not this. My problem was that the program I 'm building has hardcoded relative paths and thus only works when called from a specific directory
<steveeJ> I'm having an issue with clang. it seems to be passed weird gcc arguments and I don't understand why: `clang-8: warning: argument unused during compilation: '--gcc-toolchain=/nix/store/d4n93jn9fdq8fkmkm1q8f32lfagvibjk-gcc-7.4.0' [-Wunused-command-line-argument]`
<johnnywho> So what I really need to do is write a wrapper that calls the program from a subshell that does cd to that directory and supplies the arguments with realpath
<exarkun> Ah, let's encrypt lists simp_le as a v1-only client but looks up upstream did supposedly add v2 support
<etu> johnnywho: Hmm, is it patchable? :p
<exarkun> oh and someone did bump simp_le to a v2-supporting release on the 18th
<johnnywho> etu: It should be but not easily, it 's ds9, a scientific package
<johnnywho> Scientists are notoriously bad coders
Astralix9 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #72368 → uw-ttyp0: init at 1.3 → https://git.io/JezXM
<tetdim> h
<gchristensen> i
Thra11 has quit [Read error: Connection reset by peer]
mexisme_ has joined #nixos
<johnnywho> etu: Alright, I wrote my wrapper, it works fine
<etu> johnnywho: :)
<johnnywho> What 's the best way to add it to the package?
<johnnywho> Ideally, I want to rename the real executable to ds9_bin, then install the wrapper as ds9 under bin
knupfer has joined #nixos
<johnnywho> Should I have it as an extra file in the package directory or is this bad practice?
<johnnywho> I mean, it 's not a nix expression file
lsix has quit [Remote host closed the connection]
lsix has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #72369 → nixos/fontconfig-ultimate: remove → https://git.io/JezXp
mexisme_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 19 commits to nixos-unstable-small: https://git.io/JezXh
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1a55b2b6b06 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #72313 → twitter-color-emoji: use noto-fonts-emoji’s src → https://git.io/Jezsb
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Jez1q
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/Jez1O
gxt has joined #nixos
Thra11 has joined #nixos
<adamt> Did anybody by chance implement base64 encoding in nix? :P
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<johnnywho> etu: I have a technical question. I wrote a script, that I want installed along with the package. What 's the best way to include it? At sources? Is there a way to paste it within the package itself? What happens with variable substitution then?
<{^_^}> [nixpkgs] @worldofpeace closed pull request #70884 → [19.09] nixos/networkmanager: default to internal → https://git.io/JeW7D
gentauro has quit [Read error: Connection reset by peer]
toppler has quit [Ping timeout: 276 seconds]
gentauro has joined #nixos
reallymemorable has joined #nixos
<tetdim> Ericson2314, what happen
<johnnywho> ah writeTextFile
<{^_^}> [nixpkgs] @mweinelt opened pull request #72370 → Ansible: Fix connection plugins and add support for netconf → https://git.io/Jez1M
hmpffff has quit [Quit: nchrrrr…]
<hexa-> FRidh You dropped boto from ansibles `propagatedBuildInputs` in 4af94d0f5a73fab5009319b7bda0b303236195cd, but it's still part of the function. Probably and oversight?
<Miyu-saki> Wtf. My trackpad, touchpad and pen all worked out of the box. Linux is too easy now. Tch. /s
<exarkun> don't worry they'll probably inhibit proper suspend, cause your battery to drain, and semi-persistently disable whichever video output was in use at the time
<clever> Miyu-saki: you should try nixos on an android device, that will be fun!
<{^_^}> [nixpkgs] @worldofpeace merged pull request #72133 → telepathy-mission-control: 5.16.4 → 5.16.5 → https://git.io/JeuI8
<{^_^}> [nixpkgs] @worldofpeace pushed 8 commits to master: https://git.io/Jez1x
<Miyu-saki> exarkun: STAHP
vuko has quit [Quit: leaving]
<Miyu-saki> No joke. That's actually one of my complaints right now.
vuko has joined #nixos
<Miyu-saki> My laptop's preeetyyy damn toasty.
Ariakenom has quit [Quit: WeeChat 2.6]
<Miyu-saki> I think it's because of the NVidia chip.
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/Jez1h
<{^_^}> [nixpkgs] @jtojnar merged pull request #71659 → pythonPackages.libselinux: init → https://git.io/JeRM4
toppler has joined #nixos
<Miyu-saki> clever: Does Nix on Termux count? :)
<clever> Miyu-saki: no, full blown nixos, in the system partition
<Miyu-saki> Oh
<Miyu-saki> What
<Miyu-saki> That's possible???
<clever> Miyu-saki: yes
<Miyu-saki> samueldr's?
<clever> yes
<Miyu-saki> I haven't been following his work, but I'm really interested.
<clever> i was at that table during the nixcon hackday
<Miyu-saki> There's also the PinePhones. OTOH, my Nix evaluations take more than 2GB RAM...
<wrl> i'm really curious to see if i can get nixos working on the pinebook pro
knupfer has quit [Quit: knupfer]
<wrl> it'll almost certainly be possible but it'll be a question of effort
<Miyu-saki> As much as I talk bad about x86, one thing that I really appreciate is having sooommeeee kind of standardized booting method.
<wrl> yeah
drakonis_ has quit [Ping timeout: 240 seconds]
<johnnywho> Alright I 'm at loss here
<johnnywho> I want a simple way to write an executable script under package /bin/
orivej has quit [Ping timeout: 276 seconds]
drewr has joined #nixos
<infinisil> johnnywho: pkgs.writeScriptBin "name" "script"
<sshow> that was pretty easy ^ :D
<johnnywho> it says "unexpected ""
<johnnywho> It should work but I don 't really understand nix (yet)
<infinisil> I can't help without seeing the code
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 5 commits to nixos-19.03: https://git.io/JeubU
<infinisil> And the full error would help too then
<infinisil> I can't see your screen after all!
<infinisil> johnnywho: Yeah that's invalid Nix, you need to assign the pkgs.writeScriptBin to an attribute
<infinisil> > { "value" } # This is invalid
<{^_^}> error: syntax error, unexpected '}', expecting '.' or '=', at (string):269:11
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> > { key = "value" } # This isn't
<{^_^}> error: syntax error, unexpected '}', expecting ';', at (string):269:17
<xd1le> lol nixpkgs actually has teamviewer
<infinisil> > { key = "value"; } # I mean, this isn't <-
<{^_^}> { key = "value"; }
buckley3108 has joined #nixos
<johnnywho> and which is the right attribute here?
buckley3108 has quit [Client Quit]
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/705cd7f814b (from 2 days ago, history: https://channels.nix.gsc.io/nixos-19.03)
fendor has quit [Quit: Leaving]
<infinisil> johnnywho: Oh so you only want to write the script to $out/bin?
<johnnywho> yes
evanjs has joined #nixos
<johnnywho> Preferably, I 'd like the profile_store thing be substituted to $out in the meantime
<infinisil> johnnywho: I'd do `ds9 = ''<the script>'';` then, along with `passAsFile = [ "ds9" ]`, then `installPhase = ''cp "$ds9Path" $out/bin/ds9; chmod +x $out/bin/ds9''`
<johnnywho> infinisil: THANKS :D
<infinisil> johnnywho: Then you can replace `pkg_store` with `${placeholder "out"}`
<Miyu-saki> Not exactly NixOS-related, but I thought that touchscreens on laptops were a gimmick.
<Miyu-saki> Now that I actually have one. I was so wrong wtf.
<Ericson2314> tetdim: what happend with what?
<tetdim> Ericson2314, in general
<tetdim> i got some notifications
gmarmstrong has joined #nixos
<johnnywho> infinisil: Is there any concise documentation containing all this, or is it just in the hivemind
<infinisil> johnnywho: The latter :P
<Ericson2314> tetdim: well I opened some PRs for windows things, and a NIX RFC so our PRs will be CI'd.
<johnnywho> I mean, nix seems to allow you to do thing really conveniently, but only if you know how
<Miyu-saki> clever: Oh yikes. This reminds me that my mom was waving over the screen and I just followed her directions. She was confused why it stopped following after a few.
<infinisil> johnnywho: Yeah, it's hard to get an overview of what's available, I only know about this from experience
<tetdim> ic
<johnnywho> I wonder if it 's possible to make it self-documenting, like the options
<johnnywho> This is what drove me off of guix, which I tried first. There it 's even worse, sometimes even commands are not really well-documented
<infinisil> johnnywho: We could use the module system for derivation building, but it would really increase evaluation time by a lot
toppler has quit [Ping timeout: 240 seconds]
<infinisil> In the future Nix might get a built-in module system, which could be used for this then
<xd1le> yeah guix internals is difficult, ludovic is really smart
drakonis_ has joined #nixos
jlmeeker has quit [Quit: Leaving]
<__monty__> I have a remote host set up to build all the haskell packages. How do I figure out why happy-1.19.9 is getting built locally? http://ix.io/1ZHQ
<{^_^}> [nixpkgs] @flokli opened pull request #72371 → bpython: fix build → https://git.io/JezMx
sweep has joined #nixos
drakonis has joined #nixos
<clever> Miyu-saki: lol
<clever> Miyu-saki: just tell her its a pebkac
<clever> Miyu-saki: there is literally a component, between keyboard and chair, that makes the "touchscreen" work!
Jackneill has quit [Remote host closed the connection]
<Miyu-saki> :D
toppler has joined #nixos
drakonis_ has quit [Ping timeout: 264 seconds]
drakonis_ has joined #nixos
xd1le has quit [Quit: leaving]
gmarmstrong has quit [Quit: Quit]
drakonis1 has joined #nixos
drakonis has quit [Ping timeout: 265 seconds]
<johnnywho> infinisil: Lol wtf ${placeholder "out"} did something really weird
<johnnywho> instead of the store path it was substituted for this: /1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9
drakonis_ has quit [Ping timeout: 245 seconds]
* ToxicFrog gently slams her head into the desk repeatedly
<ToxicFrog> When nixos-unstable moved to systemd protocol 3 I grumbled for a while and then finally upgraded even though it meant a reboot
<ToxicFrog> And now it's rolled back to protocol 2
* adamt throws a pillow onto ToxicFrog's desk
<ToxicFrog> I wonder if I can rewind nixos-unstable just enough that it's still protocol 3 and I don't have to reboot today, all I want to do is build a new nginx configuration
<ToxicFrog> (one of the things I like least about NixOS is that if you just want to make small configuration tweaks, a channel update can derail the entire process by invalidating parts of your configuration)
<niksnut> you could try to cheat by making /run/current-system symlink to a config that has protocol 2
jgt has quit [Quit: WeeChat 2.4]
<ToxicFrog> (like, by analogy to conventional systems, there's no separation between `nano /etc/nginx.conf` and `zypper dist-upgrade`)
<clever> johnnywho: nix will replace /1rz4g4znpzjwh1xymhjpm42vipw92pr73vdgl6xs1hycac8kf2n9 with the value of $out at a later stage
<ToxicFrog> niksnut: wouldn't the protocol version mismatch cause problems?
<johnnywho> but it did not
<clever> johnnywho: it only does it in certain places, i havent figured out exactly where
<johnnywho> clever: it ended up in the installed script
basvandi` has joined #nixos
<clever> johnnywho: how are you using it?
drakonis has joined #nixos
<clever> johnnywho: just do `cd $out` there
o1lo01ol1o has joined #nixos
<clever> its already a normal env var by that point in time
<clever> oh wait, passAsFile
<clever> you want substite then
<clever> one min...
basvandijk has quit [Ping timeout: 252 seconds]
<clever> johnnywho: try `substituteAll $ds9Path $out/bin/ds9` and use @out@ in the script?
<{^_^}> [nixpkgs] @nh2 merged pull request #72057 → musl support for polkit, add elogind → https://git.io/JeE9j
<{^_^}> [nixpkgs] @nh2 pushed 3 commits to master: https://git.io/JezD2
<nh2_> grahamc[m]: Is it possible that I add my big build machine to ofborg somehow to support `pkgsMusl` builds working reliably?
drakonis1 has quit [Ping timeout: 276 seconds]
nexgen has joined #nixos
<infinisil> clever: Hm I kind of hoped placeholder would work there too
<infinisil> s/hoped/assumed
<infinisil> But apparently not
<johnnywho> Trying this
<nh2_> (cc worldofpeace ^)
<infinisil> clever: From the source code: "At build time, any occurence of this string in an derivation attribute will be replaced with the concrete path in the Nix store of the output ‘out’"
<clever> infinisil: passAsFile may happen before that
<johnnywho> but how exactly does it know that @out@ will need to have the value of $out?
<nh2_> grahamc[m]: do I just need to follow https://github.com/NixOS/ofborg/wiki/Operating-a-Builder ? Or do I have to hav emy builder somehow "be added" to the ofborg infrastructure by somebody (e.g. you)?
<clever> johnnywho: substituteAll will replace @out@ with the value of $out
<{^_^}> [nixpkgs] @jlesquembre opened pull request #72373 → pulumi: install providers and add update script → https://git.io/JezDw
<worldofpeace> nh2_: ooh, coolness :D
work_ has joined #nixos
<clever> nh2_: something ive wanted, is musl and more cross-compile, and other arches
dreverri has quit [Remote host closed the connection]
<clever> nh2_: for example, i want native arm->arm+musl, and i want cross anything->arm+musl
<clever> nh2_: but the examples entries dont cover those cases
dreverri has joined #nixos
basvandi` has quit [Ping timeout: 240 seconds]
<pie_> oh no packaging jars strikes again https://github.com/NixOS/nixpkgs/pull/72198
<{^_^}> #72198 (by wamserma, 2 days ago, open): [needs help] mindustry-bin: init at 5.0 v99
<infinisil> clever: johnnywho: It's already filed as an issue: https://github.com/NixOS/nix/issues/1846
<{^_^}> nix#1846 (by shlevy, 1 year ago, open): Placeholders don't work with passAsFile
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
basvandi` has joined #nixos
<raboof> are there any conventions on when to split a package into a `foo-minimal` and `foo` version? I was a bit surprised that `vim` was a 'minimal' vim which doesn't really work well in X11 (for that you need `vim_configurable`, discussed further in https://github.com/NixOS/nixpkgs/issues/26726#issuecomment-310845146)
dreverri has quit [Ping timeout: 265 seconds]
drakonis_ has joined #nixos
alexherbo20 has joined #nixos
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
buckley310 has joined #nixos
<pie_> crazy idea: can we just have dependencies on steam-run?
alexherbo2 has quit [Ping timeout: 268 seconds]
<pie_> and call things via steam-run in a wrapper script?
drakonis has quit [Ping timeout: 240 seconds]
<rnhmjoj> do you know how to use a (locally installed) channel in `nix run`?
johnnywho has quit [Ping timeout: 276 seconds]
basvandi` has quit [Ping timeout: 252 seconds]
toppler has quit [Ping timeout: 276 seconds]
is_null has quit [Ping timeout: 268 seconds]
dreverri has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
johnnywho_ has joined #nixos
johnnywho_ has quit [Client Quit]
johnnywho has joined #nixos
NoctisLa1 has joined #nixos
NoctisLabs has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
toppler has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nix] @Mic92 opened pull request #3187 → travis: enable linux builds → https://git.io/JezyM
Ariakenom has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3187 → travis: enable linux builds → https://git.io/JezyM
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JezyS
<__monty__> clever, sphalerite: You've shown interest in my problem before. Remote builder with "haskell" feature, overlaid all the haskell packages to have the feature, why is happy-1.19.9 being built locally rather than remote? Or, alternatively, if it *is* getting built remotely, why is the remote suddenly missing the haskell feature?
<shyim> I have an dead path, but i can't remove it cause nix says its alive
<symphorien> then how do you know it is dead ?
slack1256 has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
basvandi` has joined #nixos
<clever> __monty__: run `nix show-derivation` on the .drv for the happy that is being built
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
tabasko has joined #nixos
<__monty__> clever: What am I looking for?
page has quit [Quit: leaving]
<clever> __monty__: there should be a system features thing in the output
<__monty__> clever: Yeah, it includes the haskell feature, as it should.
tabasko has quit [Client Quit]
<clever> __monty__: what happens if you run nix-store -r on that drv?
psyanticy has joined #nixos
NoctisLa1 has quit [Read error: Connection reset by peer]
<__monty__> clever: Then it starts building on the remote just fine. What's going on here? Is nix not smart enough to *not* use an available build slot if it doesn't support the features?
<clever> __monty__: are you sure that is the same happy.drv that it was building locally?
NoctisLa1 has joined #nixos
<__monty__> I've been specifying it using the full path.
<__monty__> From the error.
basvandi` has quit [Ping timeout: 240 seconds]
<clever> __monty__: also, ghc depends on happy, which it gets from another haskell packages set
<__monty__> This is how I'm adding the haskell feature: http://ix.io/20qa
<__monty__> But GHC already built successfully remotely. So I don't think it's an issue?
domogled has joined #nixos
basvandi` has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
<clever> __monty__: not sure then
jb55 has quit [Quit: jb55]
Tucky has quit [Quit: WeeChat 2.6]
LnL has joined #nixos
LnL has joined #nixos
LnL has quit [Changing host]
nobbo has joined #nixos
nobbo has quit [Client Quit]
drakonis has joined #nixos
nobbo has joined #nixos
page has joined #nixos
h0m1 has joined #nixos
<__monty__> How is this possible? The clever's nix mind doesn't have boundaries. I feel like collision detection failed and I'm under the rendered playspace now.
<__monty__> ; )
toppler has quit [Ping timeout: 240 seconds]
glittershark has quit [Remote host closed the connection]
<clever> __monty__: what is the exact output when nix begins to build locally?
<__monty__> This is *all* of the output: http://ix.io/1ZHQ
ThatDocsLady has quit [Ping timeout: 246 seconds]
<__monty__> I don't *know* it's building locally. But the alternative is that it's building remotely but the remote has suddenly lost the haskell feature just for happy.
<clever> __monty__: and what is in /etc/nix/machines ?
<__monty__> http://ix.io/20qe
halfbit has quit [Ping timeout: 245 seconds]
<clever> __monty__: it might be a bug in nix then, what happens if you build with --keep-going?, and then retry each time it fails
basvandi` has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @lschuermann opened pull request #72374 → tpm2-pkcs11: init at 0b7ceffb → https://git.io/JezS5
<__monty__> Does that work with home-manager? Taskell's only getting built because of my home.nix
<__monty__> Output's exactly the same.
fusion809 has quit [Remote host closed the connection]
<clever> __monty__: you can do things like: nix-store -r --keep-going /nix/store/jd6vw7rls6d9j24kq8fc3pc28f0psc37-home-manager-generation.drv
<clever> to just build that thing again
<__monty__> Same output again.
<clever> __monty__: but does it continue to build hscolor and jailbreak-cabal?
<__monty__> Nope, stops.
<clever> definitely a nix bug then, -keep-going should have kept going!
drakonis_ has quit [Read error: Connection reset by peer]
toppler has joined #nixos
<__monty__> nix 2.2.2 is pretty recent, right?
Okinan has joined #nixos
<__monty__> Like, recent enough to submit a bug report?
drakonis_ has joined #nixos
<clever> yeah
<__monty__> (Try to avoid rebuilding this system at all cost because it's a super slow 32bit machine.)
kuznero has joined #nixos
<kuznero> Hi All!
<drakonis_> 100 commits until 200k, who'll be our lucky winner
halfbit has joined #nixos
* slack1256 will wait to send his PR
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 48 commits to nixos-unstable-small: https://git.io/Jez9L
matthuszagh has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/62fbcea8070 (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<__monty__> Updating a package. How do I get a hash for a platform I'm not on?
orivej has joined #nixos
<matthuszagh> hello, i'm having trouble overriding luatex in texlive to use an updated version
lsix has quit [Remote host closed the connection]
<matthuszagh> the custom luatex builds fine, but then I get an error when linking, saying the executable already exists under bin
lsix has joined #nixos
<matthuszagh> my texlive combine is composed of scheme-minimal and luatex, so maybe luatex is also in scheme-minimal
<matthuszagh> ?
<matthuszagh> If so, is there a way to override the one in scheme-minimal?
kaba has joined #nixos
<matthuszagh> ok, i see that it is
<clever> __monty__: why does the package need different hashes for each platform?
<__monty__> clever: It fetches a deb for linux and a pkg for darwin.
<matthuszagh> is the solution to this simply to not use scheme's and instead list the packages manually?
<clever> __monty__: try just plain old nix-prefetch-url on that url?
<{^_^}> [nixpkgs] @jonringer merged pull request #72371 → bpython: fix build → https://git.io/JezMx
<{^_^}> [nixpkgs] @jonringer pushed commit from @flokli to master « bpython: fix build »: https://git.io/Jez98
<__monty__> clever++ Didn't realize I could pass that an url rather than -A package.src /facepalm
<{^_^}> clever's karma got increased to 225
lsix has quit [Ping timeout: 276 seconds]
<clever> __monty__: the -A thing is actually newer!
gxt has quit [Ping timeout: 260 seconds]
<__monty__> Yeah, the url part is kinda right in the name.
<exarkun> simp_le bumped but ... broken? https://gist.github.com/exarkun/fa133650e0a7b790542f0d127858cb10 :/
kaba has quit [Remote host closed the connection]
alexherbo2 has joined #nixos
lukash_ is now known as lukash_|away
<exarkun> for a random number of nixos-19.09 revisions, then maybe fixed by certbot bump :/
bvdw has quit [Quit: bvdw]
alexherbo20 has quit [Ping timeout: 265 seconds]
bvdw has joined #nixos
<matthuszagh> ok, if I specify all packages manually (ditch scheme's and collections) it works
bvdw has quit [Client Quit]
<{^_^}> [nixpkgs] @toonn opened pull request #72375 → wire-desktop: linux 3.10.2904 -> 3.11.2912 → https://git.io/Jez9u
bvdw has joined #nixos
zeta_0 has joined #nixos
chloekek has joined #nixos
Heirlung has quit [Ping timeout: 246 seconds]
nobbo has quit [Remote host closed the connection]
<zeta_0> how does the minimal nixos iso compare to the other nixos iso's ?
dreverri has quit [Remote host closed the connection]
<clever> zeta_0: minimal doesnt have kde installed on it
dreverri has joined #nixos
<zeta_0> clever: that's all ?
<clever> zeta_0: thats the biggest thing, let me grab the list...
lsix has joined #nixos
aleph- is now known as Church-
toppler has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
<clever> minimal just turns off fontconfig, and pulls in base
<clever> graphical pulls in base, sets up kde, installs kate, copies a nixos manual to the desktop, and drops gparted and konsole links on the desktop
Heirlung has joined #nixos
<__monty__> clever: I opened an issue, feel free to suggest what other info I can provide. https://github.com/NixOS/nix/issues/3188
<{^_^}> nix#3188 (by toonn, 55 seconds ago, open): Derivation with required feature assigned to wrong host
dreverri has quit [Ping timeout: 268 seconds]
<clever> __monty__: looks like enough info, about all i can think of is to set max-jobs to 0, so it never does a local build
<clever> until the bug is fixed
<zeta_0> clever: thanks for the info, i am going to go with the minimal nixos iso
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<__monty__> clever: But that requires a system rebuild : (, and another one in case my remote builder's not available and I need to build something.
<clever> __monty__: yeah, not ideal, just a work-around until the bug in nix is solved
<__monty__> I have to enable swap just to have a chance of having a successful rebuild o.O I'll give it a shot though, since there don't seem to be any alternatives. Glad I'm not doing something obviously wrong though #32bitstherealhardlife
<{^_^}> https://github.com/NixOS/nixpkgs/pull/32 (by peti, 7 years ago, merged): Xen for Linux 3.2
<gchristensen> lol
<gchristensen> infinisil: ^ minor bug report :)
<infinisil> Heh
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to bash-no-undef-vars: https://git.io/Jez9i
<__monty__> infinisil: No word boundary checking? Tsk, tsk.
<infinisil> I actually don't know if the regex engine I'm using supports this
<__monty__> That's a beautiful issue number though, pull 32 for linux 3.2...
toppler has joined #nixos
wildtrees has joined #nixos
<infinisil> Oh I think it actually does
<adisbladis> gchristensen: I really love seeing those old issues that {^_^} brings up sometimes :)
<gchristensen> me too :)
<__monty__> infinisil: Time to switch to piping to `vim -e`, without sanitizing input >: )
<__monty__> Aww
<adisbladis> Back in those days I was running Xen on Gentoo
<infinisil> Lol
<adisbladis> That was.... Painful
<gchristensen> heh
<adisbladis> One thing was pretty neat though: shared binary cache among VMs
<adisbladis> Even Gentoo has been able to do that for quite some time
<adisbladis> Though not really well
orivej has joined #nixos
dreverri has joined #nixos
<infinisil> gchristensen: Fixed!
jgeerds_ has joined #nixos
<__monty__> There's an attribute with a dash "fast-tags" in a set I'm opening with `with haskellPackages;`, can I refer to this attribute without `haskellPackages."fast-tags"`?
slack1256 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @zimbatm opened pull request #72376 → stdenv/check-meta: getEnv if the attribute is unset → https://git.io/Jez9x
<matthuszagh> is it possible to overlay a single texlive package
<matthuszagh> ?
<__monty__> matthuszagh: I don't see why not. Not that that helps you any probably.
<matthuszagh> __monty__: hm ok. i can create a custom package fine, but since it doesn't replace the original I get issues when that package is a dep of others
<matthuszagh> __monty__: I take it you haven't overlayed texlive packages yourself?
<{^_^}> [nixpkgs] @joachifm merged pull request #71839 → tor-browser-bundle-bin: 8.5.5 -> 9.0 → https://git.io/Je0n2
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/JezHk
<matthuszagh> the documentation says that I can update the package set in its entirety. however, I'd prefer to avoid doing this because (1) it seems unnecessary for just 1 package, (2) i'd like a system where I can get a newer package from the master branch even if its not updated in texlive and (3) because I'd rather stay on the nixpkgs master branch
<tbenst> I'm having collisions between `sip` and `PyQt5`. Is there a preferred way to resolve?
<tbenst> I tried `nix-env --set-flag priority 5 python37Packages.sip` but doesn't match a derivation
ubert has quit [Quit: ubert]
zupo has joined #nixos
ddellacosta has joined #nixos
<__monty__> matthuszagh: It probably just comes down to figuring out how overlay it.
matthuszagh has quit [Ping timeout: 268 seconds]
h0m1 has quit [Quit: WeeChat 2.6]
nexgen has quit [Remote host closed the connection]
<tbenst> also tried `nix-env --set-flag priority 5 python3.7-sip-4.19.18` with no luck
toppler has quit [Ping timeout: 268 seconds]
<tbenst> found a "fix": `nix-shell -I nixpkgs=. -p 'python3.buildEnv.override { extraLibs = [ python3Packages.stytra ]; ignoreCollisions = true; }'
<tbenst> `
pjan has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #72293 → nixpkgs manual: document staging-next branch → https://git.io/JezIL
<{^_^}> [nixpkgs] @FRidh pushed to master « nixpkgs manual: document staging-next branch »: https://git.io/JezHH
ris has joined #nixos
pjan has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72049 → iosevka: 2.3.0 -> 2.3.2 → https://git.io/JeED2
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JezHb
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @tbenst opened pull request #72377 → python3packages.stytra: init at 0.8.26 → https://git.io/JezHx
<{^_^}> [nixpkgs] @tbenst closed pull request #72377 → python3packages.stytra: init at 0.8.26 → https://git.io/JezHx
toppler has joined #nixos
halfbit has quit [Quit: WeeChat 2.6]
lsix has quit [Ping timeout: 246 seconds]
sigmundv has quit [Ping timeout: 240 seconds]
hmpffff has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @tbenst opened pull request #72378 → pythonpackages.scikitimage: add missing dependency → https://git.io/JezQ3
chreekat has joined #nixos
<infinisil> tbenst: I recommend avoiding priorities from 0 to 10, they have weird behavior, see https://github.com/NixOS/nixpkgs/pull/69397#issuecomment-535706689
<{^_^}> [nixpkgs] @talyz opened pull request #72379 → gitlab: 12.4.0 -> 12.4.1 → https://git.io/JezQR
<infinisil> s/weird/inconsistent
<tbenst> infinisil, ok thx, have generally avoided it as confusing
gxt has joined #nixos
<tbenst> is there another way to handle collisions besides ignoring? or maybe ignoring is an ok solution?
<infinisil> tbenst: What's the full error?
<infinisil> Oh and correction: Only priorities from 0 to 5 have inconsistent behavior
<exarkun> does `min-free` also protect you from filling up / if there is nothing to garbage collect?
lsix has joined #nixos
<exarkun> if not is there a way to be protected from filling up /?
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @lschuermann opened pull request #72380 → tpm2-tools: 4.0 -> 4.0.1 → https://git.io/JezQw
<infinisil> tbenst: The buildEnv workaround seems most reasonable tbh
<tbenst> exarkun, maybe try `nix.autoOptimiseStore = true;`
<tbenst> infinisil, sounds good thx!
nuncanada has quit [Remote host closed the connection]
<exarkun> tbenst: The docs make it sound like that might save me some space but won't save me from filling / if I actually ask the store to store too much
<infinisil> tbenst: Being able to do `nix-shell -p pythonPackage.*` seems like something that never should've been supported anyways
nuncanada has joined #nixos
nuncanada has quit [Max SendQ exceeded]
nuncanada has joined #nixos
<tbenst> infinisil, ya buildEnv seems strictly superior
<tbenst> exarkun, not sure I completely understand. nix-collect-garbage may help too
<Miyu-saki> What's the best practice for Intel+NVidia laptop power management right now?
<exarkun> I want `nix-store --serve --write` to fail with an error before free space on / equals 0 and never perform a write which would take free space on / to 0
jb55 has joined #nixos
<Miyu-saki> Best practice being ~mainlined/documented.
<exarkun> Or, really, I *don't* want to deal with all of the *other* software in the world that can't deal with ENOSPC
<exarkun> like, I just killed openssh or maybe bash or pam or some other part of the login stack on a remote server by accidentally filling / with nix-copy-closure
<exarkun> that sucks, I don't want that to happen.
<exarkun> but now it's halloween, cya
<Miyu-saki> \o
laerling_ is now known as laerling
laerling has joined #nixos
laerling has quit [Changing host]
<tilpner> exarkun: Put the store on a separate dataset/filesystem
<{^_^}> [nixpkgs] @c0bw3b pushed to master « dropwatch: 1.5 -> 1.5.1 »: https://git.io/JezQM
<tilpner> Miyu-saki: Bumblebee works... -ish
<tilpner> (But depends on your exact model)
pjan has quit [Ping timeout: 268 seconds]
<tilpner> And your needs, of course
<tilpner> CUDA works, but always needs special treatment
<ar> ,from dig
<tilpner> Vulkan doesn't really work at all
<{^_^}> [nixpkgs] @lsix opened pull request #72381 → auctex: 12.1 -> 12.2 → https://git.io/JezQD
<ar> ,locate dig
<{^_^}> Found in packages: bind.dnsutils
<Miyu-saki> I'm okay w/out Vulkan.
<tilpner> And it's a lot slower than if you were using pure nvidia
<Miyu-saki> Like, a *lot*?
<shapr> how much slower?
<Miyu-saki> I've tried it on my desktop, and it was a loooot slower. And huge-ass latency.
<Miyu-saki> I was wondering if it'd be any better on the laptop.
<tilpner> I don't have numbers, but I remember how surprised I was when I used nvidia-xrun, about it being _that_ much faster
<Miyu-saki> Y'know what. I'll give it a try anyway.
<Miyu-saki> What's the proper videoDrivers line for bumblebee?
<tilpner> Miyu-saki: Here's my bumblebee module: https://tx0.co/lWe
reallymemorable has joined #nixos
<tilpner> Specific to my laptop, of course
<shapr> my laptop needs bumblebee or optimus or whatever, but I just set it to nvidia only
<edef> shapr: we have better stuff!
pjan has joined #nixos
<shapr> edef: what do you mean?
<{^_^}> #66601 (by eadwu, 11 weeks ago, open): nvidia: prime render offload
<Miyu-saki> We just don't have an implementation of this yet.
<Miyu-saki> OH
toppler has quit [Ping timeout: 265 seconds]
wildtrees has quit [Ping timeout: 240 seconds]
<Miyu-saki> I'm stupid
<edef> shapr: i've been using it and it's really dope!
<tilpner> Miyu-saki: This was years ago
<shapr> huh, I'll try it out this weekend
<shapr> when I finally switch to NixOS, after much effort from vaibhavsagar
<Miyu-saki> I should have checked PRs before saying anything. :|
<shapr> I got nixOS installed, I'm happy about that
<shapr> now I just have to port over all my customizations from Ubuntu on my other drive
mexisme_ has joined #nixos
<shapr> wait wait, *vaibhavsagar* got nixOS installed, credit where it's due
<vaibhavsagar> it was a team effort
mrCyborg has quit [Read error: Connection reset by peer]
<shapr> I was amazed to see previous kernel configs available upon reboot, being able to undo changes is exciting.
<Yaniel> one of the main things that drew me in too :3
Ilya_G66 has joined #nixos
<{^_^}> [nixpkgs] @kolaente opened pull request #72382 → gitea: 1.9.4 -> 1.9.5 → https://git.io/JezQQ
bhipple has joined #nixos
toppler has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
zeta_0 has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
<zeta_0> are there any gui tools that write images to usb flash drives in nixpkgs ?
wolfshappen has quit [Ping timeout: 240 seconds]
judson has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72021 → dropbox: 81.4.195 -> 83.4.152 → https://git.io/JezQd
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @graham33 to master « dropbox: 81.4.195 -> 83.4.152 (#72021) »: https://git.io/JezQF
wolfshappen has joined #nixos
jgeerds_ has quit [Ping timeout: 276 seconds]
mdash has quit [Quit: leaving]
cyraxjoe has quit [Quit: I'm out!]
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @graham33 to release-19.09 « dropbox: 81.4.195 -> 83.4.152 (#72021) »: https://git.io/JezQN
<tilpner> > etcher.meta.description
<{^_^}> undefined variable 'etcher' at (string):269:1
<tilpner> Oops, local overlay
cyraxjoe has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
mt[m] has joined #nixos
<zeta_0> is there gnome multi-writer in nix packages ?
Ilya_G66 has quit [Remote host closed the connection]
<Yaniel> yes
<Yaniel> but not on the nixos-19.09 channel
hmpffff has quit [Quit: nchrrrr…]
<zeta_0> Yaniel: then on what channel ?
<zeta_0> oh unstable
<Yaniel> nixos-unstable
<Yaniel> and presumably nixpkgs-unstable
hmpffff has joined #nixos
<Orbstheorem> Hi, I'm using all-hies with a fixed version of ghc (the same that I've installed in my user profile using ghcWithPackages). However, I get an error from hie saying it cannot find a module. Does anybody have an idea of what I may be missing?
lsix has quit [Ping timeout: 252 seconds]
<Orbstheorem> I can import the missing module from ghci
<zeta_0> well do you guys know of any other gui tools to write an image to a usb flash drive ?
<{^_^}> [nixpkgs] @jtojnar opened pull request #72383 → libabigail: init at 1.6 → https://git.io/JezQp
Heirlung has quit [Ping timeout: 245 seconds]
<Yaniel> I just use dd anyway
<Yaniel> but yeah just because a package is not available doesn't mean you can'
<Yaniel> but yeah just because a package is not available doesn't mean you can't install it
<Yaniel> *available on the channel you are using
dreverri has quit [Remote host closed the connection]
<infinisil> Orbstheorem: Hard to say without knowing more about your setup
<zeta_0> Orbstheorem: i used ghcWithHoogle and all-hies worked, maybe that's why
dreverri has joined #nixos
<infinisil> Speaking of all-hies, I'm just about to update it to 0.13.0.0 :)
pjan has quit [Ping timeout: 250 seconds]
<Orbstheorem> My config: https://paste.gnugen.ch/raw/n5mF
<Orbstheorem> (I mean, the relevant parts)
<Orbstheorem> All-hies is master ^^
vidbina_ has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
dreverri has quit [Ping timeout: 265 seconds]
<Orbstheorem> (switching to ghcWithHoogle)
<infinisil> Orbstheorem: And what's the full error?
wolfshappen has quit [Ping timeout: 268 seconds]
<zeta_0> symphorien: well i am going to upgrade to nixos-unstable today, i just wanted to put nixos-unstable on a usb flash drive just in case changing the channel and doing the upgrade doesn't work ?
<infinisil> zeta_0: No need for that, you can always roll back with NixOS
wolfshappen has joined #nixos
<tilpner> zeta_0: sudo cp nixos.iso /dev/sdx
<tilpner> (Works with GNU cp, not all other versions)
Ariakenom has quit [Quit: Leaving]
<zeta_0> infinisil: ok, i'll give it try
<Orbstheorem> infinisil: Could not find module ‘Data.Yaml’ Use -v to see a list of the files searched for.
toppler has quit [Ping timeout: 240 seconds]
vidbina_ has quit [Ping timeout: 240 seconds]
<infinisil> Orbstheorem: And you specified the dependency in your cabal file?
abathur has joined #nixos
<Orbstheorem> I don't have a cabal file (yet)
<Orbstheorem> I'm just prototyping
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-19.09: https://git.io/Jez7Z
<Orbstheorem> Does hie require a cabal file?
<infinisil> I think it can only work without one if you don't have non-builtin dependencies
petar has quit [Read error: Connection reset by peer]
peanutbutter144_ is now known as peanutbutter144
<zeta_0> tilpner: thanks for the tip, some of the terminal commands are not working for me so i'm going to use a gui tool for this instead(')'
pjan has joined #nixos
<Orbstheorem> oh :(
<Orbstheorem> Okay, I'll make a cabal file
<{^_^}> [nixpkgs] @c0bw3b closed pull request #70419 → eternal-terminal: 5.1.10 -> 6.0.4 → https://git.io/JeCe7
petar has joined #nixos
<zeta_0> Orbstheorem: are you installing all-hies in home.nix ?
page has quit [Remote host closed the connection]
mexisme_ has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
mexisme_ has joined #nixos
<Orbstheorem> zeta_0: I don't know what home.nix is
<__monty__> gchristensen: Hmm, I don't understand why I got an email on PR #67572 I suspect it has to do with the maintainers team?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67572 (by Amar1729, 9 weeks ago, open): libguestfs: 1.38.6 -> 1.40.2
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to bash-no-undef-vars: https://git.io/Jez74
<Orbstheorem> But I'm using home-manager if that's what you mean ^^
<__monty__> gchristensen: Is it because maintainers was mentioned in the OP before it was edited out?
petar has quit [Read error: Connection reset by peer]
<Orbstheorem> zeta_0: Oh, I didn't knew that it was in nixpkgs ^^
mexisme_ has quit [Ping timeout: 264 seconds]
<adisbladis> If it's not in nixpkgs it doesn't exist ^_^
<{^_^}> [nixpkgs] @choas opened pull request #72385 → sapmachine: init at 13.0.1 → https://git.io/Jez7E
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Orbstheorem> I'm using the 19.09 release from https://github.com/rycee/home-manager/archive/release-19.09.tar.gz
<Orbstheorem> adisbladis: right x)
kreisys has joined #nixos
<Miyu-saki> edef: Ping. Does your nvidia-smi show X?
<Orbstheorem> Since I'm starting a new haskell project targeted at being compatible with other dists, which one would you use hspack + stack or just cabal?
<Orbstheorem> as in (stack.yaml + packages.yaml) or (project.cabal)
<edef> Miyu-saki: it does, yeah
petar has joined #nixos
<zeta_0> i love home-manager, it makes package management so much simpler
<Miyu-saki> edef: Hm, weird. PR maker seems to norepro
pjan has quit [Ping timeout: 240 seconds]
<Miyu-saki> edef: Do you think that this improved battery life?
<Orbstheorem> zeta_0: Agree ^^
<edef> Miyu-saki: not sure
<edef> Miyu-saki: i should maybe try turning it off and seeing if that improves it tbf
<Miyu-saki> Ah. :P Well, TBF, it's the dogmatically correct way anyway.
mexisme_ has joined #nixos
<edef> i'll dig into that stuff sometime not-now
<edef> i have some deadlines to hit rn
<Miyu-saki> Yeah. Except mine is more like s/sometime/never/ because I'm too lazy. :C
<Miyu-saki> Thanks for mentioning the PR!
<zeta_0> when i change the channel to nixos-unstable and do an upgrade will it switch to the unstable nixos packages as well ? or will i have to do that manually ?
kuznero has quit [Quit: Leaving]
ericsagnes has quit [Ping timeout: 276 seconds]
hmpffff has quit [Quit: nchrrrr…]
lsix has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #72383 → libabigail: init at 1.6 → https://git.io/JezQp
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/Jez77
<{^_^}> [nixpkgs] @c0bw3b merged pull request #67572 → libguestfs: 1.38.6 -> 1.40.2 → https://git.io/fjAdJ
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @Amar1729 to master « libguestfs: 1.38.6 -> 1.40.2 (#67572) »: https://git.io/Jez75
rudzha has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
<{^_^}> [nixpkgs] @jtojnar closed pull request #62270 → [WIP] gmic_krita_qt: 2.3.6 -> 2.6.4 → https://git.io/fj0ST
lsix has quit [Client Quit]
rudzha has joined #nixos
drakonis_ has quit [Ping timeout: 264 seconds]
matthuszagh has joined #nixos
<matthuszagh> i'm having some trouble understanding what pkgFilter does as part of texlive. I see it mentioned in the nixpkgs manual but can't understand it. Is anyone familiar with this?
pjan has joined #nixos
don_quijote[m] has joined #nixos
mexisme_ has quit [Ping timeout: 276 seconds]
ericsagnes has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
lsix has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 8 commits to nixos-unstable-small: https://git.io/Jez5k
drakonis has quit [Ping timeout: 268 seconds]
leotaku has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/08884d6a0f9 (from 82 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #72022 → tracecmd: 2.8.3 -> 2.9-dev & kernelshark: 0.9.8 -> 1.1.0 → https://git.io/Jez5m
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @basvandijk to master « tracecmd: 2.8.3 -> 2.9-dev & kernelshark: 0.9.8 -> 1.1.0 »: https://git.io/Jez5Y
<{^_^}> [nixpkgs] @jtojnar opened pull request #72386 → gimp: 2.10.12 → 2.10.14 → https://git.io/Jez5O
thc202 has quit [Ping timeout: 250 seconds]
toppler has joined #nixos
wildtrees has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b pushed to master « libguestfs-appliance: 1.38.0 -> 1.40.1 »: https://git.io/Jez5Z
leotaku has joined #nixos
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @basvandijk reopened pull request #71791 → release-lib.nix: initialize pkgs for the currentSystem → https://git.io/Je0kN
<infinisil> matthuszagh: I'm not familiar, but it's mentioned in the manual: https://nixos.org/nixpkgs/manual/#sec-language-texlive-users-guide
<matthuszagh> infinisil: thanks for the response. I saw that as well, unfortunately can't quite understand it
leotaku has quit [Ping timeout: 276 seconds]
johnnywho has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @risicle opened pull request #72387 → jhead: add patches for CVE-2019-1010301, CVE-2019-1010302 → https://git.io/Jez5a
leotaku has joined #nixos
Am3nadiel has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #72388 → ocamlPackages.lwt3: remove at 3.3.0 → https://git.io/Jez5S
Am3nadiel has quit [Max SendQ exceeded]
leotaku has quit [Ping timeout: 265 seconds]
<gchristensen> roughly every hour
freeman42x has quit [Ping timeout: 276 seconds]
chloekek has quit [Ping timeout: 240 seconds]
<DigitalKiwi> roughly every hour what?
<gchristensen> good question
<gchristensen> might be an email fragment
zeta_0 has joined #nixos
<DigitalKiwi> an email fragment roughly every hour?
toppler has quit [Ping timeout: 240 seconds]
leotaku has joined #nixos
__monty__ has quit [Quit: leaving]
<gchristensen> unclear
<DigitalKiwi> not as weird as it might seem; gmail has this remarkably spectactular deviation from standards way of handling drafts from email clients; if you save to drafts with imap, it sends the email, so if you have auto save to drafts every time period or x keystrokes...
<{^_^}> [nixos-weekly] @domenkozar merged pull request #107 → Mention the big stdenv refactors in flight → https://git.io/Jezua
<{^_^}> [nixos-weekly] @domenkozar pushed 2 commits to master: https://git.io/Jezdt
<zeta_0> after i changed the channel and did the nixos-rebuild switch --upgrade i got this error: `error: attribute 'haskell-src-exts_1_21_0' missing, at /nix/store/zxpdw4i9cwl8505gja40rlxc0a5cjar7-source/release.nix:50:27`
<DigitalKiwi> so one time i was sending an email to a support person (this was the first/last time it happened :) ) and they got 31 partially written emails.
<gchristensen> what.
matthuszagh has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
<DigitalKiwi> yeah
<zeta_0> i though upgrading was supposed to be simple ? why am i getting this error ?
<chreekat> I've had to stop saving drafts to a gmail imap folder in thunderbird for a related problem. I don't think any partially-written draft has actually gotten *sent*, thank god, but a zillion drafts get left in the conversation, hidden from thunderbird
<zeta_0> here are the 2 commands i executed: `nix-channel --add https://nixos.org/channels/nixos-unstable-small nixos` , `nixos-rebuild switch --upgrade`
<zeta_0> did any of you guys get this error when upgrading to a new nix channel ?
drakonis has joined #nixos
johnnywho has joined #nixos
<DigitalKiwi> gchristensen: https://myfriendshate.me/files/2019-03-11.log ctrl+f my name
<infinisil> zeta_0: Almost certainly this is caused by something in your config, an overlay perhaps, look for whether you have something relevant, look at it with --show-trace, etc.
<DigitalKiwi> there was more in the next log i think just reaffirming that it did actually send them
MightyJoe has joined #nixos
cyraxjoe has quit [Ping timeout: 268 seconds]
<DigitalKiwi> (i tried it on an email account i control as well and also anecdotal evidence that they had trouble finding my address, if they'd only gotten one it was obvious)
toppler has joined #nixos
chreekat has quit [Quit: quitting]
waleee-cl has quit [Quit: Connection closed for inactivity]
<DigitalKiwi> oh i said that in that log
<zeta_0> infinisil: ok, here is trace of the error: https://hastebin.com/hevidigegi.coffeescript
Heirlung has joined #nixos
<infinisil> zeta_0: I guess you have an overlay somewhere you previously used to make ihaskell build?
<infinisil> Because the haskell-src-exts_1_21_0 doesn't come from nixpkgs, it has to come elsewhere from your config
freeman42x has joined #nixos
<zeta_0> i'm not sure what you mean by that, but here's my home.nix configuration: https://hastebin.com/awibawakah.bash
<zeta_0> infinisil: ^
<kraem> anyone running iwd? i have a problem where dhcpcd is getting an ipv6 address before iwd has had a chance to obtain one, which means i can't connect to the network. after stopping dhcpcd service iwd is able to connect though. is iwd providing a dhcp client by itself?
<{^_^}> [nixpkgs] @nkpart opened pull request #72389 → rPackages.glmnet: Add missing dependency → https://git.io/Jezd0
<DigitalKiwi> dhcpcd has been causing a lot of problems :| try and disable it
<infinisil> zeta_0: The problem is ihaskell
<DigitalKiwi> kraem: networking.dhcpcd.enable = false
<infinisil> The version of ihaskell you're using doesn't work with the new nixpkgs
<DigitalKiwi> kraem: networking.dhcpcd.enable = false; # this rather
<DigitalKiwi> has anyone figured out why so many problems have been popping up now with that
<infinisil> I sure would love to know
<zeta_0> infinisil: can i install with haskellPackages now or do i still have to install it separately ? also by version do you mean `ghc_version` ?
<kraem> it's been downgraded to a previous version because of all the troubles yesterday i think
<{^_^}> [nixpkgs] @kevincox pushed 1000 commits to kevincox-oa_ded: https://git.io/Jezd2
lsix has quit [Remote host closed the connection]
lsix has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #72387 → jhead: add patches for CVE-2019-1010301, CVE-2019-1010302 → https://git.io/Jez5a
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/Jezda
<ar> ,locate bin/geteltorito
<{^_^}> Found in packages: geteltorito
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kevincox merged pull request #71122 → Make oa_ded link as well as openarena. → https://git.io/Je8l6
<{^_^}> [nixpkgs] @kevincox pushed 3 commits to master: https://git.io/Jezdo
<{^_^}> [nixpkgs] @kevincox pushed 0 commits to kevincox-oa_ded: https://git.io/JezdK
<infinisil> kraem: Just update to a newer ihaskell version
<ocharles> can anyone help me setup syncthing? I've enabled the service and it's running, but I don't really understand how to actually use it in NixOS. I want to share /home/ollie/sync over some devices, but I don't think the syncthing service has privileges to this folder
lsix has quit [Remote host closed the connection]
lsix has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<kraem> ocharles: you can define syncthing.user, syncthing.group and syncthing.dataDir
o1lo01ol1o has joined #nixos
<ocharles> right, is that what people typically do though?
<ocharles> yea, I have skimmed that but I can't really work out what the intended way to use it is
lsix has quit [Remote host closed the connection]
lsix has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #72195 → fzf-zsh: init at unstable-2019-09-09 → https://git.io/Jeuug
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JezdP
<zeta_0> infinisil: is this what i need to change ? `compiler = "ghc865";`
<infinisil> Nope, you need to update the ihaskell repository version
o1lo01ol1o has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 240 seconds]
<kraem> ocharles: don't know what's typically done. i've set it up to my own user and group and then defined different dirs under my home folder. maybe there are smarter ways though.
<zeta_0> infinisil: oh the url, so this link is broken in nixos-unstable ? do you know the link to the new repository ?'
<ocharles> kraem: that's cool. I think I might be OK with just creating /sync that is owned by me, but group read and writable by the syncthing group
<infinisil> zeta_0: Try to do this on your own
<infinisil> I think you can do it
m3thos has joined #nixos
growpotkin has joined #nixos
<zeta_0> infinisil: this link: `https://github.com/gibiansky/IHaskell.git` ?
<infinisil> zeta_0: You should know the answer to that question yourself
<infinisil> I won't answer every tiny question you have, try to do stuff on your own more
<DigitalKiwi> kraem: oh thanks
cyraxjoe has joined #nixos
<DigitalKiwi> ocharles: i change my syncthing user otherwise i don't think it will work in your home folder
<{^_^}> [nixpkgs] @flokli opened pull request #72390 → opensmtpd: 6.4.2p1 -> 6.6.0p1 → https://git.io/Jezdy
<DigitalKiwi> and don't be like me and point it at your home folder without changing the user and have it change ownership of your home to syncthing...
<ocharles> DigitalKiwi, kraem: Yea, I decided on: mkdir /sync && chown ollie /sync && chgrp syncthing /sync && chmod g+rwx /sync
<DigitalKiwi> that was fun
<ocharles> And then in the GUI I just added /sync
MightyJoe has quit [Ping timeout: 276 seconds]
<zeta_0> infinisil: apologies, i just want to make sure i do things right the 1st time so i don't have to come back later to fix it
<DigitalKiwi> ocharles: fwiw i import this https://myfriendshate.me/files/syncthing.nix
<ocharles> ta!
<DigitalKiwi> i don't guarantee it is right or best but it's been working for me
toppler has joined #nixos
aaa_ has joined #nixos
<DigitalKiwi> (and by fun i mean i could no longer login and i was using the nvidia drivers so i didn't have tty1 and i also had no idea what had happened)
<aaa_> hi, I would like to ask whether I should use: videoDrivers = [ "intel" or "nvidia" ]; I have the following graphics:
cyraxjoe has quit [Quit: I'm out!]
<aaa_> 0:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
<aaa_> 01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2)
<{^_^}> [nixpkgs] @urkud opened pull request #72391 → nixos/gnupg: fix dbus dependencies → https://git.io/Jezdd
soju has joined #nixos
vidbina_ has joined #nixos
<kraem> aaa_: is that a laptop or desktop?
cyraxjoe has joined #nixos
<aaa_> laptop, but I use desktop on it
<aaa_> kraem, ^
<m3thos> on nixos, how do I find the package that provides a certain cli tool? like for example: "perf" ?
<zeta_0> infinisil: does this look good(i am not sure about the sha256): https://hastebin.com/dijociqade.bash
<infinisil> zeta_0: Just try it out!
vidbina_ has quit [Ping timeout: 240 seconds]
<zeta_0> infinisil: ok, i haven't spent to much time using git so there's still some things that confuse me
<zeta_0> infinisil: do you remember me ?
MightyJoe has joined #nixos
<kraem> aaa_: if it's a laptop it's probably a nvidia optimus one. then there are 3 options i think; 1. nvidia prime = running nvidia discrete card for everything (basically disabling the intel one) 2. bumblebee = divide the work between the two cards 3. running everything on the intel card
cyraxjoe has quit [Ping timeout: 268 seconds]
<zeta_0> infinisil: you helped me install nixos a couple months ago, nixos has a very high learning curve but i'm starting to get the hang of it and see the benefits
<kraem> aaa_: here's the options on nixos https://nixos.wiki/wiki/Nvidia
<{^_^}> [nixpkgs] @WilliButz opened pull request #72392 → prometheus-postgres-exporter: 0.6.0 -> 0.7.0, run tests → https://git.io/JezFv
cyraxjoe has joined #nixos
<kraem> aaa_: it's more thoroughly explained in the arch wiki https://wiki.archlinux.org/index.php/NVIDIA_Optimus
MightyJoe has quit [Ping timeout: 240 seconds]
gxt has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @risicle opened pull request #72393 → Ris jhead cve 2019 1010301 1010302 r19.09 → https://git.io/JezFI
gxt has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
growpotk- has joined #nixos
lsix has quit [Remote host closed the connection]
MightyJoe has joined #nixos
cyraxjoe has quit [Ping timeout: 268 seconds]
Am3nadiel has joined #nixos
zeta_0 has joined #nixos
<zeta_0> infinisil: i changed the ihaskell version like you said but i am still getting the same error when i do the rebuild ?
ng0 has quit [Ping timeout: 260 seconds]
drakonis has quit [Ping timeout: 268 seconds]
<infinisil> zeta_0: Nix reuses things in the store if they have a matching hash
<infinisil> So to actually update such fixed-output derivations, you need to force a rebuild by changing the hash
Heirlung has quit [Ping timeout: 265 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
abathur has quit [Ping timeout: 265 seconds]
<zeta_0> infinisil: can the hash be random or does it need to be something specific ?
<clever> zeta_0: it just needs to be "wrong", i just throw on replace mode and turn a few digits into 0's
<infinisil> I usually just change the first number from a 0 to a 1 (or the other way around)
aveltras has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
ng0 has joined #nixos
<zeta_0> infinisil: i haven't learned about hashes yet, are they algorithms for security ?
<zeta_0> clever infinisil : thanks for the tips
<zeta_0> clever: by "wrong" do you mean different ?
<infinisil> Look up "cryptographic hash function" if you want to know more about (the most common type of) hashes
<clever> zeta_0: it just needs to not match the hash of anything else you have previously downloaded
<{^_^}> [nixpkgs] @flokli merged pull request #72379 → gitlab: 12.4.0 -> 12.4.1 → https://git.io/JezQR
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JezFs
toppler has quit [Ping timeout: 240 seconds]
mexisme_ has quit [Ping timeout: 250 seconds]
<zeta_0> clever: oh
o1lo01ol1o has quit [Ping timeout: 265 seconds]
Profpatsch has joined #nixos
cyraxjoe has joined #nixos
Profpatsch has left #nixos ["WeeChat 0.4.3"]
MightyJoe has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #72395 → [19.09] gitlab backports → https://git.io/JezFW
mexisme_ has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @risicle opened pull request #72397 → jack2: 1.9.12 -> 1.9.13, addressing CVE-2019-13351 → https://git.io/JezFR
cryptomonad has joined #nixos
johnnywho has quit [Ping timeout: 276 seconds]
petar has quit [Read error: Connection reset by peer]
toppler has joined #nixos
selfsymmetric-mu has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
petar has joined #nixos
selfsymmetric-mu has joined #nixos
<m3thos> so, I need to migrate my nixos install to a new drive, I've already have it formated and mounted on /mnt/nixos
<clever> m3thos: about all that is left is to run nixos-generate-config --root /mnt, and then copy configuration.nix over
<m3thos> the current system is live and running, I'm using ext4 so I can't use snapshots or zfs-send or something
<m3thos> ah!
MightyJoe has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 8 commits to nixos-19.09-small: https://git.io/JezFo
<m3thos> clever: very good point, I can just move stuff.. I think I need to rsync and move my boot partition first, no ?
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c5aabb0d603 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<clever> m3thos: if you just want to install the same software, all you have to copy is configuration.nix
<selfsymmetric-mu> Fun NixOS trick. One of my daemons was laggy, so I set `services.redis.enable = true`, set `lpop` and `rpush` on the interface and boom, no more lag.
<m3thos> what about the bootloader config ? (I'm just in disbelief that this is so simple..)
bsima has quit [Quit: ZNC 1.7.3 - https://znc.in]
<clever> m3thos: depending on how it boots, you may need to fix the boot.loader.grub.device in configuration.nix, to point to the new device
bsima has joined #nixos
<clever> m3thos: nixos-generate-config will handle the fstab level stuff
cyraxjoe has quit [Ping timeout: 268 seconds]
<clever> m3thos: and once the configuration.nix is copied, just nixos-install as normal, which will remake the whole system, and update the bootloader
<m3thos> okay, this is outstanding. loving nixos more and more
<m3thos> I guess I'm just tired and forgot tha this is what it means to have a functional declarative distro
growpotk- has quit [Ping timeout: 240 seconds]
<m3thos> tempted to use it on my laptop, but with nvidia prime + cuda + k8s and lots of C++, python and Go stuff.. I'm ferfull I'll run in to trouble of missing libraries or packages because of the pure isolation of components/libraries/etc..
<clever> m3thos: i have had cuda work before on nixos, not sure what would happen if you try to use it under a container though
o1lo01ol1o has joined #nixos
m0rphism has quit [Ping timeout: 240 seconds]
wildtrees has quit [Quit: Leaving]
o1lo01ol1o has quit [Ping timeout: 276 seconds]
Neo-- has quit [Ping timeout: 240 seconds]
petar has quit [Read error: Connection reset by peer]