gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
<clever> samueldr: yeah, thats what my guess is
<clever> since it aint windows anymore
<elvishjerricco> Ok, I nuked steam. Launching it now is updating steam. So looks like that's right
<elvishjerricco> Non declarative Steam version :(
<samueldr> I think it makes sense in the case of steam on linux, to act that way, as it can't really reliably update itself in the system otherwise :/
<samueldr> kinda bad for our goals though
<samueldr> but if it had to wait on all distros to seed updates, it'd be a nightmare for them
<clever> yeah
<elvishjerricco> Alright. Now to test out proton...
<clever> elvishjerricco: works great for some games
astrofog has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54855 → ansible: 2.7.5 -> 2.7.6 → https://git.io/fhPHc
aramiscd has quit [Ping timeout: 268 seconds]
<iqubic> Is pavucontrol the only graphical front-end to pulse that exists?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54856 → ammonite: 1.6.2 -> 1.6.3 → https://git.io/fhPHp
ryantrinkle has quit [Ping timeout: 246 seconds]
ambro718 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54857 → btrfs-progs: 4.19.1 -> 4.20.1 → https://git.io/fhPQ8
<{^_^}> [nixpkgs] @Fuuzetsu merged pull request #54832 → gloox: 1.0.21 -> 1.0.22 → https://git.io/fhPRX
<{^_^}> [nixpkgs] @Fuuzetsu pushed 2 commits to master: https://git.io/fhPQi
<iqubic> I'm having trouble with pulseaudio right now.
dbmikus_ has quit [Ping timeout: 244 seconds]
<iqubic> So I just updated my pulse audio config to look like this:
<iqubic> I ran nixos-rebuild, then shut down pulseaudio.
<iqubic> Now pulseaudio won't start back up again.
<iqubic> ~ $ pulseaudio --start
astrofog has quit [Remote host closed the connection]
<iqubic> E: [pulseaudio] main.c: Daemon startup failed.
<iqubic> ~ $ start-pulseaudio-x11
<iqubic> Connection failure: Connection refused
<iqubic> pa_context_connect() failed: Connection refused
noonien has joined #nixos
jasongrossman has joined #nixos
rsynnest has quit [Quit: Connection closed for inactivity]
eadwu has joined #nixos
<{^_^}> [nixpkgs] @msteen opened pull request #54858 → openra: updated engines and mods → https://git.io/fhP7C
<clever> iqubic: add --verbose after --start
halfbit has joined #nixos
mekeor has quit [Quit: digital revolution = cryptoanarchism + cybercommunism]
<iqubic> That didn't help at all.
<iqubic> The flag was accepted as valid, but the output didn't change.
<iqubic> Still the same useless line of output.
<clever> iqubic: look in /etc/pulse/, which file did flat-volume wind up in?
<clever> iqubic: which file does it belong in?
<iqubic> It wound up in default.pa, which is correct.
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
<iqubic> Actually, the arch-wiki is telling me otherwise.
<clever> iqubic: what doc did you find flat-volume in?
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
<iqubic> It is in default.pa, but it should be in daemon.conf
<iqubic> IDK how to tell nixos to put it there.
<clever> iqubic: look on the nixos option search, what options does pulse have?
<iqubic> Got it.
<iqubic> I'll just change this to use daemon.config here.
doyougnu has quit [Ping timeout: 268 seconds]
<clever> and daemon.config doesnt take a string, but a { flat-volumes = "no"; }
<iqubic> Interesting.
<iqubic> So it takes an attribute set?
<clever> yeah
<iqubic> Cool, seems to be working now.
<iqubic> not sure if this solves my initial problem, but we'll see.
<iqubic> Initial problem meaning, the problem that lead me to change my PA config.
perique has joined #nixos
vk3wtf has quit [Ping timeout: 250 seconds]
<iqubic> well, that just made my issues worse.
drakonis has quit [Quit: WeeChat 2.3]
<clever> what was the issue?
Guest18885 has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos
<iqubic> Firefox uses pulseaudio to play sound. When watching YouTube I get this weird issue where pausing the video, or even just skipping a few seconds ahead by using the video scrubber causes my sounds to get set to 100%, which is way too loud.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54859 → ace: 6.5.3 -> 6.5.4 → https://git.io/fhP5l
<iqubic> And this is a new issue. Something that only started happening today.
<iqubic> And it's like this even on netflix too. I think it might be any website that plays sound that screws with me.
<clever> iqubic: ive found that pavucontrol volume levels just stick for me
jtojnar has quit [Ping timeout: 240 seconds]
<iqubic> And they were just sticking for me too, until just today.
lord| has quit [Quit: WeeChat 2.3]
eadwu has quit [Quit: WeeChat 2.3]
<iqubic> Like literally just today. And I can think of nothing that I have done that would cause this change.
o1lo01ol_ has quit [Remote host closed the connection]
lord| has joined #nixos
<iqubic> So this is really puzzling and confusing.
<iqubic> clever: do you have any ideas about what's going on here?
<clever> nope
<iqubic> Weird.
<iqubic> clever: Is there any way to modify sound levels without using pavucontrol?
<iqubic> Like, are there any other graphical frontends?
<drakonis> yes there's a bunch of ways
<drakonis> that's flat audio
<drakonis> you can disable that, its currently defaulting to on
<{^_^}> #54622 (by worldofpeace, 2 days ago, merged): nixos/pulseaudio: disable flat-volumes by default
<drakonis> flat volumes.
<iqubic> One forum post I found online says that removing pavucontrol fixed the issue for them.
q6AA4FD has joined #nixos
<iqubic> drakonis: I just tried setting the flat-volumes setting to 'no' and that still didn't work.
<drakonis> have you restarted the daemon
<iqubic> Yes.
<iqubic> Going to try one more thing now.
jluttine has quit [Ping timeout: 250 seconds]
eadwu has joined #nixos
<iqubic> Alright... Looks like Firefox only picks up new Pulse settings on startup.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54860 → bs1770gain: 0.5.1 -> 0.5.2 → https://git.io/fhPdI
eadwu has quit [Client Quit]
<iqubic> Issues fixed... I think. Let me keep prodding at this to see if I have actually fixed it.
doyougnu has joined #nixos
<iqubic> Alright. This appears to be fixed.
<iqubic> Firefox is weird for only picking up Pulse configuration stuff on start up.
eadwu has joined #nixos
<iqubic> clever: Thanks for your help here.
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54861 → abcmidi: 2018.12.21 -> 2019.01.01 → https://git.io/fhPdC
<iqubic> clever: What exactly does the flat audio thing do?
<drakonis> but have you tried reading the explanation
bfrog has joined #nixos
bfrog has quit [Client Quit]
halfbit has quit [Quit: WeeChat 2.3]
<drakonis> hmm
halfbit has joined #nixos
<drakonis> i have a problem now
<iqubic> Yes.
praetorg has quit [Remote host closed the connection]
<iqubic> I'd like to know the problem.
<drakonis> error: value is a set while a list was expected, at /nix/store/bdjgj1dawnir67r25hak53kbvgfm2rq6-nixpkgs-19.03pre166987.bc41317e243/nixpkgs/pkgs/top-level/stage.nix:208:8
praetorg has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhPdA
jluttine has joined #nixos
<iqubic> Without context I'd say that you gave a set when a list was expected.
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54862 → apacheHttpd: 2.4.37 -> 2.4.38 → https://git.io/fhPFv
halfbit has quit [Ping timeout: 252 seconds]
<drakonis> isn't that obvious
<iqubic> Yes it is.
<iqubic> You didn't give any context, like your code, so I just assumed you had trouble with understanding the error.
jluttine has quit [Ping timeout: 240 seconds]
<ottidmes> drakonis: my guess would be, you defined overlays.nix, but forgot to make it a list
halfbit has joined #nixos
perique has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<drakonis> ottidmes: sounds like that was the problem
<{^_^}> [nixpkgs] @Nadrieril opened pull request #54863 → nixos/wallabag: init → https://git.io/fhPFG
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @Nadrieril opened pull request #54864 → wallabag: 2.3.2 -> 2.3.6 → https://git.io/fhPFw
<CMCDragonkai> Anybody find that when installing fonts on NixOS, while other apps are able to use them, Chrome doesn't seem to realise that the fonts exist?
<CMCDragonkai> I mean installing them in the HOMEDIR.
doyougnu has quit [Ping timeout: 250 seconds]
u_ has joined #nixos
<u_> hello
<u_> i tried to nix-env -p pandoc on darwin and got a test suite failure: https://pastebin.com/raw/e4xaaHPn
<u_> looks like something to do with nix
<u_> *nix-shell -p pandoc
doyougnu has joined #nixos
<teto> is this the 2019 list https://github.com/nix-community/google-summer-of-code/blob/master/2018/projects.md ?thinking about adding some Kernel or home-manager <-> nixos integration (the home-manager project description is quite loosE)
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #54856 → ammonite: 1.6.2 -> 1.6.3 → https://git.io/fhPHp
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @r-ryantm to master « ammonite: 1.6.2 -> 1.6.3 »: https://git.io/fhPbT
ng0_ has joined #nixos
ng0 has quit [Ping timeout: 256 seconds]
<_deepfire> How does one refer to the ghc-supplied packages (which are set to 'null' by the ghc's respective configs)?
<clever> _deepfire: the packages set to null like base, are baked into the ghc package itself as boot packages
<clever> _deepfire: only nix-tools can overwrite those with new versions
<clever> and if you just want the package, you dont have to do anything, ghc already has it
silver has quit [Read error: Connection reset by peer]
<_deepfire> ah, I see, I've made a mistake by setting 'parallel' to null, when I was packaging ghc-8.8
<_deepfire> it's not provided, despite being in libraries/
<_deepfire> clever: thank you!
ng0_ has quit [Quit: Alexa, when is the end of world?]
<clever> _deepfire: ahh
<clever> _deepfire: of note, the only reason nix has those boot packages baked into the compiler, is for Cabal, and running Setup.hs
jluttine has joined #nixos
<_deepfire> clever: why is that? : -)
<clever> it needs all of the deps of cabal, to be able to run Setup.hs in packages
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhPbi
<{^_^}> [nixpkgs] @Ma27 merged pull request #54820 → ibus-engines.typing-booster-unwrapped: 2.4.1 -> 2.5.0 → https://git.io/fhPts
<_deepfire> ah, so if something isn't needed by Cabal, it shouldn't need to be null'd?
<_deepfire> regardless of presence in ghc://libraries/
<clever> _deepfire: yeah, but it also shouldnt be baked into the compiler
<clever> _deepfire: i think you want to check what ghc-pkg list gives, when using just the bare ghc derivation
<clever> and thats what should be null
<_deepfire> yes, I see..
<_deepfire> makes sense
<hodapp> ugh, found yet another thing that's broken in Cura
<clever> of note, stack2nix undoes the compiler-configuration
revtintin has joined #nixos
<clever> _deepfire: so you wind up with duplicate packages, and sometimes nix-shell grabs the wrong one, resulting in errors like expected Data.String, got Data.String
n0qqe has joined #nixos
<_deepfire> clever: that's because of overridden GHC's package?
<_deepfire> *GHC's own package
<clever> stack2nix undoes the fix, and then defines duplicates that arent null'd out
<clever> and then its somewhat random which version gets picked
<_deepfire> yuk
<_deepfire> so stack2nix should check for 'null'-ness
<_deepfire> ..before overriding
<clever> _deepfire: i had to add mtl, stm, text, and parsec to make it work
vk3wtf has quit [Ping timeout: 252 seconds]
<_deepfire> clever: restoring the null-ness as a workaround, I see..
hellrazo1 has joined #nixos
<clever> compilerConfig = self: super: {};
noqqe has quit [Ping timeout: 246 seconds]
<clever> _deepfire: this is the 2nd last line of stack2nix output, overriding the file that fixes everything
n0qqe is now known as noqqe
maximiliantagher has quit [Remote host closed the connection]
<_deepfire> clever: it's the second GHC release where I see haddock sigsegv for some packages (was 8.4 before that), by the way
halfbit has quit [Ping timeout: 252 seconds]
<_deepfire> ..dontHaddock-ing all over the place..
<clever> :'(
<_deepfire> it's thankfully totally deterministic, though
<clever> _deepfire: that reminds me, some build systems depend on the order that readdir() returns files in
redj has quit [Read error: Connection reset by peer]
<iqubic> What!?!?
<clever> _deepfire: https://packages.debian.org/sid/disorderfs is designed to make such bugs worse
<clever> so you can easily find them
<_deepfire> : -D
<clever> now all files are in a random order, that changes on every read
<_deepfire> I'd like to see what comes out of the output-hashed Nix store work
<_deepfire> it should be space saving at a minimum
<gchristensen> that + libeatmydata would be nice
<iqubic> Wouldn't that screw up things like `ls'
<_deepfire> iqubic: define "screw up" : -)
<{^_^}> [nixpkgs] @ryantm merged pull request #54710 → python37Packages.eradicate: 0.2.1 -> 1.0 → https://git.io/fh6iV
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhPNk
<clever> iqubic: ls sorts things by default, but `ls -U` forces it to not sort
<iqubic> As in, you'd get different outputs from running `ls' multiple times.
<{^_^}> [nixpkgs] @ryantm merged pull request #54766 → now-cli: 13.0.4 -> 13.1.2 → https://git.io/fhiGL
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhPNY
<_deepfire> gchristensen: to speed things up?
<gchristensen> yeah, I use it on a bunch of systems
<_deepfire> so to make that reliable, we'd want to hook ld.so I guess, but IIRC that was generalised
sicklorkin has joined #nixos
<_deepfire> so there's a chance it's actually easy to pull off
<iqubic> gchristensen: you use the disorderfs thing on your systems???
<gchristensen> I use libeatmydata on a bunch of systems
abathur has joined #nixos
<iqubic> Why do you want that?
<gchristensen> they netboot, and use the disk as basically overflow for ram
<gchristensen> and each boot, the disk is erased. it doesn't matter of the data actually makes it
<iqubic> I see.
evck has quit [Ping timeout: 268 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<iqubic> So you are grabbing the actual files from the internet?
<gchristensen> right
<_deepfire> one benefit is security
<_deepfire> if anything is copromised, but in the end the malware didn't manage to write itself into the firmware, the reboot undoes it all
<_deepfire> of course.. well, by that time the attacker might have done everything they meed
<_deepfire> *need
<gchristensen> yeah, I wouldn't count on it for security ;)
tdbgamer has joined #nixos
<{^_^}> [nixpkgs] @delroth closed pull request #52979 → [18.09] wget: disable feature responsible for CVE-2018-20483 → https://git.io/fhk4w
<_deepfire> well, that combined with unattended upgrades + regular reboots would certainly make any attacker's life less pleasant and reduce their ability to propagate further.. esp. if they had to use a time-costly exploit to get in in the first place
<_deepfire> but one'd have to make the reboots rather frequent, too, to make it effective, I guess..
eadwu has quit [Quit: WeeChat 2.3]
halfbit has joined #nixos
jackjennings has quit [Quit: Connection closed for inactivity]
sigmundv_ has quit [Ping timeout: 240 seconds]
maximiliantagher has joined #nixos
lassulus has quit [Ping timeout: 240 seconds]
hellrazo1 has quit [Ping timeout: 250 seconds]
maximiliantagher has quit [Ping timeout: 245 seconds]
hellrazo1 has joined #nixos
lassulus has joined #nixos
u_ has quit [Ping timeout: 256 seconds]
pie_ has joined #nixos
pie__ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54866 → bitlbee-facebook: 1.1.2 -> 1.2.0 → https://git.io/fhPAT
<wedens> how do I install mingw64 toolchain?
* _deepfire paging angerman
<{^_^}> [nixpkgs] @dtzWill opened pull request #54867 → awesome: 4.2 -> 4.3, don't clutter PATH, touchup lua paths → https://git.io/fhPAG
<{^_^}> [nixpkgs] @r-ryantm opened pull request #54868 → ahoviewer: 1.6.4 -> 1.6.5 → https://git.io/fhPAZ
<angerman> wedens: just set crossSystem to the windows example one.
m15k has quit [Ping timeout: 256 seconds]
<gchristensen> can github search support negations?
<wedens> angerman: will it make it possible to use this command https://www.reddit.com/r/haskell/comments/82h0ns/q_current_stateoftheart_tools_without_stack/dvar6uy/ ? I don't think I'm ready to do cross-compilation fully in nix :)
maximiliantagher has joined #nixos
<angerman> wedens: it should give you the necessary tools in a shell if you ask for gcc I believe.
aither has quit [Ping timeout: 252 seconds]
snajpa has quit [Ping timeout: 268 seconds]
maximiliantagher has quit [Ping timeout: 250 seconds]
<ottidmes> gchristensen: how accurate is that, because I just opened a PR of which I am a maintainer (but I was not the first to publish the package, maybe that is the reason)
<wedens> angerman: btw, is it available in current cabal version or does it still require HEAD?
<{^_^}> [nixpkgs] @dtzWill merged pull request #54635 → bison: 3.2.4 -> 3.3.1 → https://git.io/fhKhP
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhPAQ
<{^_^}> [nixpkgs] @dtzWill merged pull request #54731 → meson: 0.49.0 -> 0.49.1 → https://git.io/fh6Nl
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhPA7
<gchristensen> ottidmes: it misses some packages
<{^_^}> [nixpkgs] @dtzWill merged pull request #54730 → qownnotes: init at 19.1.8 → https://git.io/fh6Nt
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhPAd
snajpa has joined #nixos
<angerman> wedens: I think most of it is in recent cabal versions.
<{^_^}> [nixpkgs] @dtzWill closed pull request #54362 → fonttools: 3.34.2 -> 3.35.2 → https://git.io/fhu0A
<ottidmes> gchristensen: considering there are only 25 closed I assume that tag is only a recent addition, otherwise it misses most
astronavt has joined #nixos
redj has joined #nixos
astronavt has quit [Client Quit]
<gchristensen> yea
drakonis has quit [Quit: WeeChat 2.3]
alex`` has quit [Ping timeout: 250 seconds]
<wedens> angerman: ok. thanks
aither has joined #nixos
sicklork1n has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #53915 → source-serif-pro: 1.017 -> 2.010, sync w/source-sans-pro expression → https://git.io/fhnHe
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fhPxi
WilliButz has quit [Ping timeout: 268 seconds]
hexa- has quit [Ping timeout: 252 seconds]
petar_ has quit [Ping timeout: 272 seconds]
ottidmes has quit [Quit: WeeChat 2.2]
WilliButz has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #54869 → pythonPackages.fonttools: 3.36.0 -> 3.37.0 → https://git.io/fhPxp
hexa- has joined #nixos
petar has joined #nixos
[Leary] has joined #nixos
doyougnu has quit [Ping timeout: 246 seconds]
Lears has quit [Ping timeout: 250 seconds]
* _deepfire stares at:
<_deepfire> > pkgsBuildBuild = scope.buildHaskellPackages.buildHaskellPackages;
<{^_^}> error: syntax error, unexpected ';', at (string):125:67
<angerman> _deepfire: if you want to make sure it's really the buildPackages :-)
<_deepfire> : -)
<angerman> _deepfire: if scope is target, buildPackages is host, and buildPackages.buildPackages is build I guess.
vk3wtf has joined #nixos
lassulus_ has joined #nixos
<_deepfire> heh, suddenly facing a simplification/decoupling opportunity that depends on having polymorphism in Nix
<_deepfire> the sense of regret is so palpable
lassulus has quit [Ping timeout: 245 seconds]
lassulus_ is now known as lassulus
<_deepfire> (ad-hoc polymorphism, that is)
counting1ort has joined #nixos
countingsort has quit [Ping timeout: 250 seconds]
hovniatko has quit [Excess Flood]
hexo_ has joined #nixos
hooo has quit [Quit: Connection closed for inactivity]
pie__ has joined #nixos
<{^_^}> [nixpkgs] @lihop opened pull request #54871 → pythonPackages.shodan: init at 1.10.4 → https://git.io/fhPht
pie_ has quit [Ping timeout: 244 seconds]
maximiliantagher has joined #nixos
hellrazor has joined #nixos
hellrazo1 has quit [Ping timeout: 245 seconds]
abathur has quit [Ping timeout: 246 seconds]
<_deepfire> what's the right way to use the preSetupCompilerEnvironment hook?
o1lo01ol1o has joined #nixos
<_deepfire> trying to figure out how to override a package to specify the value for the hook
StardustX has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
doyougnu has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
ericsagnes has quit [Ping timeout: 268 seconds]
iqubic` has joined #nixos
iqubic has quit [Ping timeout: 240 seconds]
fusion809 has quit [Remote host closed the connection]
halfbit has quit [Ping timeout: 252 seconds]
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<elvishjerricco> Is there a way to use nightly rustc with carnix right now?
doyougnu has quit [Ping timeout: 245 seconds]
maximiliantagher has quit [Remote host closed the connection]
ericsagnes has joined #nixos
sicklork1n has quit [Ping timeout: 272 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
rauno has quit [Ping timeout: 268 seconds]
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 240 seconds]
vk3wtf has quit [Ping timeout: 240 seconds]
sicklork1n has joined #nixos
<wedens> I haven't used nixops, so I have a newbish question: if I deploy a system using nixops, can I use it as regular nixos (doing nixos-rebuild, etc) or do I have to always use nixops to change something?
<clever> wedens: you will always need to use nixops, nixos-rebuild ignores the nixops config
<clever> wedens: but if your config is simple enough, you could copy it back into the configuration.nix and go backwards
<wedens> clever: makes sense. thanks. am I right that nixops builds the closure locally and copies it to nixops-managed machine?
<clever> wedens: yep
<clever> wedens: this is something i use in combination with my nixops machines
<clever> it changes the search path for configuration.nix, to break nixos-rebuild
<clever> so you cant break the machine by accident
<clever> it also changes the search path of <nixpkgs> to match whatever nixops used
<clever> so you can basically ignore nix-channel
<wedens> clever: nice trick. thanks. can I use nixops to deploy any machine from any machine?
<clever> wedens: as long as you have ssh to root, yeah
reinhardt has joined #nixos
palo1 has joined #nixos
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #54854 → duply: 2.1 -> 2.2 → https://git.io/fhPS9
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « duply: 2.1 -> 2.2 »: https://git.io/fhXvy
<wedens> clever: no sudo? also can I switch existing nixos installation to nixops? will it just use configuration provided by nixops without collisions?
<clever> wedens: it will switch over to whatever nixops provides, and if you get some bits like fileSystems or boot.loader wrong, it may not boot right, but it should still work with the old generations in the bootloader
<clever> wedens: i have switched my nas and router from nixos-rebuild to nixops
palo has quit [Ping timeout: 244 seconds]
palo1 is now known as palo
<wedens> are there any drawbacks to managing localhost via nixops instead of nixos-rebuild?
<clever> wedens: cant really thing of anything
<wedens> good. thanks clever
jtojnar has quit [Quit: jtojnar]
<Izorkin> Please check this PR #53245 #54475 #51902
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53245 (by Izorkin, 3 weeks ago, open): zsh.syntaxHighlighting: add option to customize styles
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54475 (by Izorkin, 6 days ago, open): mysql: add restartTrigger for my.cnf
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51902 (by Izorkin, 6 weeks ago, open): mariadb.galera: 25.3.24 -> 25.3.25
StardustX has left #nixos ["Leaving"]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @forficate opened pull request #54873 → Transmission: Bug fix Appamor Transmission startup errors → https://git.io/fhXfR
hyper_ch2 has joined #nixos
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
random_yanek has quit [Ping timeout: 246 seconds]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
vk3wtf has joined #nixos
random_yanek has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #54874 → fff: 1.8 -> 2.0 → https://git.io/fhXJc
rauno has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #54861 → abcmidi: 2018.12.21 -> 2019.01.01 → https://git.io/fhPdC
<{^_^}> [nixpkgs] @dotlambda pushed commit from @r-ryantm to master « abcmidi: 2018.12.21 -> 2019.01.01 (#54861) »: https://git.io/fhXJF
<{^_^}> [nixpkgs] @etu merged pull request #54874 → fff: 1.8 -> 2.0 → https://git.io/fhXJc
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhXUk
<{^_^}> [nixpkgs] @etu merged pull request #54864 → wallabag: 2.3.2 -> 2.3.6 → https://git.io/fhPFw
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhXUm
aramiscd has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @etu merged pull request #54868 → ahoviewer: 1.6.4 -> 1.6.5 → https://git.io/fhPAZ
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fhXU4
<{^_^}> [nixpkgs] @vbgl closed pull request #54852 → dune: 1.6.2 -> 1.6.3 → https://git.io/fhPy4
q6AA4FD has joined #nixos
Makaveli7 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<Myrl-saki> [myrl@myrl:~]$ du -chs /nix/store/*
<Myrl-saki> -bash: /run/current-system/sw/bin/du: Argument list too long
<Myrl-saki> Well, crap.
<clever> Myrl-saki: du recurses for you, omit the * and change --max=
<Myrl-saki> Yeah, -d seems to work.
<Myrl-saki> [myrl@myrl:/nix/store]$ du -hd 1 ./ | sort -h
<Myrl-saki> Can you get file length from Nix?
<Myrl-saki> Oh, apparently readFile also requires the file to be a Nix string, so `builtins.length (builtins.readFile ...)` is not only inefficient, it won't even work.
<clever> Myrl-saki: why do you need file length in nix?
<Myrl-saki> clever: Basically, build an image for {1,2,4}GB.
<clever> Myrl-saki: cant you check the size at bash time, and adjust it there?
sinner has joined #nixos
sinner is now known as Guest64196
<Myrl-saki> clever: Yeah, that's what I'm doing right now, and it requires me to populate the file using `dd`, because `fallocate` won't work under runInLinuxVM, so I have to dd if=/dev/zero, which takes 50 seconds, then dd if=file, which takes another 50 seconds.
<clever> Myrl-saki: what about the preVM script?
<Myrl-saki> Hm.
<Myrl-saki> That might actually work.
<Myrl-saki> clever: OTOH,it still might not work if /nix/store is under FS.
<Myrl-saki> ZFS
<Myrl-saki> [myrl@myrl:~]$ fallocate -l 1G ./test
<Myrl-saki> fallocate: fallocate failed: Operation not supported
<clever> try truncate, rather then fallocate
<clever> fallocate doesnt mean much on zfs
<Myrl-saki> Hm. Will do.
<Myrl-saki> Oh cool.
<Myrl-saki> Oh wait.
<Myrl-saki> Oh yeah.
<Myrl-saki> [myrl@myrl:~]$ truncate -s 2G ./test
<Myrl-saki> [myrl@myrl:~]$ du --apparent-size -chs test
<Myrl-saki> 2.0G test
<Myrl-saki> Works! \o/
<clever> truncate just sets the size, without allocating any blocks
<Myrl-saki> Right.
<clever> so its basically instant, on FS's that support space files
<clever> on darwin, its identical to fallocate :P
<Myrl-saki> Thanksies. Will update the PR.
<{^_^}> [nixpkgs] @nlewo merged pull request #54811 → containerd: 1.2.1 -> 1.2.2 → https://git.io/fhidj
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fhXTD
<{^_^}> [nixpkgs] @nlewo merged pull request #54784 → kubetail: 1.6.5 -> 1.6.6 → https://git.io/fhirb
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fhXTH
EffSquared has joined #nixos
<clever> Myrl-saki: in the case of zfs, all blocks on disk are immutable, so pre-allocating null blocks with fallocate is pointless, since your doing to be getting even more blocks when you have real contents
<Myrl-saki> Right.
<Myrl-saki> Ah. This one also works.
<Myrl-saki> [myrl@myrl:~]$ fallocate -d -l 2G test
<Myrl-saki> Should be equivalent, I believe.
<Myrl-saki> Okay, I'm stupid.
<Myrl-saki> [myrl@myrl:~]$ fallocate -d -l 2G test
<Myrl-saki> fallocate: cannot open test: No such file or directory
Makaveli7 has quit [Quit: Leaving]
<Myrl-saki> I just have to optimize dd now.
<teto> dtz: I did a fetch all on your nixpkgs repo, so many branches xD !
<Myrl-saki> Because 1688969216 bytes (1.7 GB, 1.6 GiB) copied, 79.9152 s, 21.1 MB/s
<EffSquared> Hi folks. Could anybody with access to the build bot run the two build command I proposed for my pull request here: https://github.com/NixOS/nixpkgs/pull/54626
<{^_^}> #54626 (by FlorianFranzen, 2 days ago, open): buid-support: Add Ubuntu bionic base images
<EffSquared> Much appreciated. Thanks
viric_ has joined #nixos
elgoosy_ has quit [Quit: Leaving]
<Myrl-saki> Oh wow, this is actually kinda funny.
<Myrl-saki> I have my squashfs.img dependency checking on /nix/store, because I disabled compression.
<{^_^}> [nixpkgs] @nlewo merged pull request #54568 → slurp: init at 1.0 → https://git.io/fhomq
<{^_^}> [nixpkgs] @nlewo pushed 4 commits to master: https://git.io/fhXkJ
<clever> Myrl-saki: thats common, not easy to disable
<clever> compression is the only thing that easily breaks the dep chain
<{^_^}> [nixpkgs] @nlewo closed pull request #54812 → slurp: init at 1.0 → https://git.io/fhiFt
<Myrl-saki> Yep, I didn't realize that this actually "messes" with the /nix/store.
<clever> nix checks for deps, by serializing the entire $out (via nix-store --dump $out), and then just doing a dumb string search for the hash from every input
<elvishjerricco> I've always been a little dissatisfied by that. I don't have a better solution, and it certainly works great most of the time, but it is kinda hacky
<Myrl-saki> I guess the nice thing about this is that propagated-build-inputs is just a stdenv thing, I believe?
civodul has joined #nixos
<elvishjerricco> Yea
<clever> Myrl-saki: yeah, as the stdenv processes every buildInputs entry, it checks the nix-support on them, and can recursively follow the propagated ones
And has joined #nixos
<Myrl-saki> OTOH, it's also techncially possible to add a dependency that's not part of *inputs, right?
<elvishjerricco> Don't think so. At least not if you include transitive *inputs.
<Myrl-saki> Though that should be catchable in buildtime, and you can't really do that randomly.
<clever> Myrl-saki: nix requires that it be part of your input closure
<Myrl-saki> Ah.
<Myrl-saki> It will error if there's a spurious dependency on the output?
<clever> nope
<clever> but the sandbox will also not provide a copy at buildtime
<elvishjerricco> at least with sandboxing on, I doubt it's even possible to get a runtime dep that isn't a build time dep
<Myrl-saki> Right.
<clever> and it wont be counted as an input, so anything down the road also wont get it at buildtime
<elvishjerricco> It's not visible at all, and you can't generate the hash
<clever> elvishjerricco: ive seen people quote old storepaths in nix expressions
<elvishjerricco> Ah, that's a good point
<Myrl-saki> sphalerite: Ping. What do you mean by "will allow accessing the encrypted data even after the passphrase has been changed, simply by using the old header"?
<clever> Myrl-saki: yeah, if you have a copy of the old header, you can undo a password change
<Myrl-saki> Aw
<Myrl-saki> So use the old header on the new data?
<elvishjerricco> Rewriting the whole disk would be the only theoretical way to fix that one, right?
<Myrl-saki> And you can do it even if the data has been changed after the password change?
<clever> Myrl-saki: there are backup and restore commands
<clever> Myrl-saki: yes
<clever> elvishjerricco: no
<clever> luks has a single master key, used for all disk encryption, that can never change (enless you want to re-encrypt the entire disk)
<elvishjerricco> right
<clever> that master key, is then encrypted with your password, to fill a keyslot
<elvishjerricco> by "rewriting the whole disk", I meant re-encrypt
<clever> and you can potentially have multiple copies of the same master key, encrypted by different passwords
<clever> the normal commands for changing a pw, just change the keyslot that protects the master key, to enrypt it with a new pw
bananchick_pasha has joined #nixos
<Myrl-saki> Right. The key used for encryption is still the same.
<clever> elvishjerricco: yeah, at that point, your better off just making a new luks device, and copying the contents over
<Myrl-saki> IIUC?
<clever> Myrl-saki: yep
<Myrl-saki> I should have expected that.
<elvishjerricco> Sidenote: I was looking at the LUKS spec to try and learn how it avoids leaking which blocks are duplicates of each other, but the spec doesn't actually specify how the configured cipher is applied to the actual data
<clever> elvishjerricco: i suspect it uses the block# as a nonce
<elvishjerricco> An easy way to avoid leaking duplicates is to just xor the address of the block onto it before encrypting, but I have no idea if that's actually secure, so I wanted to see what LUKS does
phry has quit [Quit: WeeChat 2.1]
<clever> elvishjerricco: so the real encryption key, is a combination of the masterkey, and the block#
<elvishjerricco> Yea that could do it
<elvishjerricco> Though
<clever> one simple (but probably not the safest) way to do such a thing, is just sha256(realkey+block#)
phry has joined #nixos
<clever> concat, not add
<clever> so you have no way to undo it, and no way to relate the keys from 2 blocks
<elvishjerricco> (I'm reading a lot about crypto lately, so I still do not know what I'm talking about :P)
And has quit [Remote host closed the connection]
<Myrl-saki> Hm.
Makaveli7 has joined #nixos
<clever> elvishjerricco: go over the libsodium docs and try playing with their functions
<elvishjerricco> But the definition of a secure block cipher only specifies security for the same key
<elvishjerricco> It doesn't specify that a key can't be leaked if it's reused with modifications
<Myrl-saki> What Nix module should I use for a mutable flash drive LiveCD?
<clever> elvishjerricco: oh, that reminds me of the days when i was trying to get tv capture working on my hdtv setup
<elvishjerricco> course we don't technically have provably secure block ciphers yet AFAIK
<Myrl-saki> sd-image?
<clever> elvishjerricco: after a bit of research, i discovered a flaw in mpegts crypto
<clever> elvishjerricco: it doesnt use a nonce, and h264 has a lot of padding in the form of nulls
<Myrl-saki> Technically, it should now be live flash drive and not liveCD. :P
<clever> the paper i found, says that you can just search the mpegts stream, for 2 blocks with identical ciphertext
<clever> and because the key is only 16bits, you can then lookup the key, using a rainbow table
<elvishjerricco> lol
<elvishjerricco> that's pretty bad
<clever> the problem, is that the lookup could take up to 3 minutes (with "modern" hardware at the time of the paper)
<clever> and the upstream source can be rotating the key as often as every 5 seconds if they wanted to
bananchick_pasha has quit [Quit: Quit]
<clever> mpegts crypto, involves the sending a black-box bytestream to the CAM, which will then spit out the current 16bit key
<clever> that bytesteam can then do anything, from just giving it the protected key, to giving the CAM firmware updates
<clever> in the case of satelite systems, the CAM is on a smartcard
<clever> elvishjerricco: ive even heard stories of hacker level tricks being pulled by sat companies
<clever> shipping out firmware updates in 20 pieces, that all look harmless on their own
<clever> then the 21st piece assembles them all, and boom, bricks all the illegal CAM's
<{^_^}> [nixpkgs] @Infinisil merged pull request #54495 → nixos/sshguard: fix syslog identifiers and pid file → https://git.io/fhaVQ
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhXI8
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #54810 → kustomize: 1.0.10 -> 1.0.11 → https://git.io/fhidn
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fhXIX
o1lo01ol1o has quit [Ping timeout: 272 seconds]
And has joined #nixos
maximiliantagher has joined #nixos
And has quit [Remote host closed the connection]
luigy has joined #nixos
gagbo has joined #nixos
maximiliantagher has quit [Ping timeout: 272 seconds]
<EffSquared> clever: If a rainbow table is all you need, an FPGA based universal CAM does not seem impossible or am I overlooking something?
<Myrl-saki> clever: Apparently, truncate doesn't seem to work as well as I expected it to.
<Myrl-saki> At least under qemu-kvm -cdrom.
Church- has quit [Ping timeout: 245 seconds]
rprije has quit [Ping timeout: 244 seconds]
rprije has joined #nixos
<Myrl-saki> Actually, life seems to hate me now, since nothing seems to work. :C
freeman42y has quit [Ping timeout: 268 seconds]
Church- has joined #nixos
brejoc has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-tonaparser: disable test suite to avoid infinite recursion »: https://git.io/fhXte
gagbo has quit [Ping timeout: 268 seconds]
ddellacosta has joined #nixos
dermetfan1 has joined #nixos
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « darcs: drop obsolete overrides »: https://git.io/fhXtE
ddellacosta has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fhXt1
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhXtQ
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2019-01-29T08:08:02Z »: https://git.io/fhXtx
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhXqJ
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fhXqT
ubert has joined #nixos
nikivi has quit [Quit: ZNC is awesome]
Guest64196 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @peti merged pull request #54862 → apacheHttpd: 2.4.37 -> 2.4.38 → https://git.io/fhPFv
<{^_^}> [nixpkgs] @peti pushed 2 commits to staging: https://git.io/fhXqq
otwieracz has joined #nixos
<otwieracz> Hi!
<MasseR> Can I give priority to a cache? I have a local cache server and I would like nix to fetch from there primarily and fall back to cache.nixos.org
<otwieracz> Is there any container documentation available other than https://nixos.org/nixos/manual/index.html#sec-declarative-containers ?
nikivi has joined #nixos
viric_ is now known as viric
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fhXqz
<otwieracz> I am not really understanding network configuration here.
<{^_^}> [nixpkgs] @peti pushed 5 commits to master: https://git.io/fhXqw
<otwieracz> What I wanted to achieve is simple container with it's network adapter bridged with hosts br0 and IP address from the same subnet as host.
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhXqy
<{^_^}> [nixpkgs] @markuskowa merged pull request #54837 → facter: 3.12.2 -> 3.12.3 → https://git.io/fhPaV
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fhXqH
<{^_^}> [nixpkgs] @peti closed pull request #54073 → ghc: bootstrap with binary build → https://git.io/fhlWR
<tilpner> MasseR: Have you tried just ordering the "substituters" option? It might already try them in order
<MasseR> I have, but doesn't *seem* to be deterministic
<tilpner> MasseR: There's a "Priority" option in http://some.cache/nix-cache-info, if you have control of it
<MasseR> oh
<tilpner> That's not going to help if you consume two channels and want to prioritise them
<tilpner> But if you also provide one of them...
<MasseR> Yup, we have full control of the local cache
<MasseR> it's probably an extraParams option to nix-serve?
<tilpner> No, it doesn't seem configurable from nix-serve
gagbo has joined #nixos
reinhardt has quit [Ping timeout: 250 seconds]
<tilpner> You could patch/substitute nix-serve, or have nginx serve a different nix-cache-info you provided
sinner has joined #nixos
jtojnar has joined #nixos
sinner is now known as Guest33995
maximiliantagher has joined #nixos
maximiliantagher has quit [Ping timeout: 272 seconds]
reinhardt has joined #nixos
<duoi> so ive installed keyloggers on all my colleagues computers
<duoi> can i use nixos to ensure that theyre updated?
<sphalerite> … what?
<sphalerite> you've installed keyloggers on all your colleague's computers!?
<duoi> its not as bad as it sounds
<duoi> my colleagues are all republicans
<duoi> theyre not really my colleagues either i just hotdesk at this office
<sphalerite> …
<lewo> a ransonware is not the best way to make them using NixOS :)
<{^_^}> [nixpkgs] @peti pushed to master « stylish-cabal: fix build with GHC 8.4.x (and clean up overrides) »: https://git.io/fhXYp
ng0 has joined #nixos
jasongrossman has quit [Remote host closed the connection]
<wedens> use nix-infect :D
<arianvp> I have a nix build that builds a pdf, but is dependent on some OTF fonts
<arianvp> how do I add fonts to a builder?
<arianvp> fontconfig etc seem very .. stateful and imperative and I have no idea what's happening
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fhXOm
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhXOs
<arianvp> ah pkgs.makeFontsConf. nice
<wedens> "I have no idea what's happening" < exactly my thoughts when I have to deal with fontconfig
sgraf has quit [Excess Flood]
sgraf has joined #nixos
fendor has joined #nixos
<arianvp> trick was FONT_CONFIGFILE = makeFontsConf { fontDirectories = [ ./myfonts ] }
sicklork1n has quit [Ping timeout: 246 seconds]
sigmundv_ has joined #nixos
Jetien has joined #nixos
vidbina has joined #nixos
Guest33995 has quit [Ping timeout: 272 seconds]
revtintin has quit [Quit: WeeChat 2.3]
<wedens> arianvp: there is also fonts.fontconfig.confPackages
o1lo01ol1o has joined #nixos
jasongrossman has joined #nixos
seanparsons has quit [Ping timeout: 245 seconds]
maximiliantagher has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
regina has joined #nixos
<Aleksejs> Hello, I've run rebuild switch --upgrade yesterday and now teamviewer is broken - I don't see my computers, it asks to login, but both login and password boxes are not available
moredhel_ has joined #nixos
maximiliantagher has quit [Ping timeout: 240 seconds]
<regina> i'd like to open a nix-shell with the androidsdk, how can accept it's license? the help message tells me to use the config option android_sdk.accept_license, however the package seems to use licenseAccepted?
seanparsons has joined #nixos
<EffSquared> Aleksejs: As a first step I would use nixos-rebuild --rollback switch to see if that brings back a working teamviewer.
<jasongrossman> regina: I'm not positive, but I'd try nixpkgs.config.android_sdk.accept_license = true; first.
<jasongrossman> regina: I use that with programs.adb.enable = true;
evck has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #54877 → openmpi: 3.1.3 -> 4.0.0 → https://git.io/fhXs1
<azazel> how it's possible to test failures on derivations? I've a situation where I want to test if a "checkPhase" of a derivation actually works so I've added a test for it using "tryEval", but the evaluation fails hard because of the dependency failure between the the tested derivation and the tests one... any idea
<azazel> ?
evck has quit [Ping timeout: 244 seconds]
<regina> jasongrossman: thanks
brejoc has joined #nixos
sicklork1n has joined #nixos
PeterHK has joined #nixos
<PeterHK> someone has a dockerTool container build for django app?
<{^_^}> [nixpkgs] @globin merged pull request #54775 → catfish: 1.4.6 -> 1.4.7 → https://git.io/fhi8p
<{^_^}> [nixpkgs] @globin pushed commit from @romildo to master « catfish: 1.4.6 -> 1.4.7 »: https://git.io/fhXGg
<{^_^}> [nixpkgs] @globin merged pull request #54643 → metamath: 0.171 -> 0.172 → https://git.io/fh6mp
<{^_^}> [nixpkgs] @globin pushed commit from @Taneb to master « metamath: 0.171 -> 0.172 »: https://git.io/fhXGr
<{^_^}> [nixpkgs] @globin merged pull request #54465 → gildas: 20181201_a -> 20190101_b → https://git.io/fh2Uo
<{^_^}> [nixpkgs] @globin pushed commit from @smaret to master « gildas: 20181201_a -> 20190101_b »: https://git.io/fhXGM
init_6 has joined #nixos
<{^_^}> [nixpkgs] @globin closed pull request #11685 → darwin: add libobjc to buildInputs of pkgs.bundlerEnv → https://git.io/v0Cd3
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sicklork1n has quit [Ping timeout: 268 seconds]
simukis has joined #nixos
<jboy> timokau[m]: Did you ever sort out the issue with mbsync? (https://logs.nix.samueldr.com/nixos/2018-08-13)
<jboy> timokau[m]: You mention switching sasl implementations (https://logs.nix.samueldr.com/nixos/2018-08-13#1473212;) -- how did you do that?
maximiliantagher has joined #nixos
<teto> timokau[m]: mbsync is faster than offlineimap I think so stay with it
maximiliantagher has quit [Ping timeout: 246 seconds]
Makaveli7 has quit [Quit: Leaving]
<jboy> teto: Yes, that's what I want to do. But I'm getting the same "GSSAPI Error" that timokau[m] reported getting. Googling for that error turned up the IRC logs.
<jboy> Maybe I can just override the BuildInputs for the package: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/networking/isync/default.nix#L12
eadwu has joined #nixos
eadwu has quit [Client Quit]
<{^_^}> [nixpkgs] @markuskowa closed pull request #50675 → openmpi: 3.1.3 -> 4.0.0 → https://git.io/fpCeS
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hedning_ has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #54828 → gmsh: 4.1.0 -> 4.1.3 → https://git.io/fhPW9
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fhXcJ
hedning has quit [Ping timeout: 240 seconds]
hedning_ is now known as hedning
<timokau[m]> jboy: I have a "solution", but I'm not proud of it
<timokau[m]> Wait a sec, I'll look it up
<timokau[m]> jboy: So there is more detail about (at least my) failure here: https://github.com/cyrusimap/cyrus-sasl/issues/543
<{^_^}> cyrusimap/cyrus-sasl#543 (by timokau, 11 weeks ago, open): Fallback on failure
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/fhXcl
<timokau[m]> The issue is actually that cyrus-sasl will try to use gssapi support when its available (which it is on nixos). That will fail for some reason.
<timokau[m]> If its not available, it will fall back to plain (e.g. communicate unencrypted). That is not nice for security, but at least it works.
<timokau[m]> So what I've been doing for now is override mbsync to disable gssapi support
fendor has quit [Ping timeout: 250 seconds]
<jboy> timokau[m]: oh, I see. Thanks for pointing that out!
<timokau[m]> jboy: You're welcome! I spent way too much time debugging this, so I'm happy if I can save you that work
<jboy> timokau[m]: Well thanks to you I may get some actual work done today
<timokau[m]> jboy: Still be careful with that "solution". I've settled on it because I'm not willing to invest even more time in it, the relevant mail account is "just" my uni mail and I mostly sync in secure networks. Still not a nice solution.
<jboy> Yes, I see. Does your university use Exchange?
<timokau[m]> jboy: No, horde (https://www.horde.org/apps/webmail/)
<jboy> ah. It only fails with my university account, which is an Exchange server; fastmail works fine.
<timokau[m]> jboy: Maybe leave a message at the upstream issue I liked, mentioning that you have the same problem. Might increase the chances of someone with the relevant knowledge looking at it.
<{^_^}> [nixpkgs] @dtzWill opened pull request #54878 → bison: 3.3 -> 3.3.1 → https://git.io/fhXcH
<jboy> good idea timokau[m]
init_6 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @markuskowa opened pull request #54879 → rdma-core: 21 -> 22 → https://git.io/fhXCU
init_6 has joined #nixos
rprije has quit [Ping timeout: 250 seconds]
MrCoffee has joined #nixos
alex`` has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e39e43a349d (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
maximiliantagher has joined #nixos
EffSquared has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
maximiliantagher has quit [Ping timeout: 240 seconds]
PeterHK has quit [Ping timeout: 256 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
hexo_ is now known as plytkejsie
<{^_^}> [nixpkgs] @dtzWill closed pull request #54733 → fontconfig: fix FC_ARCHITECTURE to match use elsewhere → https://git.io/fh6A8
hoijui has joined #nixos
silver has joined #nixos
agander has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2f8896b821c (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @dramforever opened pull request #54880 → pulseaudio-dlna: downgrade dep zeroconf to 0.19.1 → https://git.io/fhX4w
agander has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @alyssais opened pull request #54881 → defaultGemConfig.tzinfo: fix for >=2.0 → https://git.io/fhX0n
MrCoffee has quit [Quit: leaving]
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/fhX0X
abaiste^ has quit []
brejoc has joined #nixos
hphs^ has joined #nixos
hphs^ has quit [Excess Flood]
<{^_^}> [nixpkgs] @dtzWill opened pull request #54882 → txr: init at 208 → https://git.io/fhXEt
hphs^ has joined #nixos
hphs^ has quit [Excess Flood]
<jD91mZM2> Can you make some part of the config configurable at boot? Say, a grub menu for booting to either a TTY or X11, or something like that?
hphs^ has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @dtzWill opened pull request #54883 → crex: init at 0.2.5 → https://git.io/fhXEz
<{^_^}> [nixpkgs] @Profpatsch merged pull request #54780 → bazel: fix java toolchain regression → https://git.io/fhius
<{^_^}> [nixpkgs] @Profpatsch pushed to master « bazel: fix java toolchain regression »: https://git.io/fhXEo
ryantrinkle has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #54438 → openssl_1_1: use the same default CA path as 1.0.* → https://git.io/fhgOy
agander has joined #nixos
vidbina_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #54884 → xlayoutdisplay: init at 1.0.2 → https://git.io/fhXus
vidbina has quit [Ping timeout: 240 seconds]
maximiliantagher has joined #nixos
r5d has joined #nixos
<Aleksejs> I'm looking for teamviewer version in 18.09, and it's 13.something https://github.com/NixOS/nixpkgs/blob/0a8f35c998f55f744674ed23b327162df39fb6ae/pkgs/applications/networking/remote/teamviewer/default.nix#L6 but when I install it either via teamviewer package or via services.teamviewer it installs 14.something version which has broken UI. Does it update itself to v14?
maximiliantagher has quit [Ping timeout: 240 seconds]
<symphorien> what does nix-info say ?
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
brejoc has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #54885 → chelf: init at 0.2.2 → https://git.io/fhXzf
xkapastel has joined #nixos
oida has quit [Remote host closed the connection]
avn has quit [Remote host closed the connection]
fusion809 has joined #nixos
lokado has joined #nixos
<lokado> Can I use write a script with nix-shell shebang and make it executed in a FHS environment created by buildFHSEnv?
<{^_^}> [nixpkgs] @markuskowa opened pull request #54886 → openblas: make the optimization target overridable → https://git.io/fhXgr
<kai_w> how can I get extra files into /run/opengl-driver/lib (or otherwise onto LD_LIBRARY_PATH)? Specifically I want to use libcuda for compute but integrated graphics for X11
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
fendor has joined #nixos
rauno has quit [Ping timeout: 268 seconds]
oida has joined #nixos
samrose_ has quit [Ping timeout: 250 seconds]
CcxWrk has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #54887 → bazel: 0.21.0 -> 0.22.0 → https://git.io/fhX2A
samrose_ has joined #nixos
CcxWrk has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [cabal2nix] @qrilka opened pull request #402 → Put file src attribute in quotes to allow more paths → https://git.io/fhXa0
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #54888 → pybind11: init of 2.2.4 as python package → https://git.io/fhXag
hoijui has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #54889 → vimPlugins: update → https://git.io/fhXad
<noonien> hello folks
<noonien> does anyone use qtile with nixos?
<{^_^}> [nixpkgs] @vcunat pushed 5 commits to staging: https://git.io/fhXax
<{^_^}> [nixpkgs] @vcunat merged pull request #54878 → bison: 3.3 -> 3.3.1 → https://git.io/fhXcH
aleph- has joined #nixos
<etu> noonien: There's a module for it:
<noonien> i know
<etu> services.xserver.windowManager.qtile.enable
<noonien> i was just wondering, i've just learned about nixos
* etu haven't tried it or heard about it before though
<noonien> and was wondering if i can install another package alongside qtile
<gchristensen> to do what?
<noonien> i'm trying to get https://github.com/numirias/qtile-plasma installed as a python module alongside qtile
counting1ort is now known as countingsort
<noonien> and from what i can remember seeing online, there's a way to install additional python plugins for python apps, if i'm not mistaken
<jasongrossman> noonien: I used to use qtile.
<jasongrossman> noonien: I haven't worked with any additional python modules though.
<noonien> i see
<noonien> i've installed a minimal nixos, with a luks root, i'm pretty pumped up about it
<noonien> i don't really know where to start yet
<samrose_> what does "keep builds" in hydra jobest config do, exactly? (trying to decipher from https://github.com/NixOS/hydra/blob/879333fd3ce481460fda74a19e26d5e16ff008f8/src/script/hydra-update-gc-roots#L134 )
<noonien> i need an x11 install, on ubuntu i'd install i3 which installs pretty much all it needs, then lightdm
<noonien> is it the same with nixos?
<tilpner> Yes. Do "man configuration.nix" and search for i3
<tilpner> That will lead you to services.xserver.windowManager.i3.enable
<noonien> yes, i've seen that in some config files
<tilpner> You'll also need services.xserver.enable
<noonien> thing is, it kinda looks like magic to me, where can i read more about it?
<tilpner> About what in particular?
<noonien> i'm guessing there's an xserver/default.nix somewhere?
<tilpner> In that man-page, it always says where the option was declared
maximiliantagher has joined #nixos
<noonien> oh, NICE!
<noonien> i see just enabling xserver also installs lightdm
<noonien> pretty nice
alex`` has quit [Quit: WeeChat 2.3]
<noonien> can't believe i didn't know about nix until now
<jasongrossman> noonien: inorite
<jasongrossman> noonien: By all means use qtile if you prefer it to i3. It works fine on NixOS.
<jasongrossman> noonien: Don't confuse Nix with NixOS though. For NixOS you don't need a default.nix.
<noonien> i've been using i3 for ~5years now, the only reason i wanted to switch to qtile was because i3-gaps was not in any ubuntu ppa
<noonien> but nixos has a package for it
<jasongrossman> noonien: I see, yes, good.
<noonien> and since i've heard about qtile, i figured i'd give it a try, maybe it's good
<jasongrossman> noonien: Well, NixOS makes it very easy and safe to switch back and forth.
<noonien> i know, i was just wondering where services.xserver and suboptions was defined, but you said the manual describes that
<noonien> i'll give that a look
<jasongrossman> noonien: Yes.
<jasongrossman> noonien: https://nixos.org/nixos/options.html
<jasongrossman> noonien: ... which is roughly the same information as `man configuration.nix`, as someone mentioned above.
<noonien> i've seen some people have git repos for their nixos configs, some have multiple configs, for different machines in there
<noonien> one can choose which to use?
maximiliantagher has quit [Ping timeout: 250 seconds]
<jasongrossman> noonien: I don't understand the question. Is it whether you can have multiple configurations? Then yes.
<jasongrossman> noonien: But only one at a time.
<noonien> yes, i don't understand how a config is chosen, i'll give you an examplke
<etu> noonien: I use a symlink
<etu> noonien: So I have the same repo on all machines, and symlink the specific machines config to the root of the repo per machine
lokado has quit [Quit: Page closed]
<etu> And have that symlink in .gitignore to never commit it
agander has quit [Ping timeout: 246 seconds]
halfbit has joined #nixos
<etu> noonien: https://github.com/etu/nixconfig -- my example
<noonien> hmm, that makes sense
<noonien> i always wondered, what does configuration.nix change on the os
ng0 has quit [Quit: Alexa, when is the end of world?]
<tilpner> etu: Can I add your repo to search.tx0.co for indexing?
<noonien> i know different modules behave differently, but
drewr has quit [Remote host closed the connection]
<etu> tilpner: Sure
endformationage has joined #nixos
<noonien> what happens if i add a file to /etc, it's kept, right?
<jasongrossman> noonien: configuration.nix is a function than NixOS uses to build everything it needs to boot.
<etu> tilpner: My repo is a bit weird because I have my own modules, but I find it pretty well organized
<jasongrossman> noonien: Maybe, but it could get overridden, so it's best to let NixOS manage the whole of /etc. At least at first.
<noonien> ah, i see!
<noonien> so there's no magic
<jasongrossman> There's lots of magic!
<tilpner> etu: Those are the most interesting ones :)
drewr has joined #nixos
<inf> hey all! I'm trying to change boot.plymouth.logo, but it doesn't seem to work. /etc/plymouth/logo.png → /etc/static/plymouth/logo.png → /nix/store/*-custom.png links are properly created, but breeze-plymouth still displays default nixos logo.
<tilpner> (added, thanks!)
<inf> what is the proper way to override breezePlymouth here https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/plymouth.nix ? (I'm thinking of changing nixosName/nixosVersion/nixosBranding as well in the end)
<tilpner> inf: That works here. I have theme = "spinfinity"; if that helps at all
<inf> cool, will switch to that theme then.
LysergicDreams has joined #nixos
<noonien> from what i can tell, kierdavis manages his hosts here: https://github.com/kierdavis/config/blob/master/nixos/default.nix
<noonien> i'm not sure how they're selected on install
<jasongrossman> noonien: Are you actually worrying about multiple machines simultaneously? I'm not sure people are answering the right question for you.
<jasongrossman> noonien: Even if you are, it might not be the best way for you to start.
<noonien> No, I'm not doing anything of the sorts, i just stumbled opon this repo and was curious
<jasongrossman> noonien: OK, just go back to walking instead of running if you get frustrated!
ryantrinkle has quit [Ping timeout: 268 seconds]
init_6 has quit []
<noonien> Of course, i'm not actually going to do multiple machine setups atm, but i find NixOS/Nix fascinating and don't mind learning extra stuff
<jasongrossman> noonien: :-)
<inf> also, another issue: `networking.useNetworkd = true; networking.enableIPv6 = false;` seems to break systemd-networkd-wait-online.service like here: https://github.com/systemd/systemd/issues/6441#issuecomment-334337061 - any suggested solutions?
<Dagger2> don't disable IPv6? :p
<Dagger2> there should be no good reason to do so -- if you've got a problem with v6, fix the problem rather than immediately abandon it
<noonien> hmm, is there any way to install go packages as binaries from the nixos configuration?
<inf> Dagger2: yeah... Sadly I use nodejs which, when sees ipv6 network only, keeps on asking DNS for AAAA records only, even when ipv4 shows up :>
<noonien> basically, `go get` then copy the binary
<noonien> i know i can create a nixpkg, was wondering if there's an easier way
<inf> Dagger2: on the other hand, I don't want to wait for network presence, because *resons* (we use network only for management purposes, and software should work without any network connection ~just fine)
<inf> inb4 migrate backend service to ipv6. yeah, that might be a plan... :P
<inf> oh, and in the end I can't guarantee ipv6 network will actually work in places where this will be deployed anyway.
agander has joined #nixos
<Dagger2> "a working network" seems like a reasonable thing to add to the requirements list
dermetfan1 has quit [Quit: WeeChat 2.3]
<Dagger2> that nodejs behavior does sound pretty broken though :/
<inf> it no longer is, when you deploy it on someone's elses premises/network.
<inf> and, yeah, nodejs is pretty broken in that regard, have to research it further, but that was a simplest fix i could get when i had to get it working *now* :)
vidbina_ has quit [Ping timeout: 240 seconds]
<inf> ie. by fixing one issue, i stumbled upon a different one, but not in my software this time.
<inf> s/fixing/working around/g
<jasongrossman> noonien: Are there not Nix derivations for the packages you want?
<noonien> i just searched, and there are!
<jasongrossman> noonien: Yay!
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
dermetfan has joined #nixos
<noonien> now i'm really looking forward to creating my own derivations
vidbina_ has joined #nixos
<Dagger2> inf: what part of nodejs is it that's doing this? dns.lookup() looks like it *ought* to work...
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.astral: 1.8 -> 1.9.1 »: https://git.io/fhXKP
Khetzal has quit [Remote host closed the connection]
<inf> Dagger2: i don't really remember, have to sit down and research it again. we are specifically using https://www.npmjs.com/package/ws in electron backend process :P
reinhardt has quit [Quit: Leaving]
maximiliantagher has joined #nixos
<kenogo> I'm currently packaging a printer driver, and it needs cups to be able to call a shell script. Right now the shell script is located in the same /nix/store/.../ directory as the other driver files. It starts with a #!/bin/sh shebang. However, cups fails running it with an exec format error
<{^_^}> [nixops] @AmineChikhaoui merged pull request #1085 → aws[s3]: Add versioning support → https://git.io/fhi6n
<{^_^}> [nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/fhX6I
<kenogo> What do I need to do to make the cups binaries able to run that script?
alex`` has joined #nixos
tdbgamer has joined #nixos
Khetzal has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54869 → pythonPackages.fonttools: 3.36.0 -> 3.37.0 → https://git.io/fhPxp
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @dtzWill to master « pythonPackages.fonttools: 3.36.0 -> 3.37.0 »: https://git.io/fhX6l
maximiliantagher has quit [Ping timeout: 240 seconds]
samrose_ is now known as samrose
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fhX61
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5c6892e1a27 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
alex`` has quit [Ping timeout: 272 seconds]
alex`` has joined #nixos
rauno has joined #nixos
rauno has quit [Remote host closed the connection]
<timokau[m]> Can anyone with knowledge about the debian packaging system tell me if this means it is likely nix will end up in the upcoming lts?
<symphorien> iirc they asked in the nix issue tracker for a new release so that it could be included in debian before the freeze
<gchristensen> andi-:
nD5Xjz has joined #nixos
iqubic` has quit [Ping timeout: 250 seconds]
<andi-> Yes?
<timokau[m]> That'd be amazing! It should trickle down to ubuntu and its derivatives too right?
<gchristensen> andi-: you know debian packaging, yeah?
<andi-> well I am building a debian image with nix currently.. I guess so ;)
<andi-> let me check
<gchristensen> I mean policy-wise -- like can you answer timokau[m]
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #54890 → pythonPackage.scikit-build: init of 0.8.1 → https://git.io/fhXPT
<gchristensen> if not, I know an FTP wizard -- they're just not up yet
<andi-> it is unlikely that it will hit the stable release
<andi-> it might hit the backports at some point
dbmikus has joined #nixos
<andi-> debian 11 could have it in stable from release day.. sometime 2024/2025?
<gchristensen> not sure we actually _want_ it in stable :P
<gchristensen> it means we'll be stuck with Nix 2.2's semantics for a century
apaul1729 has joined #nixos
<andi-> yep
<andi-> I am not sure what the measure are you can take to ensure that.. hope the maintainer of the nix package knows what he gets himself into..
<timokau[m]> That's true I guess, didn't think about that
<andi-> As long as you can bootstrap nix using their nix package we should be fine ;)
<timokau[m]> andi-: That'd be ideal, but in order for nix to install nix, the latest nixpkgs would still need to eval right?
<{^_^}> [nixpkgs] @dotlambda pushed to master « openzwave: 2018-11-04 -> 2018-11-13 »: https://git.io/fhXPB
o1lo01ol1o has joined #nixos
<andi-> yeah, if you choose to use nixpkgs for that... I would hope that in order to move on we would have a community maintained shim-layer that bootstraps a new enough nix in case we want to break semantics.
<gchristensen> not latest, just enough of an old one
<apaul1729> so i'm currently writing a nixpkg for darwin that requires xcode. i have xcode 10.1 installed, and i've added it with `nix-store --add-fixed --recursive sha256 /Applications/Xcode.app` . however, when I try to enter a shell with `nix-shell -p darwin.xcode` it complains about not having specifically the Xcode_8.2.xip file
<andi-> while we are at the topic: I recently tried to install nix from nixos.org on Debian.. it was less then comfy.. very bumpy road :/ I should have opened issues back then but I only wittnessed it on other peoples computers.
<apaul1729> any way i can work around this? either by specifying the /nix/store path with nix-shell? the darwin/xcode/default.nix in current master even has a line for version 10.1
Leo` has joined #nixos
<timokau[m]> gchristensen: But if users would need to go through 10 bootstrapping steps until they can use the latest nixpkgs, that wouldn't be much of an improvement
<andi-> timokau[m]: I suspect you'd only need to compile one - if at all. It could already be cached by hydra at that point. You just need a compatible expression that points you to the correct NARs
<timokau[m]> andi-: Yeah if there is an expression that maintains backwards compatibility that would be fine. But we'd probably need to think about that *before* the inclusion, wouldn't we? Otherwise the packaged nix wouldn't know where to look for such an expression.
<gchristensen> its okay, we have about 50 years before it hits stable
<andi-> timokau[m]: IMO that is the job of the guy maintaining the Debian package. He is not in this alone but I hope he knows what it means..
<andi-> gchristensen: 6ish :P
<timokau[m]> gchristensen, andi- : Good point :D
<andi-> also it doesn't mean that the version that is there will be in stable.. There can be more updates before that..
<andi-> It just should be updated before the unstable -> testing / testing -> debian11 freeze/migration
<andi-> iirc experimental -> testing is automated (these days)
<timokau[m]> But still, landing in unstable would trickle down to ubuntu right? I suspect not many people are running debian stable on end-user pcs anyway (probably being naive there)
<andi-> if I ask people around me you would be suprised ;)
<andi-> (more like buster but yeah)
ryantrinkle has joined #nixos
erasmas has joined #nixos
linkrage has joined #nixos
<ejpcmac> Hi! If someone is merging here, can you please merge the PR #53959 to update Elixir to 1.8.0? It’s been 15 days since I submitted it.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53959 (by ejpcmac, 2 weeks ago, open): elixir_1_8: 1.8.0-rc.1 -> 1.8.0
Leo` has left #nixos ["ERC (IRC client for Emacs 26.1)"]
deni has left #nixos ["WeeChat 2.3"]
hoijui has joined #nixos
Ariakenom has quit [Quit: Leaving]
maximiliantagher has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
maximiliantagher has quit [Ping timeout: 240 seconds]
<Mic92> nobody has packaged eclim by accident?
<Taneb> It'd be quite impressive to package something by accident, I think
<apaul1729> woops i slipped and packaged clang, sorry about that
<Taneb> Mic92: what is eclim?
<Taneb> (I have enough trouble packaging things intentionally)
<Mic92> lsp for java
<Mic92> mhm does not really implements the lsp protocol so
<Taneb> There seems to be packaged an emacs mode called eclim
agander has quit [Ping timeout: 246 seconds]
oskar has joined #nixos
hoijui has quit [Ping timeout: 264 seconds]
<oskar> Hi, Nix newbie question: Whenever I do sudo whatever for a nix-env package, the command is not found. I guess my .profile is not read (or parsed differently) for root. How do I sudo correctly with nixpkgs (on debian on crostini on chromeos)?
<wedens> Mic92: eclipse jdt does
<symphorien> oskar: you can see the modifications nix needs in your .bashrc iirc
<symphorien> copy this in root's .bashrc
<oskar> thanks, will try that
<wedens> Mic92: also there was some lsp server based on intellij
aanderse has joined #nixos
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fhXS5
<{^_^}> [cabal2nix] @peti merged pull request #402 → Put file src attribute in quotes to allow more paths → https://git.io/fhXa0
<{^_^}> [nixpkgs] @dguibert opened pull request #54891 → initrd: Fixed to include/use modprobe config files → https://git.io/fhX92
<Mic92> wedens: too late. I already finished packaging :)
<Mic92> also it seems, this is not the favorite option anymore
<Mic92> mhm whatever
<noonien> Hmm, does anyone have a nixos config that's using i3 i could take a look at?
<Izorkin> Please check this PR #53245 #54475 #51902
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53245 (by Izorkin, 3 weeks ago, open): zsh.syntaxHighlighting: add option to customize styles
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54475 (by Izorkin, 6 days ago, open): mysql: add restartTrigger for my.cnf
<{^_^}> https://github.com/NixOS/nixpkgs/pull/51902 (by Izorkin, 6 weeks ago, open): mariadb.galera: 25.3.24 -> 25.3.25
<noonien> awesome, thanks!
<noonien> what's tx0.co?
<tilpner> A domain name
* tilpner is helpful today
glasserc has quit [Read error: Connection reset by peer]
alex`` has quit [Read error: Connection reset by peer]
<noonien> i mean, from what i can tell, search.tx0.co indexes some git repos(?), is there any reason for this? there's no about page
_kwstas has joined #nixos
<tilpner> ,configsearch
<{^_^}> To search public NixOS/Nixpkgs/NixOps configs, use https://search.tx0.co (Ping ${"til" + "pner"} if it acts up again)
_kwstas has quit [Remote host closed the connection]
<tilpner> Useful for answering questions like "how did other people configure $SOMETHING"
<makefu> Izorkin: i will have a look at #53245, thanks for the PRs :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53245 (by Izorkin, 3 weeks ago, open): zsh.syntaxHighlighting: add option to customize styles
<Izorkin> makefu: thanks
hphs^ has quit []
glasserc has joined #nixos
<pie__> anyone know if this is somewhere in nixpkgs? https://github.com/KDE/wacomtablet would be nice if i could configure my tablet
hc1^ has joined #nixos
alex`` has joined #nixos
oskar has quit [Ping timeout: 256 seconds]
<tilpner> pie__: I can't find it either
<pie__> egh. to tired for it right now but i guess i will have to try packaging it
<pie__> unless someone is super bored :[
<pie__> * :p
<tilpner> If you don't need the GUI, maybe you can get it working with services.xserver.wacom.enable and environment.etc."X11/xorg.conf.d/70-wacom.conf"
fendor has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @kalbasit merged pull request #54756 → nixos/pam: refactor U2F, docs about u2f_keys path → https://git.io/fhiI1
<{^_^}> [nixpkgs] @kalbasit pushed to master « nixos/pam: refactor U2F, docs about u2f_keys path (#54756) »: https://git.io/fhX7f
<tilpner> What's wrong with your wacomScript, infinisil? c.c
<pie__> tilpner, yeah i did notice those
<pie__> tilpner, what i dont understand, is that the tablet works, so whats this other stugg?
<pie__> stuff
<pie__> it was plug n play
<linkrage> lewo, I'm starting to test podman today. Installed latest podman from the unstable channel. I'll keep you up to date with my testing/findings etc. :)
<{^_^}> [nixpkgs] @grahamc opened pull request #54892 → elixer: remember where a package is defined → https://git.io/fhX7l
<tilpner> I don't know, I don't use drawing tablets
<goibhniu> pie__: with pressure sensitivity and all?
vidbina_ has quit [Ping timeout: 246 seconds]
<pie__> goibhniu, yup
<goibhniu> beautiful
<pie__> and xsetwacom list devices lists nothing
dbmikus has quit [Ping timeout: 246 seconds]
dbmikus has joined #nixos
`_ has quit [Ping timeout: 240 seconds]
<dmj`> Is there something like a postLibraryBuild phase in haskell nixpkgs infra
hexagoxel has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
dbmikus has quit [Ping timeout: 240 seconds]
hexagoxel has joined #nixos
dbmikus has joined #nixos
ottidmes has joined #nixos
chessai has joined #nixos
<gchristensen> I need a person who: (1) uses Nix (2) on Linux (not NixOS) (3) with a Linux Kernel of 4.19 or older. is there anyone available? we think we've found a bad kernel regression, and need to see if it replicates off NixSO
<tilpner> Spin up a quick VPS?
<gchristensen> we could, but I'd rather find someone else who already has it :P
<aszlig> best would be 4.18 *and* 4.19
<tilpner> Oh, dply.co is dead
<aszlig> tilpner: we'd need nested virtualisation then
Ariakenom has joined #nixos
<Taneb> gchristensen: I'm currently on Ubuntu 4.15 on my work computer
<ottidmes> I have two questions about Rust on NixOS, I build my project fine on the mozilla overlay nightly, but when I tried to build it from nixos-unstable nightly I got an error that "no matching package named `dialoguer` found". It said it searched the registry https://github.com/rust-lang/crates.io-index but when I search that registry myself I can find serveral packages mentioning different versions of it, how come
<tilpner> aszlig: Ah. DigitalOcean has that, if you end up needing to go there
<ottidmes> that it still is reported as not found? I made sure it was not a version issue by using an older version mentioned on the registry
<Taneb> *Ubuntu with Linux 4.15
<gchristensen> aszlig: ^ would that work?
<Taneb> (with Nix installed and regularly used)
<aszlig> gchristensen: that could work
<immae> gchristensen I do
<aszlig> Taneb: could you run this nix expression and post the result? https://gist.github.com/aszlig/feab4905b9922b29b9313cdcff42f6b5
<immae> Archlinux, using nix, linux 4.19.12
apaul1729 has quit [Quit: Ping timeout (120 seconds)]
<aszlig> it will need to recompile the kernel, so it will take a while
<aszlig> immae: oh, very good
<gchristensen> immae: please also run that test expression ^
<aszlig> so having this tested on 4.15 and 4.19 is even better
<immae> do I have to be up to date with nix too?
<immae> (current:
<Taneb> aszlig: just with nix-build, yeah? Doing that now
<immae> (current version: 2.1.3)
<aszlig> immae: that shouldn't matter
<immae> ok
<aszlig> Taneb: thanks
<immae> running on my side too
<Taneb> aszlig: how long do you expect this to take?
elgoosy has joined #nixos
<aszlig> Taneb: depends on your machine, because as said, it needs to compile kernel 4.19
<ottidmes> my second Rust question is why clippy seems to have dissapeared from the mozilla overlay, I just copied the example shell.nix and it has cargo-clippy in /bin but when I ran nix-shell again today it rebuild it, because I had it pointed to master.tar.gz rather than a specific commit as per the example, but now its missing, I tried downgrading and pinning it, but its unclear to me how to get back to the old
<ottidmes> situation. I just rooted the old rust build with cargo-clippy for now, but I want to be able to reproduce this env in the future
<immae> aszlig: I’m curious, what does nixosTest do? Do you have documentations about it?
<aszlig> immae: it's basically similar to <nixpkgs/nixos/tests/make-test.nix>
<immae> (which I don’t know either :p )
<aszlig> immae: this is the PR that introduced it: https://github.com/NixOS/nixpkgs/pull/47684
<{^_^}> #47684 (by roberth, 16 weeks ago, merged): Add pkgs.nixosTest
<Taneb> Oooh, I could use that
<immae> ok, thanks
apaul1729 has joined #nixos
<immae> I’ll have a look
<aszlig> immae: there is the documentation: https://nixos.org/nixos/manual/index.html#sec-nixos-tests
<makefu> Izorkin: okay done, now somebody needs to push the button(tm)
<immae> I have an error in the build but it’s not related to your issue: https://paste.ee/p/s2iHE
<gchristensen> makefu: what button needs pushing?
<Izorkin> makefu: ok)
<immae> (not the first time I got this, probably related to my `sandbox-paths = /bin/sh=/usr/bin/busybox`)
<makefu> #53245
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53245 (by Izorkin, 3 weeks ago, open): zsh.syntaxHighlighting: add option to customize styles
<aszlig> immae: hm... do you have sandboxed builds enabled?
<linkrage> vdemeester, common from unstable channel - how do I install it officially ? - https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/podman/conmon.nix
<immae> aszlig: yes
<immae> But I still get that
<immae> I have `sandbox = relaxed`
<Taneb> (fwiw I also have sandbox = relaxed, no error so far)
<{^_^}> [nixpkgs] @grahamc merged pull request #53245 → zsh.syntaxHighlighting: add option to customize styles → https://git.io/fhmI8
<linkrage> vdemeester, I'm trying to test podman although podman looks for /etc/containers/registries.conf etc.
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fhXFK
<makefu> gchristensen: thanks!
<gchristensen> thank you!
<gchristensen> I <3 pushing buttons
dermetfan has quit [Ping timeout: 268 seconds]
<aszlig> immae: that's weird, because that looks like it didn't run sandboxed
<makefu> nixos-shell ( https://github.com/Mic92/nixos-shell/ ) greatly helps with testing these module changes
<vdemeester> linkrage: yep it does
<aszlig> immae: what do you get with: nix-build -E '(import <nixpkgs> {}).runCommand "foo" {} "ls -l /"'
wigust- has joined #nixos
<linkrage> vdemeester, podman says conmon not found, how do I install it in this case?
<vdemeester> I think I may had that upstream (aka on Nixos/nixpkgs) :)
<linkrage> vdemeester, I see thank you!
<immae> aszlig: I added the sandbox=relaxed rcently, and I assure you I had to rewrite a lot of my custom packages because of this, so it seems to be sandboxed :)
<aszlig> immae: okay, so the sandbox works...
<vdemeester> linkrage: interesting… you installed it using `nix-env -i podman` right ?
<linkrage> vdemeester, exactly
<vdemeester> linkrage: right, then you need to install `conmon` manually too
<linkrage> vdemeester, I see I still don't know how to install it in this case, as nix-env -i conmon does not find it :)
<aszlig> immae: do you have anything in the "sandbox-paths" option?
<immae> yes, `sandbox-paths = /bin/sh=/usr/bin/busybox`
<immae> That’s all
<aszlig> immae: aaaah!
<aszlig> that explains everything
<immae> I have no statically built sh otherwise
wigust has quit [Ping timeout: 250 seconds]
<immae> if you have a better one to suggest I can put it
<aszlig> immae: so the build uses the ar command from busybox
<linkrage> vdemeester, btw since podman depends on runc, I had to install that one as well and symlink just for the test but I'm sure there is a better way. Perhaps you're configuration. I just don't understand hot to use your.nix file
<aszlig> because it's a builtin of busybox
Makaveli7 has joined #nixos
<vdemeester> linkrage: ah.. right, I may need to update the package to patch the default path podman looks for conmon & co then
hellrazor has quit [Ping timeout: 240 seconds]
<ar> i'm not builtin :(
<immae> yes, but it’s not named ar so I’m surprised
<vdemeester> linkrage: for the nix file, if you download it, import it in your config and set `programs.podman = true;` it should work
<vdemeester> :P
<immae> But again aszlig it’s because I didn’t find a better option, so I’m open to use something else if you have a suggestion
<linkrage> vdemeester, thanks!
<aszlig> immae: it doesn't need to be, because when it's running in busybox, the latter will just invoke ar internally without looking up PATH
<immae> ah ok
<immae> This is why
<aszlig> immae: well, you could use something like a statically linked dash if you want to keep it minimal
sigmundv_ has quit [Ping timeout: 250 seconds]
<linkrage> vdemeester, I don't need docker daemon to run containers right (as that's the idea of using podman/runc)
<aszlig> immae: i also do have the finished build cached on my hydra, if you're not afraid to fetch binaries
<aszlig> immae: https://headcounter.org/hydra/ that is
<immae> aszlig: send it :p
<Taneb> aszlig: gchristensen: I've built the kernel, just seen "NixOS Stage 2" whizz by
<immae> aszlig: 500 - Internal Server Error
<aszlig> immae: yah, it throws random 500... i need to debug that someday
<aszlig> Taneb: can you send an output of "nix-store -l /nix/store/mhbfhbbsf71sp5mqilw7d5c15d916p5k-vm-test-run-overlayfs-linux-4.19-regression.drv"?
<Taneb> aszlig: just failed, I'll paste result
<aszlig> Taneb: thanks
<vdemeester> linkrage: yep, podman allows you to run containers (based on docker or OCI images) without docker daemon
<Twey> If I use `nix copy --to file://cache` to put the closure of a package into a cache, and I transfer that cache to another machine, can I import all those NARs back into the store somehow?
<Taneb> aszlig: need anything else from me before I head off?
<aszlig> Taneb: thanks! so it *is* reproducible on non-nixos systems with <4.19, that at least narrows it down
<aszlig> Taneb: nope, thanks a lot again :-)
<Taneb> :) happy to help! Hope you figure it out
<tilpner> Twey: Did you try --from?
<linkrage> vdemeester, thanks. How do I "import" your podman.nix ? I'm unable to find info on the topic
<tilpner> (Also note that nix can copy to ssh targets directly, if that's the transfer method you just used)
<inf> hmm, going back to broken systemd-networkd-wait-online when `networking.useNetworkd = true; networking.enableIPv6 = false;` are set... it turns out reenabling ipv6 solves a problem on one of my boxes... another one has two network interfaces, and it seems like networkd expects dhcp to be present on both of these with default config?
<vdemeester> linkrage: once you got the file in you configuration, `imports [ ./podman.nix ];`
<linkrage> vdemeester, thank you!
<vdemeester> (then you can use `programs.podman.enable = true`)
<vdemeester> linkrage: np ;)
aleph- has quit [Ping timeout: 246 seconds]
aleph- has joined #nixos
<Twey> tilpner: Yes, but it wants a path — there's no ‘install everything in this cache’ option
<Twey> tilpner: I guess I just need to record the root of the closure and give it that
<linkrage> vdemeester, I get: attribute 'nur' missing, at /root/podman.nix:27:19
<aszlig> immae: so, did you have any success with the binary cache? otherwise i could also send you the NAR directly
<vdemeester> linkrage: ah right
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<vdemeester> my bad
<vdemeester> https://github.com/vdemeester/nixos-configuration/blob/master/modules/programs/podman.nix#L27 You need to change the default value for those who start with `nur.…`
<immae> aszlig: still trying but I’ve beed distracted in preparing dinner
<{^_^}> [nixpkgs] @grahamc merged pull request #54892 → elixir: remember where a package is defined → https://git.io/fhX7l
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fhXAe
<vdemeester> linkrage: removing `nur.repos.vdemeester` should make the thing work
<linkrage> vdemeester, I see, thanks!
<aleph-> Hmm is there an issue with tarballs.nixos.org?
<vdemeester> (I did that module before having the package upstream, so I refer to mine :P)
<gchristensen> aleph-: shouldn't be2, what're you seeing?
<das_j> Is it possible to extend an existing string? Something like systemd.services.x.execStart = "${pkgs.mkdir}...; ${config.systemd.services.x.execStart}" ?
<vdemeester> linkrage: there is also some stuff you can clean (like the `[registries.insecure]` as it's related to my home network :D )
<{^_^}> [nixpkgs] @nyanloutre opened pull request #54893 → Mautrix telegram → https://git.io/fhXAY
<aszlig> immae: okay, happy dinner then :-)
<linkrage> vdemeester, yes I did that already, I just have to see why my other VM with the local registry is not up yet :D
<linkrage> vdemeester, do you feel podman+kubernetes on nixos combination is ready for production use?
aleph- has quit [Read error: Connection reset by peer]
aleph- has joined #nixos
<aleph-> Okay better.
<aleph-> So yeah is there a pkg besides pkgs.steam I should install?
<aleph-> Since that seems to fail building.
<immae> aszlig: it’s building again with a dash, thanks (this will help me for my own packages too :) ))
<aszlig> immae: ah, cool :-)
<immae> It was easier to recompile it finally :p
<aszlig> immae: yeah, should at least prevent surprises like this, as busybox actually has a lot of builtins
maximiliantagher has joined #nixos
<aleph-> Hmm doesn't even seem to be a package for steam.
<aleph-> ,locate steam
nadley has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> Found in packages: metasploit
<aleph-> Well that's unhelpful.
<clever> aleph-: what does `nix-build '<nixpkgs>' -A steam` say?
<aleph-> Sec
<immae> aszlig: yes, I was surprised that it could find busybox ar while not having it in the path
<immae> feels better now :p
nadley has joined #nixos
hakujin has joined #nixos
apaul1729 has quit [Ping timeout: 245 seconds]
<aleph-> clever: Huh that works now.
<aleph-> Or... not.
<hakujin> attempting to build hydra from source and get a compilation error re: "state.hh:13:10: fatal error: parsed-derivations.hh: No such file or directory"
<aleph-> clever: Every fetch for a .deb fails
<clever> aleph-: dns failure? hash failure? connection timeout?
<hakujin> anyone have ideas about "parsed-derivations.hh"?
<aleph-> Sec
ubert has quit [Quit: Leaving]
<aleph-> clever: https://paste.rs/CVN
<clever> aleph-: 404, upstream has deleted the tar, you will need to try a newer nixpkgs, if nixpkgs has already been fixed
<aleph-> Gotcha, should I just try master then?
<clever> yeah, master is the simplest way to confirm if nixpkgs has fixed it
<aleph-> Nope master is broken in a different way
hakujin1 has joined #nixos
<clever> rl: (6) Could not resolve host: abbradar.net
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f072cfe1ebf (from 85 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> aleph-: your dns is offline
<clever> aleph-: try again
<aleph-> Okay this is bothering me... what the hell is up with my dns on this laptop
<aleph-> It's only this laptop too
<clever> aleph-: what does /etc/resolv.conf say the dns server is?
<aleph-> Wait... is that it.
<aleph-> I think it might trying a downed dns resolver I had
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fhXhu
<aleph-> There a networking.option to set dns resolvers?
<clever> yeah
<clever> networking.nameservers
<clever> when unset, it will obey what dhcp tells it to use
maximiliantagher has quit [Ping timeout: 244 seconds]
hakujin has quit [Ping timeout: 272 seconds]
i1nfusion has joined #nixos
<dmj`> has anybody used pkgsCross.ios-simulator64.haskell.packages.ghc863.callPackage
<dmj`> and successfully ran it on an iphone
<clever> dmj`: ios-simulator64 will never run on a phone
das_j has quit [Quit: "Bye!";]
<dmj`> clever: that's what I meant to say, successfually ran it on an iphone simulator
das_j has joined #nixos
<dmj`> clever: are you saying the simulator isn't ARM
<clever> dmj`: the simulator is just an x86 library that opens a normal desktop gui, and implements the same API as the mobile system libraries
<clever> dmj`: so your program winds up being an x86-64 macos binary
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: disable broken builds on Hydra »: https://git.io/fhXh9
maximiliantagher has joined #nixos
das_j has quit [Client Quit]
das_j has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: disable broken builds on Hydra »: https://git.io/fhXhd
maximiliantagher has quit [Remote host closed the connection]
<dmj`> clever: cool
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhXhh
<dmj`> clever: so is it possible to cross compile to run the haskell binary on an iphone
maximiliantagher has joined #nixos
<dmj`> with nix
aleph- has quit [Ping timeout: 240 seconds]
dermetfan has joined #nixos
<dmj`> maybe?
maximiliantagher has quit [Remote host closed the connection]
LysergicDreams has quit [Quit: leaving]
azdle has quit [Read error: Connection reset by peer]
avn has joined #nixos
<matthewbauer[m]> yes in theory
<matthewbauer[m]> tbh I'm not sure if anyone has done it yet
dbmikus_ has joined #nixos
linkrage has quit [Quit: Leaving]
dbmikus has quit [Ping timeout: 240 seconds]
<dmj`> matthewbauer[m]: did you write the iphone-simulator package set?
vidbina_ has joined #nixos
nadley has quit [Ping timeout: 268 seconds]
sigmundv_ has joined #nixos
dbmikus__ has joined #nixos
<dmj`> matthewbauer[m]: this is you right https://matthewbauer.us/blog/beginners-guide-to-cross.html
<{^_^}> [nixpkgs] @Nadrieril opened pull request #54895 → bitlbee-facebook: 1.1.2 -> 1.2.0 → https://git.io/fh1vt
maximiliantagher has joined #nixos
dbmikus_ has quit [Ping timeout: 268 seconds]
nokomprendo has joined #nixos
nadley has joined #nixos
chessai has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #54692 → clementine: use fetchFromGitHub → https://git.io/fh6gg
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh1vP
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
_kwstas has joined #nixos
maximiliantagher has quit [Remote host closed the connection]
dsiypl4_ has joined #nixos
* _deepfire found haskell-modules/generic-builder.nix do a 'mv /nix/store/1gps7cqrr93s5v9clq4slfgrdddxyh5c-data-default-instances-containers-0.0.1/lib/ghc-8.7.20190115/package.conf.d/data-default-instances-containers-0.0.1.conf /nix/store/1gps7cqrr93s5v9clq4slfgrdddxyh5c-data-default-instances-containers-0.0.1/lib/ghc-8.7.20190115/package.conf.d/.conf'
xkapastel has quit [Quit: Connection closed for inactivity]
<_deepfire> "$pkgId" = ""
<_deepfire> ..and that's due to local pkgId=$( ${gnused}/bin/sed -n -e 's|^id:[ ]\+||p' $packageConfFile )
<_deepfire> ..which, again, I guess, doesn't handle too many spaces
apaul1729 has joined #nixos
tmaekawa has joined #nixos
maximiliantagher has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #54475 → mysql: add restartTrigger for my.cnf → https://git.io/fh2rV
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh1fD
<_deepfire> ah, ha ha, 'id:\n data-default-instances-containers-0.0.1-9yvw8HF06tiAXuxm5U8KjO'
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fh1JL
freeman42x has joined #nixos
regina has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « ghcjs: mark compiler builds as broken »: https://git.io/fh1Jb
<{^_^}> [nixpkgs] @Infinisil merged pull request #53002 → nginx-sso: init at 0.15.1 (+ nixos service/test) → https://git.io/fhkjT
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/fh1UJ
_kwstas has quit [Quit: _kwstas]
_kwstas has joined #nixos
ThatDocsLady has quit [Ping timeout: 252 seconds]
mmlb08 has quit [Ping timeout: 246 seconds]
truthadjustr has joined #nixos
<truthadjustr> hi i need help to make teamviewer work in my nixos18.09. Followed https://github.com/NixOS/nixpkgs/issues/51320, teamviewer installed fine, it launched the GUI but when I connect, message is "this teamviewer version is incompatible ..."
<{^_^}> #51320 (by johnalotoski, 8 weeks ago, open): Teamviewer 13 doesn't accept connections on NixOS on 18.09 with KDE Plasma/sddm while logged in
<gchristensen> immae: how did it go?
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fh1Tf
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/fh1TU
xkapastel has joined #nixos
drakonis has joined #nixos
truthadjustr has quit [Ping timeout: 245 seconds]
tmaekawa has quit [Quit: tmaekawa]
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
tmaekawa has joined #nixos
elgoosy has quit [Remote host closed the connection]
<immae> gchristensen: it failed
<immae> (Was busy with dinner sorry)
<gchristensen> no worries :)
<gchristensen> can you paste results? cc aszlig
<aszlig> immae: ah, great, same error?
<immae> Give me a moment
<immae> aszlig: gchristensen ^
<immae> is it enough or you want more complete?
<aszlig> immae: thanks a lot!
<aszlig> immae: no, that's fine, so i can send the report, thanks a lot
<gchristensen> yay!
tmaekawa has quit [Client Quit]
<immae> Good :)
<gchristensen> sort of a good-news/bad-news yay, but yay!
<johnw> what is the -j equivalent option for 2.x "nix build"?
<gchristensen> --max-jobs probably
<johnw> no, rejects that option
<johnw> --option max-jobs N?
<gchristensen> maybe?
<johnw> i can't seem to find via google the mapping from nix-build to nix build options
phizzz has joined #nixos
freeman42x has quit [Read error: Connection reset by peer]
q6AA4FD has quit [Read error: Connection reset by peer]
freeman42x has joined #nixos
<phizzz> how do i install glibc-2.27? when i try to rebuild i get this error: undefined variable 'glibc-2' at /etc/nixos/configuration.nix:58:5
q6AA4FD has joined #nixos
<phizzz> i've tried quoting "glibc-2.27
<phizzz> and that doesn't work either
agander has joined #nixos
<srhb> phizzz: You should not be installing glibc in any manual fashion to begin with, probably. What are you trying to achieve?
maximiliantagher has quit [Remote host closed the connection]
<phizzz> i'm trying to do a source install of ns-3
<srhb> ,libraries phizzz
<{^_^}> phizzz: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<srhb> But we already have an expression for ns-3
<{^_^}> [nixpkgs] @timokau merged pull request #54889 → vimPlugins: update → https://git.io/fhXad
<{^_^}> [nixpkgs] @timokau pushed to master « vimPlugins: update (#54889) »: https://git.io/fh1Lc
fendor has joined #nixos
<phizzz> srhb: ok i'm struggling here. i'm trying to build this thing that needs ns-3 and waf, i have installed both via systemPackages but now can't figure out how to build it. so i was trying the olde fashioned way
<{^_^}> [nixpkgs] @Nadrieril opened pull request #54896 → tt-rss: 2018-04-05 -> 2019-01-29 → https://git.io/fh1LX
<srhb> phizzz: Yeah, it's a common point of confusion. The short version is that the "olde fashioned way" usually does not work very well in nix, but using nix-shell or even writing a proper nix derivation for your piece of software does.
snajpa- has joined #nixos
snajpa has quit [Read error: Connection reset by peer]
<srhb> phizzz: If you can elaborate on the piece of software you're trying to build, someone may be able to assist.
aither has quit [Read error: Connection reset by peer]
<phizzz> srhb it's some visualization thing, but i'm only the sysadmin.
<gchristensen> sphalerite: ping?
<sphalerite> gchristensen: pong
<gchristensen> sphalerite: mind sending out calendar invites for our meeting tomorrow?
<phizzz> srhb: i know it needs waf and ns-3, so would i make a derivation that has something like: buildInputs = [ pkgconfig ns-3 waf ]; ?
<srhb> phizzz: Something like that (ignoring complexities with nativeBuildInputs which you can probably do safely for now) -- there's also wafHook, not sure how well that works, but you may want to grep nixpkgs for that to see examples of usingit.
<phizzz> man why is this so complicated
<srhb> It's mostly just different. :) once you've gathered the deps it's usually just like writing a build "the olde fashioned way" but a bit more structured.
aither has joined #nixos
<spacekookie> Is there some elixir packaged software/module that I can look at to figure out how to deal with the mix dependencies?
<phizzz> did the nixos devs just miss the days when an os install actually took weeks to complete?
<qyliss^work> spacekookie: I've definitely seen some in Nixpkgs
<srhb> phizzz: I'll race you :-P
<gchristensen> phizzz: my impression is we've miscommunicated something, because it probably isn't as hard as you expect
<gchristensen> phizzz: just a few days ago I reinstalled my laptop in about 2hrs and was back working, with everything configured
<phizzz> i might still have some debian slink floppies around
<srhb> phizzz: I'd say the learning curve _is_ a quite bit steeper when you actually need to build custom software.
<qyliss^work> There's also the buildMix function
<typetetris> Hi there! Why do I need a special client for cachix? (If it is off topic, what is the right channel for that?)
<spacekookie> qyliss^work: hmm, I saw that and I'm not quite sure yet
nefix has joined #nixos
<srhb> typetetris: I think it's on topic. I don't think there's a better answer than "it's not affiliated with NixOS as such"
<nefix> hi! I'm trying to add a blocklist to my /etc/hosts. How can I read the file from the main configuraiton? I think there's a readFile method, but I can't find anything about it
<phizzz> ok so if i make this derivation with all the deps i need. then run nix-shell, but how do i pass the default.nix derivation to the shell?
<typetetris> hmm, it's for distributing nix store paths, isn't it? Why not just use nix-serve or some such?
<qyliss^work> buildMix doesn't seem to actually be used in nixpkgs at all
<tilpner> typetetris: The machine that calls the cachix CLI will not do the serving
<tilpner> typetetris: I think you can use cachix caches without the cachix CLI. Not sure about pushing though
<apaul1729> phizzz you can do `nix-shell ./default.nix`
<qyliss^work> nix-shell should use default.nix by default
<qyliss^work> at least if there's no shell.nix
<typetetris> tilpner: Okay. I just want to add it as an additional substituter and not install some cli stuff.
ng0 has joined #nixos
<tilpner> typetetris: You can find the public key on https://foo.cachix.org. Just add that to your nix.conf
<phizzz> so how do i get waf on the path in this nix-shell?
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
<tilpner> I was going to say nix-shell -p waf, but that fails here
<tilpner> THIS SOFTWARE IS PROVIDED BY THE AUTHOR AS: File name too long
<phizzz> tilpner: same here
<srhb> nefix: It's in the nix manual.
<srhb> nefix: (builtins.readFile)
<nefix> just solved it
<nefix> srhb: thanks anyways!
<{^_^}> [nixpkgs] @volth opened pull request #54897 → runInLinuxVM: pkgs.linux -> kernel → https://git.io/fh1tp
<tilpner> phizzz: FWIW, it builds on 18.09
<tilpner> 2.0.10
<phizzz> i know waf is in the /nix/store/xxxwaf-2.0.10
<phizzz> i have it already
<sphalerite> gchristensen: I've tried to :p hope it worked
jabranham has joined #nixos
<typetetris> hmm. its a bit unfortunate that the nixos option is called binaryCache while the nix option is called substituters
<phizzz> it's kindof a deal breaker here because i need to run `waf --run="blah"`
<symphorien> its strance, waf is not in $out/bin but is $out
<mdash> phizzz: are you trying to build some software with waf?
<phizzz> mdash: yes that's correct
<gchristensen> sphalerite: hmm, I don't see anything -- where'd you send it?
<sphalerite> gchristensen: graham@grahamc.com
<mdash> phizzz: then the right thing to do is write a nix expression to build it, that depends on waf
<gchristensen> ah there we go!
<sphalerite> gchristensen: oh and I think I screwed up on the signature lol
JosW has joined #nixos
<phizzz> mdash: some other kind folks here pointed me to nix-shell and derivations, is that what you mean?
<gchristensen> sphalerite: i saw the signature, said "yeah, that looks about right", and added it to my calenfdar.
snajpa- is now known as snajpa
judson has joined #nixos
<matthewbauer[m]> yeah waf is usually a local file that you run as ./waf
<matthewbauer[m]> have you tried wafHook?
<matthewbauer[m]> vendored
<judson> Anyone know how to get home-manager to --show-trace?
<sphalerite> gchristensen: https://xkcd.com/1181/
<infinisil> judson: -v
<gchristensen> bingo
<symphorien> phizzz: nix-shell -p 'runCommand "foo" {preferLocalBuild=true;} "mkdir -p $out/bin; ln -s ${waf} $out/bin/waf"'
<symphorien> for some reason waf is not in $out/bin and this messes everything
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh1qb
<{^_^}> [nixpkgs] @Infinisil merged pull request #54814 → minishift: 1.29.0 -> 1.30.0 → https://git.io/fhiFA
rawreraw has joined #nixos
rawreraw has quit [Client Quit]
vidbina_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @zimbatm merged pull request #54881 → defaultGemConfig.tzinfo: fix for >=2.0 → https://git.io/fhX0n
<phizzz> symphorien: i'm not sure what you mean about waf not in $out/bin
<{^_^}> [nixpkgs] @zimbatm pushed commit from @alyssais to master « defaultGemConfig.tzinfo: fix for >=2.0 (#54881) »: https://git.io/fh1mv
<judson> Thanks
<symphorien> phizzz: usually executables are in /nix/store/somehash-name/bin/foo
mmlb08 has joined #nixos
<symphorien> $out is the variable which contains /nix/store/somehash-name when you write the derivation
<symphorien> for some reason waf was the file $out instead of being a file in the directory $out/bin
slack1256 has joined #nixos
<symphorien> the command I gave creates a new derivation which symlinks waf to $out/bin/waf
q6AA4FD has joined #nixos
<symphorien> this way, waf is in the conventional place
<matthewbauer[m]> you need waf to be in the same directory as you are building
<matthewbauer[m]> that's why it's in $out
<matthewbauer[m]> so you should just cp to your directory
<symphorien> ah ok
<gchristensen> sphalerite: you intended for it to meet at 1900UTC, yeah?
jonreeve has joined #nixos
agander has quit [Quit: Leaving]
<sphalerite> gchristensen: yep
<gchristensen> gerat
<sphalerite> 2000CET :)
<gchristensen> "timezones are hard"
<sphalerite> woooooo it worked
<gchristensen> it did work! it arrived intact!
<sphalerite> except you can't be sure since the sig won't verify :o
worldofpeace has joined #nixos
<gchristensen> eh
<gchristensen> you're right, we should probably cancel
<judson> Bah. I'm trying to translate my fish config to home-manager, and I'm getting `cannot coerce a list to a string, at /nix/store/x3c0khyy25bqd9339pak7gpsrg9y5q2g-nixpkgs-18.09.1985.749a3a0d00b/nixpkgs/lib/types.nix:200:26`
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<judson> I think `shellInit` is the problem - it's a types.lines, and I'm providing something like ["string" "string"]; to it...
<jonreeve> Does anyone know what could be causing this error? https://hastebin.com/iwasujonus.pl
<jonreeve> (And how to fix it?)
<qyliss^work> judson: yes, I think you should be just be giving it a multi-line string.
<jonreeve> I've been unable to upgrade in weeks, and I'm not sure what is wrong
<qyliss^work> > The requested URL returned error: 404
<{^_^}> error: syntax error, unexpected ':', expecting ')', at (string):215:33
<phizzz> matthewbauer[m]: do you mean like this? cp -a /nix/store/i6lyqp4jgfz2dnrcnh83sk46cqhlnh95-waf-2.0.10 /home/blah/waf
<qyliss^work> Interesting
<{^_^}> [nixpkgs] @Infinisil merged pull request #54794 → isso: 0.11.1 -> 0.12.2 → https://git.io/fhiHf
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh1m5
<matthewbauer[m]> phizzz: yeah that should work
<matthewbauer[m]> if you use wafHook it will do that for you
<tilpner> jonreeve: I think that's a problem on your side, nix-store -r /nix/store/j2dma1y5szmh8wgwlfgimipapvp4acp1-fix-key-expiry.patch works
<phizzz> matthewbauer[m]: so i have a shell script that uses waf and depends on ns-3. am i on the right path using nix-shell to build this?
<symphorien> jonreeve: run nix show-config
<qyliss^work> It's been fixed in master.
<tilpner> Or maybe I haven't upgraded for a few days...
<symphorien> do you have substituters = https://cache.nixos.org/
<symphorien> ?
<matthewbauer[m]> phizzz: yeah that looks right
<{^_^}> [nixpkgs] @veprbl merged pull request #54787 → qt59: 5.9.3 -> 5.9.7 → https://git.io/fhiKB
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/fh1YZ
<jonreeve> symphorien: Here's the output of that command: https://hastebin.com/havivudeke.cpp
<qyliss^work> substituters = https://hie-nix.cachix.org/
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh1YC
<judson> qyliss^work, Is the type wrong then? I thought that 'lines' was a list of string?
<{^_^}> [nixpkgs] @Infinisil merged pull request #54790 → kakoune: 2018.10.27 -> 2019.01.20 → https://git.io/fhi1Z
<symphorien> jonreeve: substituters = https://hie-nix.cachix.org/ << you don't have https://cache.nixos.org/ in there
<qyliss^work> judson: no, it's a string, but if you set it in multiple modules they'll be concatenated as lines.
<symphorien> you are not the first one to come on this channel having replace the binary cache with cachix's
<judson> Right, okay.
<qyliss^work> infinisil: yay kakoune!
<jonreeve> symphorien: Hm how do I fix that? I'm not even sure what a substituter is
<infinisil> qyliss^work: I just tried it out a bit :)
<qyliss^work> I've used it for... probably years?
eadwu has joined #nixos
<infinisil> qyliss^work: -> #nixos-chat
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<symphorien> jonreeve: replace /etc/nix/nix.conf (a symlink to the store) with a file of same content
<symphorien> then fix substituters = https://hie-nix.cachix.org/ by adding https://cache.nixos.org/
<symphorien> then restart the nix-daemon
<symphorien> then rebuild
<jonreeve> symphorien: cool I'll try that
<symphorien> sorry, before rebuilding, fix your configuration.nix to make the "hotfix" to /etc/nix/nix.conf persistent
nefix has quit [Ping timeout: 256 seconds]
<vaibhavsagar> why is Stack still broken on NixOS 18.09?
<gchristensen> how is it broken, vaibhavsagar?
<gchristensen> (short answer is of course nobody has fixed it ;) but, it is broken?
doyougnu has joined #nixos
<vaibhavsagar> it assumes `--nix` even when `--no-nix` is passed
<vaibhavsagar> let me find the issue
<{^_^}> commercialhaskell/stack#4333 (by aherrmann, 17 weeks ago, closed): --no-nix ignored on NixOS
<vaibhavsagar> and guess which version of Stack we're still bundling?
<jonreeve> symphorien: How do I restart the nix-daemon?
<symphorien> systemctl stop nix-daemon
<jonreeve> Cool
<symphorien> systemctl start nix-deamon
<vaibhavsagar> jonreeve: sudo systemctl restart nix-daemon
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #54769 → libratbag: 0.9.903 -> 0.9.904 → https://git.io/fhiZT
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh1Yx
<{^_^}> [nixpkgs] @Infinisil closed pull request #54782 → libratbag: 0.9.903 -> 0.9.904 → https://git.io/fhigc
knupfer has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #54758 → nyx: 2.0.4 -> 2.1.0 → https://git.io/fhiLM
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh1Ot
henrytill_ has joined #nixos
ramses_ has joined #nixos
alex`` has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #54754 → pdns-recursor: 4.1.8 -> 4.1.10 → https://git.io/fhik5
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh1Og
alex`` has joined #nixos
civodul has joined #nixos
doyougnu has quit [Quit: WeeChat 2.2]
henrytill_ has joined #nixos
henrytill_ has quit [Changing host]
henrytill_ is now known as henrytill
<ramses_> Hey guys, is there any way to do something like this in configuration.nix "if hardware-config.nix defines fileSystems.X.device, then set fileSystems.X.options to this value, otherwise don't set fileSystems.X"?
<jonreeve> symphorien: awesome, that seems to have worked. Thanks!
<ramses_> It doesn't really matter where the thing is defined, but I'm not sure about the order in which imports are parsed and in my case, it will always be defined in hardware-config
azzknot has joined #nixos
jonreeve has quit [Quit: WeeChat 2.3]
<azzknot> can anyone verify pmx2pdf is missing from texlive full?
<devalot> ramses_: The order doesn't really matter since all the config sections get merged at the end and then applied as a whole set.
maximiliantagher has joined #nixos
<devalot> But an answer to your question would be something like: mkIf config.filesystems...
<ramses_> devalot: so is there any way to add something to a section only if that section exists? Like, I don't want to create it if it didn't exist yet
cantstanya has quit [Ping timeout: 256 seconds]
<devalot> ramses_: Probably a better way of doing it is to create a new option that you can set, then only apply the config change if that option is set. Then update all your modules to respect the option.
<ramses_> devalot: the thing is, that I would prefer to rely on the detection mechanism that creates hardware-configuration.nix, instead of having another option
apaul1729 has quit [Ping timeout: 250 seconds]
hellrazor has joined #nixos
<azzknot> never mind it was in the scripts they just forgot to link it... I'll do it myself. bye
azzknot has quit [Client Quit]
<devalot> ramses_: Then I think playing with mkIf and looking the setting up in config might work for you.
cantstanya has joined #nixos
doyougnu has joined #nixos
<ramses_> devalot: I'll give that a try, thanks!
<infinisil> > mynixos = import <nixpkgs/nixos> { configuration = { config, lib, ... }: { imports = [ nixosConfigBase ]; config.fileSystems."/".options = lib.mkIf (config.fileSystems ? "/") [ "foo" ]; }; }
<{^_^}> mynixos defined
<infinisil> > deepEval mynixos.config.fileSystems."/".options
<{^_^}> [ "foo" "test" ]
<infinisil> ramses_: Like this ^^
phizzz has quit [Ping timeout: 240 seconds]
fenedor has joined #nixos
knupfer has quit [Ping timeout: 268 seconds]
apaul1729 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #54898 → pyspark: 2.3.2 -> 2.4.0, fix version bounds → https://git.io/fh1s3
neeasade has quit [Remote host closed the connection]
<ramses_> infinisil: that gives me an "infinite recursion" error...
<ramses_> It tried the following: fileSystems."/boot" = lib.mkIf (config.fileSystems ? "/boot") { options = [ ... ]; };
<infinisil> > nixosConfig = { config, lib, ... }: { config.fileSystems."/" = lib.mkIf (config.fileSystems ? "/") { options = [ "foo" ]; }; }
<{^_^}> nixosConfig defined
<infinisil> > nixos.config.fileSystems."/".options
phizzz has joined #nixos
<{^_^}> infinite recursion encountered, at /var/lib/nixbot/nixpkgs/master/repo/lib/modules.nix:336:9
<infinisil> Yeah that doesn't work
<infinisil> And that's not what I showed
<infinisil> The fact that you assign to `options` directly is important
sinner has joined #nixos
sinner is now known as Guest62896
<ramses_> infinisil: I tried that too, but then I get the error that no device is defined for the mount point... Meaning that he creates the fileSystem."/boot" thingy
<{^_^}> [nixpkgs] @vcunat pushed to staging « syslinux: fix build with new binutils »: https://git.io/fh1s1
<infinisil> Ah darn, I didn't test that..
<infinisil> Sorry
<{^_^}> [nixpkgs] @veprbl opened pull request #54899 → pythonPackages.pyarrow: redo fix on darwin → https://git.io/fh1s9
<infinisil> > nixosConfig = { config, lib, ... }: { config.fileSystems."/foo".options = lib.mkIf (config.fileSystems ? "/foo") [ "foo" ]; }
<{^_^}> nixosConfig defined
<infinisil> > nixos.config.fileSystems."/".options
<{^_^}> [ <CODE> ]
<infinisil> > deepEval nixos.config.fileSystems."/".options
<{^_^}> [ "defaults" ]
<infinisil> > deepEval nixos.config.fileSystems."/foo".options
<{^_^}> [ "foo" ]
<infinisil> Ah, it will only error when evaluating the system
<infinisil> Hmm..
<infinisil> It might actually be impossible with how the module system currently works
<infinisil> Oh, I have an idea though, *tries*
fendoer has joined #nixos
elgoosy has joined #nixos
fendoer has quit [Remote host closed the connection]
aanderse_ has joined #nixos
<ottidmes> Just to suggest something that ought to work, but might not be the prettiest, you could always first extract the information you want with a call to import <nixpkgs/config> ... and then call it again supplying the gathered information, since its lazy it should not be that costly, this way you can still leverage the module system to generate the data, but work around the potential circular stuff, maybe instead
<ottidmes> of <nixpkgs/nixos> you can even call evalModules directly
fendor has quit [Ping timeout: 245 seconds]
chessai has joined #nixos
fenedor has quit [Ping timeout: 246 seconds]
<infinisil> My idea worked though :D
<infinisil> It's just a matter of setting options *within* the submodule
eeva has quit [Remote host closed the connection]
<infinisil> It's not pretty, but it's not hacky and works well
eeva has joined #nixos
<ottidmes> infinisil++ nice solution
<{^_^}> infinisil's karma got increased to 50
<{^_^}> [nixpkgs] @rycee pushed to master « eclipse-plugin-spotbugs: 3.1.10 -> 3.1.11 »: https://git.io/fh1GH
nokomprendo has quit [Quit: Leaving]
aanderse has quit [Ping timeout: 268 seconds]
<infinisil> ottidmes: I can thank @danbst for bringing this to my attention in #54637
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54637 (by danbst, 3 days ago, open): module system: small eval optimization
<ottidmes> infinisil: so mkOption's do stack, I was wondering about that, I did use the mkOption apply trick a few times, but apply was always undefined, I had not tested whether it would work if it already was defined
<infinisil> ottidmes: I don't think I'm using any apply here?
<{^_^}> [nixpkgs] @ElvishJerricco opened pull request #54900 → shellFor: Don't suck in src to compare to deps. [Fixes #51079] → https://git.io/fh1ZJ
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to release-18.09: https://git.io/fh1Zk
<ottidmes> infinisil: Huh, I never said you did, "I did use the mkOption apply trick", as in, I used the trick of setting mkOption for an option that already has an existing mkOption, in my case to define an apply for it
<{^_^}> [nixpkgs] @Mic92 closed pull request #54657 → Update to Go 1.11.5 → https://git.io/fh6Z8
<infinisil> Ahh
<infinisil> I misunderstood then
<{^_^}> [nixpkgs] @ElvishJerricco opened pull request #54901 → Backport #54900 → https://git.io/fh1ZY
<{^_^}> [nixpkgs] @tohl opened pull request #54902 → sbcl updated, tested on nixos x86_64 → https://git.io/fh1Z3
<{^_^}> [nixpkgs] @veprbl merged pull request #54899 → pythonPackages.pyarrow: redo fix on darwin → https://git.io/fh1s9
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fh1Z8
<ramses_> infinisil: I'm not sure I understand how to use this... I'm a bit new to nix still
<infinisil> Sometimes I feel like I'm especially gifted at misunderstanding people, not only in text, but also when talking to people
phizzz has quit [Quit: leaving]
<ottidmes> is there no way to build a Rust project in Nix without going through a nix-shell? carnix fails on stable and unstable for me, buildRustPackage seems to have a useless registry since even packages that are more than a year old are missing
<infinisil> ramses_: Ah, I guess you probably have a problem assigning the `options` attribute. You need to put all your standard nixos configuration under the `config` attribute, and then put the `options = ...` part next to it
<infinisil> ramses_: Or alternatively, split it up into another file
<symphorien> ottidmes: buildRustPackage has no registry
<symphorien> change the cargoSha256 and it will refetch everything
<ottidmes> symphorien: really, is that the cause? if so, some bad UX there
<symphorien> same trap as changing the url of fetchurl without changing the sha
worldofpeace has quit [Remote host closed the connection]
<infinisil> ramses_: If that's indeed the problem, then this is what I meant by splitting up the file(s): https://gist.github.com/Infinisil/c62c9f611369f511a9e7a930c5a31c00#gistcomment-2823601
<ottidmes> symphorien: should have known, but this is the first time having it in a non-src location, thank you!
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
<hakujin1> what is the correct way to nix garbage collect a hydra machine?
hakujin1 is now known as hakujin
<hakujin> I've tried it with total ignorance in the past via `nix-collect-garbage` and it broke basically everything
<{^_^}> [nixpkgs] @dotlambda merged pull request #54233 → pythonPackages.sphinx-argparse: init at 0.2.5 → https://git.io/fh4QE
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fh1nM
alex`` has quit [Ping timeout: 250 seconds]
alex`` has joined #nixos
<ottidmes> symphorien: any idea how to deal with needing edition 2018 with buildRustPackage?
<symphorien> you need a recent enough rustc, that's all
apaul1729 has quit [Ping timeout: 240 seconds]
<symphorien> the edition is declared in Cargo.toml irrc
<ottidmes> symphorien: hmm, I might be trying to build from stable, let me see if thats the cause
<symphorien> the mimimum is 1.31 iirc
shibboleth has joined #nixos
ramses_ has quit [Ping timeout: 256 seconds]
<ottidmes> symphorien: it worked! but if version 1.31 is the minimum then my unstable (less than a month old) has just about support for it since is at 1.31
_kwstas has quit [Quit: _kwstas]
dbmikus has joined #nixos
dbmikus__ has quit [Ping timeout: 244 seconds]
simukis has quit [Quit: simukis]
hark has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #54524 → redmine: add missing 'migrate' command prior to starting the application → https://git.io/fhwIj
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fh1lM
alex`` has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2cd0061bbda (from 61 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
shibboleth has quit [Quit: shibboleth]
kvda has joined #nixos
AtnNn has joined #nixos
realrokka has quit [Quit: rip]
realrokka has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
dsiypl4_ has quit [Ping timeout: 240 seconds]
alex`` has joined #nixos
Makaveli7 has quit [Quit: Leaving]
tuelz has quit [Quit: WeeChat 2.3]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #54903 → pythonPackage.psutil: 5.4.8 -> 5.5.0 → https://git.io/fh143
ddellacosta has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bsima closed pull request #50328 → Add flexmock, sqlalchemy-utils, pgpy, and py-gfm → https://git.io/fpOZi
<ekleog> Does anyone have documentation about `newScope` and the like? I'm looking for a way to add a patch to LLVM, and it looks… fun
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
henrytill has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
vk3wtf has quit [Quit: WeeChat 2.3]
vk3wtf has joined #nixos
<ekleog> wth when I try to `:l <nixpkgs>` then `newScope` in `nix repl` it's showing me it's coming from `pkgs/top-level/splice.nix`, which looks amazingly xorg-specific
<ekleog> how the hell is that working for llvm?
<{^_^}> [nixpkgs] @andir pushed 56 commits to staging-18.09: https://git.io/fh1BY
<ekleog> hmm ok so I guess it's just that xorg gets injected into llvm, because what could possibly go wrong
<ekleog> Ericson2314: Would you happen to know about the above? you appear to have made quite a few changes that relate to `newScope`
<{^_^}> [nixpkgs] @dotlambda opened pull request #54904 → home-assistant-cli: 0.3.0 -> 0.4.2 → https://git.io/fh1Bz
<{^_^}> [nixpkgs] @rasendubi merged pull request #54867 → awesome: 4.2 -> 4.3, don't clutter PATH, touchup lua paths → https://git.io/fhPAG
<{^_^}> [nixpkgs] @rasendubi pushed 3 commits to master: https://git.io/fh1Bb
kvda has joined #nixos
sinner has joined #nixos
sinner is now known as Guest43794
Guest62896 has quit [Ping timeout: 246 seconds]
dermetfan has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #54902 → sbcl updated, tested on nixos x86_64 → https://git.io/fh1Z3
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fh1R8
doyougnu has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5a3e195bcb3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
goibhniu has quit [Ping timeout: 240 seconds]
nD5Xjz has quit [Remote host closed the connection]
nD5Xjz has joined #nixos
MrCoffee has joined #nixos
Ariakenom has quit [Quit: Leaving]
aleph- has joined #nixos
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @markuskowa opened pull request #54905 → soapysdr: 0.7.0 -> 0.7.1 → https://git.io/fh10F
eadwu has quit [Quit: WeeChat 2.3]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @joachifm merged pull request #53080 → ibus-engines.table: 1.9.20 -> 1.9.21 → https://git.io/fhL22
<{^_^}> [nixpkgs] @joachifm pushed 3 commits to master: https://git.io/fh1Ee
<{^_^}> [nixpkgs] @joachifm closed pull request #46265 → ibus-engines.table: 1.9.20 -> 1.9.21 → https://git.io/fAzC5
sicklork1n has joined #nixos
dbmikus has quit [Quit: WeeChat 2.3]
ryantrinkle has quit [Ping timeout: 240 seconds]
doyougnu has joined #nixos
hellrazor has quit [Ping timeout: 240 seconds]
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #nixos
jtojnar has quit [Quit: jtojnar]
elgoosy has quit [Remote host closed the connection]