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
<iqubic> If you find the game folder, you sould be able to find it.
<Unode> ~/.steam/steam/steamapps/common/SpaceChem/mono: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=4abaff5cd70ac43fff1b4bb2ab84010dc7348de7, stripped
<Unode> maybe start there
maximiliantagher has joined #nixos
<iqubic> Wht does that mean?
<Unode> iqubic: do you know patchelf?
<iqubic> No. I really don't.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55241 → nim: 0.19.0 -> 0.19.4 → https://git.io/fh9Je
garbas has quit [Quit: WeeChat 2.3]
<iqubic> I also don't have patchelf installed.
<Unode> iqubic: ok, then read a little about it. That's the tool that will likely help you get around having binaries (such as steam games) working on nixos
garbas has joined #nixos
<iqubic> what should I do?
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3bd7a3b3b96 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
garbas has quit [Client Quit]
vk3wtf has joined #nixos
garbas has joined #nixos
eadwu has quit [Quit: WeeChat 2.3]
<iqubic> Unode: Are you still here?
eadwu has joined #nixos
<Unode> iqubic: yes but sorry, busy with other stuff.
<iqubic> It's fine.
<iqubic> How did you figure out that it was a mono issue?
<Unode> iqubic: you might want to rethink nixos for a gaming platform. You are getting yourself into a lot of pain by using it. Specially if you don't (yet) have the know-how to workaround the most common issues.
<Unode> iqubic: I poked in the game folder. Saw that it's mostly 32 bits and that it includes a bunch of MS-Windows files and a 'mono' binary.
garbas has quit [Client Quit]
<iqubic> I know. I know.
<Unode> from there I can only guess the problem has to do with /lib/ld-linux.so.2 which doesn't exist in nixos
garbas has joined #nixos
<iqubic> Right. I know.
<Unode> something that patchelf can help with.
<iqubic> Should I read up on patchelf, or do you want to help me?
<Unode> sorry I can't help right now. just giving you what I was able to identify from glancing at it
<iqubic> I'll look into it on my own.
<Unode> System.DllNotFoundException: libnative.so is also appearing here. So maybe mono fails to load that lib somehow.
<iqubic> As I told you before, that's a library written for this game in particular.
goibhniu has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/38a99219f3c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
andreabedini has joined #nixos
<{^_^}> [nixpkgs] @zachcoyle opened pull request #55242 → vimPlugins: init prettier → https://git.io/fh9JW
lassulus has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/d4a1e8975a6 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
lassulus has joined #nixos
__monty__ has quit [Quit: leaving]
Guanin has quit [Remote host closed the connection]
jackdk has quit [Ping timeout: 245 seconds]
vk3wtf has quit [Ping timeout: 252 seconds]
aanderse_ has joined #nixos
aanderse has quit [Ping timeout: 250 seconds]
lassulus has quit [Ping timeout: 246 seconds]
lassulus has joined #nixos
teehemka_ is now known as teehemkay[away]
teehemkay[away] has quit [Quit: ZZZzzz…]
<gchristensen> anyone been able to get nix's diff-hook to work?
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jluttine has quit [Ping timeout: 250 seconds]
nikola_i has joined #nixos
vk3wtf has joined #nixos
rcshm_ has joined #nixos
blumenkranz has joined #nixos
<blumenkranz> Hello. Do you happen to know how long does it take for an update to go through the whole Hydra process? I just had a Firefox update from 65.0 to 65.0, and I have seen the last update in the repos is from 4 days ago, and it just popped up now in my updates even though I have been using --upgrade the whole day.
rcshm has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #45412 → minecraft-server: 1.12.2 -> 1.13.2 + service refactor → https://git.io/fAJ0m
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fh9JK
<simpson> blumenkranz: http://howoldis.herokuapp.com/
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
<infinisil> blumenkranz: You can optionally also pick out a specific nixpkgs version that has a hydra build of firefox and use that for it
<blumenkranz> simpson: It's one hour old. How long does it usually take to update?
<blumenkranz> According to the GitHub, the last update to Firefox was 4 days ago, and I just got an "update" now.
<blumenkranz> But it's from 65.0 to 65.0
<gchristensen> firefox might have a new build, but stay the same version, if the tools used to build firefox changed
<blumenkranz> Ah, makes sense.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55243 → mutt: 1.11.2 -> 1.11.3 → https://git.io/fh9JM
cransom has quit [Ping timeout: 250 seconds]
aanderse has joined #nixos
aanderse_ has quit [Ping timeout: 250 seconds]
kvda has joined #nixos
<blumenkranz> By the by, I am also having an issue downloading the latest SteamRuntime. It attempts to download from Valve, but it 404s, and then it attempts to download from abbradar.net, but it's down, so the rebuild process gets stalled. Is there any way to unstuck it?
<blumenkranz> I am using "nixos-rebuild switch", but it still attempts to update.
<iqubic> I've come to the conclusion that steam on NixOS is a lie. It doesn't work as well as you would expect. It's a giant bed of lies.
<infinisil> blumenkranz: Something like this? https://github.com/NixOS/nixpkgs/issues/51476
<iqubic> Yes, I am still pissed that I can't get my game to work on steam.
<{^_^}> #51476 (by tejing1, 9 weeks ago, closed): Steam won't install - cannot download libacl1.deb from any mirror
<iqubic> On nixos it fails.
<blumenkranz> infinisil: Yeah, that sounds like what's happening right now, except it's preventing my whole system from updating.
<Unode> iqubic: may I ask why you chose nixos for operating system?
<infinisil> blumenkranz: what channel? are you up to date?
<blumenkranz> nixos-unstable. I used to be up to date up until... one hour ago.
<blumenkranz> iqubic: Probably not an answer, but Proton games generally work fairly well.
<infinisil> blumenkranz: Hmm, maybe we need to update the runtime files again..
<iqubic> because I only play one or two games, and I love the reproducible builds.
<infinisil> Like mentioned in the issue
ryantrinkle has joined #nixos
<Unode> iqubic: here's a plan B. Install steam on wine, and run the games there/
<iqubic> blumenkranz: It doesn't work for my game. I tried that yesterday.
<iqubic> Unode: I'll try that.
<blumenkranz> May I ask which gaem?
<iqubic> SpaceChem.
<Unode> mono based, 32bits
<Church-> blumenkranz: For steam use the version from master
<blumenkranz> infinisil: Does it usually take long?
<Unode> iqubic: make sure you get a 32bit wine prefix running
<iqubic> How do I verify that?
<Unode> WINEARCH or some other env like that
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55244 → ocamlPackages.psmt2-frontend: 0.1 -> 0.2 → https://git.io/fh9JQ
<iqubic> Also, shouldn't I try the patchelf stuff first?
xkapastel has quit [Quit: Connection closed for inactivity]
<blumenkranz> iqubic: That's pretty weird. Most of the native games I have tried worked well, except Borderlands 2, which needed some tweaks to skip the video cutscenes.
<Unode> iqubic: not unless you know what you are doing. From what I checked it's probably easier to go with wine
<Unode> blumenkranz: I think the game does some weird stuff to load libraries into mono.
ingenieroariel has joined #nixos
<blumenkranz> Are you using firejail to run steam, by any chance?
<iqubic> no.
<blumenkranz> Mmm...
<iqubic> Is there anyone I can get Mono 4.2.4 on Nixos?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/904e9ab0485 (from 77 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
thc202 has quit [Ping timeout: 268 seconds]
<blumenkranz> I mentioned it because the default profile includes seccomp, which breaks some instances of library linking.
<Unode> iqubic: maybe an old nixpkgs commit
<iqubic> How do I get firejail set-up?
<iqubic> I don't have that right now.
<ingenieroariel> hello channel, I packaged today Blender 2.8 beta for nixos, really recommended, in particular for kids (my daughter is going crazy making doll houses and exporting them to a VR app on the iPad). https://github.com/NixOS/nixpkgs/issues/55240
<{^_^}> #55240 (by ingenieroariel, 1 hour ago, open): Provide Blender 2.8 beta as an option
<infinisil> ingenieroariel: Phew, just thought I read Slender instead of Blender and was worried for a second
<blumenkranz> iqubic: You need to "programs.firejail.enable = true", then add to "programs.firejail.wrappedBinaries" the line 'steam = "${pkgs.steam}/bin/steam";'
<ingenieroariel> But I have no idea how to contribute it back to nixpkgs as it is a beta release, for now I am trying to package it in my nur repo
<blumenkranz> But I warn you, it's an abstract kind of hell.
<blumenkranz> Everything breaks twice as much.
jackdk has joined #nixos
<blumenkranz> Only consider it if you are feeling particularly masochistic.
teehemkay[away] has joined #nixos
<iqubic> blumenkranz: Does it make steam games work better?
<ingenieroariel> infinisil: Slender Man, ¡corre por tu vida!
<blumenkranz> iqubic: Nah, it just sandboxes them.
<blumenkranz> You can configure it to block everything non-essential.
<iqubic> So why did you suggest that as a potential fix to my issues?
<blumenkranz> No, I mentioned it as a potential causation hahaha
<blumenkranz> Just in case you were running it.
<iqubic> Oh. I see.
<iqubic> Unode: How do I force the use of 32 bit wine.
<Unode> iqubic: google is your friend here
<blumenkranz> iqubic: It appears in the NixOS wiki's article on Wine.
<Unode> iqubic: and that link infinisil pointed you to back there is a really good read
<iqubic> The one about how to ask questions?
teehemkay[away] has quit [Ping timeout: 250 seconds]
jluttine has joined #nixos
<blumenkranz> infinisil: Should I open an issue on GitHub about the steam thingy, if only for bureaucratic purposes?
<infinisil> blumenkranz: Yeah, and ping some people, like the ones that were involved in previous such problems
<infinisil> Would be appreciated :)
<infinisil> (and will get it fixed faster, if you can't fix it yourself)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55245 → openfst: 1.6.9 -> 1.7.1 → https://git.io/fh9UU
<ingenieroariel> can anyone teach me how to turn this https://github.com/NixOS/nixpkgs/issues/55240#issuecomment-460464077 into something I can put on my /etc/nixos/configuration.nix ?
<Unode> iqubic: not just that section, the whole document.
<ingenieroariel> I already know how to do it through nur repos (but that takes a day or two to become available)
<infinisil> ingenieroariel: Ah yeah, that's an overlay, just put `nixpkgs.overlays = [(self: super: ...)];` into configuration.nix
teehemka_ has joined #nixos
<infinisil> Or alternatively, put the `self: super: ...` thing into a file blender-overlay.nix, then use `nixpkgs.overlays = [ (import ./blender-overlay.nix) ]`
o1lo01ol1o has joined #nixos
<blumenkranz> infinisil: oh wait, it seems like abbradar.net is back online
<blumenkranz> Maybe it was just a temporary shortager
<blumenkranz> It's slow as hell, but it seems to be advancing
<iqubic> steam on wine is being a large pain.
<infinisil> blumenkranz: Ah nice
<blumenkranz> That said, is it normal it is downloading from abbradar and not Volvo's servers?
cransom has joined #nixos
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fh9UZ
<iqubic> So I can't get steam to work on wine on linux.
teehemka_ is now known as teehemkay[away]
teehemkay[away] is now known as teehemka_
Guest58298 has quit [Ping timeout: 250 seconds]
<ingenieroariel> thanks infinisil
<ingenieroariel> I ended up putting it directly in configuration.nix, for masochistic reasons I decided to not split my config until I reach the 1000 lines limit
silver has quit [Read error: Connection reset by peer]
blumenkranz has quit [Quit: WeeChat 2.3]
<iqubic> So yeah. This mono game is a right pain.
sicklorkin has joined #nixos
<iqubic> Because steam on wine crashed several times just now.
<aanderse> does anyone have any thoughts on why @GrahamcOfBorg is reporting success on tests.redmine yet not really showing any meaningful log for this PR: https://github.com/NixOS/nixpkgs/pull/55234 ?
<{^_^}> #55234 (by aanderse, 3 hours ago, open): redmine: 3.4.8 -> 4.0.1
<ingenieroariel> now that I see how overlays work I am tempted to move my custom vim package (hacked within the packages section to an overlay): https://gist.github.com/ingenieroariel/3e068d7bda9839f18724b956aceaf864
teehemka_ is now known as teehemkay[away]
teehemkay[away] has quit [Quit: ZZZzzz…]
Ralith_ has quit [Remote host closed the connection]
<DigitalKiwi> iqubic: are you using wine by itself or playonlinux
ingenieroariel has quit [Quit: Page closed]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iqubic> I was trying to use native steam because my game claimed to run on linux. Failing that I went to straight wine.
<DigitalKiwi> oh
<iqubic> SpaceChem is the game that I'm trying to run.
kvda has joined #nixos
teehemka_ has joined #nixos
<bpye> Hey, is there a good solution to managing secrets with nixops?
<bpye> I'd like to be able to commit my nixos configs to GitHub whilst keeping secrets... secret
<DigitalKiwi> would git-secrets help ?
andreabedini has joined #nixos
<bpye> Yeah it looks like that could work
<gchristensen> I keep a secrets.nix that I ust don't check in
<gchristensen> I don't trust anything which involves mixing secrecy levels in the same repo
<bpye> That is also a reasonable approach to take
upsaday_ has quit [Remote host closed the connection]
<bpye> I do already manage a GPG keypair though
<gchristensen> yeah, but it doesn't help if you accidentally forget to encrypt something
<DigitalKiwi> also you can have private repos on github now
<bpye> That's true :)
<gchristensen> you might be smarter / more capable than I am, but I have personally accidentally pushed unencrypted private keys because I thought git-crypt had encrypted them.
<aanderse> gchristensen: so you keep your secrets in the nix store? is it just you with access to the box?
<gchristensen> (ps: don't depend on github private repos to keep secrets secret https://blog.github.com/2016-10-28-incident-report-inadvertent-private-repository-disclosure/)
<hodapp> raaawr, don't put your secrets in version control in general
<bpye> There is some value in versioning secrets though
<gchristensen> use a different reop?
jasongrossman has joined #nixos
<gchristensen> and don't push it
<bpye> Maybe I'm best running gogs locally for that sort of thing, but then I'm in a bit of a catch 22 if I need to get that repo and my machine fails
<gchristensen> use a different, private repo, which is encrypted?
<DigitalKiwi> has bitbucket had incidents
hellrazo1 has quit [Ping timeout: 246 seconds]
<gchristensen> will they have incidents? yes
<bpye> I feel like it's less if and more when will an incident occur. Unfortunately that crap happens to everyone...
<bpye> I'm glad we're on the same page
mibbitabc1234567 has joined #nixos
<DigitalKiwi> just store everything on an encrypted drive and forget the password like i do
<bpye> Managing private data, ensuring you have backups and ensuring it stays secret is definitely non-trivial
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
mibbitabc1234567 has quit [Client Quit]
lux1 has quit [Ping timeout: 244 seconds]
Ariakenom has quit [Quit: Leaving]
<bpye> Sounds like a solid plan
<DigitalKiwi> my secrets are safe with me even i don't know them!
countingsort has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
maximiliantagher has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
sigmundv_ has quit [Ping timeout: 240 seconds]
sicklorkin has quit [Ping timeout: 272 seconds]
maximiliantagher has quit [Ping timeout: 245 seconds]
fresheyeball has joined #nixos
<fresheyeball> so I just got around to upgrading to ghc863
<fresheyeball> got all the deps builds
<fresheyeball> it compilers in the nix-shell
<fresheyeball> it compiles* in the nix-shell
<fresheyeball> but fails on nix-build
<fresheyeball> *** abort because of serious configure-time warning from Cabal
<fresheyeball> what on earth is this fresh hell
<teto> is it possible to merge https://github.com/NixOS/nixpkgs/pull/54948 ? the change is just version+hash but the package is long to build because rust builds everything (btw, I run this commit for the past few days without problem)
<{^_^}> #54948 (by teto, 5 days ago, open): LanguageCLient-neovim: virttext support
teehemka_ is now known as teehemkay[away]
<ottidmes> fresheyeball: how do you call nix-shell and nix-build?
<fresheyeball> `nix-shell` and `nix-build` no args or nothin
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<ottidmes> then can you paste your shell.nix and your default.nix? I am asking because it might be that you be using different nixpkgs between them
<ottidmes> or something else, but the more data, the better
<ottidmes> personally I never run nix-build without arguments, either `nix-build '<nixpkgs>' --attr pkg` or `nix-build --expr 'with import <nixpkgs> { }; callPackage ./. { }'`
teehemkay[away] has quit [Quit: ZZZzzz…]
<ottidmes> same for nix-shell, or my shell.nix has a { pkgs ? import <nixpkgs> { } } at the top, either way, I am always explicit about using <nixpkgs>, so I rule out it using some other mechanism
<fresheyeball> ottidmes: sure
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55246 → mopidy-iris: 3.31.8 -> 3.32.1 → https://git.io/fh9Uy
<iqubic> Well, I'm running into an issue with playonlinux.
<iqubic> It can't seem to find any OpenGL libraries. Not the 64-bit libraries or the 32-bit ones either.
<fresheyeball> iqubic: https://dpaste.de/O09s
<fresheyeball> that is default.nix
<iqubic> Why are you showing that too me?
<iqubic> It doesn't seem to relate to me.
<iqubic> Did you perhaps me to ping ottidmes?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55247 → mercurialFull: 4.8.2 -> 4.9 → https://git.io/fh9US
<ottidmes> fresheyeball: nix/pkgs.nix is that somehow importing your nixpkgs repo?
<fresheyeball> ottidmes: I don't have a shell.nix
<fresheyeball> ottidmes: its a file that uses a pinned version, and does an overlay
<iqubic> I can't understand why PlayOnLinux is giving me those messages, but then proceeding to work correctly?
<ottidmes> fresheyeball: what then does nix-shell do for you?
<ottidmes> fresheyeball: anyway, I guess the problem lies into your runtime system using something different than your pinned nixpkgs
<fresheyeball> it setups up a an environment where I can build my software, and supplies additional developer tools and scripts
<fresheyeball> but essentially its the same as cabal2nix ./. --shell
<ottidmes> fresheyeball: which has: { nixpkgs ? import <nixpkgs> {}, compiler ? "default", doBenchmark ? false }: which is not your pinned repo
<iqubic> so what should I do about this PlayOnLinux issue?
<ottidmes> iqubic: not that I will be able to help you with your issue, but maybe paste the actual errors?
mizu_no_oto has joined #nixos
<iqubic> there aren't any errors yet.
<ottidmes> fresheyeball: how about: nix-shell --arg nixpkgs 'import nix/pkgs.nix' ?
<iqubic> Just PlayOnLinux telling me that my games might not work.
<fresheyeball> there isn't an arg because my default.nix is not a function
<iqubic> PlayOnLinux is fine to continue without knowing where the library is.
<fresheyeball> it statically expresses an env and does not have arguments beyond the ones you see in the file
<ottidmes> fresheyeball: huh? nix-shell uses shell.nix, which you just said was basically what is being outputted by cabal2nix ./. --shell, or does --shell not just generate a shell wrapper around what it would normally generate for default.nix?
Dagger has quit [Excess Flood]
<fresheyeball> what it generates does shell as well as build
Dagger has joined #nixos
<iqubic> you should just post the generated shell.nix.
<ottidmes> fresheyeball: I know, but I am quite sure that that is the cause of your problem, the thing I mentioned, about it mentioned <nixpkgs> while you want to use nix/pkgs.nix
<mdash> ottidmes: do you still use bitwarden_rs?
<ottidmes> fresheyeball: I am just not sure what you mean with "there isn't an arg because my default.nix is not a function"
<ottidmes> mdash: yep
<ottidmes> fresheyeball: that I got from your default.nix, but I was using nix-shell, there, so I am confused
<mdash> ottidmes: is your gist up to date? ;-)
<ottidmes> mdash: that is the gist I am running on my server, yes
<mdash> i see it's not in nixpkgs yet
<mdash> ottidmes: ok cool
<ottidmes> mdash: correct, I do not want to publish it without the web frontend packaged as well, but I have tried a few times, but was unable to package it on NixOS (I got it working for myself by just going outside of Nix, and just using npm directly, since its only needed to generate the HTML files, nothing more)
<mdash> ottidmes: i'll have a whack at it
<mdash> any particular speed bumps you remember?
<ottidmes> please do, I kept getting stuck mostly on one dependency not being supported
<ottidmes> it uses the git:// protocol
<mdash> joy :-[
<ottidmes> which they do not like (node2nix, yarn2nix both variants)
<ottidmes> mdash: I even tried an insane workaround, hijacking the calls to git and faking the responses for that dependency, but that did not work out
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<mdash> ottidmes: first thing that comes to mind is the brute force approach of writing a derivation for it first and supplying it as an override
<ottidmes> mdash: "duo_web_sdk": "git+https://github.com/duosecurity/duo_web_sdk.git" is the dependency creating all kinds of problems
<mdash> yep
<ottidmes> mdash: yeah maybe if it was supplied by an explicit fetchGit or some such it might work
<ottidmes> mdash: seems like it already does
<ottidmes> not sure which of my attempts this was, but I generated node-packages.nix with one of the tools, and it does use fetchgit properly for the git dependency
<ottidmes> ah, node2nix did that (comment at top)
<ottidmes> mdash: another problem case is opencollective
<ottidmes> mdash: but that one the workaround worked properly for (I just create a /bin/opencollective that always returns 0)
iqubic has quit [Remote host closed the connection]
<ottidmes> mdash: I can give you my attempt
<mdash> mmm I get a different cargoSha256 than you did apparently
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55248 → lynis: 2.7.0 -> 2.7.1 → https://git.io/fh9Up
<gchristensen> I did a thing as a quick two-evening hack, calculating how reproducible our minimal ISO is. Out of 1,244 build steps, 1,225 are bit-for-bit reproducible (98.473%)! check it out https://r13y.com/
<mdash> i'm also getting "Unable to update https://github.com/lettre/lettre?rev=c988b1760ad81#c988b176"
<mdash> gchristensen: nice
<ottidmes> https://gist.github.com/ottidmes/751659ac9a7ff8a601c72438f09edc85 I updated the gist with all files I have
<mdash> ottidmes: thanks!
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dtzWill merged pull request #55228 → swift: 4.2.1 -> 4.2.2 → https://git.io/fhShO
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fh9Uj
<ottidmes> mdash: mind you its a complete mess, but as long as I could get something working first, then I could probably throwaway most of it anyways
<mdash> that's how i feel about most of what i write
kvda has joined #nixos
<mdash> ottidmes: are you using nixos-unstable?
<ottidmes> mdash: ahh, sorry, yes, but only for Rust ;)
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2d6f84c1090 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<mdash> alrighty
slack1256 has joined #nixos
<ottidmes> mdash: because Rust stable on nixos-unstable has version 1.31 of Rust, which is needed by all things I had to package for Rust so far
<fresheyeball> how can I get this $NIX_BUILD_TOP/cabal-configure.log file?
<fresheyeball> post build I need to see waht it say
<fresheyeball> wat it say, me need see
daniele- has joined #nixos
<mdash> fresheyeball: for debugging your build, or as part of the output?
<mdash> fresheyeball: for the former you can just use 'nix-build -K'
<{^_^}> [nixpkgs] @dtzWill merged pull request #55231 → papirus-icon-theme: 20190106 -> 20190203 → https://git.io/fhSjr
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fh9Tk
<fresheyeball> mdash: I am debugging this error, *** abort because of serious configure-time warning from Cabal
<fresheyeball> from nix-build
<ottidmes> mdash: I have to go now, to get some sleep, but I think your idea of prepackaging that problematic dependency seperately is probably the only way to make it work
<fresheyeball> I can build in nix-shell just fine
<mdash> ottidmes: i'll let you know
<ottidmes> mdash: ok, that would be awesome, bye!
<mdash> fresheyeball: -K will leave the build dir in /tmp so you can look at it
<fresheyeball> mdash: just nix-build -K
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<DigitalKiwi> what does it mean when there are -unwrapped versions of things
<mdash> DigitalKiwi: that the one that goes in the environment is a wrapper
<yl[m]> gchristensen: that's awesome!
<yl[m]> I see some timestamps in there
<DigitalKiwi> i don't know what that means
nodyn has joined #nixos
ottidmes has quit [Ping timeout: 268 seconds]
<mdash> DigitalKiwi: a wrapper is a shell script that sets some env vars or whatever else is needed before starting the real program
drakonis has quit [Quit: WeeChat 2.3]
<fresheyeball> mdash:++
<fresheyeball> mdash++
<{^_^}> mdash's karma got increased to 1
<fresheyeball> thanks that command is a hidden gem
<gchristensen> yl[m]: timestamps are easyish to fix, usually just a small patch :)
<yl[m]> gchristensen: most likely it's the same issue for binaries as well
jasongrossman has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/fe792ef27a6 (from 22 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
endorphin has joined #nixos
<daniele-> hi there. has anyone installed nixos in a systemd-nspawn container? i just tarted with nixos and i have a problem regarding the /etc/os-release file. nspawn does not like the fact that it is a symlink
endorphin has quit [Client Quit]
<fresheyeball> mdash: now that I found the error message
<fresheyeball> it's very helpful as to what is wrong https://dpaste.de/hXaJ
<fresheyeball> but now how to fix it
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #55249 → fff: 2.0 -> 2.1 → https://git.io/fh9Ts
<rnhmjoj> is it acceptable to "package" a software in nixpkgs by directly calling a nix espression in the source of the package itself?
<clever> rnhmjoj: IFD isnt allowed within nixpkgs, it ruins the speed of nix-env -q
<fresheyeball> is there a way I can just force my way past this?
endorphin has joined #nixos
<fresheyeball> I just tried doJailbreak
<fresheyeball> no love, same problem
endorphin has left #nixos [#nixos]
kleisli has joined #nixos
<clever> fresheyeball: you have 2 different versions being mixed in, you need to ensure everything comes from the same haskellPackages and same override set
<clever> fresheyeball: can you link the nix expressions?
<fresheyeball> clever: https://dpaste.de/bdJp this is the important bit
<DigitalKiwi> mdash: ok, ty
<clever> fresheyeball: where is the version of haskell-src-exts coming from?
<fresheyeball> clever: https://dpaste.de/hXaJ
<clever> thats not the nix expression the 2 versions came from
<fresheyeball> clever: thats an odd thing to say
<clever> fresheyeball: it looks like you have 2 different versions of haskell-src-exts defined in the nix, somewhere
<clever> and then different things are building against different versions
<fresheyeball> hlint and beam are conflicting
<clever> then when you bring those things together, you now have 2 haskell-src-exts in scope
<clever> yeah, beam has one version, hlint has another
<clever> but how did they even get different versions to begin with?
<fresheyeball> clever: that's the expression my dude
<fresheyeball> btw this is hlint the library
<clever> fresheyeball: probably
eadwu has quit [Quit: WeeChat 2.3]
<clever> nix-repl> :b haskellPackages.beam-core
brejoc has joined #nixos
<fresheyeball> clever: what do you mean?
daniele-_ has joined #nixos
<clever> this cmd should build beam-core
daniele- has quit [Ping timeout: 245 seconds]
<daniele-_> .
slack1256 has quit [Remote host closed the connection]
<clever> fresheyeball: though beam-core doesnt depend on the problem package, checking further...
o1lo01ol1o has quit [Remote host closed the connection]
slack1256 has joined #nixos
<clever> fresheyeball: ok, i can confirm beam-migrate depends on haskell-src-exts-1.20.3
<clever> nix-repl> haskellPackages.haskell-src-exts
<clever> «derivation /nix/store/9b9f91i4vdwq2irw7lalava5a57f5vd0-haskell-src-exts-1.20.3.drv»
<clever> nix-repl> haskellPackages.haskell-src-exts_1_21_0
<clever> «derivation /nix/store/x920qvxym9pffrcn3jqxhi7phrfg7zhs-haskell-src-exts-1.21.0.drv»
<clever> fresheyeball: aha, here is the problem!
<{^_^}> [nixpkgs] @dtzWill merged pull request #55064 → libva[,-utils}: 2.3.0 -> 2.4.0 → https://git.io/fhSIA
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fh9TW
<clever> fresheyeball: hlint is using one attr, beam the other
<fresheyeball> clever: what do you mean be attr?
<clever> fresheyeball: you need to use the {} at the end of callPackage (or .override) to force them all to use the same one
<clever> fresheyeball: the attributes of haskellPackages
<clever> there are 2 versions of haskel-src-exts available
<{^_^}> [nixpkgs] @dtzWill merged pull request #55063 → intel-media-driver: 18.3.0 -> 18.4.0 → https://git.io/fhSI7
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fh9Tl
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<fresheyeball> clever: I just dont understand what you are saying
<clever> fresheyeball: haskellPackages.haskell-src-exts is 1.20.3, haskellPackages.haskell-src-exts_1_21_0 is 1.21.0
<fresheyeball> clever: oic
<fresheyeball> ok
<clever> you want to use .override, or the {} at the end of callCabal2nix, to force a specific one
<clever> then everything will be on the same version and conflicts wont exist
<fresheyeball> you are saying I should pass { haskell-src-exts = myPin } to one, and { haskell-src-exts_1_21_0 = myPin } and pass to the other?
<mdash> alright looks like i need to use rust nightly for latest version of bitwarden-rs
<fresheyeball> I don't totally understand what you suggest
<clever> fresheyeball: yeah, that should fix it
<clever> fresheyeball: you can also just do haskell-src-exts_1_21_0 = self.haskell-src-exts
<clever> and not directly pin it
<mdash> is checking out the nixpkgs-mozilla repo really the only way to us eit from configuration.nix?
<fresheyeball> clever: which package needs that? htlint?
<fresheyeball> or beam?
nodyn has quit [Ping timeout: 246 seconds]
<clever> fresheyeball: thats a harder question, youll need to just pick one, and see if it gets upset over you changing the version
<mdash> I tried " nixpkgs.overlays = [ import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz) ];" but i'm getting infinite recursion errors
<clever> mdash: that is a list containing a function (import) and a string
<clever> mdash: the function has not been applied to the string
lassulus_ has joined #nixos
<fresheyeball> clever: I mean which one is using the funky attr version?
<fresheyeball> I thought you just uncovered this
<mdash> clever: siiiiiiiiigh
<mdash> clever: i trip over this about every three months
<mdash> 'swhat I get for trying to do stuff on a sick day
<clever> nix-repl> haskellPackages.beam-migrate.meta.position
<clever> "/nix/store/yw9x53rmfw3swr3vr0pnqy29gnaxjsji-cabal2nix-beam-migrate/default.nix:7"
<clever> fresheyeball: this exposes the .nix file behind beam-migrate
<fresheyeball> clever: I am not using it
<clever> fresheyeball: beam-migrate is doing haskell-src-exts
<clever> nix-repl> haskellPackages.hlint.meta.position
<fresheyeball> I am using callCabal2nix
<clever> "/nix/store/9s913lgsy4ravr2m0iqyb92646jlidnk-source/pkgs/development/haskell-modules/hackage-packages.nix:108250"
<clever> fresheyeball: callCabal2nix generates a nix file, in the /nix/store/
<clever> fresheyeball: and then callPackages's that
<clever> so you still have a nix file
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
<clever> hlint also uses haskell-src-exts
countingsort has joined #nixos
<clever> fresheyeball: oh, you can also use your overlays to just set haskell-src-exts_1_21_0 = throw "stop doing that";
<clever> fresheyeball: then it will give a clear error, when something didnt stop doing it
pie__ has joined #nixos
<clever> error: while evaluating the attribute 'propagatedBuildInputs' of the derivation 'hlint-2.1.14' at /nix/store/9s913lgsy4ravr2m0iqyb92646jlidnk-source/pkgs/stdenv/generic/make-derivation.nix:183:11:
hellrazo1 has joined #nixos
slack1256 has quit [Remote host closed the connection]
<clever> configuration-common.nix: hlint = super.hlint.overrideScope (self: super: { haskell-src-exts = self.haskell-src-exts_1_21_0; });
<clever> fresheyeball: aha, i found the problem line
<clever> 1176 # The LTS-12.x version doesn't suffice to build hlint, hoogle, etc.
<clever> 1177 hlint = super.hlint.overrideScope (self: super: { haskell-src-exts = self.haskell-src-exts_1_21_0; });
pie___ has quit [Ping timeout: 240 seconds]
<clever> fresheyeball: an override already exists, forcing hlint to use the 1.21.0 version
<clever> fresheyeball: so, you need to either haskell-src-exts = self.haskell-src-exts_1_21_0; the entire overlay, or target that to a few things
slack1256 has joined #nixos
infinee has joined #nixos
<clever> and applying that globally breaks cabal2nix build
<clever> 86 beam-migrate = doJailbreak (hself.callCabal2nix "beam-migrate" "${beam}/beam-migrate" { haskell-src-exts = hself.haskell-src-exts_1_21_0; });
<clever> fresheyeball: but it does eval if i apply to just beam-migrate
infinee has quit [Client Quit]
<fresheyeball> clever: https://dpaste.de/MJTN
infinee has joined #nixos
<fresheyeball> I set `haskell-src-exts = hself.haskell-src-exts_1_21_0;
<clever> yeah, you broke cabal2nix
<fresheyeball> haha oh no!
infinee has left #nixos [#nixos]
<clever> which is why i switched to applying it only to beam-migrate
<fresheyeball> what is wrong with what I did?
infinee_ has joined #nixos
<clever> cabal2nix (or its deps) dont like that override
<clever> and callCabal2nix needs cabal2nix
infinee_ is now known as infinee
o1lo01ol1o has joined #nixos
gagbo has quit [Quit: I'm out !]
<fresheyeball> clever: beam-migrate fails now
<fresheyeball> Setup: Encountered missing dependencies:
<fresheyeball> haskell-src-exts >=1.18 && <1.21
<clever> fresheyeball: doesnt do that for me
Church_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<teto> did sthg change regarding filesystems options ? nixops can't deploy anymore after rebasing nixpkgs on nixos-unstable
<fresheyeball> clever: https://dpaste.de/ue4W
<fresheyeball> omg
<fresheyeball> this might just be a busted commit
<fresheyeball> no way that is a nix issue as far as I can tell
<clever> fresheyeball: upstream has added the instance properly, and due you you using a newer version, the now conflict
<clever> fresheyeball: so you need to patch beam-migrate to not add a duplicate
<fresheyeball> clever: what do you mean?
<fresheyeball> how can this be interacting with upstream
<fresheyeball> I am trying to build a specific hash of beam from github
<clever> fresheyeball: upstream added a Hashable instance to its own types
<clever> haskell-src-exts
<clever> and now that your forcing a newer version, Hashable is already there
<fresheyeball> clever: omg
<clever> so you have to delete the Hashable from beam-migrate
<teto> yep nixops seems broken while evaluating the attribute 'options' at /home/teto/nixpkgs/lib/modules.nix:226:37:
<teto> 'mkOption' at /home/teto/nixpkgs/lib/options.nix:30:5 called with unexpected argument 'options', at /home/teto/nixops/nix/gce.nix:382:19
<clever> teto: they are called submodules now, youll need to either use a newer nixops, or an older nixpkgs
<teto> clever: I rebased on nixops master but it lacks the update
<{^_^}> nixops#1088 (by delroth, 2 days ago, open): filesystem options: fix use of deprecated mkOption { options = ...; }
<clever> teto: then youll either need to , ah, already fixed
<teto> \o/
upsaday has joined #nixos
<mdash> mmm getting so close, now i'm just getting "error[E0463]: can't find crate for `std`"
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55250 → mpfr: 4.0.1 -> 4.0.2 → https://git.io/fh9Ty
o1lo01ol1o has quit [Ping timeout: 246 seconds]
Edes has joined #nixos
<Edes> Does anyone know who's in charge of managing the raspberry pi build/article for nixos
<Edes> I got the new one (3 A+) and want to report that it's not working
<Edes> unless I get it working then I'll report otherwise
toc^ has quit []
jackdk has quit [Ping timeout: 240 seconds]
rcshm_ has quit [Remote host closed the connection]
rcshm has joined #nixos
Soo_Slow has joined #nixos
rcshm has quit []
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55251 → live555: 2018.12.14 -> 2019.02.03 → https://git.io/fh9Tx
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @kalbasit pushed to master « amass: 2.8.5 -> 2.9.1 »: https://git.io/fh9Th
Edes has quit [Ping timeout: 272 seconds]
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kalbasit pushed to master « Revert "amass: 2.8.5 -> 2.9.1" »: https://git.io/fh9kf
hph^ has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #55252 → amass: 2.8.5 -> 2.9.1 → https://git.io/fh9kU
rauno has quit [Ping timeout: 264 seconds]
vk3wtf has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
jasongrossman has joined #nixos
jasongrossman has quit [Client Quit]
jasongrossman has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
dave_uy has quit [Quit: The Lounge - https://thelounge.github.io]
dave_uy has joined #nixos
brejoc has joined #nixos
spacekitteh[m] has joined #nixos
simukis has joined #nixos
<daniele-_> how can i have the config.php re-generated when i run `nixos-rebuild switch`?
daniele-_ is now known as daniele-
upsaday has quit [Remote host closed the connection]
upsaday has joined #nixos
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55253 → kubectx: 0.6.2 -> 0.6.3 → https://git.io/fh9kl
<adisbladis> daniele-: That would already happen provided one of the inputs change
<daniele-> adisbladis: right, i forgot to mention that what i changed is the template
<daniele-> nixos-rebuild did not pick up the changes
<adisbladis> daniele-: The template is also an input to your derivation
<adisbladis> So that would also trigger a rebuild
<daniele-> it did not
orivej has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55254 → latte-dock: 0.8.4 -> 0.8.5 → https://git.io/fh9k0
brejoc has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
upsaday has quit [Remote host closed the connection]
upsaday has joined #nixos
<kleisli> what does the angle bracket syntax do, that i see so often in '<nixpkgs>'
<adisbladis> kleisli: Loads from NIX_PATH environment variable
<adisbladis> kleisli: Let's say your NIX_PATH="/etc/nixos", then "import <nixpkgs> {}" would be the same as "import /etc/nixos/nixpkgs {}"
<clever> nix-instantiate --find-file nixpkgs
<clever> then add -I flags, and mess with NIX_PATH, to see what it does
<kleisli> thank you
<{^_^}> [nixpkgs] @adisbladis pushed to master « pulseaudio-modules-bt: Use pulseaudioFull as pulseaudio »: https://git.io/fh9k2
hellrazo1 has quit [Ping timeout: 240 seconds]
Ariakenom has joined #nixos
wigust has quit [Ping timeout: 246 seconds]
Soo_Slow has quit [Remote host closed the connection]
simukis has quit [Quit: simukis]
upsaday has quit [Remote host closed the connection]
upsaday has joined #nixos
wigust has joined #nixos
griff_ has joined #nixos
bpa has joined #nixos
codezero has quit [Quit: Ping timeout (120 seconds)]
petersjt014_ has joined #nixos
codezero has joined #nixos
petersjt014 has quit [Ping timeout: 245 seconds]
upsaday has quit [Remote host closed the connection]
upsaday has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55256 → libgit2_0_27: 0.27.7 -> 0.27.8 → https://git.io/fh9kM
hellrazor has joined #nixos
bpa has quit [Remote host closed the connection]
upsaday has quit [Remote host closed the connection]
bpa has joined #nixos
upsaday has joined #nixos
Guanin has joined #nixos
simukis has joined #nixos
simukis has quit [Client Quit]
upsaday has quit [Remote host closed the connection]
upsaday has joined #nixos
<{^_^}> [nixpkgs] @CMCDragonkai opened pull request #55257 → Backport fixes to tensorflow to release-18.09 → https://git.io/fh9kd
upsaday has quit [Remote host closed the connection]
agander has joined #nixos
upsaday has joined #nixos
Makaveli7 has joined #nixos
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55258 → libtommath: 1.0.1 -> 1.1.0 → https://git.io/fh9kA
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55259 → libsolv: 0.7.2 -> 0.7.3 → https://git.io/fh9kh
lassulus has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @dywedir opened pull request #55260 → ncdu: 1.13 -> 1.14 → https://git.io/fh9IU
juliendehos has joined #nixos
griff_ has quit [Quit: griff_]
jasongrossman has quit [Ping timeout: 272 seconds]
_praetorg_ has joined #nixos
praetorg_ has quit [Ping timeout: 246 seconds]
vk3wtf has quit [Ping timeout: 268 seconds]
Church_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55261 → librealsense: 2.17.1 -> 2.18.0 → https://git.io/fh9Iu
Makaveli7 has quit [Quit: Leaving]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55262 → libiio: 0.16 -> 0.17 → https://git.io/fh9IS
goibhniu has joined #nixos
periklis has joined #nixos
Ariakenom has joined #nixos
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #55263 → DO NOT MERGE lua: Add more packages from a generated source → https://git.io/fh9Lk
tzemanovic has joined #nixos
simukis has joined #nixos
simukis has quit [Remote host closed the connection]
simukis has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55264 → kubernetes: 1.13.2 -> 1.13.3 → https://git.io/fh9LZ
upsaday_ has joined #nixos
__Sander__ has joined #nixos
<teto> anyone familiar with cmake enough to have an idea how to solve `Could NOT find Lua (missing: LUA_LIBRARIES) (found suitable version "5.1.4", minimum required is "5.1")` (full log https://paste.ubuntu.com/p/RbPq4P3Mpf/). Would writing a .pc file for luajit solve the problem for instance ?
__monty__ has joined #nixos
blumenkranz has joined #nixos
daniele- has quit [Quit: daniele-]
upsaday has quit [Ping timeout: 250 seconds]
<blumenkranz> Hello. Yesterday I had some issues updating steam due to the steamrt mirror acting wonky. It is true there has been a steamrt update lately, but checking the nixos-unstable git ahows the last commit for the
<blumenkranz> *the last commit shows its last update was 3 months ago. Can it be possible the package has been rebuilt due to some dependencies updating, and has to redownload aaaal of it again?
slack1256 has joined #nixos
<blumenkranz> Like, for example, if python (which is a steam-runtime dependency) has been updated, it has to rebuild the steam-runtime package without reusing the cache.
<__monty__> Maybe it depends on stdenv or something? That might cause a rebuild, yeah.
agander_ has joined #nixos
<__monty__> It can't use the cached artifact because the identifying hash is based on the dependencies. So if the dependencies change the hash changes.
<blumenkranz> Depends on python2, dpkg and bintools
<__monty__> It should probably be a fixed output expression though.
civodul has joined #nixos
tzemanovic has quit [Remote host closed the connection]
<blumenkranz> Guess an update to any of those would explain the rebuild, but I dunno why it doesn't happen more often.
tzemanovic has joined #nixos
agander has quit [Ping timeout: 240 seconds]
<__monty__> Nixos-unstable's probably updated less frequently than nixpkgs-unstable?
<clever> varies
<clever> nixpkgs-unstable can be held back by darwin failures
<clever> nixos-unstable can be held back by nixos levels failures (grub, key services)
<etu> ,stuck
<etu> __monty__: Currently nixpkgs-unstable is very laggy
<blumenkranz> etu: how long does nixos-unstable take to build?
<__monty__> And does my fixed output comment make sense? Or do you need to redownload the binary because it may have changed?
<blumenkranz> On average, I mean
<etu> blumenkranz: That varies a lot
<blumenkranz> __monty__: the steamrt changes once in a lifetime, and even then the list of packages is static on the NixOS side.
<__monty__> blumenkranz: Yeah but if you can't predict *when* it changes you need to pretend it may change at any time.
<blumenkranz> Yes, but it has to be manually update by running a script that's in the steam folder in the NixOS tree.
agander_ is now known as agander
<blumenkranz> It makes sense to make it a fixed output expression, because changes only happen manually.
<clever> blumenkranz: some things like the nixpkgs python are mixed in, and that depends on the current stdenv
<teto> my bad, I explicitly disabled luajit than of course it complains when I pass a luajit interpreter xD
slack1256 has quit [Remote host closed the connection]
thc202 has joined #nixos
Avaq has joined #nixos
<__monty__> clever: Oh, so if it were fixed output it'd never update dependencies either?
ottidmes has joined #nixos
<clever> __monty__: yeah
<clever> __monty__: if its fixed output, it will only build once, and then never again, and use that product
rauno has joined #nixos
<{^_^}> [nixpkgs] @edolstra merged pull request #54626 → buid-support: Add Ubuntu bionic base images → https://git.io/fhKbf
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/fh9Lb
<{^_^}> [nixpkgs] @danbst opened pull request #55265 → python doc: update virtualenv section → https://git.io/fh9Lh
<Avaq> Hi! I'm hoping somebody can help me with this; I've tried getting into NixOps twice, but I ran into the same problem both times. The first time I figured I'd wait, because it's probably a bug in nixops on unstable; but now, half a year later, nothing changed.
<Avaq> I'm following the "trivial" vbox example here: https://nixos.org/nixops/manual/#idm140737318601504. Everything is fine until I reach the 'nixops info' command. It gives me this error.
<Avaq> It then goes on to output the info, the way I expect. However, the 'nixops deploy' command in the next step gives the same error and immediately exists with 1.
<Avaq> warning: evaluation of the deployment specification failed; status info may be incorrect
<Avaq> error: value is null while a set was expected, at /nix/store/n8mg75pf8qchc8s982j5kiz45rzildpp-nixos-19.03pre168320.2d6f84c1090/nixos/pkgs/top-level/default.nix:63:5
<Avaq> Like I mentioned; Last time I decided to give up and wait some time, but the situation hasn't changed in half a year. :\
<ottidmes> mdash: did you already have a try, or did you not yet come around to try and package bitwarden web?
Dagger has quit [Excess Flood]
nikola_i has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @teto opened pull request #55266 → Enable functionaltests for neovim → https://git.io/fh9tJ
Dagger has joined #nixos
<__monty__> Avaq: What's the contents of that file? Sounds like an attribute is missing.
<ottidmes> Avaq: I don't know enough about nixops to really help you with your problem, I have used it, but my use case was managing existing machines on NixOS, but have you tried --show-trace or --debug for more info
alex``` has joined #nixos
<{^_^}> [nixpkgs] @teto closed pull request #54942 → lua: use lua environments for neovim/mpv → https://git.io/fhM3I
DrLambda has joined #nixos
o1lo01ol1o has joined #nixos
<wedens> https://github.com/NixOS/nixpkgs/pull/54970 looks like a pretty good usability bump
<{^_^}> #54970 (by ElvishJerricco, 5 days ago, open): genericCallCabal2nix: init
<clever> Avaq: line 63 of default.nix is dealing with localSystem, an arg to nixpkgs, i suspect your nixops version is too old to work on your nixpkgs version
nikola_i has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
<__monty__> clever: I found out about krops yesterday, have you evaluated it in comparison to nixops?
<clever> __monty__: never heard of krops
<Taneb> I've been looking into krops, since rougly yesterday
<Taneb> (may have been me who mentioned it in __monty__'s IRC-earshot)
<__monty__> Yep : )
<__monty__> I figured clever would've already done the grunt work : >
<Taneb> __monty__: my understanding is that NixOps is able to "create" machines, like on VMs or AWS, whereas krops can only manage existing machines
<Taneb> Similarly, krops can't really power on machines, as far as I can tell
<Taneb> This allows it to not use a central database, because it uses the targets to store all the information it needs
<__monty__> Oh, you need nix on the target? I thought you only needed root ssh and git.
<clever> __monty__: at a glance, its just a wrapper around nixos-rebuild, which i feel is worse, given the benefits nixops has with central building
<Taneb> __monty__: yeah, it's meant for managing machines already running NixOS
<__monty__> I was thinking you could still get central building if you had the targets use remote building.
<clever> Taneb: but you can trivially convert nixos machines to nixops machines
<clever> __monty__: they would use a random build slave (if they have many) and can miss the cached copy
<Taneb> clever: I didn't mean to suggest you couldn't
<__monty__> And you wouldn't be *stuck* with central building unless you wanted to. But maybe nixops can do remote building just as well?
<clever> __monty__: nixops just does nix-build, so it will obey /etc/nix/machines
<Taneb> My problem with NixOps is it has a centralized controller, which is sometimes nice but this week is the opposite of what I want
<{^_^}> [nixpkgs] @r-ryantm opened pull request #55267 → jbake: 2.6.3 -> 2.6.4 → https://git.io/fh9tt
dermetfan has joined #nixos
<clever> Taneb: there has been some talk about replacing the key/value store nixops uses, so it could have a DB that is shared
<Taneb> clever: "some talk" isn't that great for "I want to get this done this week" :P
<wedens> nixops is stateful?
<Taneb> wedens: yeah, it keeps track of the state of all the machines it manages, whether they're online or offline etc
<clever> wedens: when you create any resource in the cloud (aws machines), it has to track the instance-id aws assigned
<clever> so it can clean up after itself later, and know which machines to deploy to
<clever> if you are only ever using the "none" backend, you can mostly ignore that state
<Taneb> clever: could you link to the discussion about replacing the k/v store?
<clever> just be aware that you can downgrade the remote machines if you forget to `git pull` when deploying from out of date machines
<clever> and youll want to pin nixpkgs, `nixops modify -d deployment -I nixpkgs=URL deployment.nix`
<clever> or it will be changing the version every time you switch to a different box
<wedens> clever: so, without some cloud backend I can use nixops from any machine without negative consequences, right?
ubert has joined #nixos
<wedens> yeah, makes sense
<clever> wedens: as long as you have a way to maintain root ssh (ssh keypair) on all of those machines
<clever> wedens: the first time you deploy from a given state, it will auto-generate its own root keys, and bake those into the allowed ones for root
<clever> which will cut off the nixops generated keys for other state files
nikola_i has quit [Ping timeout: 268 seconds]
<clever> but if you have your own ssh keys in the agent, you wont really care much
<{^_^}> nixops#865 (by mogorman, 1 year ago, open): Key/Value backend
<wedens> clever: so, after initial deployment, I upload my key and that's it?
<clever> wedens: i would put your own ssh pubkey into the deployment files
<clever> just users.users.root.openssh.authorizedPublickeys i think it was spelled
<Taneb> "Warning: If you are using NixOps then don't use this option since it will replace the key required for deployment via ssh."
<clever> Taneb: nixops appends to the list, it doesnt force the value
nikola_i has joined #nixos
lassulus has joined #nixos
<Taneb> clever: I'm quoting the docs for users.users.<name?>.openssh.authorizedKeys.keys
<ottidmes> Taneb: you can always export the keys from nixops and add them explicitly to your machine, then it does not matter if you remove nixops add-hoc adding of the keys
<clever> Taneb: i would say those docs are wrong
<{^_^}> [nix] @edolstra pushed to master « Revert "Restore parent mount namespace before executing a child process" »: https://git.io/fh9tn
sigmundv_ has joined #nixos
<Avaq> > i suspect your nixops version is too old to work on your nixpkgs version -- @clever
<Avaq> But my nixops is installed through environment.systemPackages, using nixos-unstable channel. It should be on the latest version, right? ('nixops --version' shows 1.6)
<{^_^}> error: syntax error, unexpected '@', at (string):218:77
reinhardt has joined #nixos
johanot has joined #nixos
griff_ has joined #nixos
agander_ has joined #nixos
agander__ has joined #nixos
<Avaq> clever: ^
agander has quit [Ping timeout: 246 seconds]
simukis has quit [Quit: simukis]
agander_ has quit [Ping timeout: 244 seconds]
<clever> Avaq: there is a chance that the version in nixos-unstable, doesnt actually work on nixos-unstable
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Avaq> ottidmes: 'nixops deploy -d lab --show-trace': https://gist.github.com/5927d8c13f819de93edc0262dd09e1d6
tommyangelo has joined #nixos
<clever> Avaq: using `nixops modify -d deployment -I nixpkgs=URL deployment.nix` you can force your deployment to use a different version of nixpkgs
<clever> Avaq: the URL would be something like https://github.com/nixos/nixpkgs-channels/archive/nixos-18.09.tar.gz
reinhardt has quit [Ping timeout: 246 seconds]
agander__ is now known as agander
<tommyangelo> Does anyone have a config for a Dell XPS 15 5970 ? New company laptop, but it seems to be having issues with nouveau, and maybe the kernel too
klntsky has quit [Ping timeout: 256 seconds]
<Avaq> clever: How does deployment.nix correspond to trivial.nix and trivial-vbox.nix in the manual?
<Taneb> I do love it when nix-store --optimize frees 200GB
klntsky has joined #nixos
<Taneb> I should set it to optimize automatically
<clever> Avaq: replace deployment.nix with the list of files you originally gave to `nixops create`
<Avaq> Thanks! :)
<Avaq> clever: That seems to have done the trick. At least the error is gone from 'nixops info'! :)
<ottidmes> Taneb: lol, that is more than 4x the total size of my NixOS installation on my desktop
<Avaq> And it seems to be deploying as expected :D
<clever> Avaq: that also confirms it is an issue with nixpkgs, but you can at least work around it now
<Taneb> ottidmes: this is my work desktop, we use Nix very heavily. It's also a remote builder for our Hydra server, for example
<Avaq> clever: So in effect, what I've done, is modify the nixpkgs version that's going to be used inside my deployments, because the unstable nixpkgs is not compatible with nixops?
<ottidmes> Taneb: yeah makes sense, its that my install is old, 500G SSDs are cheap nowadays
<clever> Avaq: yep
<clever> Avaq: i also do this even when problems dont exist, so i can strictly control the version used in the deployment
<clever> Avaq: so i dont have unplanned upgrades, caused by the host doing nix-channel --update
<Avaq> clever.
<ottidmes> clever++
<{^_^}> clever's karma got increased to 87
<clever> the -I nixpkgs=foo is one of the things nixops stores in the state file
<clever> so that part will get lost if you move to another machine
<wedens> why it can't be specified in expression?
<clever> wedens: it can, but the current implementation has a heavy performance cost
<clever> so i just leave a note to myself in a comment, on what to `nixops modify` to
<Avaq> The deployment failed (virtualbox.service: Main process exited, code=exited, status=1/FAILURE), after some time; I'll try to figure out what happened there.
<clever> Avaq: is virtualbox enabled on the host and already working?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3aaab7ca3d5 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Avaq> Yes. I even have the UI coming up
<clever> and can a guest be started?
<Avaq> clever: VBoxControl: error: Failed to connect to the guest property service, error VERR_INTERNAL_ERROR
<clever> Avaq: sounds like that likely breaks nixops as well, one sec
<clever> ls -l /run/{booted,current}-system/kernel
<clever> Avaq: what does this output?
<Avaq> lrwxrwxrwx 1 root root 65 Jan 1 1970 /run/booted-system/kernel -> /nix/store/0vrbdgnfjgs8vnja3x4jmh3yfvanih08-linux-4.19.16/bzImage
<Avaq> lrwxrwxrwx 1 root root 65 Jan 1 1970 /run/current-system/kernel -> /nix/store/0vrbdgnfjgs8vnja3x4jmh3yfvanih08-linux-4.19.16/bzImage
<clever> no changes to the kernel version
<clever> uid=1000(clever) gid=100(users) groups=100(users),1(wheel),72(vboxusers),131(docker),500(wireshark)
<clever> Avaq: oh, are you in the vboxusers group (run id to check)
<Avaq> I should be
<clever> run `id` and confirm
<Avaq> Yeah, I am
<Avaq> clever: I did it the same way
<clever> Avaq: what about `systemctl status` as root?
<Avaq> That outputs 112 lines. What are you interested in?
tzemanovic has quit [Remote host closed the connection]
<clever> Avaq: anything in red?
reinhardt has joined #nixos
<Avaq> All green
<clever> not sure what else to check then
tzemanovic has joined #nixos
tommyangelo has quit [Ping timeout: 256 seconds]
<Avaq> Could it be related to get-vbox-nixops-client-key.service?
<clever> possibly
<Avaq> That seems to fail as well
<Avaq> Process: 1404 ExecStart=/nix/store/121pb1zbf4q1xzqh6mk3wz0izf8jkkf2-unit-script-get-vbox-nixops-client-key-start (code=exited, status=1/FAILURE)
<clever> what about the journal log?
<clever> journactl -u get-vbox-nixops-client-key.service
<Avaq> On the host?
<Avaq> (I've been running your requested commands on the host)
<clever> maybe check on both, just in case
<Avaq> no entries on the host
<Avaq> I've not had shell access to the vbox thus far
<clever> not sure what else to check
<clever> ive never tried using the vbox backend
<Avaq> I'm just trying to get a basic example working to gain some understanding. :P
<Avaq> The vbox example is the first in the nixops manual.
Jetien has joined #nixos
tzemanovic has quit [Ping timeout: 268 seconds]
<clever> Avaq: if you have a working nixos install on a second machine, you can experiment with the none backend instead
<clever> (and that second "machine" could just be a vbox copy you installed manually, from the ISO or pre-made vbox image)'
Guest65019 has quit [Ping timeout: 240 seconds]
<Avaq> I have nixos on a raspberry pi, but not currently with me. I intended to experiment with it in my own time, but I figured I'd gain some experience with another backend first.
klDen[m] has joined #nixos
<Avaq> clever: Should my deployed machine have a root user and password by default? I want to try logging in to it
Judson has joined #nixos
<clever> Avaq: root pw can be used, but it is prefered to have an ssh key on root
agander_ has joined #nixos
elgoosy has joined #nixos
Judson is now known as Guest60340
<Avaq> Ohh, I can ssh into it with 'nixops ssh' :)
<clever> ah, then maybe it was deploying just fine, and some of the misc services are just broken
<clever> and then it gives a warning when its done
<clever> check the guest journal, and see whats up there
<Avaq> systemctl there does show red
<clever> and check the journal for the things in red
nikola_i has quit [Remote host closed the connection]
<Avaq> # ls -l /run/{booted,current}-system/kernel
<Avaq> lrwxrwxrwx 1 root root 64 Jan 1 1970 /run/booted-system/kernel -> /nix/store/zqpn0rsw8v319f3bg065zrd02y9fwq5l-linux-4.4.24/bzImage
<Avaq> lrwxrwxrwx 1 root root 65 Jan 1 1970 /run/current-system/kernel -> /nix/store/7gbd1as2whimg6a0d6rfdis5c9syxsl2-linux-4.14.97/bzImage
agander has quit [Ping timeout: 268 seconds]
nikola_i has joined #nixos
<clever> Avaq: ah, i think i see the problem then
<Avaq> ^ I went back to exec that, and saw different version, which seemed to be what you were looking for. Still prying, one sec
agander_ is now known as agander
<clever> Avaq: nixops created a vbox image, from a base disk image, running 4.4.24
<clever> Avaq: nixops then deployed changes, that upgrade you to 4.14.97
<clever> and it tried to load 4.14 kernel modules on 4.4
<clever> rebooting the guest `nixops reboot` should solve it
hedning has quit [Quit: hedning]
goodwill has quit [Quit: ...]
reinhardt has quit [Quit: Leaving]
tzemanovic has joined #nixos
<Avaq> okay, did that
<Avaq> now the kernel versions are indeed the same
<Avaq> and systemctl shows green
nikola_i has quit [Ping timeout: 244 seconds]
<Avaq> I don't really understand what we just did. But thank you! :)
elgoosy has quit [Quit: Leaving]
<clever> Avaq: when nixops first did a deploy, it upgraded the kernel, and then you had an old kernel and new modules, so it failed to load the modules
o1lo01ol1o has joined #nixos
vonfry has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
Guanin has quit [Remote host closed the connection]
tzemanovic has quit [Remote host closed the connection]
Jackneill has quit [Ping timeout: 240 seconds]
Makaveli7 has joined #nixos
tzemanovic has joined #nixos
periklis has quit [Remote host closed the connection]
tzemanov_ has joined #nixos
phreedom has quit [Remote host closed the connection]
vonfry1 has joined #nixos
dave_uy has quit [Ping timeout: 245 seconds]
phreedom has joined #nixos
tzemanovic has quit [Ping timeout: 252 seconds]
LnL has joined #nixos
emacsomancer has quit [Ping timeout: 245 seconds]
aramiscd has quit [Ping timeout: 245 seconds]
ryantm has quit [Ping timeout: 245 seconds]
LnL is now known as Guest5079
vonfry has quit [Ping timeout: 268 seconds]
dave_uy has joined #nixos
aramiscd has joined #nixos
emacsomancer has joined #nixos
griff_ has quit [Quit: griff_]
Guest5079 has joined #nixos
Guest5079 has quit [Changing host]
Jetien has quit [Ping timeout: 245 seconds]
hyper_ch2 has joined #nixos
vonfry1 has quit [Quit: WeeChat 2.3]
<kai_w> Is it possible to test packages (sandboxed) that depend on a graphics driver being available?
ryantm has joined #nixos
tzemanov_ has quit [Remote host closed the connection]
clefru has joined #nixos
hedning has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/fh9qQ
schjetne has quit [Ping timeout: 250 seconds]
tzemanovic has joined #nixos
Jackneill has joined #nixos
Jackneill has quit [Remote host closed the connection]
<Avaq> What does it mean to supply multiple .nix files to nixops? Are the configurations merged?
<clever> Avaq: yeah, they are all merged together
<clever> if 2 files define different machines, then the deployment just contains both set of machines
<Twey> kai_w: You can pass in LIBGL_DRIVERS_PATH to any libGL-using program explicitly, and point it to mesa_drivers or something
<clever> if they define settings for both, then the options are merged at the nixos level, the same as using a list in imports
Jackneill has joined #nixos
<Twey> kai_w: I don't think that tries to break the sandbox
<Avaq> clever: Clear, thanks.
<kai_w> Twey: In my case I need cuda, which happens to live in /run/opengl-driver/lib (and must match the loaded kernel module)
<kai_w> that last bit is where I'm getting stuck, I don't think there's a way for nixpkgs to choose the 'right' cuda version automatically
<Avaq> Another question; it seems that the directives in the .nix files for nixops have a mixed type. They can be a record, or a function. Is that correct?
<Avaq> Mixed types confuse me :p
<clever> Avaq: yeah, the main machinename = thing; stuff are just nixos modules
<clever> Avaq: configuration.nix is a nixos module
<clever> and they can either just be a raw set, or a function that takes inputs
<clever> so you can just do machine = { pkgs, config, ... }: { ... };
<clever> and paste in the contents of your configuration.nix file
<srhb> And the set can be either of the module forms (eg, imports, options, config, or just the config, ... , to make things even better..
<Avaq> ah
<{^_^}> [nixpkgs] @christoph00 opened pull request #55269 → Steam: run update-runtime.py → https://git.io/fh9qh
<clever> myself, i have the nixops specific stuff (deployment.targetHost) in the deployment file, and then i load a "nixos" config via imports
<clever> so router.nix and nas.nix are pure nixos, and can be used without nixops
<Avaq> You run your whole home network with nixops? :o
<clever> that also allows me to load them directly with nixos, and build them on hydra
<clever> Avaq: not the whole network, the laptop&desktop arent part of nixops, yet
<Taneb> I still haven't managed to get X working on my laptop...
<clever> Taneb: i have steam working on both the laptop&desktop, a few games run well, including some "windows only" ones
<Taneb> Last night I did get it so I don't need to put in any kernel parameters manually to get to a terminal
<clever> though the laptop lacks a dedicated gpu, so perf suffers
<{^_^}> [nixpkgs] @markuskowa closed pull request #55250 → mpfr: 4.0.1 -> 4.0.2 → https://git.io/fh9Ty
tzemanov_ has joined #nixos
tzemanov_ has quit [Remote host closed the connection]
<Twey> kai_w: Yeah, there's no way :( But you can choose it manually
<Twey> kai_w: My OpenGL packages tend to be parameterized on driver path
silver has joined #nixos
tzemanov_ has joined #nixos
<kai_w> thanks, I'll do that. better than nothing, and in theory CUDA 10 will fix this
tzemanovic has quit [Ping timeout: 246 seconds]
nodyn has joined #nixos
orivej has joined #nixos
schjetne has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
kvda has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55234 → redmine: 3.4.8 -> 4.0.1 → https://git.io/fh9eM
<{^_^}> [nixpkgs] @7c6f434c pushed commit from @aanderse to master « redmine: 3.4.8 -> 4.0.1 (#55234) »: https://git.io/fh9mc
hyper_ch2 has quit [Ping timeout: 256 seconds]
upsaday_ has quit [Remote host closed the connection]
upsaday_ has joined #nixos
yayforj has joined #nixos
Makaveli7 has quit [Ping timeout: 246 seconds]
<yayforj> any haskell people here? I `callHackage` throws me `infinite recursion encountered...` when i put it in an overlay
<yayforj> any idea why?
<yayforj> here's gist
<clever> yayforj: which package are you overriding?
<yayforj> no matter
<clever> yayforj: the overlay must return a set of package = override;
<clever> why are you using mapAttrs?
<yayforj> i tried different
<clever> ah, i see why
<yayforj> clever
<yayforj> yeah
rauno has quit [Ping timeout: 268 seconds]
<yayforj> map name version -> map name package
<yayforj> but when i use `callCabal2nix` it works
<clefru> Is there a good place to publish/advertise my nix-overlay? It contains the amazing number of 6 packages, but I'd like to make it discoverable somehow that people don't repackage those things
<yayforj> link please
<clever> yayforj: i see the problem, you cant use callHackage or callCabal2nix when defining vector-algorithms
<yayforj> clever: why not?
<clefru> A web-based package search like Arch's AUR would be nice
<clever> yayforj: because cabal2nix depends on vector-algorithms
agander has quit [Read error: Connection reset by peer]
<clever> yayforj: and now you need cabal2nix, to define vector-algorithms, to build cabal2nix
<clefru> yayforj: https://github.com/clefru/nixover-clefru/ (if that was directed to me)
<clever> yayforj: you will need to manually run `cabal2nix cabal://vector-algorithms-0.8.0.1` (i think it was), stick that into a .nix file, and callPackage it
<yayforj> clever: but funny enough, callCabal2nix works in that context
o1lo01ol1o has joined #nixos
nodyn has quit [Read error: Connection reset by peer]
Makaveli7 has joined #nixos
agander_ has joined #nixos
<yayforj> clever: you're right, i tried to override `webdriver` package and all works
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<clever> yayforj: if you where not using mapAttrs, you could also make an override for vector-algorithms but call the attr my-vector-algorithms
<yayforj> clever: how does `mapAttrs` change the situation?
<clever> it allows you to decouple the attrname, and the cabal name
<clever> so you could test the override itself, without impacting cabal2nix
schjetne has quit [Remote host closed the connection]
agander has joined #nixos
agander_ has quit [Ping timeout: 250 seconds]
ng0 has joined #nixos
genesis has quit [Ping timeout: 252 seconds]
genesis has joined #nixos
<Avaq> Can I in-line a file in my nix configs? Something wants a file, which it will cat to an interpreter, I don't want to create extra files.
<infinisil> ,NUR clefru
<{^_^}> clefru: Nix User Repository: User contributed nix packages, https://github.com/nix-community/NUR
<clever> Avaq: pkgs.writeText
<Avaq> \o/
<clefru> infinisil: that's awesome, thanks!
bpa has quit [Remote host closed the connection]
goodwill has joined #nixos
simukis has joined #nixos
dermetfan has quit [Ping timeout: 272 seconds]
gagbo_work has quit [Quit: Leaving]
yayforj has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @etu merged pull request #55260 → ncdu: 1.13 -> 1.14 → https://git.io/fh9IU
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fh9YL
Makaveli7 has quit [Quit: Leaving]
Jetien has joined #nixos
griff_ has joined #nixos
<yorick> is there a raspberry pi image that has ssh enabled?
Avaq has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
Avaq has joined #nixos
Denommus has joined #nixos
hedning has quit [Quit: hedning]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
Denommus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa merged pull request #55171 → fortune: 1.99.1 -> 2.6.2 → https://git.io/fhSyz
<{^_^}> [nixpkgs] @markuskowa pushed commit from @Vonfry to master « fortune: 1.99.1 -> 2.6.2 (#55171) »: https://git.io/fh9Yu
endformationage has joined #nixos
o1lo01ol1o has joined #nixos
tzemanov_ has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
tzemanovic has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/38a99219f3c (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<{^_^}> [nixpkgs] @Profpatsch merged pull request #55130 → sdnotify-wrapper: init at unversioned → https://git.io/fhSaK
<{^_^}> [nixpkgs] @Profpatsch pushed to master « sdnotify-wrapper: init at unversioned »: https://git.io/fh9YD
o1lo01ol1o has joined #nixos
Jetien has quit [Read error: Connection reset by peer]
Jetien has joined #nixos
rauno has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
tzemanov_ has joined #nixos
o1lo01ol1o has joined #nixos
tzemanovic has quit [Ping timeout: 246 seconds]
dermetfan has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
rauno has quit [Remote host closed the connection]
blumenkranz has quit [Quit: blumenkranz]
DrLambda has quit [Ping timeout: 250 seconds]
orivej has quit [Ping timeout: 250 seconds]
tzemanov_ has quit [Remote host closed the connection]
hedning has joined #nixos
orivej has joined #nixos
o1lo01ol1o has joined #nixos
<nh2[m]> jtojnar: the SRT people replied on https://github.com/Haivision/srt/issues/538#issuecomment-456702366; I'm not quite sure if this addresses our situation in nixpkgs
griff_ has quit [Quit: griff_]
eadwu has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
DrLambda has joined #nixos
<{^_^}> [nixpkgs] @jlesquembre opened pull request #55270 → ranger: add pillow dependency → https://git.io/fh9O0
<{^_^}> [nixpkgs] @ryantm merged pull request #55253 → kubectx: 0.6.2 -> 0.6.3 → https://git.io/fh9kl
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fh9Oz
Avaq has quit [Ping timeout: 245 seconds]
SpikeHeron has joined #nixos
o1lo01ol1o has joined #nixos
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
simukis has quit [Quit: simukis]
tzemanovic has joined #nixos
aminechikhaoui has joined #nixos
<mpickering> What is the recommended way to set nixpkgs to a local nixpkgs checkout?
alex``` has quit [Quit: WeeChat 2.3]
<mpickering> modifying .bashrc sounds good
<mpickering> *bad
alex`` has joined #nixos
<tilpner> On NixOS there's nix.nixPath
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<Twey> Can you point a channel to a local path?
<{^_^}> [nixops] @AmineChikhaoui merged pull request #1088 → filesystem options: fix use of deprecated mkOption { options = ...; } → https://git.io/fhS8i
<{^_^}> [nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/fh9OK
<Twey> Probably right
<Twey> nix-channel --add file:///path/to/nixpkgs nixpkgs
<clever> Twey: can also do that without nix-channel
<clever> $ cat ~/.nix-defexpr/test/foo/default.nix
<clever> import /home/clever/apps/nixpkgs
<clever> this allows you to nix-env -iA foo.hello
o1lo01ol1o has joined #nixos
<tilpner> And if you leave "foo" out of the path, you can even do nix-env -iA hello
realrokka_ has quit [Ping timeout: 245 seconds]
Avaq has joined #nixos
danielrf has quit [Quit: WeeChat 2.3]
realrokka has joined #nixos
<ottidmes> any vscode users out here that have run into the problem where vscode default browser is that of a /nix/store path no longer existing? its very annoying, I cannot open links because it keeps pointing to an older no longer existant google chrome version
<clever> ottidmes: try grepping ~/.cache/ for the hash of that chrome
<clever> ottidmes: and ~/.share
<clever> ~/.local/share/applications for example has some related stuff
<Twey> clever: But I'd assume nix-channel is the recommended way to set nixpkgs to a local nixpkgs checkout, as mpickering asked
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<clever> Twey: you would have to re-run nix-channel --update, every time you change the local nixpkgs
<clever> Twey: but if you add a file to .nix-defexpr, it will parse that file every time you nix-env -iA
<clever> so it wont need any update operations
goibhniu has quit [Ping timeout: 245 seconds]
<ottidmes> clever: found some references to it, but for teamviewer, not vscode
griff_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #54380 → SRT support for gstreamer → https://git.io/fhu9Y
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fh93U
o1lo01ol1o has joined #nixos
<ottidmes> clever: found the problem, xdg-open reports the old Google Chrome
<clever> ottidmes: that uses some state somewhere in $HOME, strace might find it
<mdash> ottidmes: I got optimistic and tried to build bitwarden_rs 1.6.1 with nightly from the mozilla overlay. it's telling me it can't find crate for `std`. :)
<tilpner> mdash: Paste nix
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #55216 → python37Packages.cysignals: 1.8.1 -> 1.9.0 → https://git.io/fhSNS
<{^_^}> [nixpkgs] @timokau pushed commit from @r-ryantm to master « python37Packages.cysignals: 1.8.1 -> 1.9.0 (#55216) »: https://git.io/fh933
<mpickering> I am going to use `nix.nixPath` as tilpner suggested thanks
ryantrinkle has quit [Ping timeout: 244 seconds]
dkibi has quit [Ping timeout: 272 seconds]
<mdash> tilpner: ok
o1lo01ol1o has quit [Ping timeout: 250 seconds]
alex`` has quit [Ping timeout: 240 seconds]
<jboy> $ Marp
<jboy> Marp: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
* jboy thought that kind of stuff isn't supposed to happen on NixOS...
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm merged pull request #55264 → kubernetes: 1.13.2 -> 1.13.3 → https://git.io/fh9LZ
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fh939
alex`` has joined #nixos
<mdash> jboy: life is hard
<ToxicFrog> jboy: it's not meant to, but it's still possible for things to be packaged incorrectly
<ToxicFrog> It looks like the Marp package¹ downloads the binaries and then uses patchelf on them, so if the invokation of patchelf is wrong, you have a bad time
<jboy> whoa, footnotes in IRC!
griff__ has joined #nixos
griff_ has quit [Ping timeout: 250 seconds]
griff__ is now known as griff_
<jboy> yes, I just saw that as well, ToxicFrog. Maybe I'll try changing that to `autopatchelf`.
<tilpner> mdash: Your cargoSha256 wasn't accepted here, try breaking it and building again
<{^_^}> [nixpkgs] @7c6f434c merged pull request #55266 → Add checkPhase for neovim (disabled by default) → https://git.io/fh9tJ
<{^_^}> [nixpkgs] @7c6f434c pushed commit from @teto to master « Add checkPhase for neovim (disabled by default) (#55266) »: https://git.io/fh93h
<tilpner> And after I replaced it with the correct hash, the patch doesn't apply
<tilpner> Ahh, yes, trailing newline
daniele- has joined #nixos
<mdash> tilpner: boo
<tilpner> mdash: Found your problem!
<mdash> tilpner: alrighty
<tilpner> mdash: You need to pass { rustc = rust_nightly.rust; inherit (rust_nightly) cargo; } to makeRustPlatform
<tilpner> And you'll want to fix those "rev = master" lines eventually
<mdash> of course. :-[
<tilpner> Doesn't need recurseIntoAttrs here
<tilpner> And might not need RUSTC_BOOTSTRAP=1;
<mpickering> after I set `nix.nixPath` in my `configuration.nix` do I have to reboot to see those changes reflected in `NIX_PATH`?
<tilpner> Unfortunately you have to at least login again
<tilpner> You can set your NIX_PATH to point to symlinks to prevent future re-logins if you ever decide to move your nixpkgs repo somewhere else
<mpickering> that seems to have done something thanks
<mpickering> that sounds a bit complicated for me, perhaps in a few years I will do that
<mpickering> So now my `NIX_PATH` has `/home/matt/.nix-defexpr/channels` first, that seems wrong to me?
<tilpner> Depends. What did you set nix.nixPath to?
<tilpner> Also, does your bashrc still alter your NIX_PATH? (or similar startup files)
<ottidmes> clever: BTW it was XFCE that cached the google-chrome.desktop file causing xdg-open to use the wrong Exec path, fixed it by removing the cached .desktop file, but since I dont actually use XFCE, I will just remove it from my system the next reboot
<clever> ottidmes: ah
<tilpner> mdash: Confirmed to finish build without RUSTC_BOOTSTRAP
<mdash> tilpner: thank you. I thought the overlay was similar enough to the rust derivation in nixpkgs to call makeRustPlatform the same way as in all-packages. :)
<mpickering> tilpner: I think it's due to https://github.com/NixOS/nix/issues/2033
<{^_^}> nix#2033 (by grahamc, 44 weeks ago, open): Default Nix installations don't include user channels in NIX_PATH, causing inconsistent tool behavior
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ae316a39dbc (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<mpickering> but this time I have no channels installed so it's harmless
ng0 has joined #nixos
<tilpner> mpickering: It's definitely possible to have a NIX_PATH without entries like that. I assume your .bashrc adds that
<mpickering> I don't have a .bashrc
<tilpner> Hmm, right, if you're on NixOS you wouldn't have gone through the Nix installation script
xkapastel has joined #nixos
Rusty1 has joined #nixos
ikitat has joined #nixos
waleee has joined #nixos
<mpickering> I still don't get why it is there
<mpickering> as it seems to override the default
<mpickering> I set `nix.nixPath` and the changes are definitely in `NIX_PATH` but this additional entry
<mpickering> the same thing broke my old installation as well
<tilpner> Check your /etc/profile and read referenced files
<tilpner> Especially the set-environment script called from there; it sets NIX_PATH
<tilpner> Chec if it happens when you login as another user
<mpickering> yes, it sets it with this additional directory
Makaveli7 has joined #nixos
<mpickering> tilpner: Where is this file generated? I want to find the commit which introduced this change
<tilpner> First run: nixos-option nix.nixPath
<mdash> tilpner: yeah it's curious that the recommended config says master, Cargo.lock has a revision
<tilpner> mpickering: Does the output of that have multiple paths in "Defined by"?
<tilpner> Does the value include the unwanted path?
griff__ has joined #nixos
<mpickering> tilpner: No, defined just in configuration.nix and doesn't include the unwanted path
<tilpner> mdash: As I said earlier, your cargoHash wasn't accepted here. I blamed that on the usage of master, but if it's not that... you'll want to find out what is
Avaq has quit [Ping timeout: 245 seconds]
<mpickering> if you look int the set-environment file, it checks to see if `.nix-defexpr/channels` exists and then puts that first in the NIX_PATH if it does
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<mdash> tilpner: not sure I want to know ;->
griff_ has quit [Ping timeout: 240 seconds]
griff__ is now known as griff_
<tilpner> mpickering: Ah, right, the module says so. Just delete that directory then
<mpickering> right I fixed the problem already
<tilpner> yay
<mpickering> but I want to know why this insane default exists?
<mpickering> if I set nixPath then I don't want someone else to change it randomly
<tilpner> Open an issue or send a PR directly
<tilpner> But I don't think it's as insane as you call it
<mpickering> hence why I was asking where this file is defined
<tilpner> It's a little annoying for you, and a little convenient for others
<tilpner> nixos/modules/services/misc/nix-daemon.nix
<mpickering> this commit made the change
<mpickering> which changes the original intent of the PR so that it no longer repects the user choice of `nix.nixPath`.
daniele- has quit [Quit: daniele-]
kleisli has quit [Quit: Communi 3.5.0 - http://communi.github.com]
Avaq has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
ng0 has quit [Remote host closed the connection]
ng0 has joined #nixos
eadwu has quit [Quit: WeeChat 2.3]
eadwu has joined #nixos
<matthewbauer[m]> The original issue was you can't use $HOME in nixPath because it doesn't know which HOME to use
<matthewbauer[m]> Maybe it should append to the end of NIX_PATH instead though?
<clever> matthewbauer[m]: what about just putting a literal $HOME into the string, and then eval'ing the entire thing later on?
<clever> matthewbauer[m]: i believe its prepended, so your own nix-channel --add, has higher priority
<matthewbauer[m]> Maybe...
<clever> so a user can ignore what the admin has configured
<ToxicFrog> Yeah, similar to how ~/bin/ goes before /bin and /usr/bin
<matthewbauer[m]> But the newer Nix commands don't even recognize the old NIX_PATH style anyway
devalot has quit [Remote host closed the connection]
DrLambda has quit [Ping timeout: 246 seconds]
<tilpner> I think they do again
<clever> matthewbauer[m]: anoyingly, `nix` style commands, heavily use NIX_PATH, but in a different way from nix-env
<clever> so `nix build nixpkgs.hello` will search for <nixpkgs> and build hello
<clever> which is a different name from what nix-env calls it
<clever> $ nix build nixos.hello
<clever> error: attribute 'nixos' in selection path 'nixos.hello' not found
<tilpner> matthewbauer[m]: echo $NIX_PATH => /cfg
<clever> $ nix-instantiate --find-file nixos
<clever> /nix/var/nix/profiles/per-user/root/channels/nixos
<tilpner> matthewbauer[m]: nix-instantiate --find-file nixpkg => /cfg/nixpkgs
<clever> actually, thats even stranger
<clever> why does nixpkgs. work, yet nixos. not??
ryantrinkle has joined #nixos
<tilpner> matthewbauer[m]: Oh, uhh, sorry. nix-instantiate is of course an old tool, I thought you meant something else
erasmas has joined #nixos
<matthewbauer[m]> Yeah I think nix run won't find that in the NIX_PATH
<matthewbauer[m]> I thought https://github.com/NixOS/nixpkgs/commit/67c8c4917799496dcf2ad6a500441fbbaeb918c9 was a good idea to make this a little more consistent
<matthewbauer[m]> But it got reverted
griff_ has quit [Quit: griff_]
waleee has quit [Quit: WeeChat 2.3]
<gchristensen> +1 more point to dropping the nixpkgs-unstable channel
griff_ has joined #nixos
waleee has joined #nixos
<{^_^}> [nixpkgs] @scalavision opened pull request #55275 → singularity: 2.6.0 -> 2.6.1 → https://git.io/fh9ZL
drakonis has quit [Quit: WeeChat 2.3]
cswl has joined #nixos
<cswl> I need to learn Nix :O
<gchristensen> great! what is the inspiration?
adam-6520493 has quit [Ping timeout: 268 seconds]
adam-6520493 has joined #nixos
Jetien has quit [Ping timeout: 240 seconds]
<cswl> Package store :3
<cswl> Liked the way it handles packages..
<gchristensen> <3 us too
tzemanov_ has joined #nixos
<cswl> I set up a multi user nix store.. and all the packages are in my home dir hmm..
<cswl> Are they just symlinks?
Avaq has quit [Quit: Leaving.]
npmccallum has joined #nixos
<srhb> cswl: You mean in ~/.nix-profile ? Yes, they are symlinks (or rather, that is a symlink to your "profile" -- see https://nixos.org/nix/manual/#sec-profiles )
tzemanovic has quit [Ping timeout: 240 seconds]
griff_ has quit [Quit: griff_]
<cswl> I should check out the manual :O
<srhb> cswl: Yeah. :) The nixpkgs manual is useful too.
hedning has quit [Quit: hedning]
erictapen has joined #nixos
<cswl> The NixOS package search isnt loading for me hmm
tzemanovic has joined #nixos
rcshm has joined #nixos
<samueldr> cswl: which browser? anything in the developer console (if you need help for that, ask)
<cswl> It loaded.. just took a lot of time I guess
<cswl> `nix search` is faster
tzemanov_ has quit [Ping timeout: 272 seconds]
<samueldr> yeah, lately a bunch of the big package sets have been added to it
<samueldr> the file isn't that big, but it's all loaded in the browser's memory before doing anything
<cswl> Yeah..packages.json.gz` after it was cached.. was fast
<tilpner> Removing whitespace from packages.json reduces the extracted size from 62M to 36M
<gchristensen> isn't it a .gz?
<tilpner> Might not help much for transfer in gzip-ed form, but could help with parsing
<tilpner> 3.1M -> 2.7M in gzip form
<gchristensen> wow
<samueldr> gchristensen: nixos-homepage#245
<{^_^}> https://github.com/NixOS/nixos-homepage/issues/245 (by samueldr, 16 weeks ago, open): Review the performance of the packages page.
<cswl> Yeah.. if it doesnt havent to be readable
<samueldr> and yeah, already gzipped :/
<tilpner> curl https://nixos.org/nixpkgs/packages.json.gz | gzip -d | jq -c . | gzip -9 | wc -c
simukis has joined #nixos
<gchristensen> sounds like an easy patch
daniele- has joined #nixos
<tilpner> I can't seem to find where it's generated
__Sander__ has quit [Quit: Konversation terminated!]
ikitat has quit [Ping timeout: 245 seconds]
<samueldr> in the makefile
fusion809 has joined #nixos
<tilpner> Oh, not in nixpkgs?
<tilpner> That might explain why I didn't find it c.c
<{^_^}> [nixpkgs] @flokli opened pull request #55277 → Minio updates → https://git.io/fh9nk
nikivi has quit [Remote host closed the connection]
<mpickering> I am failing to set up a window manager, just getting a blank vty window with a blinking cursor
nikivi has joined #nixos
nschoe has joined #nixos
<{^_^}> [nixos-homepage] @tilpner opened pull request #263 → Minify packages.json with jq → https://git.io/fh9nc
elgoosy has joined #nixos
yayforj has joined #nixos
<yayforj> how can i build a haskell source with cabal slover?
glesica has quit [Quit: Peace out.]
<mpickering> yayforj: Is that a nixos question?
<yayforj> partially
<yayforj> i ran cabal2nix in source
<yayforj> but it breaks
<yayforj> because there are bounds on everything
<yayforj> which cabal2nix doesn't pick up
<yayforj> and deps from nixpkgs don't satisfy it
<tilpner> samueldr: pr above ^
<wedens> yayforj: typical strategy is to override speicifc packages with required versions
<mpickering> yayforj: You can use the haskell.lib.doJailbreak function
<samueldr> tilpner: I'll look and approve later (obv. can't merge)
<mpickering> which will ignore version bounds
<yayforj> mpickering: i did so, but sources don't compile coz if breaking changes
<mpickering> ok then you have to override the haskellPackages set with the right versions
<yayforj> mpickering: i'm wondering if there's a way to make nix pull deps from hackage with cabal
danielrf has joined #nixos
<wedens> you can just use cabal then :)
<yayforj> mpickering: it's a lot of versions
<yayforj> wedens: fair enough, but how do i put it into a store?
<aanderse> i'm looking to add some default values to services.logrotate.config (so rsyslog files would be rotated), but i'd like the user to be able to override in case they want to do something different. i thought there might be some sort of way to allow this and make it easy for the end user, but i'm not sure what
<yayforj> wedens: have another project depending on this one
<wedens> you don't. you either manage dependencies via nix or cabal
<aanderse> the idea is in the rsyslog module i'd add something to services.logrotate.config, but then the user could explicitly disable what the rsyslog module adds, and put their own in
<aanderse> but the user wouldn't want to entirely override the contents of services.logrotate.config because other services could add stuff to that
<aanderse> anyone have any ideas?
NemesisD has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
johanot has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @KAction opened pull request #55279 → libcdb: init at 0.7.8 → https://git.io/fh9nH
eadwu has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @max-wittig opened pull request #55280 → gitlab-runner: 11.6.0 -> 11.7.0 → https://git.io/fh9n5
reinhardt has joined #nixos
_kwstas has joined #nixos
Ariakenom has quit [Ping timeout: 250 seconds]
rauno has joined #nixos
_kwstas has quit [Client Quit]
maximiliantagher has joined #nixos
<{^_^}> [nixos-homepage] @edolstra merged pull request #263 → Minify packages.json with jq → https://git.io/fh9nc
<{^_^}> [nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/fh9cz
eadwu has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
tzemanovic has quit [Remote host closed the connection]
fresheyeball has quit [Quit: WeeChat 2.2]
daniele- has quit [Quit: daniele-]
tzemanov_ has joined #nixos
orivej has joined #nixos
<tilpner> clever: Have you seen error: a 'i686-linux' with features {} is required to build '/nix/store/...', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test} anywhere when setting extra-platforms?
<{^_^}> [nixpkgs] @tg-x opened pull request #55281 → idrisPackages.tparsec: 2018-11-09 -> 2018-12-21 → https://git.io/fh9cF
<tilpner> I could try adding i686-linux to extra-platforms, but I feel like that shouldn't be necessary
<clever> tilpner: i suspect the new implementation of extra-platforms disables the automatic addition of i686-linux
<{^_^}> [nixpkgs] @flokli merged pull request #55277 → Minio updates → https://git.io/fh9nk
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/fh9cA
<clever> tilpner: so that will need to be added back in manually
alex`` has quit [Quit: WeeChat 2.3]
<tilpner> So it defaults to i686-linux, but then I override it with a list that doesn't contain it? That's what I figured
alex`` has joined #nixos
* tilpner looks for issues
<clever> tilpner: my qemu.nix is currently the only thing that sets it
<tilpner> nix#2595
<{^_^}> https://github.com/NixOS/nix/issues/2595 (by matthewbauer, 6 weeks ago, open): extra-platforms detection should be smarter
<clever> tilpner: thats more about disabling the i686 support
<tilpner> I think I might prefer it this way
<tilpner> Let the user decide what platforms Nix should try to build for, instead of implementing a dozen detection mechanisms that might get it wrong
<tilpner> (Not a dozen, just two for now)
tzemanov_ has quit [Remote host closed the connection]
<dhess> So while I like NixOps, I've decided I'm not a fan of its "implicit" configuration. By this I mean the bits of the config that it creates/imports automatically, like the system closures, the deployment modules, etc.
<dhess> Is anyone using NixOps more "explicitly" ?
<tilpner> I wrote my own deploy script, like many other people
<dhess> tilpner: a la Awake Security's nix-deploy?
<tilpner> Yes. I was using nix-deploy, and then it broke somewhere around the Nix2 switch, and then I decided I could just write the 4 lines of code myself
<dhess> tilpner: is your script using NixOps, or just nix-instantiate/nix-copy-closure etc like nix-deploy does?
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-18.09: https://git.io/fh9CU
<tilpner> It nix-instantiate/copy-closure with a module so that I can define the device IP/domain inside its config
<tilpner> It can't create any devices
<tilpner> And at the time I didn't know nixos-rebuild could deploy to remote machines as well
Ariakenom has joined #nixos
<dhess> tilpner: right. I considered that myself, but I like the parts of NixOps that deploys secrets and manages the fleet automatically.
<dhess> so I don't want to throw out the baby with the bathwater. I just want the config to be explicit, mainly so that I can build the system closures in Hydra.
<dhess> (I also no longer use the NixOps provisioning, but that doesn't get in the way so I can just ignore it.)
<tilpner> I also didn't like the state thing. Maybe someone can explain why it needs to manage its own ssh keys, when I have some already
<dhess> tilpner: yes I agree with that as well. Especially given that the other state basically doesn't seem to matter at all.
<tilpner> It makes some sense if you let it create your infrastructure, but not if you just hand it an ip address
simukis has quit [Quit: simukis]
<dhess> exactly
<clever> tilpner: when you have 100 machines that you basically never ssh into, and dont want to re-deploy every time somebody quits and you have to cut them off
<dhess> clever: that's a good point.
<tilpner> clever: So how do you know they're not holding on to a copy of the nixops state?
<dhess> clever: on the other hand... yeah what tilpner said :)
<clever> tilpner: that is a bug that needs to be fixed in nixops
<clever> re-keying things
<tilpner> I guess rekeying could be implemented without a system evaluation, so I guess you have a point
<dhess> yeah it could be part of send-keys
Denommus has joined #nixos
<mpickering> X server fails to start with "intel: waited 2020 ms for i915.ko driver to load", has anyone experience with this?
<clever> dhess: nixops bakes its own public key into the nixos config it builds
<clever> dhess: so send-keys cant really change things
<cransom> i stopped nixops'ing partly due to everything i deploy is in an auto scaling group and worked out my own method for secret storage. needing to nixops when we scale up for load wasn't a feasible option
iqubic has joined #nixos
<dhess> anyway I certainly don't want to rewrite key deployment or fleet management in my own wrapper, so I think the right move is to keep using NixOps.... I just don't want it to be so clever (pardon the pun)
<dhess> clever: good point.
devalot has joined #nixos
<dhess> tilpner: how do you deploy secrets with your wrapper?
dbmikus has joined #nixos
<tilpner> dhess: I... don't :/
<tilpner> cransom: Is your "own method for secret storage" viewable somewhere?
dermetfan has quit [Ping timeout: 240 seconds]
<dhess> I'm also thinking about moving to something like AWS Parameter Store for secrets, so that is something I will probably eventually stop using in NixOps anyway.
<gchristensen> nice
<dhess> though for non-EC2 machines you still need to deploy the .aws credentials
<devalot> I'm running nix-build in a Docker container. I'd like to cache /nix/store entries. Should I just mount /nix/store from a directory on the host?
Henson has joined #nixos
<dhess> however that could be just a simple scp/rsync step as part of the wrapper
<cransom> tilpner: it's not that exciting. i take some json files that dhall makes, use KMS to encrypt them and put them in the store. when the machine boots, it has permissions to ask kms for a key to decrypt them, and it sticks them in /run/keys for a service to parse them out for services to use them
<dhess> so then it's really just the fleet management part of NixOps that provides value.
<dhess> cransom: hey that sounds pretty exciting to me :)
<cransom> but i should write that down somewhere.
<dhess> I like every part of that (except maybe the part about the store)
reinhardt has quit [Ping timeout: 245 seconds]
<tilpner> cransom: Is KMS an AWS thing?
<cransom> tell me about the qualms about the store
<dhess> cransom: I don't want encrypted secrets to be world-readable.
<cransom> and yes, KMS is an AWS thing. but it's just an encryption service. you could do somethign similar with vault/et al
goibhniu has quit [Ping timeout: 245 seconds]
<cransom> dhess: i don't know how to ship a file into the cloud where it isn't world readable.
ixxie has joined #nixos
<Henson> what's the proper way to initialize a per-user profile? I have some symlinks in my home directory that point to /var/nix/var/profiles/per-user/username/foo but can't remember how I did it.
<gchristensen> nice
<dhess> cransom: in my imaginging, you don't ship it "into the cloud." You just scp it to the host.
<gchristensen> nice oops
<tilpner> Henson: On NixOS? users.users.foo.packages
<gchristensen> Henson: it is automatic
<dhess> host(s).
<gchristensen> Henson: those symlinks get created as soon as your shell starts for the first time
<Henson> just with the nix package manager, not on NixOS
<cransom> the decrypted secrets are in memory only, and have permissions to keep them from most other things. but if you get into the box, you'll probably find a way to get them easily enough. and if we find that, well, we patch bugs, rotate secrets, and redeploy
<Henson> I know there's "nix-env -p" but can't remember if I make that operate on the profiles in /nix/var/... do adjust profile generations, or if I can operate on the symlink in my home directory that points to the most current generation in /nix/var/...
goibhniu has joined #nixos
<Henson> do adjust -> to adjust
<gchristensen> Henson: it sounds like you have another question lurking below the questions you're asking
<dhess> cransom: it's like shadow password files -- just another part of defense in depth.
<cransom> dhess: that's a valid option. but one of our requirements was that there as few external dependencies as possible when a host comes up. we came from a world where chef had to run and download from github, update apt, and reboot before it was even ready. the only thing we wait on now is secrets decryption and the new hosts are up in about a minute
<dhess> (though I realize that if you're doing immutable users on NixOS, you're already storing your crypted passwords in the store :\ )
<cransom> if we have to have some signaling where a machine boots and waits for secrets from some other service we manage, it's just not appealing.
<Henson> gchristensen: heh, the underlying question is how can I use a profile directory other than ~/.nix-profile. Using "nix-env -p" does all the symlinking in my home directory, instead of tucking everything away in /nix/var/... and having the symlink just point to the current generation.
<dhess> cransom: let me be clear that I'm not being critical. As I said I like it (and it's better than what I have now). It's just the one bit that sounds not "great."
<dhess> I would take it I think over what I'm doing now.
<Henson> gchristensen: I used to know how to do it, but I've forgotten
<cransom> our users don't have passwords set at all, just ssh public keys
<dhess> cransom: I've also considered doing that. Are they just NOPASS in sudoers?
<gchristensen> Henson: why do you want to? nix-env will leave everything in /nix/var/nix
<cransom> dhess: trade offs, trade offs everywhere. but yes, the system now is an objective 10x improvement over the last thing we had.
<gchristensen> but with one symlink in ~
rauno has quit [Remote host closed the connection]
<dhess> cransom: is this on GitHub or similar?
<Henson> gchristensen: this is for deploying an isolated piece of software. I don't want this software to be in ~/.nix-profile, but in its own separate profile directory.
nschoe has quit [Ping timeout: 245 seconds]
tzemanovic has joined #nixos
<gchristensen> ok, what for? I'm trying to get to root motivation
<cransom> dhess: rather than passwords, `security.pam.enableSSHAgentAuth`.
<dhess> cransom: oh hmm, I've never used that
<gchristensen> dhess, cransom: my job-2 had it setup that after any user logged in, it would "taint" the node and schedule it for termination 24hrs later
<clever> cransom: sudo
<Henson> gchristensen: just for the sake of conceptual cleanness.
<clever> cransom: sudo requires a password, and cant accept a forwarded agent
<gchristensen> Henson: what are you trying to d?
<gchristensen> do
<gchristensen> like, the very very end goal
<cransom> (and also, wheel users don't need a password)
<dhess> gchristensen: I have boxes with state, can't do that, and I need to shell in and poke around sometimes :)
<yayforj> mpickering: wow! stack2nix! that nix file tho... does it replace the whole haskellPackage?
<cransom> which is all the users that can log in, really
hellrazor has quit [Ping timeout: 272 seconds]
<cransom> gchristensen: i like the taint notion. at least in my current environment, the people that can log in and have the ability to update something, know better.
tzemanovic has quit [Ping timeout: 244 seconds]
Denommus has quit [Remote host closed the connection]
<clever> yayforj: yeah, stack2nix replaces the entire haskellPackages set, based on what the stack file said
<clever> cransom: oh, that can work
<clever> cransom: only issue, is that it doesnt obey services.openssh.authorizedKeysFiles
<dhess> clever: I was just thinking the same thing.
Judson has joined #nixos
<dhess> I also disable ~/.ssh/authorized_keys in my configs
<clever> cransom: we have also disabled the files in ~/.ssh/, so authorized keys cant be edited from the user itself
Judson is now known as Guest39518
<Henson> gchristensen: I figured out how I did it. I specified the /nix/var/.../foo path with the "nix-env -p" command, and just made a symbolic link from ~/foo to /nix/var/.../foo
<clever> cransom: and line 27 is to deal with the fact that the aws backend of nixops, DOES NOT bake its own key into the nixos config!
<dhess> cransom: so let me get this straight; I use that and put the user in wheel and then the user can ssh in and sudo with no password being set?
<clever> cransom: it relies on the file that was created on the first boot
<cransom> my god so many hilights
<clever> cransom: none, and aws, handle the nixops generated key in different ways
iqubic` has joined #nixos
<clever> dhess: thats what it looks like to me
dermetfan has joined #nixos
<dhess> good to know. I'll probably do that.
<cransom> dhess: it was a while back, i don't remember if `wheelNeedsPassword` explicitly is required for ssh auth sock sudo auth, you may want to check yourself.
<gchristensen> cransom: how does it feel
<dhess> it does make it easier to `sudo foo` without thinking though :)
xkapastel has quit [Quit: Connection closed for inactivity]
<yayforj> clever: should i put it in an overlay then? whould it be a 'correct' way of using it?
<cransom> dhess: sharp knives are sharp.
iqubic has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/aaeaa6d1c60 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<clever> yayforj: just import that file, and use its result, instead of haskellPackages
ubert has quit [Quit: Leaving]
<cransom> clever: re obey services.openssh.authorizedKeysFiles, it doesn't. it would be nice if it did, there should be an issue for it. but changing authorizedkeys location isn't particularly common so it's not much of a pain point for the vast majority.
<{^_^}> [nixpkgs] @veprbl merged pull request #55275 → singularity: 2.6.0 -> 2.6.1 → https://git.io/fh9ZL
<{^_^}> [nixpkgs] @veprbl pushed commit from @scalavision to master « singularity: 2.6.0 -> 2.6.1 »: https://git.io/fh9Co
<cransom> but as you make choices that take you off the heavily beaten path, its not surprising that you find bugs like that. it's just not a place lots of people go
lux1 has joined #nixos
danielrf has quit [Ping timeout: 252 seconds]
alex_giusi_tiri has joined #nixos
iqubic` has left #nixos ["ERC (IRC client for Emacs 26.1)"]
Denommus has joined #nixos
chross-q has joined #nixos
waleee has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @Infinisil merged pull request #55281 → idrisPackages.tparsec: 2018-11-09 -> 2018-12-21 → https://git.io/fh9cF
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fh9C7
chross-q has quit [Client Quit]
<clever> cransom: the same can be said about what nix has done to basically every package in the world
<cransom> amen.
reinhardt has joined #nixos
<cransom> some people do some really weird things to deliver software
xkapastel has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
<dhess> hehehe
sigmundv_ has quit [Ping timeout: 240 seconds]
ThatDocsLady has quit [Ping timeout: 250 seconds]
<alex_giusi_tiri> Hi! When Nix is compiling a package, where would its build dir be? I ran, in preBuild=''pwd'', but the path is absolute, such as '/build/<pkg-name>/build/'. I have this error where a './configure' file starts with '#!/usr/bin/env bash', but '/usr/bin/env' would not be found. I tried sed substituting it with just 'env', 'bash', and with '/run/current-system/sw/bin/bash', and now, I am trying with '${bash}', but it seems to me
<alex_giusi_tiri> a chroot (because there is no actual '/build' folder in the root), and cannot access outside files.
<elgoosy> hi, after doing cabal2nix . > default.nix, i get this https://pastebin.com/zHtDzNJq
<alex_giusi_tiri> with ${bash} I got /nix/store/a9i0a06gcs8w9fj9nghsl0b6vvqpzpi4-bash-4.4-p23/bin/bash: ./configure: /nix/store/a9i0a06gcs8w9fj9nghsl0b6vvqpzpi4-bash-4.4-p23: bad interpreter: Permission denied
<elgoosy> however, doing nix-shell --attr env default.nix, i get an error error: cannot auto-call a function that has an argument without a default value ('mkDerivation')
ikitat has joined #nixos
<srhb> alex_giusi_tiri: You should not rely on knowing the temporary path anyway. You can use patchShebangs to fixup any configure scripts in preConfigure.
_kwstas has joined #nixos
_kwstas has quit [Client Quit]
<{^_^}> [nixpkgs] @Infinisil merged pull request #51980 → nixos/munin: New options (and some bugfixes) for service configuration → https://git.io/fpFYI
<srhb> alex_giusi_tiri: You were close to the solution though, however, ${bash} is just the path to the base directory of bash in the nix store. With /bin/bash appended, it would have worked. However, prefer patchShebangs to get the bash from stdenv :)
<{^_^}> [nixpkgs] @Infinisil pushed 10 commits to master: https://git.io/fh9Cp
<mpickering> Here's how I fixed the window manager problem - https://discourse.nixos.org/t/window-manager-i7-8700-with-integrated-graphics/2051
{^-^} has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
<alex_giusi_tiri> srhb: thank you. I had missed that part
peacememories has joined #nixos
freeman42x has joined #nixos
<alex_giusi_tiri> how is patchShebangs used? https://stackoverflow.com/questions/35724883/hard-coded-bin-path-and-nixos mentions to run something like `patchShebangs ./scripts/build-js1/build-js1-linux.sh`, but should I run that in a hook, like 'patchPhase', for each needed file?
<clever> alex_giusi_tiri: you can also run it on a directory, and all files in the directory will be patched
<clever> alex_giusi_tiri: if the script is ran during the build, then patchPhase is a good place, if its at runtime, then any phase can work
<alex_giusi_tiri> oh, that's very convenient!
<alex_giusi_tiri> thank you
Denommus has quit [Remote host closed the connection]
danielrf has joined #nixos
agander has quit [Ping timeout: 250 seconds]
bpa has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
agander has joined #nixos
ixxie has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dermetfan has quit [Ping timeout: 250 seconds]
Church_ has joined #nixos
yayforj has quit [Ping timeout: 245 seconds]
<Henson> what if I want to use Nix in single-user mode as the root user? The documentation says that the single-user mode doesn't support it, but I don't need the functionality or complexity of the multi-user setup, I just want to use single-user nix as root. Can I just install it as another user and then chown /nix to root and make a nix-profile for root? Or will that somehow cause problems?
<Henson> Nix package manager, that is
<clever> Henson: if nix has root when doing a build, it assumes the nixbld group exists, and has build users within it
<clever> i'm not sure if that has an off switch
<Henson> clever: ok
<mpickering> So now I have a window manager, it just loads xterm rather than xmonad
<Henson> clever: ok, so how does one install nix as root in the first place, in order to run the nix daemon to make multi-user mode work?
<gchristensen> sh <(curl https://nixos.org/nix/install) --daemon
<Henson> gchristensen: ahh, excellent, thank you!
Czen has quit [Quit: net_error]
<Church_> grahamc[m]: Nice post on lobste.rs
Czen has joined #nixos
<clever> mpickering: the default desktop manager is xterm, you need to enable another one, and then either select it at the login screen, or disable xterm
<gchristensen> thanks, Church_ !
<Church_> Oh doy
<Church_> Heh
chross-q has joined #nixos
yayforj has joined #nixos
<clever> mpickering: window manager is a seperate option from desktop manager
nokomprendo has joined #nixos
Denommus has joined #nixos
<mpickering> so I set `services.xserver.desktopManager.default = "none";`
<mpickering> see line 83?
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/addb7f23ebc (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<clever> mpickering: ah, yeah
<mpickering> window manager I set on line 79 to xmonad
<mpickering> enable xmonad on line 77
<clever> mpickering: it may also help to set desktopManager.xterm.enable = false;
<clever> and nixos-rebuild tries to avoid restarting X, because it interupts everything, so you need to `systemctl restart display-manager.service` manually after these kinds of changes
<mpickering> I have just been rebooting before
<mpickering> Will try that
<Church_> I really need to get my lobsters package mainstreamed,
<mpickering> after logging in, I now have a screen with a cursor
<mpickering> I'm not sure though how the logic screen part is configured
dermetfan has joined #nixos
<clever> mpickering: if you ssh in from another box, and run `ps -eH x`, is xmonad running, anything else near it?
<gchristensen> it'd be nice if nixops made GC roots for its deployment builds
<clever> gchristensen: it does, when you turn on rollback
<gchristensen> locally?
<gchristensen> hmm!
<clever> lrwxrwxrwx 1 clever users 45 Feb 1 19:47 /nix/var/nix/profiles/per-user/clever/nixops/ca55b021-87f5-11e8-b6f5-024225fad90e -> ca55b021-87f5-11e8-b6f5-024225fad90e-132-link
<gchristensen> very interesting. my gc-every-10min makes nixops pretty dang obnoxious :P
<clever> gchristensen: this is a nix-env profile, that roots every version i have deployed to my router/nas
<mpickering> clever: Something is happening as the xmonad config file is being compiled now
<mpickering> I'll return to this tomorrow thanks for your help
Czen has quit [Ping timeout: 240 seconds]
<mpickering> so xmonad is starting
<mpickering> and is running but fails to respond to key bindings
zgrep has quit [Ping timeout: 250 seconds]
zgrep has joined #nixos
mmlb has quit [Ping timeout: 245 seconds]
tzemanovic has joined #nixos
Thra11 has joined #nixos
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Czen has joined #nixos
Avaq has joined #nixos
<Avaq> What happens if I use nixops to deploy to a targetHost that runs NixOS? Will that machine create a new main generation? Is it possible, and what does it mean to deploy multiple NixOps machine specs to the same targetHost?
<clever> Avaq: when you do a `nixops deploy`, it will completely replace the old system, by just copying the new stuff into /nix/store and updating /run/current-system
<clever> Avaq: and setup a new generation, as-if you had done a nixos-rebuild
<lucus16> Hmm, how would I go about creating a new cross compiling stdenv, specifically for riscv32 embedded?
<clever> Avaq: if you missed anything vital, it will behave the same as if you had simply removed that from configurationnix
<lucus16> shlevy: Do you know something about that?
<Avaq> clever: I see. So the configuration.nix inside that machine becomes irrelevant
<clever> Avaq: yep
<clever> Avaq: one critical thing when migrating from nixos to nixops, is to ensure you setup fileSystems. and boot. correctly, since it ignores configuration.nix and hardware-configuration.nix
aswanson has quit [Quit: WeeChat 2.2]
<Avaq> Right. That makes sense.
<{^_^}> [nixos-hardware] @nocent closed pull request #91 → apple: Add support for MacBook 3,X → https://git.io/fhtYi
<clever> this nixos module can also come in handy
<digitalgrease> can nixos do running kernel updates, similar to ksplice?
<clever> behind the scenes, nixos-rebuild always obeys <nixos-config>, which defaults to /etc/nixos/configuration.nix
<clever> digitalgrease: not currently, and i havent seen any plans to add it
<clever> Avaq: but, the above module, will remap <nixos-config> to a file that just throws an error
<clever> Avaq: so, nixos-rebuild will fail with a clear error, rather then undoing everything nixops did
<clever> Avaq: it will also remap <nixpkgs> to whatever nixpkgs was last used to deploy
ottidmes has quit [Quit: WeeChat 2.2]
<Avaq> Ah, so if me or someone would be using that machine, knowing it's NixOS, this would prevent them from making the mistake of doing a nixos-rebuild to say, update their software
<clever> Avaq: yep
<clever> Avaq: another handy thing, for both nixos and nixops, is to split the config up into logical blocks: https://github.com/cleverca22/nixos-configs/blob/master/media-center.nix
<clever> that file contains everything you need to turn a nixos box into a media center
<clever> on bootup, plex just runs automatically, and i can play any media stored on any plex server i have permissions on
<lucus16> clever: Can you tell me something about how the cross compilation stdenvs work and how I can create a new one?
<clever> no mouse needed either
<clever> > pkgsCross.mingwW64.hello
<{^_^}> "<derivation /nix/store/b0mbysqh59daz7pyb5lzzr8k20ba22h3-hello-2.10-x86_64-pc-mingw32.drv>"
<clever> lucus16: cross-compile package sets are auto-generated for nearly all platforms (maybe all?) and you can then use that to cross-compile almost any package
<clever> > builtins.unsafeGetAttrPos "pkgsCross" pkgs
<{^_^}> { column = 5; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/stage.nix"; line = 129; }
<clever> and that set is configured on line 129 of stage.nix
<clever> lucus16: its just running mapAttrs over lib.systems.examples
<clever> so adding a new setup to that, should add it to pkgsCross automatically
<clever> but if you just want to target an existing platform, pkgsCross.mingwW64.stdenv.mkDerivation
<Avaq> clever: I'll be sure to browse around your repo for inspiration as I slowly move my network to NixOps. Thank you. :)
<mpickering> clever: Silly mistake, I needed to add `rxbt_unicode` to my system packages.
<mpickering> Now it works, thanks for your help mate
<clever> mpickering: yep
<mpickering> Found that error looking in journalctl
Church_ has quit [Ping timeout: 246 seconds]
nschoe has joined #nixos
<yorick> Fate / Riscv32 None Elf Stage Final gcc Debug Wrapper
Czen has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jlesquembre opened pull request #55282 → kitty: install completions → https://git.io/fh9lZ
<{^_^}> [nixpkgs] @romildo opened pull request #55283 → materia-theme: 20181125 -> 20190201 → https://git.io/fh9lC
ixxie has quit [Remote host closed the connection]
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
cswl has quit [Quit: Connection closed for inactivity]
pie_ has joined #nixos
<pie_> clever: there was a tool somewhere in nixpkgs for locating suggestions for .so dependencies of binaries?
<pie_> i dont think it was in the package sets, there was some tooling directory somewhere
<clever> > pkgs.autoPatchelfHook
<{^_^}> "<derivation /nix/store/fyq0y0l80dqqpz3cg5qxdxnyhf9jhcm9-auto-patchelf-hook.drv>"
<clever> pie_: this is also a thing, but i suspect it needs the right things in buildInputs already
<pie_> thanks that was it i think
drakonis has joined #nixos
<pie_> clever: that sounds kind of ehh...
Czen has joined #nixos
<laas> do any of you run lutris?
<laas> if so, what nix expression did you use to install it?
worldofpeace has joined #nixos
<pie_> laas: i was working on something
Church_ has joined #nixos
jonreeve has joined #nixos
<pie_> umm...give me a minute to think, i dont think i have the script on hand
<jonreeve> Does anyone know why my system might have stopped updating? I'm just getting messages like "build faild": https://hastebin.com/owofuxobit.coffeescript
q6AA4FD has joined #nixos
<clever> collision between `/nix/store/bfw27ldvy66v6mhwkzillzz1ddfz5lwf-python3.7-msgpack-0.5.6/lib/python3.7/site-packages/msgpack/__pycache__/exceptions.cpython-37.pyc' and `/nix/store/9dkp2r0hsr2jkd44qinw6m7fk8lsx2xy-python3.7-msgpack-python-0.5.6/lib/python3.7/site-packages/msgpack/__pycache__/exceptions.cpython-37.pyc'
Thra11 has quit [Quit: WeeChat 1.9.1]
<pie_> laas: have you found anything existing
<clever> builder for '/nix/store/4y42l6irgbdszk6npn1a9mz5hr34l7jw-python3-3.7.2-env.drv' failed with exit code 25
<clever> jonreeve: you have conflicting files in a python thing your installing
<clever> jonreeve: something you put into systemPackages
migy has quit [Quit: migy]
migy has joined #nixos
aswanson has joined #nixos
<laas> pie_: no I haven't
<laas> that's why I asked
<jonreeve> clever: How do I resolve the conflict?
<clever> jonreeve: it looks like you have 2 different variants of msgpack in that python env
<laas> it seems like I'll have to make my own, but I'm still a noob to nix
<laas> aszlig: I can see you made this issue on Lutris: https://github.com/lutris/lutris/issues/666
<{^_^}> lutris/lutris#666 (by aszlig, 1 year ago, closed): Integrate Nix into Lutris
<laas> do you have a nix expression you use for Lutris?
<tilpner> laas: Maybe you can cannibalise #42075
<{^_^}> https://github.com/NixOS/nixpkgs/pull/42075 (by Chiiruno, 33 weeks ago, open): lutris: init at 0.4.18
<laas> that's a long discussion
<tilpner> Or... help whoever works on that, I guess
<jonreeve> clever: Is there a command I can run that will fix it?
<clever> jonreeve: you need to edit your configuration.nix, to not put 2 msgpack's into the python env
<{^_^}> [nixpkgs] @vcanadi opened pull request #55284 → pythonPackages.notedown: init at 1.5.1 → https://git.io/fh9lb
<jonreeve> clever: I don't even have one msgpack
moosefish has joined #nixos
<clever> jonreeve: do you have anything python based in your systemPackages?
<jonreeve> Yep. Lots of stuff: pandas, matplotlib, jupyter, nltk, spacy...
<clever> jonreeve: try commenting one out, and see if `nixos-rebuild build` passes or fails
nokomprendo has quit [Quit: Leaving]
<moosefish> I've just installed nix multi-user on MacOS (Mojave) and most interesting nix commands (eg: 'nix-env -i nix-info') die before finishing with "error: unexpected end-of-file". Can't seem to find any information searching around, is there somewhere I can look to start debugging this?
<tilpner> moosefish: Pass multiple -v to them
<tilpner> -vvv (etc.) works too
<pie_> laas: if youre not in a rush i think i have something with some patches at home, ill be home in an hour or twi
Czen has quit [Ping timeout: 240 seconds]
tzemanov_ has joined #nixos
<jonreeve> clever: That seems to work, but I need all of those packages to work together for a python project
<clever> jonreeve: that will at least narrow down which one is broken, and needs more attention on it
<LnL> ,library
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<jonreeve> Is there a minimal example of a python project nix-shell file somewhere?
<LnL> jonreeve: while nix allows using multiple versions of things you can't with systemPackages
<tilpner> moosefish: curl https://cache.nixos.org/v0501khs3qmi8zm8qshpi4vpsxfwskkm.narinfo | sha256sum is e89683207d58dcab441de2c2a92742610f0d222626bb6929fdad80506c997ab8 here
tzemanovic has quit [Ping timeout: 252 seconds]
upsaday__ has joined #nixos
<moosefish> tilpner: same
<LnL> try something like that
srhb has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 merged pull request #55270 → ranger: add pillow dependency → https://git.io/fh9O0
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fh98I
srhb has joined #nixos
<tilpner> moosefish: If you passed less than 5 -v, pass more (I don't know how many levels there are, but let's be sure)
<{^_^}> nix#2523 (by periklis, 12 weeks ago, open): darwin: nix-daemon crashes due to OBJC_DISABLE_INITIALIZE_FORK_SAFETY
<slabity> Does anyone know what happened to the oraclejdk9 package? It's like it just vanished from the nixpkgs repo.
<tilpner> moosefish: You can also try strace-ing the process, but that's going to be hard to find
upsaday__ has quit [Remote host closed the connection]
<Avaq> What's the reason that network.enableRollback defaults to false?
upsaday_ has quit [Ping timeout: 272 seconds]
<tilpner> Avaq: Where did you find that?
JosW has joined #nixos
<gchristensen> its a nixops option
<srhb> It's in the NixOps manual.
<gchristensen> maybe aminechikhaoui has an opinion? :)
<tilpner> Oh. That sounds really useful :/
<moosefish> LnL: bingo
Czen has joined #nixos
noam has quit [Ping timeout: 245 seconds]
<Avaq> tilpner: https://nixos.org/nixops/manual/#idm140737318294064 last sentence in the section
<moosefish> LnL: no known workaround?
yayforj has quit [Quit: WeeChat 2.2]
<LnL> there are some workarounds in the issue
<jonreeve> LnL: Can you get that gist to work, if you replace `pyyaml` with `spacy`?
<jonreeve> I can't install this library for the life of me
<LnL> simplest things you can do is do a single-user install or nix 2.1.3
<moosefish> let's give 2.1.3 a go then, danke
<aszlig> laas: only a default.nix for lutris itself, but it was for the work on ripping apart the lutris runners/installers so that it uses Nix, so it's not in a working state (yet)
<aszlig> laas: and i've been packaging games for nix since a while, so i thought lutris could be a good fit if it handles all the steam, gog, itch, whatnot-integration well
reinhardt has quit [Quit: Leaving]
zupo has joined #nixos
Mateon3 has joined #nixos
<LnL> moosefish: versioned installers are available at https://nixos.org/releases/nix/
<pie_> clever: I've run into something quite strange.
Mateon1 has quit [Ping timeout: 250 seconds]
Mateon3 is now known as Mateon1
<aszlig> although itch.io is one of the less annoying platforms because you can get the exact revision you ask, while for example for gog* and HB you always get the latest revision and thus the sha won't match anymore
<infinisil> slabity: cransom: I wish people would pay a bit more attention to backwards compatibilty and deprecation..
<infinisil> It's annoying when your code suddenly stops working without any indication why
nschoe has quit [Ping timeout: 252 seconds]
<aszlig> * -> only applies for gnu/linux, because for win/osx there is the gog galaxy api
<pie_> clever: https://bpaste.net/show/ae0b64b6586e The first rebuild works, the second rebuild errors as expected, but I dont understand how it capable of building anything at all.
<zupo> Hey all! I'm stuck with a Raspberry PI with Nixos installed. The Pi is configured to have a static IP (10.3.9.10) when I am home, but I away for some time, on a different network, where it needs the IP to be 192.168.8.10. I change the ip in configuration.nix, but then nixos-rebuild switch fails because it cannot download cache.nixos.org. Can I tell nixos-rebuild not to use the Internet? Or can I tell the system to use a different IP temporarily via the terminal?
moosefish_ has joined #nixos
<aszlig> so if lutris handles the ugly parts, we can do the nice parts with nix
<pie_> clever: basically im guessing the function that is configuration.nix has to get its pkgs argument from a hardcoded version of import <nixpkgs>
<clever> pie_: changes to nix.nixPath dont take effect until afetr the build has finished
<pie_> clever: and i dont have a nixpkgs because i wanted to name it nixos
<{^_^}> [nixpkgs] @jabranham opened pull request #55285 → syncthing 1.0.0 -> 1.0.1 → https://git.io/fh988
<slabity> infinisil: Especially since there doesn't seem to be an oraclejdk10 or 11
<clever> pie_: so you can have a totally broken nix.nixPath, and it will work, once
<slabity> I need to regress to 8, which doesn't even work properly
<cransom> infinisil: true, but, i can't seem to find a link from oracle even to download 9 any more either.
<pie_> clever: yeah i understand why its erroring on the second build. i dont understand why its capable of starting to try building anything at all
<LnL> jonreeve: oh, it's the package itself
<clever> pie_: what path is at the end of the list you truncated?
moosefish has quit [Ping timeout: 256 seconds]
<clever> pie_: nix itself?
<pie_> clever: oops i didnt mean to truncate it
<aszlig> laas: also here is another one of the ugly parts for gog, because their API asks for a captcha: https://github.com/openlab-aux/vuizvui/blob/2e9a9d5639385ab18a040afc894731428f70ee1f/pkgs/games/gog/fetch-gog/default.nix#L150
<infinisil> zupo: Try disabling substituters with `--option substitute false`
<pie_> clever: but yes it is
<__monty__> infinisil: You might like ranger. We're sporting python compatibility back to 2.6 and we try to never introduce backwards incompatible configuration changes. #shamelessplug ; )
<clever> pie_: one min
<zupo> infinisil: tnx! trying now
<infinisil> __monty__: I mean, I don't mind getting rid of old stuff, but there at least could be something like an error "This is not supported anymore" instead of just removing it without a trace
<clever> pie_: nixos-rebuild will first try to build -A nix, to get the new nix from your (new) nixpkgs
<LnL> jonreeve: it works outside of python.withPackages, which is pretty weird
<clever> pie_: if that fails for any reson, it thinks your old nix is too old
jonreeve has quit [Ping timeout: 246 seconds]
<clever> pie_: so it grabs a hard-coded nix build directly from the binary cache, bypassing all nix expressions
upsaday has joined #nixos
upsaday has quit [Client Quit]
<vaibhavsagar> slabity: can you use openjdk?
<__monty__> infinisil: That doesn't result in such an error?
<aszlig> laas: while this works great for some single "nix-build <somegame>" because it somewhat abuses fixed-output derivations, it will get nasty with lots of parallel requests, because you need to solve a captcha then for every single download (all that within a timeout they have, which i don't remember)
Czen has quit [Ping timeout: 272 seconds]
<infinisil> __monty__: Am confused, I thought we're talking about the jdk9 vanishing
<aszlig> laas: so the idea was, that lutris would handle all the api login, captcha handling and whatnot and just supply the api-token to nix and you get a collection of games readily built without fetching random binaries from lutris.net (which it does right now)
_kwstas has joined #nixos
<__monty__> Oh, I thought we were talking APIs, nvm, carry on.
<slabity> vaibhavsagar: Openjdk8 has a bug in it for the particular app I'm using, and openjdk11 doesn't even run. Crashes with a 'NoClassDefFoundError'
<slabity> Because I guess it got rid of swing.plaf.windows.WindowsLookAndFeel? Which is for some reason required in the app I'm using
<aszlig> laas: so by default, the nix store in lutris would live in a chroot within the homedir, but optionally you could just use the system store, which should also make it very easy to package lutris on nix(os)
alex`` has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @benley merged pull request #55254 → latte-dock: 0.8.4 -> 0.8.5 → https://git.io/fh9k0
<{^_^}> [nixpkgs] @benley pushed commit from @r-ryantm to master « latte-dock: 0.8.4 -> 0.8.5 (#55254) »: https://git.io/fh98u
<spacekitteh[m]> how do i set a derivation argument when invoking nix-shell? is it e.g. --arg myparam 'true'
moosefish_ has quit [Quit: Page closed]
civodul has joined #nixos
<pie_> clever: oh huh. thats kind of weird but makes sense I guess, you looked up the source_
<pie_> ?
<clever> spacekitteh[m]: --arg myparam will only work if shell.nix starts with { myparam }: or { myparam ? def }:
<clever> pie_: i memorized the source....
<pie_> clever: ok so you just had to think for a second xD
<clever> pie_: i had to wait for chrome to load, so i could link the exact line :P
<spacekitteh[m]> clever: it does. if that's the case then it must be stack passing the parameter non-verbatim then
<pie_> clever: oh lol i didnt see the link
<pie_> clever: aah found i
Czen has joined #nixos
<pie_> clever: thanks... /me still scratching his head :P
<clever> spacekitteh[m]: `strace -f -e execve ...` will show the exact commands being ran
<spacekitteh[m]> oh cheers
agander has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @scalavision opened pull request #55286 → singularity: rewrite path to cp in bootstrap script → https://git.io/fh98V
tzemanovic has joined #nixos
Glider_IRC has joined #nixos
tzemanov_ has quit [Ping timeout: 240 seconds]
<zupo> @infinisil: nope, didn't help
<infinisil> zupo: error?
<zupo> it tries to download something from tarballs.nixos.org
<zupo> then says dependencies couldn't be built
<zupo> I have the configuration in git and I confirmed I did not change anything else besides "address" , "defaultGateway" and "nameservers" values in https://github.com/zupo/nix/blob/master/tv.nix#L44
<infinisil> zupo: Try also giving it `--option fallback true`
<zupo> sec
<infinisil> (Btw, you can look what these options do in `man nix.conf`)
o1lo01ol1o has quit [Remote host closed the connection]
tzemanov_ has joined #nixos
<zupo> @infinisil: same error
<infinisil> zupo: Full error?
<infinisil> ,paste zupo
<{^_^}> zupo: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
Denommus has quit [Read error: Connection reset by peer]
<zupo> I'd love to, but I can't SSH into the thing
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
<zupo> sec, I'll upload a pic
<infinisil> Ah
<infinisil> Doesn't matter much
tzemanovic has quit [Ping timeout: 240 seconds]
<infinisil> Hmm, I don't know anything else
<zupo> chicken and egg problem :)
o1lo01ol1o has joined #nixos
<zupo> @infinisil: if it rings any new bells: https://ibb.co/VgNHqHG
<zupo> how stupid is it to mount the SD card into my laptop, grep for the old IP and change it manually (inside wherever in /nix/store it is)?
<zupo> then boot it
_kwstas has quit [Quit: _kwstas]
<zupo> i.e. "./nix/store/3qj2p59y2dvq5lybxypb445npsxlrdbi-unit-script-network-addresses-eth0-start:echo "10.9.3.10/24" >> $state"
<symphorien> ip addr add 10.9.3.10/24 dev foo should do the trick as well
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<Avaq> Does NixOps cleanup garbage on targetHosts?
<gchristensen> no
halfbit has joined #nixos
<infinisil> symphorien: Ah yeah, why didn't I think of this! ^^ zupo
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #55287 → smlnj: 110.84 -> 110.85 → https://git.io/fh985
<zupo> symphorien: what does "dev foo" stand for?
<zupo> what should be there?
erictapen has quit [Ping timeout: 268 seconds]
<symphorien> dev ${insert the device name of your network card}
<zupo> got it
<symphorien> the list of devince is in ip link
<spacekitteh[m]> anyone know how to do this correctly in Stack? i get an this error: error: undefined variable 'arg' at (string):1:3. the command i actually run is: stack build --nix-shell-options --arg testDeps 'false'
phizzz has joined #nixos
<{^_^}> [nix] @matthewbauer opened pull request #2667 → Add armv6l-linux & armv7l-linux as cross jobs → https://git.io/fh98d
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer closed pull request #51626 → nix: add binaryTarball derivation → https://git.io/fpDT8
pmahoney has quit [Ping timeout: 244 seconds]
Acou_Bass has joined #nixos
<aminechikhaoui> Avaq gchristensen not sure actually why rollback isn't enabled by default, maybe because that will keep a gc root for each deployment which takes up space so it was more of an opt-in option
tzemanovic has joined #nixos
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
alex`` has joined #nixos
<infinisil> spacekitteh[m]: Wouldn't you have to put quotes around the options?
<infinisil> --nix-shell-options '--arg testDeps false'
Makaveli7 has quit [Quit: Leaving]
<spacekitteh[m]> ...i didn't try with just single quotes. i'll give it a shot
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tzemanov_ has quit [Ping timeout: 272 seconds]
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<{^_^}> [nixpkgs] @veprbl merged pull request #55286 → singularity: rewrite path to cp in bootstrap script → https://git.io/fh98V
<{^_^}> [nixpkgs] @veprbl pushed commit from @scalavision to master « singularity: rewrite path to cp in bootstrap script »: https://git.io/fh98h
zupo has joined #nixos
<spacekitteh[m]> infinisil: ❤ ty
<{^_^}> [nixpkgs] @dywedir merged pull request #55044 → molden: 5.8.2 -> 5.9 → https://git.io/fhyxl
<{^_^}> [nixpkgs] @dywedir pushed commit from @markuskowa to master « molden: 5.8.2 -> 5.9.3 (#55044) »: https://git.io/fh94f
<zupo> @infinisil, @symphorien: solved it with "ifconfig eth0 192.168.8.10 netmask 255.255.255.0 up" and "route add default gw 192.168.8.1". Thanks for the help!
<phizzz> i'm struggling with getting a basic nix-shell going with a test package, w3m for example. is there a way to do something like this in default.nix: import <nixpkgs> { w3m }; and then do `nix-shell` and have the w3m package installed there?
<infinisil> phizzz: You can do `nix-shell -p w3m`
<infinisil> Or is that not what you want?
<symphorien> phizzz: with import <nixpkgs> {}; mkShell { buildInputs = [ w3m ]; }
jonreeve has joined #nixos
<phizzz> infinisil: ok i will try that, but i want to understand the default.nix syntax
sigmundv_ has joined #nixos
<symphorien> the syntax for shell.nix is: it must evaluate to a derivation whose buildInputs will be available in the PATH of the shell
<symphorien> a handy way to get such a derivation is to use mkShell as above
<infinisil> symphorien: That's more the semantics, not syntax though
<symphorien> right
<symphorien> well for the syntax, see my example above :þ
<Avaq> Trying out NixOps with a targetHost (my rbpi already running nixos) for the first time (tried vbox earlier). When I 'nixops deploy', I get the following error message (after "closures copied successfully"):
<Avaq> File "/nix/store/s2hqrcnqlny1vp8r88kkjml9asmaqyfp-nixops-1.6/lib/python2.7/site-packages/nixops/deployment.py", line 731, in worker
<Avaq> pi> /nix/var/nix/profiles/system/bin/switch-to-configuration: line 8: `use Sys::Syslog qw(:standard :macros);'
<Avaq> pi> /nix/var/nix/profiles/system/bin/switch-to-configuration: line 8: syntax error near unexpected token `('
<Avaq> pi> /nix/var/nix/profiles/system/bin/switch-to-configuration: line 7: use: command not found
<Avaq> raise Exception("unable to activate new configuration")
<Avaq> I had a feeling it might be related to using unstable channel on the targetHost (pi), so I changed it to a stable channel (nixos-18.09) and rebuilt. However, 'nixos-version' still reports "19.03pre167858.f2a1a4e93be (Koi)". Does anyone have an idea what might be going wrong?
<symphorien> ,pase Avaq
<{^_^}> symphorien: Did you mean paste?
<{^_^}> Avaq: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<Avaq> Sorry :$
<phizzz> ok ok thank you infinisil symphorien i'll go back to my sandbox hopefully i'll be able to crawl out and play with the big kids soon...
<symphorien> bless the fuzzy matching of {^_^}
<infinisil> phizzz: If you want to learn the Nix expression language (which is what is used in nix files): https://nixos.wiki/wiki/Nix_Expression_Language#Learning_resources
<symphorien> Avaq: do you deploy linux 5.0 ?
<symphorien> Avaq: this looks very much like your issue https://github.com/NixOS/nixpkgs/issues/53672
<{^_^}> #53672 (by eadwu, 4 weeks ago, open): switch-to-configuration not interpreted using perl
<Avaq> symphorien: That's exactly my error. I omited the first few repeating lines.
<phizzz> thanks for the suggestion infinisil. the nix manual is a tough read for a nix beginner
<Avaq> I'm not even sure how to change my kernel version, though.
<Avaq> How would have ended up on 5.x?
<symphorien> boot.kernelPackage = linuxPackages_latest or so ?
pie_ has quit [Ping timeout: 256 seconds]
<Avaq> symphorien: Oh, I do indeed have that! :$ It's a leftover from the Nixos on PI tutorial that I followed a while back.
hph^ has quit []
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bea326e8de4 (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<jasongrossman> symphorien++
<{^_^}> symphorien's karma got increased to 13
<samueldr> latest should still be 4.20
<samueldr> linuxPackages_testing would be 5.0-rcX
<aminechikhaoui> is sandboxing disabled by default for Linux systems still ?
phizzz has quit [Ping timeout: 268 seconds]
tdbgamer has joined #nixos
<samueldr> it should be enabled by default starting with nix 2.2 iirc
SpikeHeron has quit [Quit: WeeChat 2.3]
<aminechikhaoui> ah ok cool
kvda has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Avaq> symphorien: I switched to kernel version 4.19.18 on my host machine, but the error still happens when I try to deploy to it with nixops.
q6AA4FD has joined #nixos
<symphorien> is the host machine booted with 4.20 right now ?
<Avaq> As in, the targetHost
<Avaq> I rebooted it.
<Avaq> 'uname -r' reports 4.19.18
<symphorien> then I don't know
<symphorien> maybe mention this on the issue
<jonreeve> Is anyone here good with Python? I'm trying to install SpaCy like this, in a dev env using nix-shell: https://gist.github.com/JonathanReeve/5b79005038bd775aa0249e0720b2fe65
<lucus16> clever: How do pkgsCross and e.g. https://github.com/riscv/riscv-gnu-toolchain relate? It doesn't seem like nixpkgs knows about that repo, but it does seem like something it would need
<jonreeve> But it's not working, complains of collisions
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fh94E
<jonreeve> I just pasted the collision error in that gist
<matthewbauer[m]> lucus16: they both have the same upstream - gcc & binutils
<matthewbauer[m]> otherwise they use their own build processes that might not be very close
<Avaq> What is the output of 'nixos-version' based on?
<symphorien> the revision of nixpkgs used to build the current generation
erobl[m] has joined #nixos
<Avaq> I expect it to give me 18.09something when I set my nixos channel to nixos-18.09; but it's still giving me the previous version I had; 19.03pre..., from when I was using unstable channel.
<srhb> Avaq: It is in fact hardcoded into the script.
<srhb> Avaq: Then you probably still have nixos-version from that old channel.
<symphorien> Avaq: you must first nixos-rebuild for it to have effect
<Avaq> I did nixos rebuild
<Avaq> Many times, even rebooted
<symphorien> can you run nix-info ?
<symphorien> you might have changed your user's channel, and not root's
<typetetris> Hi there! Is clangd already in nixpkgs?
<srhb> ,locate clangd
<{^_^}> Found in packages: llvmPackages.libclang
<Avaq> That's odd: nix-channel --list gives 18.09, whereas nix-info says channels(root): ...19.03....
ottidmes has joined #nixos
<symphorien> Avaq: root and your user have distinct channels
<typetetris> Thanks
<symphorien> nixos-rebuild only takes root's channel into account
<Avaq> symphorien: I have two users, "root" and "avaq". I did all my nixos stuff on root. "avaq" doesn't even list any channels.
<symphorien> what does sudo nix-channel --list say ?
<Avaq> I am already root.
<Avaq> [root@nixos-avaq-pi:/home/avaq]# nix-channel --list; nixos https://nixos.org/channels/nixos-18.09
<srhb> Avaq: Did you in fact do nix-channel --update ?
<symphorien> ^
<Avaq> >.<'
<srhb> Channels are confusing. :P
<srhb> We need a fatality counter.
<Avaq> I typically run 'rebuild --upgrade', and load it from my bash history. I forgot it because I was on a different machine. :(
<{^_^}> [nixpkgs] @markuskowa merged pull request #55258 → libtommath: 1.0.1 -> 1.1.0 → https://git.io/fh9kA
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fh94y
knupfer has joined #nixos
npmccallum has quit [Quit: npmccallum]
jackdk has joined #nixos
<typetetris> When is the next "upgrade" of the emacs melpa packages in nixpkgs?
knupfer has quit [Remote host closed the connection]
<srhb> typetetris: I'm not aware of any schedule.
<srhb> typetetris: If you think we should bump it, you can open an issue and ping the usual suspects? Or maybe just PR the bump :)
<srhb> instructions are in the -packages exprs.
knupfer has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<typetetris> I look into it. (lsp-clangd is outdated now and included in lsp-mode, but that "step" isn't in nixpkgs yet.)
<srhb> Ah. :)
o1lo01ol1o has joined #nixos
jonreeve has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
mkoenig has quit [Ping timeout: 268 seconds]
mkoenig has joined #nixos
dermetfan has quit [Ping timeout: 245 seconds]
Ariakenom has quit [Quit: Leaving]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
simukis has joined #nixos
eadwu has quit [Quit: WeeChat 2.3]
maximiliantagher has quit [Remote host closed the connection]
bpa has quit [Remote host closed the connection]
maximiliantagher has joined #nixos
itorres has quit [Remote host closed the connection]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
maximiliantagher has quit [Ping timeout: 268 seconds]
tzemanov_ has joined #nixos
tzemanov_ has quit [Read error: Connection reset by peer]
iqubic has joined #nixos
tzemanov_ has joined #nixos
tzemanov_ has quit [Remote host closed the connection]
tzemanov_ has joined #nixos
tzemanov_ has quit [Read error: Connection reset by peer]
tzemanov_ has joined #nixos
tzemanov_ has quit [Remote host closed the connection]
tzemanov_ has joined #nixos
tzemanov_ has quit [Read error: Connection reset by peer]
tzemanovic has quit [Ping timeout: 252 seconds]
<typetetris> emacs2nix doesn't build for me at the moment ...
tzemanov_ has joined #nixos
tzemanov_ has quit [Remote host closed the connection]
<iqubic> what is emacs2nix?
<typetetris> the tool to update melpaPackages and stuff
gagbo has joined #nixos
devalot has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<typetetris> nice he totally missed pointing out fetching the submodules ...
<pie__> laas, still here?
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
c0ffee152 has joined #nixos
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
ottidmes has quit [Ping timeout: 250 seconds]
tzemanovic has joined #nixos
tzemanov_ has joined #nixos
tzemanov_ has quit [Remote host closed the connection]
<pie__> laas, i made this patch https://bpaste.net/show/ba569726c14c (which you should apply with the patches attribute, or something), https://bpaste.net/show/6ebc1ae118f1
<pie__> sorry its so half baked, I didnt go very far with it
<pie__> but that should get you part-way
alex`` has quit [Quit: WeeChat 2.3]
tzemanovic has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli closed pull request #55280 → gitlab-runner: 11.6.0 -> 11.7.0 → https://git.io/fh9n5
<pie__> also it seems most games on lutris are from steam or somehting
<pie__> not sure how that works, i dont have steam so i didnt get any of thatpackaged
__monty__ has quit [Quit: Lost terminal]
ikitat has quit [Ping timeout: 245 seconds]
maximiliantagher has joined #nixos
q6AA4FD has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @flokli merged pull request #55218 → gitlab-runner: 11.6.0 -> 11.7.0 → https://git.io/fhSA2
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fh9BC
<{^_^}> [nixpkgs] @flokli pushed commit from @bachp to release-18.09 « gitlab-runner: 11.6.0 -> 11.7.0 »: https://git.io/fh9B0
Dagger has quit [Excess Flood]
troydm has joined #nixos
<delan> g’day 👋 anyone use virtualisation.libvirtd.qemuOvmf? I can’t seem to get UEFI guests to boot from CD on 18.09 nor unstable, they always drop into the UEFI shell