gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<ldlework> Beyond containerization itself, Terraform has been one of the best things for my contracting career to ever happen
<ldlework> If I could replace HCL with Nixlang...
<ldlework> And have Nix like... ensure the state of the remote infrastructure that than maintaining a bunch of complicated state in an S3 bucket...
<ldlework> s/that than/rather than
<{^_^}> nixos-homepage#269 (by craigem, 21 weeks ago, open): Added how to update Planet NixOS
<ldlework> How do you get the cryptographic hash of some set of remote infrastructure though
<ldlework> :D
<craige> oh wait, damn, that one is *about* planet.nixos
<gchristensen> :D
<ldlework> But I sure hope that some day I'm not only able to express compute environments with a data-structure like a Nixlang expression, but whole complex scaling deployments of various components and services
* craige hints about a review being nice though
<hyperfekt> ldlework: that username is mean, took me a couple seconds wondering why the mention wouldn't complete
<{^_^}> [nixos-homepage] @grahamc merged pull request #269 → Added how to update Planet NixOS → https://git.io/fjUP3
<{^_^}> [nixos-homepage] @grahamc pushed 2 commits to master: https://git.io/fjA6q
* ldlework write down the name "hyperfekt" on a clipboard next to the number #58832
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58832 (by r-ryantm, 20 weeks ago, closed): python37Packages.pytest-tornado: 0.5.0 -> 0.6.0
<craige> This is the PR that was merged gchristensen: https://github.com/NixOS/nixos-org-configurations/pull/81
<{^_^}> nixos-org-configurations#81 (by craigem, 21 weeks ago, merged): planet-nixos: add Craige McWhirter
<ldlework> hyperfekt: not quite the thing one is looking for, but nice that people are thinking about similar things
<ldlework> one of the advantages of Terraform is that you can use the output of provisioning one piece of infrastructure as the input another
<ldlework> And terraform will topologically sort everything and provision stuff in order so that inputs are being fed as they are available
liberiga has joined #nixos
<hyperfekt> ldlework: What would you hope for instead of Terraform? NixOS and NixOps also maintain state. It's gonna be hard without, living in the real world where things take time and we can't reprovision the universe every time we change it.
<ldlework> It should query the IaaS provider for that state
<ldlework> It shouldn't reprovision each time
oborot has joined #nixos
oborot_ has joined #nixos
<ldlework> But it should be able analyze the real state of the infrastructure and compute hashes from that
<ldlework> The output from API providers should be consistent
<ldlework> if I manually delete some instance, the thing should be able to repair the infrastructure
<ldlework> at the moment Terraform just blows up
ryantrinkle has quit [Ping timeout: 245 seconds]
jluttine_ has quit [Ping timeout: 248 seconds]
<ldlework> It's incredibly fragile, and, I'm seriously and deeply sorry if I'm wrong about this, but NixOps seems even more fragile with less overall support.
<hyperfekt> Oh I see what you mean. Transform any infrastructure to the target. That'd be cool.
<ldlework> I reserve the right to be wrong about that since it's been months since I gave it a run for it's money, but Terraform 0.12 has seen some serious improvements. But to the HCL language itself, the state model is fundamentally the same.
<aanderse> infinisil: i'm guessing services.postgresql.identMap combined with services.postgresql.ensureUsers might get you what you need
<ldlework> Anyone here remember when you had to call someone on the phone to get another VPS or dedicated host?
<gchristensen> lol I do ldlework
<gchristensen> I remember being on the phone with rackspace in just 2015 doing exactly that at 3am
<ldlework> We've come so far, I don't understand cloud pessimism.
<ldlework> "it's just someone else's computer" is possible the most understated statement supported by the english language
mkoenig has quit [Ping timeout: 246 seconds]
<hyperfekt> damn that sounds tragic. meanwhile i have troubles accepting when provisioning takes more than a second
<ldlework> heh I mean I still look towards the future, but holy crap
<ldlework> just a few years ago I was using imperative programming languages to create modules to manage configuration of server states
<ldlework> IE, puppet, ansible, and friends
<ldlework> that was over quick :D
<ldlework> thanks containerization!
<hyperfekt> I almost got into saltstack because of qubes and i'm happy i didn't because i probably wouldn't have switched to nixos once deeply invested
<ldlework> I was neck-deep in custom Saltstack modules when I was at Djangocon and saw a DotCloud employee giving a presentation about this new thing they were working on called Docker
<ldlework> It was like 3 minutes into the talk I was having an existential crisis of how this would literally change how I was doing everything
<ldlework> I went home and immediately started building a CaaS. That guy giving the talk ended up as my boss. :D
<gchristensen> nice
<ldlework> There was like 4 or 5 years when about 80% the people you'd talk to about Docker, who had never deployed it, were just totally and completely negative on the technology
<ldlework> all the while I was watching executives from silicon valley giants, international banks, and even government employees quietly signing use-deals with the company
<ldlework> it was never about Docker Inc. It seems people appreciate containers a bit more these days.
<gchristensen> ldlework: hmm I knew I recognized you, from 2014 when I was doing a lot with docker.
<ldlework> nix is such an infinitely better dockerfile
<ldlework> thank you for the work gchristensen
<gchristensen> =)
<gchristensen> ldlework: have you heard of Nixery by tazjin? https://youtu.be/WDle4h4XGeI?t=129
<ldlework> yeah but didn't look too deeply yet
<ldlework> I've actually just been floating funemployed working on a massive FOSS project I've invented called Disunity
<gchristensen> maybe watch his presentation ^ :)
<ldlework> so I'm actually a bit behind on what's going on
<ldlework> will do thanks
domogled has quit [Ping timeout: 244 seconds]
<craige> Thanks for the doco merge, gchristensen
<gchristensen> yep! I've pinged someone who will know better about getting the planet updated
<craige> Ta.
<craige> I could then update the doco with that process too. :-)
mkoenig has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8a866548cce (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
alex`` has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjA64
<ldlework> Why doesn't the hash of the fixed-output derivation match the hash in the store-path?
thc202 has quit [Ping timeout: 264 seconds]
polman has quit [Ping timeout: 245 seconds]
<ldlework> How to get that real sha256 hash given the store path?
<pie_> hm. i should probably be collecting my error repros instead of just deleting them......
<emptyflask> ldlework: nix-hash --type sha256 --base32 /nix/store/xxx
<ldlework> wew lad
<ldlework> thanks
<emptyflask> speaking of that, I'm trying to track down a sha hash mismatch problem between macos and nixos -- and it looks like the source of the problem is that sometimes the .git subdir is counted and sometimes not
polman has joined #nixos
<ldlework> interesting
<ldlework> i'm having a similar problem, and git repos are involved so i wonder
<craige> Back to your earlier point about corporations, ldlework - I know that Atlassian use Nix to manage non-NixOS distros in their infrastructure.
<ldlework> where's the money
<gchristensen> groq.com uses Nix for their systems, and has helped improve Nix
<ldlework> Maybe Nix Inc. could be formed, get some VC, hire some cheap devs to improve UX, develop slick enterprise versions and become a unicorn.
octor_ has joined #nixos
<averell> lots of disruption potential, but please don't make blockchain jokes, it's a sensitive topic in the community :)
<craige> That sounds an awful lot like Canonical|Ubuntu and I'd rather be a Debian, than that (as far as analogies go)
m0rphism has quit [Ping timeout: 272 seconds]
jluttine_ has joined #nixos
<ldlework> craige: worked for Docker
octor_ has quit [Remote host closed the connection]
<craige> We'll have agree to politely disagree on that. I consider Docker a bin fire :-)
<gchristensen> be respectful, craige
<ldlework> it's a billion dollar company with contracts with governments and banks all over to use their enterprise products in various places within their organization
<ldlework> their product, as a result, improved a lot, despite whatever leftover flaws, and they employ good engineers who need jobs
<gchristensen> they've done incredible amounts of good
<ldlework> dunno
knupfer1 has joined #nixos
<ldlework> lxc was around for a good while and no one really cared about containers
<ldlework> especially not governments and multinationals
<averell> except the freebsd hermits
<ldlework> there are always keen hermits who can identify the goods :)
knupfer has quit [Ping timeout: 264 seconds]
knupfer1 is now known as knupfer
<jackdk> I have a server which contains my personal website, deployed via `nix copy`. The nix expression that does this includes the output of a hakyll build, which means that each deploy copies across every asset every time, as they're in a new derivation. Has anyone else dealt with this, and how did they get it under control?
slack1256 has quit [Ping timeout: 248 seconds]
<ldlework> but docker needed VC so they could hire proven successful execs from companies like IBM and VMWare to formulate enterprise strategies and make those connections
octor_ has joined #nixos
<ldlework> it's hard to understate how valuable aquihiring a tiny tiny garage startup of 4 or 5 geniuses can be too
<ldlework> which docker also did repeatedly
<ldlework> i don't mean to fanboi it up, but "dumpster fire" just distorts our ability to reason about reality and make good choices
<gchristensen> +1
<ldlework> at some point I remember Docker basically hired everyone who was actively doing unikernel work
<gchristensen> Docker is so cool because we can use all the in-roads they developed to sneak Nix in
<ldlework> and Docker Inc still has never announced anything signifcant in that domain
<averell> what came of that?
<averell> ah
<ldlework> who knows what they're quietly up to
<ldlework> it's been like 5 years
<ldlework> maybe nothing
<averell> containers were a pretty nice revolution
<averell> although i wouldn't invest in docker now :)
<ldlework> same, but I already cashed out :D
<ldlework> I doubt they go under or anything but I very much bet that in 10 years you can't look at VMWare and Docker Inc and see a difference
<ldlework> Once they hired those execs the culture was destroyed completely in my opinion
<ldlework> NixOS is missing a Hykes to drive the revolution in thought among people who are not even thinking about the problem.
octor_ has quit [Remote host closed the connection]
<ldlework> Regardless of that guy's flaws he got out there and relentlessly advocated for people to understand despite the endless waves of Hacker News haters and heckler. Despite his real blunders, misbehaviors and embarassments. It worked.
<{^_^}> [nixpkgs] @eadwu opened pull request #67538 → vscode-extensions.ms-vscode.cpptools: 0.24.1 -> 0.25.0 → https://git.io/fjA66
<{^_^}> [nixpkgs] @eadwu opened pull request #67539 → jetbrains: 2019.2.* → https://git.io/fjA6i
<hyperfekt> jackdk: That sounds tough. Could be worth exploring a way to allow file content addressed transfers between nix stores...
<pie_> ldlework: hold a talk at nixcon :P
<pie_> or idk
* pie_ crashes in bed
<ldlework> the world is complex and speaking authoratatively on how it ought to be organized takes.... well it takes something heh
Rusty1 has joined #nixos
<ldlework> now try doing it in a charismatic way where the majority of people find it easy to see what you're getting at
<ldlework> phew!
<craige> Sounds like a worthy challenge, ldlework :-)
knupfer has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #63634 → moodle: init at 3.7.1 → https://git.io/fjwG3
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fjA6S
<craige> I like pie_'s suggestion of a talk ldlework. I was in the audience when Andrew Tridgell gave a talk at linux.conf.au on the technical and security flaws inherent in bitkeeper (sadly the video of the talk was lost). Linus Torvalds was also in that audience and started working that day on git. Gather your thoughts on an issue put it out to the world and who knows who will be inspired :-)
<{^_^}> [cabal2nix] @unode opened pull request #426 → Enable inlineMarkdown on pandoc-placetable → https://git.io/fjA6b
drakonis has joined #nixos
boxscape has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @unode closed pull request #67464 → pandoc-placetable: enable inlineMarkdown → https://git.io/fjAGx
iggi42 has quit [Quit: Lost terminal]
<andrewrk> I did `nix-shell -p gcc9` but how do I call it? I don't see it in PATH. `gcc --version` says 7.4.0
camsbury has joined #nixos
domogled has joined #nixos
<camsbury> hi all - trying to debug my pulseaudio setup not working on the new laptop - I have hardware.pulseaudio.enable = true in my configuration.nix, but showing as false in the '<nixpkgs/nixos>' repl
<camsbury> and can't find pacmd, etc.
<camsbury> I have some hardware imports from nixos-hardware, but is there any way to really tell where the eventual value is coming from or how any kind of precedence is set?
wildtrees has quit [Quit: Leaving]
<manveru> camsbury: try `nixos-option hardware.pulseaudio.enable`
<camsbury> in the repl?
<manveru> no, in a normal shell
<camsbury> gotcha
<camsbury> yeah just says the defaults and where it is originally defined
<andrewrk> oh I see, gcc 7 is overriding it. how do I make gcc9 override the system gcc in a shell?
<clever> camsbury: for bool options, if conflicting values are found, nixos will throw an error
<camsbury> which I figured it would
<camsbury> just weird this is top level in my configuration.nix
<camsbury> shared across computers
lambda-11235 has quit [Quit: Bye]
<camsbury> and on one it isn't working
ryantrinkle has joined #nixos
<clever> camsbury: what happens if you run nixos-rebuild switch?
<camsbury> been doing a lot of that :) haha
<clever> camsbury: can you pastebin the configuration.nix?
<camsbury> yup
<camsbury> ty
<camsbury> and to be sure ran rebuild switch checked out to master
<clever> camsbury: what does `nix-instantiate --find-file nixos-config` say on the broken machine?
<camsbury> `/etc/nixos/configuration.nix`
reallymemorable has joined #nixos
<clever> camsbury: and is that the one from the github repo?
<camsbury> symlinked
<camsbury> yes
<camsbury> checked the link
ng0_ has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
<camsbury> opened in my editor as well and redirected to ensure I'm not blind
<camsbury> haha
<clever> camsbury: can you pastebin the full output of `nixos-option hardware.pulseaudio.enable` ?
<camsbury> yessir
<clever> camsbury: grep pulse -A3 /etc/nixos/configuration.nix
<camsbury> oh maybe a sudo thing...
ng0 has quit [Ping timeout: 260 seconds]
<camsbury> nah its the same
<camsbury> okay will do
<clever> [root@amd-nixos:~]# nix repl '<nixpkgs/nixos>'
<clever> nix-repl> options.hardware.pulseaudio.enable.files
<clever> camsbury: what about this?
<clever> nix-repl> options.hardware.pulseaudio.enable.highestPrio
<clever> camsbury: and this
<camsbury> [ "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/config/pulseaudio.nix" ]
<camsbury> is the first
reallymemorable has quit [Quit: reallymemorable]
<notgne2> is maybe the `//` in the config not merging correctly, discarding the entire `hardware` definition with the stuff under `machine.xps`? I think I had a scenario a bit like that
<camsbury> 1500 is the second
<clever> notgne2: oh, thats it exactly
orivej has joined #nixos
<camsbury> oh jesus
<clever> camsbury: line 121, that overwrites the entire hardware key
<camsbury> its just overwriting the values
<camsbury> lol
<clever> so all of hardware = is gone
<camsbury> lolll
<clever> camsbury: you want to use mkMerge or imports
reallymemorable has joined #nixos
<clever> camsbury: or restructure it to be a tree with several roots
<camsbury> notgne2++
<{^_^}> notgne2's karma got increased to 1
<camsbury> laughing
<clever> camsbury: instead of starting at configuration.nix, and conditionally loading different things
<clever> camsbury: you start at laptop.nix, or desktop.nix, and then both do imports on a core.nix
<clever> and configuration.nix symlinks to the right starting point
<notgne2> personally I have a git repo with a bunch of modules, configuration.nix is the one thing that I don't sync
<clever> and nothing has to be conditional, because laptop.nix is only used by the laptop
<notgne2> then I can use the same files in nixops too
<camsbury> blegh I just have literally 3 laptops on nixos
<clever> camsbury: use hostnames then
<camsbury> the idea being they share laptop stuff
oborot_ has quit [Ping timeout: 268 seconds]
oborot has quit [Ping timeout: 268 seconds]
<clever> camsbury: laptop1.nix, laptop2.nix, laptop3.nix, all 3 have imports = [ ./laptop.nix ];
<clever> then laptop.nix has imports = [ ./core.nix ];
<clever> then you put the option in the one that makes the most sense
<camsbury> okay so basically I should probably never do conditional merges
<camsbury> and just always use imports
<camsbury> in my packages and overlays files I'm doing conditional ++ for lists
<camsbury> which seems fine...
<clever> but you could also set systemPackages from different modules, and nixos will merge them for you
<camsbury> ohh okay
<camsbury> beautiful
<camsbury> so basically
<camsbury> gaming.nix would have whatever gaming packages
<camsbury> and I could just import that one conditionally
<camsbury> and you are saying
<camsbury> forget explicit conditionals
<clever> camsbury: no need to make things conditional
<camsbury> just have one file that is unique to the computer
<camsbury> that imports all else
<clever> camsbury: just add gaming.nix to the right imports list
<clever> for example, from my repo, media-center.nix fully configures X11 to load plex on bootup, and run it full-screen
<clever> i then add media-center.nix to the imports of nas.nix
<clever> and now its active on the nas
<camsbury> yeah that is great
<clever> and i could down the road, add it to the imports of rpi1.nix, to make it active on the pi
<camsbury> awesome
<camsbury> I'm feeling comfortable with overlays, but haven't thought about leveraging imports like this
<clever> my main design is to make a tree of imports
<clever> the root is just hostname.nix
<clever> and the leaves are the config
<clever> nodes in the middle can be groups of leaves
<clever> and then you can have multiple roots, for other hosts, that share some of the nodes/leaves
<camsbury> yeah that makes good sense... it's just like an application haha
<camsbury> clever++
<{^_^}> clever's karma got increased to 183
<camsbury> thanks a lot! you are always so helpful on here :0
<camsbury> :) *
<clever> yep
andrewrk has left #nixos ["Leaving"]
domogled has quit [Ping timeout: 245 seconds]
felixfoertsch23 has joined #nixos
camsbury has quit [Remote host closed the connection]
felixfoertsch has quit [Ping timeout: 272 seconds]
reallymemorable has quit [Quit: reallymemorable]
Okinan has quit [Quit: Konversation terminated!]
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
laalf has joined #nixos
oborot has joined #nixos
oborot_ has joined #nixos
oborot has quit [Client Quit]
thomashoneyman has joined #nixos
<emptyflask> manveru: I've been looking into why my gemfile entries with git URLs are failing on one computer and not the other, and it looks like for some reason on my nixos machine, the gem is cloned into /nix/store/ but still has the .git subdirectory, which changes the sha hash
laika___ has joined #nixos
<emptyflask> using nix-prefetch-git manually seems to get it properly without the .git subdir
nexgen2 has quit [Quit: Leaving]
<thefloweringash> I’ve struggled so much with this. IIUC, when bundler loads a gem with a git source it must be a git repository. So the fetch includes the .git dir via “leaveDotGit”, and .git dirs aren’t deterministic.
<ldlework> maybe this is the key to my own reproducability problem
<ldlework> i can't wait to find out
Soo_Slow has quit [Remote host closed the connection]
<emptyflask> but bundix on nixos stable is v2.4.1
<{^_^}> [nixpkgs] @JustinLovinger opened pull request #67541 → s3ql: clean up dependencies, build for release, and fix tests → https://git.io/fjAPJ
Soo_Slow has joined #nixos
<evanjs> Bah. Re https://github.com/musnix/musnix/issues/100: I was able to deploy a RT kernel-based system via nixops just fine, but I can't figure out how to enable TRANSPARENT_HUGEPAGE_MADVISE. structuredExtraConfig seems to ignore it, and extraConfig with "Invalid config line". Currently using the structuredExtraConfig I mentioned here https://github.com/musnix/musnix/issues/100#issuecomment-524865713. Is
<evanjs> there a way to see where ANSWERS died during kernel compilation?
<{^_^}> musnix/musnix#100 (by digitalsignalperson, 11 weeks ago, open): nixos unstable build error: option not set correctly: PREEMPT
ilikeheaps has quit [Read error: Connection reset by peer]
gentauro has quit [Ping timeout: 245 seconds]
thomashoneyman has quit [Ping timeout: 245 seconds]
gentauro has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/87fdc06a975 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Supersonic has quit [Ping timeout: 264 seconds]
Soo_Slow has quit [Remote host closed the connection]
Guest55 has joined #nixos
<ldlework> oh man, diffoscope is gonna take literal hours to run
Supersonic has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
<Guest55> Hello, I want to make a suggestion- a lot of nixos users are power users- (I know I am, for one). I like to boot directly from ISO. Downloading unetbootin seems a bit of a hassle. May I suggest that you/(we?) guys also offer a unetbootin image. This will solve the problem of burning to USB.
<Guest55> I can very much help out.
<Guest55> The process would go like this- the release maintainers use unetbootin to create a bootable image. Typically a flash drive of about a couple MBs over iso size would be required.
<clever> Guest55: one minute...
<Guest55> Next, dd if=/dev/sd<flashdrive> of=/mnt/image_output bs=2048.
<Guest55> Next offer this as a download. With the following instructions:
<Guest55> 1) Create a partition with size N. (Size N to be 1Mb for safety + size of this image.)
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjAP0
<clever> Guest55: if you run nix-build on this file, it will create a directory with 3 things, a kernel, a initrd, and a fragment of a grub config
liberiga has quit [Ping timeout: 260 seconds]
<clever> you can then shove that onto any bootable media, and configure whatever bootloader you like to obey that fragment of cfg
<Guest55> clever: Should I feel disappointed that my effort is wasted or elated that this is so easy?
<clever> its easy to add to another bootable media
<clever> and ive answered this kind of question before, about a year ago
<Guest55> That said, I guess there's still a small usecase for my effort- for example when I started using Nix back around June, I found a lot of reddit and blog posts but none could answer my question. (I didn't ask one myself). Even if one could- I wouldn't have access to nix-build.
<Guest55> Obviously your way is *the* sane way and much cleaner too
<clever> Guest55: you can use nix-build without nixos, just install nix on any linux distro
<clever> but hydra could also be configured to pre-build these files, and offer them for download
<Guest55> I know, the issue is that's too much work.
<ldlework> it currently says 20 days
<Guest55> I guess that would be the right way
<ldlework> lol
ng0_ has quit [Remote host closed the connection]
* ldlework wonders if he's using this wrong
<Guest55> giving these files pre-built
<clever> ldlework: try just `diff -r` at first
<Guest55> again, since your solution is the 'clean' way of doing i, I bet there's a lot of ways in which it can be reused, hydra being one you mentioned
ng0_ has joined #nixos
<Guest55> Ultimately, I'd suggest having at least 1 way in I don't have to 1) Use UnetBootin. 2) Be reduced to a single boot.
<Guest55> I have a 320 GB HDD and I like carrying around all linux distros (and Windows 10!)
<ldlework> clever: that was way faster lol
<clever> Guest55: yeah, thats the kind of thing this nix file was made for
<clever> Guest55: you can use nix to make a kernel+initrd pair for nixos, then copy them to a drive and add a menu entry
<Guest55> clever: Yeah I got you, it's just too damn simple
<Guest55> Thanks for creating this!
<Guest55> (simple in usage I mean lol)
<clever> Guest55: the main difference between my initrd and the official iso, is memory usage
<clever> Guest55: the official iso will mount part of the cdrom when running, and needs the usb/cd inserted to work
<clever> while my initrd, has the whole rootfs inside the initrd
<clever> so once it boots, you can unplug the drive!
<clever> (but it now needs a few extra gig of ram to boot)
<{^_^}> [nixpkgs] @jonringer opened pull request #67542 → onnxruntime: init at 0.5.0 → https://git.io/fjAPr
<jackdk> clever: isn't there a `copytoram` option on the official media?
<Guest55> I don't know much about the initrd stuff and kernel loading process but I feel that having things as a nix expression means no manual fiddling.
<clever> jackdk: yeah, that does the same thing, but its not optional on my image
<Guest55> For posterity and anybody intersted in the path I was going down to- I will complete my instructions... For posterity and anybody intersted in the path I was going down to- I will complete my instructions...
<{^_^}> [nixpkgs] @marsam merged pull request #67499 → tflint: 0.10.1 -> 0.10.3 → https://git.io/fjA01
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjAPo
<Guest55> 2) Use dd to copy the image to the newly created partition on disk.
<Guest55> 3) Add a grub entry which says: set root=(hd<m>, msdos<n>) (where m and n would correspond to the disk number and partition) (I Don't know how to keep m fixed)
<Guest55> grub entry goes like this:
<Guest55> set root = (hd1, msdos3)
<Guest55> chainloader +1
<Guest55> wrapped inside menuentry "Nix"{ ... }
<Guest55> clever: I just found that I had your link bookmarked (via a discourse discussion on your script).
<ldlework> clever: so it turns out all my differences come from a single dependency I have that comes from git
<clever> ldlework: dependency paths shouldnt be in the fixed-output drv
<ldlework> i don't know what that means
<ldlework> i'm using paket a thing to pull dotnet dependencies, it supports getting them from git
<ldlework> i have one dependency that comes from git, which it clones and builds
<clever> it should not be building dependencies in the fixed-output drv
<clever> it should fetch, and thats it
<ldlework> i didn't write the software :(
endformationage has quit [Quit: WeeChat 2.5]
Myhlamaeus2 has quit [Remote host closed the connection]
drakonis_ has joined #nixos
drakonis has quit [Quit: WeeChat 2.5]
Guest55 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #67543 → gnome3.vino: 3.22.0 -> 2019-07-08 → https://git.io/fjAPd
<clever> ldlework: but now you have to force it to behave the way nix wants it to
oida has quit [Remote host closed the connection]
oida has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
drakonis has joined #nixos
<ldlework> easy enough to delete the .git so it doesn't end up in the derivation output
<ldlework> the problem is that dotnet restore calculates its OWN hash of the repo it used to build the dependency
drakonis1 has joined #nixos
<ldlework> and it does that before I have a chance to delete the .git
<ldlework> >_<'
<ldlework> what ever the solution is, it's probably hacky af
<ldlework> i'm having an oddly interesting time looking into this stuff though
<ldlework> i hope i don't tire out before the answer is revealed
drakonis_ has quit [Ping timeout: 252 seconds]
marler8997 has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
<marler8997> am I supposed to be able to run "nix-shell" on nixos without being the root user?
<clever> marler8997: yes, it works as any user
<marler8997> hmmm, error: opening lock file '/nix/var/nix/temproots/5568': Permission denied
<clever> marler8997: what is $NIX_REMOTE set to?
<marler8997> not set
<clever> marler8997: ls -lhd /nix/store/
<marler8997> [marler8997@nixos:~/git/edmar/xcb_example]$ ls -lhd /nix/store
<marler8997> drwxrwxr-t 1884 root nixbld 996K Aug 26 22:40 /nix/store
<clever> marler8997: `id` ?
<marler8997> 1000
<clever> the full output
<marler8997> uid=1000(marler8997) gid=100(users) groups=100(users),1(wheel),131(docker)
<clever> marler8997: `export NIX_REMOTE=daemon` and try `nix-shell` again?
<marler8997> works
<clever> marler8997: what does `type nix-shell` report?
<marler8997> nix-shell is /run/current-system/sw/bin/nix-shell
<clever> not sure what broke it, but setting NIX_REMOTE is the solution
<marler8997> do you know what is supposed to set NIX_REMOTE?
ryantrinkle has quit [Ping timeout: 248 seconds]
<marler8997> clever: sudo grep -r NIX_REMOTE /etc (nothing) and grep -r nix-daemon /etc/nixos (nothing)
zupo has joined #nixos
<clever> marler8997: grep doesnt follow symlinks, and it depends on what version of nix your using
<ldlework> How to find the package that provides a given binary (that I want to install)
<clever> ldlework: nix-locate or ,locate on the bot
abbiya has joined #nixos
<ldlework> clever: for packages i don't have yet?
zupo_ has joined #nixos
<clever> ldlework: yes
zupo has quit [Ping timeout: 272 seconds]
foldingcookie has quit [Ping timeout: 258 seconds]
gentauro42 has joined #nixos
gentauro has quit [Ping timeout: 268 seconds]
gentauro has joined #nixos
palo1 has joined #nixos
gentauro42 has quit [Ping timeout: 245 seconds]
fendor_ has quit [Read error: Connection reset by peer]
fendor_ has joined #nixos
gentauro42 has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
gentauro has quit [Ping timeout: 245 seconds]
dansho has joined #nixos
rsoeldner has joined #nixos
<dansho> fonts.fontconfig.dpi = 96; doesn't seem to be working for me anymore
<dansho> xrdb -q shows Xft.dpi: 96, but the font is still tiny and nvidia-settings shows 75 dpi
<dansho> oh nevermind, i had outdated dotfiles
<dansho> with smaller fontsize for smaller display
oborot_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #67536 → treewide: remove redundant quotes → https://git.io/fjAo5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to staging: https://git.io/fjAX8
<rsoeldner> Morning, If I want my systemd service to start after postgres, what do I need to write in the `after` field, https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/databases/postgresql.nix#L315
mzcore has joined #nixos
laika___ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alanz has joined #nixos
hyper_ch2 has joined #nixos
growpotkin has quit [Ping timeout: 258 seconds]
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
laika___ has joined #nixos
<jonge[m]> rsoeldner: already considered `systemd.services.<name>.wants` ?
laika___ has quit [Remote host closed the connection]
captn3m0 has quit [Ping timeout: 246 seconds]
wfranzini has joined #nixos
emptyflask has quit [Ping timeout: 272 seconds]
captn3m0 has joined #nixos
DariusTheMede has joined #nixos
<DariusTheMede> Where do I look to see the log of an overnight build of a haskell package?
<{^_^}> [nixpkgs] @vbgl opened pull request #67544 → qarte: use qt5’s mkDerivation and an other fix → https://git.io/fjAXH
<DariusTheMede> This? https://hydra.nixos.org/
wfranzini has quit [Remote host closed the connection]
drakonis1 has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #67547 → update some coreboot-related packages → https://git.io/fjA1I
drakonis1 has joined #nixos
DariusTheMede has quit [Ping timeout: 246 seconds]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @uHOOCCOOHu opened pull request #67548 → valgrind: fix shebang in outputs → https://git.io/fjA1O
Ariakenom has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<Ariakenom> I'm running nixos with sddm & plasma. I suppose this is a sddm question but in the login screen after boot is there no way to login without mouse?
rauno has joined #nixos
snajpa is now known as SvataGreta
ilikeheaps has joined #nixos
<craige> I log in all the time without a mouse, Ariakenom - do you mean select users or something else specifically?
<makefu> Ariakenom: maybe tabbing through all the fields?
Zer0xp has joined #nixos
<Ariakenom> select user. there is only me but I can't get to typing my pswd
<Ariakenom> well im not sure if it's select user, since it's only me, but it's plausible
<craige> Ah, on boot, my single user system already has the password box in focus.
<Ariakenom> makefu: I tried tab but saw no effect
<ldlework> how do I make a derivation with an empty src?
<{^_^}> [nixpkgs] @worldofpeace opened pull request #67549 → Fix sharing in gnome-control-center → https://git.io/fjA1u
Tucky has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7a4a8e00898 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<jluttine_> After upgrading my NixOS, I get the following error from nix-shell that has pinned nixpkgs to older version: qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
<jluttine_> Any ideas how to fix? Is it possible to run ipython+matplotlib in a nix-shell that has old nixpkgs pinned in a NixOS system that has newer nixpkgs in use..?
Zer0xp has quit [Quit: Bye!]
rauno has quit [Ping timeout: 245 seconds]
Zer0xp has joined #nixos
domogled has joined #nixos
johanot has joined #nixos
chr15 has joined #nixos
<manveru> jluttine_: qt is... special
<manveru> you can probably search for solutions with QT_PLUGIN_PATH env var
civodul has joined #nixos
freeman42x has joined #nixos
hyper_ch2 has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
__monty__ has joined #nixos
fusion809 has quit [Remote host closed the connection]
lurpahi has quit [Ping timeout: 272 seconds]
rauno has joined #nixos
Makaveli7 has joined #nixos
<lightbulbjim> jluttine_: the way QT apps are packaged has changed recently. You'll need to update them to newer versions so that they can find the QT libs. See https://github.com/NixOS/nixpkgs/issues/65399 for details.
<{^_^}> #65399 (by ttuegel, 4 weeks ago, open): Tracking issue for wrapQtAppsHook
noonien has joined #nixos
<lightbulbjim> You could possibly pin QT and the associated wrappers to an older version, but then you would have the same problem with any apps that _have_ been updated.
<lightbulbjim> It's the QT Rubicon of 2019 ;)
<Ariakenom> I added a fileSystems entry for the windows partition. but my user doesn't get permission to it
o1lo01ol1o has joined #nixos
captn3m0 has quit [Ping timeout: 272 seconds]
<clever> Ariakenom: you also have to add a user= to the mount options, standard ntfs stuff
thc202 has joined #nixos
DariusTheMede has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67495 → ckb-next: fix #67371 → https://git.io/fjA03
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjAMc
<Ariakenom> clever: like this? options = [ "user" ]
<{^_^}> [nixpkgs] @valebes closed pull request #67515 → sway: 1.1.1 -> 1.2-rc2 → https://git.io/fjAa0
<clever> Ariakenom: the user option needs a user to actually give access to
<clever> Ariakenom: something like options = [ "user=clever" ];
<Ariakenom> right. no luck. should I be distrustfull and reboot?
<clever> Ariakenom: should be enough to umount and then mount again
<Ariakenom> rebuild switch said "reloading the following units: mnt-windows.mount"
<clever> Ariakenom: does it show the difference in `cat /proc/mounts` ?
joshuagl has joined #nixos
<Ariakenom> i did umount /mnt/windows; mount -a; but afaict it doesn't look right
<Ariakenom> /dev/sda3 /mnt/windows ntfs ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0
<{^_^}> [nixpkgs] @mmahut opened pull request #67550 → python2: CVE-2018-20852 forwarding to master → https://git.io/fjAMB
tmaekawa has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67508 → python3Packages.browser-cookie3: 0.6.4 -> 0.7.6 → https://git.io/fjAgJ
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjAMR
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjAM0
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjAME
<{^_^}> [nixpkgs] @mmahut merged pull request #67512 → skaffold: 0.35.0 -> 0.36.0 → https://git.io/fjA2a
<{^_^}> [nixpkgs] @mmahut merged pull request #67503 → poco, cctz: enable for darwin → https://git.io/fjAEC
rauno has quit [Ping timeout: 245 seconds]
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
freeman42x has quit [Quit: Leaving]
DariusTheMede has quit [Read error: Connection reset by peer]
DariusTheMede has joined #nixos
__monty__ has quit [Ping timeout: 245 seconds]
DariusTheMede has quit [Ping timeout: 244 seconds]
freeman42x has joined #nixos
DariusTheMede has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67526 → flashplayer: 32.0.0.223 -> 32.0.0.238 → https://git.io/fjAw0
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to release-19.03: https://git.io/fjAMQ
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @johanot opened pull request #67551 → kubernetes: 1.13.9 -> 1.13.10 → https://git.io/fjAMb
<Ariakenom> still no luck after reboot
logzet has joined #nixos
<clever> Ariakenom: the uid=0 is the problem
<clever> Ariakenom: that must be set to your own id
<Ariakenom> makes sense
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjAMh
<{^_^}> [nixpkgs] @mmahut merged pull request #67538 → vscode-extensions.ms-vscode.cpptools: 0.24.1 -> 0.25.0 → https://git.io/fjA66
ardumont has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @andir merged pull request #67550 → python2: CVE-2018-20852 forwarding to master → https://git.io/fjAMB
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fjADe
ardumont has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #67543 → gnome3.vino: 3.22.0 -> 2019-07-08 → https://git.io/fjAPd
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjADv
<Ariakenom> fstab looks fine?
<Ariakenom> /dev/disk/by-uuid/5C5C36EB5C36B000 /mnt/windows auto user=patrik,rw 0 2
<clever> Ariakenom: the option may be uid=1234, cant remember exactly
<clever> Ariakenom: you would have to check the manual for the ntfs driver your using
<{^_^}> [nixpkgs] @mmahut merged pull request #67520 → gnurl: 7.64.0 -> 7.65.0 → https://git.io/fjAV1
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjADf
johanot has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @mmahut merged pull request #67531 → texi2html: 1.82 -> 5.0 → https://git.io/fjArX
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjADJ
<Ariakenom> clever: how do I check which it is
<clever> Ariakenom: run `id`
<Ariakenom> clever: helpful but I meant ntfs driver
<ldlework> When a fixed derivation build fails due to a hash-mismatch, is there a way I can inspect the output of the failed derivation?
<manveru> ldlework: using -K?
<ldlework> manveru: to what?
<manveru> nix-build
<manveru> it should just be a derivation like any other
hyper_ch2 has quit [Remote host closed the connection]
pjan_ has joined #nixos
pjan has quit [Ping timeout: 268 seconds]
<ldlework> thanks
<clever> ldlework: any time a build fails, the $out is left at the expected path, but not flagged as valid
<clever> ldlework: but if a fixed-output drv fails due to a hash mismatch, the $out is renamed to match the hash it actually has
<clever> so if you fix the expr, it will compute the new name it gets renamed to
<ldlework> doh, the temp folder only uses the name of the derivation
<ldlework> so you can't run it twice and get two temp folders and compare em
<ldlework> :D
sigmundv_ has joined #nixos
<clever> ldlework: it increments the number at the end if one is in the way
<ldlework> oh lovely
<ldlework> this is going to make tracking down this non-reproducability a lot easier
<ldlework> lol
<ldlework> so much wasted overhead the last couple of hours
<ldlework> :D
<ldlework> clever: manveru this seems to be build the derivation input src, not the $out
<clever> ldlework: every derivation, including fixed-output, has a $out
<manveru> ldlework: do you have the .drv for it?
<ldlework> yeah but where is $out specifically
<ldlework> yeah i'm in .drv-0
<clever> ldlework: still in /nix/store/
<clever> 2019-08-27 05:40:21 < clever> ldlework: any time a build fails, the $out is left at the expected path, but not flagged as valid
<{^_^}> [nix] @pszubiak opened pull request #3064 → nix-daemon.service: add install section. → https://git.io/fjADG
<clever> 2019-08-27 05:40:58 < clever> ldlework: but if a fixed-output drv fails due to a hash mismatch, the $out is renamed to match the hash it actually has
ng0_ is now known as ng0
<ldlework> where would I expect the $out of that failed derivation?
<ldlework> I -know- I'm being dense, but not on purpose
<clever> ldlework: what was the .drv file it was building? from the error?
abbradar[m] has joined #nixos
<Ariakenom> how do I find out which ntfs driver is used?
<clever> Ariakenom: what does `man mount.ntfs` do?
<ldlework> error: build of '/nix/store/67x8lfbw9dk9xllpkq4z6ppi399zhdvn-BindingAttributes-nuget.drv' failed
<ldlework> ah so you're saying it's in the store
<ldlework> not in /tmp
<clever> ldlework: nix show-derivation /nix/store/67x8lfbw9dk9xllpkq4z6ppi399zhdvn-BindingAttributes-nuget.drv
<clever> ldlework: then look at the outputs it lists
<clever> near the top
__monty__ has quit [Ping timeout: 245 seconds]
<Ariakenom> No manual entry for mount.ntfs
<clever> Ariakenom: grep ntfs /proc/filesystems
<ldlework> found it
<clever> ldlework: 2019-08-27 05:46:18 < clever> ldlework: still in /nix/store/
<clever> ldlework: yep
o1lo01ol1o has joined #nixos
<ldlework> clever: "path": "/nix/store/lhpr5y93z0250dgcbhcmfrahz9q85cb0-BindingAttributes-nuget",
<{^_^}> [nix] @edolstra merged pull request #3064 → nix-daemon.service: add install section. → https://git.io/fjADG
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjADc
<ldlework> but it doesn't exist anymore, just a .lock file
mzcore has left #nixos [#nixos]
<clever> 2019-08-27 05:40:58 < clever> ldlework: but if a fixed-output drv fails due to a hash mismatch, the $out is renamed to match the hash it actually has
<clever> ldlework: so, it got renamed, and you have a different hash in /nix/store/
<clever> ldlework: simplest thing is to check mod-times, ls -ltrh /nix/store/
<ldlework> jesus lol ok
<ldlework> clever: but everything is modified at Dec 1969
<clever> ldlework: the failed output is the only thing that wont be 1969
<clever> ldlework: can you pastebin `ls -ltrh /nix/store/ | tail` ?
<Ariakenom> clever: ntfs with some whitespace
<ldlework> Option --time (-t) has no "rh" setting (choices: modified, accessed, created)
<ldlework> heh
<ldlework> I'm guessing we want modified
<clever> Ariakenom: then its the ntfs kernel driver, rather then the fuse one, what about `lsmod | grep ntfs` ?
<clever> ldlework: what did you do to your ls? lol
<ldlework> your command didn't work
<clever> ldlework: `type ls` ?
<ldlework> oh it's an alias
<clever> ldlework: yep, your broke ls
<clever> you*
<{^_^}> [nixpkgs] @volth opened pull request #67552 → treewide: remove redundant quotes → https://git.io/fjAD4
<ldlework> hey it works now
<Ariakenom> ntfs 102400 1
<ldlework> all lock files
<clever> Ariakenom: ahh, its the ntfs that ships with linux itself
<clever> ldlework: if you remove the |tail, are there non-lock files?
<ldlework> "no"
<clever> ldlework: can you pastebin more of the error nix gave?
o1lo01ol1o has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<ldlework> clever: I feel like I should be paying you a monthly subscription fee
<clever> heh
<alexarice[m]> Is there a way to do something like `{ y = 1; }.x or 0` but with `getAttr` (or similar)?
o1lo01ol1o has joined #nixos
<alexarice[m]> so when the attribute I want is stored in a variable
<manveru> alexarice[m]: there's a function for that
<clever> > let foo = "y"; in { y = 42; }.${foo} or "fallback"
<{^_^}> 42
<clever> > let foo = "y"; in { x = 42; }.${foo} or "fallback"
<{^_^}> "fallback"
<DariusTheMede> I am trying to fix a haskell package that nix claims is broken
<pbb> rsoeldner: handling private keys with nix is a bit of a hassle if you don't want them to get stored in your nix store
<alexarice[m]> clever: ah great, I didn't know you could do that, that makes `getAttr` seem sort of pointless
<pbb> ,locate bin arm-linux-gnueabihf-gcc
<{^_^}> Couldn't find in any packages
<DariusTheMede> But nix seems to want to build an old version
<DariusTheMede> build of '/nix/store/a5jqcc7kjp8qcng0m2nw93lrcfy2qqzc-hmatrix-sundials-0.19.1.0.drv
o1lo01ol1o has quit [Remote host closed the connection]
<pbb> ,locate bin arm-linux-gnueabihf-gcc
<{^_^}> Couldn't find in any packages
<DariusTheMede> The current version on hackage is 0.20.1.0
<clever> ldlework: oh!
<DariusTheMede> How does nix decide which hackage version to use?
o1lo01ol1o has joined #nixos
<clever> ldlework: after renaming it to the correct hash, it registers it as valid, and fixes the last-mod to 1970
<pbb> where can I find an arm cross compiler again? I always forget
<clever> pbb: pkgsCross
rauno has joined #nixos
<clever> [root@amd-nixos:~]# sqlite3 /nix/var/nix/db/db.sqlite
<chr15> Hey so I want to use this: https://paste.ubuntu.com/p/zZx7qCDYDT/ to implement Weechat-Matrix. I've added this to configuration.nix but I don't know how to run the application.
<clever> sqlite> .mode column
<clever> sqlite> select path, narsize/1024/1024 as narmb, datetime(registrationTime,'unixepoch') from ValidPaths where narsize > 256 * 1024 * 1024 order by registrationTime;
<pbb> clever: wouldn't that build a gcc built to be run on an arm processor?
<clever> ldlework: this will list everything in /nix/store over 256mb, sorted by when it was created
<clever> pbb: pkgsCross is the cross-compile framework, to cross-compile from current to something
<ldlework> clever: this is a little mad, no?
<pbb> so does it expose a cross-compiler for building arm binaries on x86?
<clever> pbb: pkgsCross.raspberryPi.stdenv.mkDerivation
<clever> pbb: yep
<pbb> thanks
<clever> ldlework: its a caching mechanism, its expecting that you will paste the new hash into the nix expr, and then it will reuse the product it previously made
<manveru> alexarice[m]: ah, i was thinking of attrByPath, but if it's just a single level that's kinda pointless
<DariusTheMede> Does someone manually update hackage-packages.nix every so often?
<ldlework> clever: yeah but i mean like, tracking down this information
<ldlework> interactive sqlite? heh
<alexarice[m]> DariusTheMede: I think so
<clever> ldlework: nix-env -iA nixos.sqliteInteractive
<ldlework> i think the savings on overhead are kinda gone
<Taneb> DariusTheMede: peti updates it every few days, and it uses that config
<clever> ldlework: part of it is just learning the internals of nix in depth
ottidmes has joined #nixos
<ldlework> clever: but like, there could be a veneer right
<clever> ldlework: i'm not sure if there is an api to sort all paths by registrationTime
<DariusTheMede> alexarice and Taneb - thanks
Ariakenom has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<ldlework> clever: I don't see anything related to BindingAttributes
<ldlework> I see plenty of other packages that have successfully built in the past
<clever> ldlework: youll need to adjust the size limitation
<clever> ldlework: the example i gave limits to >256mb
o1lo01ol1o has joined #nixos
<DariusTheMede> /* hackage-packages.nix is an auto-generated file -- DO NOT EDIT! */
<DariusTheMede> I just edited it
<clever> DariusTheMede: hackage2nix
<clever> DariusTheMede: there is an overrides file in the same directory, so you dont have to edit
<ldlework> clever: couldn't the new location be logged in the messaging you linked to in the c code?
<clever> DariusTheMede: configuration-common.nix
Makaveli7 has quit [Quit: WeeChat 2.5]
<manveru> ldlework: you could just strace it to see where it writes :)
<clever> ldlework: that would be a nice improvement you could PR
<Ariakenom> clever: reading is working! now I can work on getting it writeable, which was the reason i started messing with it
<clever> manveru: would need to trace nix-daemon though
<manveru> true
<manveru> not that hard though
<ldlework> clever: still nothing
<clever> manveru: yeah, not that hard
<ldlework> are you sure we're looking for "ValidPaths"
<clever> ldlework: you set the limit to 1gig
<clever> ldlework: you want to go the other direction
<clever> ldlework: or just remove the limit entirely, or invert the direction
<ldlework> making there be no limit
<ldlework> i still see nothing about BindingAttributes
<ldlework> Only stuff that has ever successfully built
<ldlework> I don't see any of the names I've been testing with for hours
<clever> ldlework: add a where path like "%BindingAttributes%"
<clever> sqlite> select path, narsize/1024/1024 as narmb, datetime(registrationTime,'unixepoch') from ValidPaths where path like "%BindingAttributes%" order by registrationTime;
aveltras has joined #nixos
ThatDocsLady has joined #nixos
<ldlework> I garbage collected, then built it one more time, then ran your query
<DariusTheMede> My default.nix works but the derivation automatically generated fails
<clever> ldlework: 3 paths, all under 1mb, all made ~2 minutes ago
<ldlework> clever: none of the paths actually include the "got" hash so which one is right?
ubert has joined #nixos
<clever> ldlework: the hash from the error wont be in the store path
<ldlework> oh but it does mention the derivation store path
<clever> ldlework: the storepath is a hash of that hash
<ldlework> huh
alex`` has joined #nixos
<ldlework> yay
<manveru> nix ... hashes all the way down :)
<ldlework> manveru: you're not doing anything
<ldlework> make this easier some how
<vika_nezrimaya> does gitolite need Git with perlSupport = true;?
<manveru> ldlework: well, i usually just run with `-k`, then rerun with strace attached to the daemon to see where it writes stuff, but clever tries to teach you the theoretic way :)
<clever> DariusTheMede: what is the key difference that fixes it?
<ldlework> clever: lmao
Ariakenom has quit [Remote host closed the connection]
<ldlework> it tells yo uthe path in the error
diamaths[m] is now known as Diamaths[m]
<ldlework> is it 4:30 AM or what
<clever> ldlework: thats the path it was trying to make
<clever> ldlework: but it should rename it upon failure, to match the hash it got
<ldlework> yeah the failed $out right?
<DariusTheMede> clever: using sundials rather than sundials_arkode and sundials_cvode
<ldlework> i just care to diff the contents of the failed $out
Ariakenom has joined #nixos
<ldlework> of two different runs
<clever> ldlework: it renames it to match the actual hash, rather then the wanted one
<DariusTheMede> clever: there are no such nix packages
<ldlework> clever: but that folder has the data that didn't produce the right hash right?
<ldlework> so I can run it twice and compare em
<clever> DariusTheMede: you want .override then, in configuration-common.nix
<clever> ldlework: yeah, if it makes a new hash each time
o1lo01ol1o has quit [Remote host closed the connection]
<clever> vulkan = super.vulkan.override { vulkan = pkgs.vulkan-loader; };
<ldlework> clever: yeah that's the problem
<clever> DariusTheMede: like this one
<ldlework> it looks like a single file!
Zer0xp has quit [Ping timeout: 248 seconds]
Ariakenom has quit [Remote host closed the connection]
<clever> ldlework: rm that sucker?
Makaveli7 has joined #nixos
<ldlework> clever: let's try it!!!
noudle has joined #nixos
m0rphism has joined #nixos
o1lo01ol1o has joined #nixos
<DariusTheMede> clever: can we fix up the output from cabal2nix somehow or is it best just to use the working derivation?
chr15 has quit [Ping timeout: 272 seconds]
<clever> DariusTheMede: i think the problem is that the cabal file is asking for the "wrong" library
<clever> DariusTheMede: and cabal2nix is just obeying that
<DariusTheMede> clever: I can see that
<clever> DariusTheMede: you can either fix the cabal file, or use an override like vulkan to force it
<DariusTheMede> clever: I don't think I can fix the cabal file - AFAIU cabal puts -lsundials_cvode and -lsundials_arkode into the build command it generates - putting -lsundials won't work
<clever> DariusTheMede: ah, then youll need to fix it in configuration-common.nix, like vulkan = super.vulkan.override { vulkan = pkgs.vulkan-loader; };
<{^_^}> [nixpkgs] @Moredread opened pull request #67553 → rtmidi: add PulseAudio support → https://git.io/fjAy3
<clever> probably "hamatrix-sundials" = super.hamatrix-sundails.override { sundials_arkode = pkgs.sundials; sundials_cvode = pkgs.sundails; };
<{^_^}> [nixpkgs] @mmahut merged pull request #67532 → tilt: 0.9.7 -> 0.10.4 → https://git.io/fjArx
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjAys
<clever> hmatrix*
<{^_^}> [nixpkgs] @primeos opened pull request #67554 → [WIP] wlroots: 0.6.0 -> 0.7.0, sway: 1.1.1 -> 1.2 → https://git.io/fjAyC
pycer has joined #nixos
pie_ has quit [Ping timeout: 264 seconds]
<pbb> clever: I don't get it. the gcc from pkgsCross.raspberryPi.stdenv produces x86 binaries
<clever> pbb: how are you using it? can you pastebin your example?
<pbb> I am not writing a derivation, I just want to cross-compile something for development
<{^_^}> [nixpkgs] @flokli merged pull request #66984 → nixos/systemd: enable systemd cgroup accounting by default → https://git.io/fjFQ7
<{^_^}> [nixpkgs] @flokli pushed 5 commits to master: https://git.io/fjAyR
hyper_ch2 has quit [Remote host closed the connection]
<pbb> I'm doing "nix-shell -p pkgsCross.raspberryPi.stdenv" and then "gcc hello.c -o hello" and the resulting hello file is an x86 binary
<clever> pbb: that did stdenv.mkDerivation { buildInputs = [ pkgsCross.raspberryPi.stdenv ];
<clever> pbb: which gives you the x86 stdenv, with an arm stdenv jammed in sideways
<clever> nix-shell -E 'with import <nixpkgs> {}; pkgsCross.raspberryPi.stdenv.mkDerivation { name = "name"; }'
<clever> pbb: you want this, to change the stdenv entirely
<pbb> thanks now I'm seeing the cross-compiler
<clever> pbb: and thats armv6, not 7 or aarch64
<pbb> yeah I saw that
<davidtwco> I'm having a strange issue where packages from the nix store on a Ubuntu system are all missing libstdc++.so.6 - stuff like rm. Any thoughts?
<clever> davidtwco: nix-store --verify --check-contents
<davidtwco> clever: thanks, running that now
johanot has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #67556 → nixos/matomo: fixing the configuration path → https://git.io/fjAyK
psyanticy has joined #nixos
<DariusTheMede> clever: that seems to have caused nix to rebuild the world
<davidtwco> clever: that seems to have fixed it when I re-open the old terminals.
<davidtwco> clever++
<{^_^}> clever's karma got increased to 184
<davidtwco> Out of curiosity, is this just a thing that can happen with Nix on non-NixOS systems?
<clever> davidtwco: that command shouldnt have fixed anything, it just lists what is wrong
<davidtwco> Oh.
noudle has quit []
<clever> davidtwco: you must have set an env var in that terminal that broke things, and re-opening the terminal undid it
<davidtwco> Yeah, that's what it'll be.
* davidtwco I was LD_PRELOADING some things.
<clever> davidtwco: checking ~/.bash_history will reveal what you did
<{^_^}> [nixpkgs] @michaelpj closed pull request #64311 → mathoid: init at 0.7.2 → https://git.io/fj6aP
<clever> davidtwco: ah, that would definitely break some things
<davidtwco> Oops, didn't mean to /me.
<clever> davidtwco: its likely that your preloaded thing needs a different libstdc++ version then what nix has
<clever> davidtwco: and nix isnt looking in /lib, so it cant find the "right" one
<clever> DariusTheMede: if your on nixpkgs master, it already would have been
<{^_^}> [nixpkgs] @mmahut merged pull request #67535 → stp: 2.2.0 -> 2.3.3 → https://git.io/fjAoR
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjAyy
<rnhmjoj> is there a way to run all nixosTests without using a PB of ram? i run into an OOM two times already.
<davidtwco> I see. Hopefully I can workaround it by just prepending the variable to one or two commands that need it.
<clever> rnhmjoj: the hydra-eval-jobs binary will restart the eval every time the memory usage hits a certain set limit, so it can keep going
chr15 has joined #nixos
<ldlework> clever: finally :D
<ldlework> diff -r $(nix-build -A BindingAttributes dependencies.nix 2>&1 >/dev/null | grep "hash mismatch" | awk '{print $6}' | grep -ohEi "[[:alnum:]/-]+") $(nix-build -A BindingAttributes dependencies.nix 2>&1 >/dev/null | grep "hash mismatch" | awk '{print $6}' | grep -ohEi "[[:alnum:]/-]+")
<ldlework> lmao
Zer0xp has joined #nixos
<rnhmjoj> clever: i've never used hydra: i'm just running nix-build on my nixpkgs checkout. should i?
<clever> rnhmjoj: you can use hydra-eval-jobs without setting up hydra
<clever> rnhmjoj: hydra-eval-jobs -I . nixos/release.nix
<clever> just run that binary, from the hydra package
<rnhmjoj> clever: ah, nice. thank you
Zer0xp has quit [Ping timeout: 244 seconds]
chr15 has quit [Ping timeout: 245 seconds]
<betaboon> is anyone from germany going to nixcon by car and has a free seat ?
Zer0xp has joined #nixos
<{^_^}> [nixpkgs] @aanderse closed pull request #48857 → perlPackages.ClusterSSH: init at 4.13.2 → https://git.io/fxiDm
chr15 has joined #nixos
<adisbladis> betaboon: Try to also ask in #nixcon, it's less noisy.
<betaboon> adisbladis: ah yeah, thanks. gonna ask in #nixos-de aswell :)
<adisbladis> Maybe this should be a discourse thread? (not asking for space, but offering space)
<DariusTheMede> clever: how do I ask for 0.20.1.0 rather than 0.19.1.0?
<DariusTheMede> hmatrix-sundials = super.hmatrix-sundials.override {
<DariusTheMede> version = 0.20.1.0;
<DariusTheMede> sundials_arkode = pkgs.sundials; sundials_cvode = pkgs.sundials; };
<DariusTheMede>
<DariusTheMede> Of course that doens't work
<{^_^}> [nixpkgs] @davidak closed pull request #66922 → netdata: enable cgroup accounting → https://git.io/fjFix
<ldlework> clever: looks like nuget, the thing that's building these zip-packages, actually got support for deterministic builds
<ldlework> nixpkgs is just wayyyy behind
<{^_^}> NuGet/Home#6229 (by tmat, 1 year ago, closed): NuGet Pack is not deterministic
<ldlework> though the changes were only merged 19 days ago
<alexarice[m]> does anyone know how things like nixpkgs and home-manager generate the option documentation?
<o1lo01ol1o> is buildCmd a valid attribute to mkDerivation? I can't remember and can't seem to find documentation. I basically need to run a bash script in a subdirectory as part of a validation step.
<clever> ldlework: but you shouldnt be doing any builds in the fetch derivation
<clever> ldlework: it should purely download source, and nothing more
<clever> o1lo01ol1o: just run that bash and do nothing else? or after the build happens?
<betaboon> clever ldlework have you seen how i deal with nuget in the eventstore package ?
<{^_^}> [nixpkgs] @primeos merged pull request #67554 → wlroots: 0.6.0 -> 0.7.0, sway: 1.1.1 -> 1.2 → https://git.io/fjAyC
<{^_^}> [nixpkgs] @primeos pushed 3 commits to master: https://git.io/fjASv
<clever> betaboon: nope
<o1lo01ol1o> clever: just run it and do nothing else. It's a hydra job that checks a few things; it sets some local flags and builds and then fails of they don't work. It's super dumb for the momement.
<o1lo01ol1o> Sorry, the derivation is for a hydra job, the bash script just compiles
<clever> o1lo01ol1o: then you want pkgs.runCommand "name" {} "bash code"
drgbr has quit [Ping timeout: 245 seconds]
<ldlework> betaboon: do you have any interested in helping me restore Paket2Nix?
<DariusTheMede> if I look in configuration-hackage2nix.yaml then hmatrix-sundials doesn't have a version number so why is nix picking up an old version?
<qubasa> I want to use nix-instantiate to learn the nix language in detail but executing nix-instantiate --eval --expr 'let s = builtins.forEach [ "a" "b" "c" "d" ] (a: b: a+b ); in { inherit s; } ' will give back { s = <CODE>; } how do I get my result?
<qubasa>
<clever> qubasa: add --strict i believe
<clever> qubasa: or use `nix repl`
<ldlework> betaboon: we gotta take a file like this, https://github.com/disunity-hq/disunity/blob/master/paket.lock and extract all the top-level package names and versions
<ldlework> and generate probably the code you're using
<betaboon> ldlework: i realy have no clue about the .net ecosystem. the solution pointed to above is just what i came up for packaging eventstore.
<ldlework> betaboon: well i am learning too
<o1lo01ol1o> clever: I should clarify, I import an existing expression: `foo = import ./default.nix {};` The script in question is in foo/scripts/foo.sh and it needs access to the environment specified in foo, so it needs to happen after foo is built.
<ldlework> betaboon: but i guess if you just needed some .net app you wanted in nixpkgs and are not actually doing .net dev you are not interested in a Paket2Nix
<clever> o1lo01ol1o: pkgs.runCommand "name" { buildInputs = [ foo ]; } "foo --help"
<betaboon> ldlework: not that much interest on my side. sorry.
<clever> o1lo01ol1o: or "ls -lh ${foo}"
<o1lo01ol1o> clever : ah, I didn't know I could do that. Thanks!
<qubasa> clever: thanks!
<{^_^}> [nixpkgs] @peti merged pull request #67525 → mailman: add the Postorious web UI → https://git.io/fjAwW
<{^_^}> [nixpkgs] @peti pushed 5 commits to master: https://git.io/fjASI
<{^_^}> [cabal2nix] @peti merged pull request #426 → Enable inlineMarkdown on pandoc-placetable → https://git.io/fjA6b
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fjASL
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<DariusTheMede> nix-build "../nixpkgs" -A haskellPackages.hmatrix-sundials --arg config '{ allowBroken = true; version = 0.20.1.0; }'
inkbottle has quit [Ping timeout: 245 seconds]
<DariusTheMede> these derivations will be built:
<DariusTheMede> /nix/store/ksprzcaj4llzklrrmqindy1zcbysxqpi-hmatrix-sundials-0.19.1.0.drv
inkbottle has joined #nixos
<DariusTheMede> Anyone know how hackage-packages.nix gets autogenerated?
<clever> DariusTheMede: hackage2nix
feep has quit [Disconnected by services]
feep_ has joined #nixos
<clever> DariusTheMede: and --arg config with version= wont do what your expecting
<DariusTheMede> clever: my real question is: how do I persuade nix to use the latest version of hmatrix-sundials and not an old version?
<DariusTheMede> hackage2nix says "Important: this must be run on a case sensitive file system."
<DariusTheMede> I am on macos :(
<clever> DariusTheMede: it links to directions on how to make macos case sensitive
<clever> DariusTheMede: if you want to override it, then you need to set packageOverrides in config, to include an override against haskellPackages
* DariusTheMede thinks he can use an overlay also
ng0 has quit [Quit: Alexa, when is the end of world?]
<clever> DariusTheMede: yep, either works
ee1943 has quit [Quit: The Lounge - https://thelounge.github.io]
obadz has quit [Ping timeout: 245 seconds]
ee1943 has joined #nixos
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ng0 has joined #nixos
xkapastel has joined #nixos
iyzsong has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5b1522155d9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
reallymemorable has joined #nixos
reallymemorable has quit [Client Quit]
Ariakenom has joined #nixos
pycer has quit [Quit: "strip"]
fendor_ has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5b1522155d9 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
noudle has joined #nixos
<ldlework> betaboon: I don't know how fetchNuGet works at all since it assumes the DLLs inside NuGet packages are always at lib/dotnet/ : https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/build-dotnet-package/default.nix#L67
<ldlework> which just isn't the case,
<ldlework> for example here's Microsoft.Extensions.DependencyInjection: http://logos.ldlework.com/caps/2019-08-27-11-06-25.png
<betaboon> ldlework: i couldnt figure out how the fetchNuGet that is in nixpkgs is supposed to work either. for the package i created i did it differntly: https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/nosql/eventstore/deps.nix#L3
<ldlework> betaboon: what is your main expression even doing with the deps? https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/nosql/eventstore/default.nix#L53
<ldlework> what's this "nixos" nuget source?
<{^_^}> [nixpkgs] @toonn opened pull request #67557 → wire-desktop: 3.9.2895 -> 3.10.2904, mac 3.9.2943 -> 3.10.3133 → https://git.io/fjASM
hyper_ch2 has joined #nixos
<talyz> alexarice[m]: for nixpkgs it's done in nixos/doc/manual/default.nix - it's seems a bit involved, but from what I can tell it exports the options to xml, runs xsl transformations on the result to extract the descriptions and then compiles them and the rest of the manual..
<ldlework> maybe toString a derivation gives you the path
<betaboon> ldlework: i am disabling the online-source and then manually rebuilding a nuget source called "nixos" which is later used by "dotnet restore"
<alexarice[m]> talyz: ah was hoping there was a nice neat function that made some fancy docs from a set of modules
<betaboon> ldlework: it might create that source in a relative subdirectory, not sure
abbiya has quit [Quit: abbiya]
<ldlework> betaboon: oh okay I didn't understand the semantics of the nuget command. It's adding the fetched nuget package to a -Source nixos, but you don't have to explicitly create that source anywhere
<ldlework> I guess you just add packages to it
<yorick> oh god, -j48
Profpatsch has joined #nixos
<yorick> on a ghc build
<betaboon> yeah seems like it. i have never worked with nuget before packaging eventstore. that's the best solution i came up with
<Profpatsch> abbradar[m]: Now I wonder: did we meet at cccamp?
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @suhr opened pull request #67558 → oil: 0.6.0 -> 0.7.pre3 → https://git.io/fjASA
<abbradar[m]> ProfpatschI think no, somehow. last time I saw you was at the first NixCon ;_;
<betaboon> i am trying to write tests for a new bootloader, could anyone point me in the right direction? should that go into nixos/tests/installer.nix or nixos/tests/boot.nix ? oO
reallymemorable has joined #nixos
reallymemorable has quit [Client Quit]
drgbr has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
Phillemann has joined #nixos
<talyz> alexarice[m]: ah, sadly it doesn't seem like it, but it's probably not too hard to make a more generalized version from it
<Phillemann> I have an "installer.sh" file which contains a bash script at the top and some binary stuff at the end. How do I write a derivation for that?
<Phillemann> Is there something I can look at for reference?
<alexarice[m]> talyz: I think home-manager has made a seperate package for it so I might give that a try
<talyz> alexarice[m]: also, I didn't check home-manager ;)
<talyz> alexarice[m]: right :)
<{^_^}> [nixpkgs] @lightbulbjim opened pull request #67559 → qt5ct: fix missing app icon and name when running under Wayland → https://git.io/fjA9m
aveltras has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
noonien has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @sikmir opened pull request #67560 → mkgmap: init at 4289 → https://git.io/fjA9G
<{^_^}> [nixpkgs] @dywedir opened pull request #67561 → rclone: 1.48.0 -> 1.49.0 → https://git.io/fjA9Z
<abbradar[m]> Profpatsch: now I remember - I met you, just didn't recognize you back then
Chiliparrot has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @flokli opened pull request #67562 → jameica: 2.8.2 -> 2.8.4 → https://git.io/fjA98
lally has joined #nixos
steell has joined #nixos
inkbottle has quit [Ping timeout: 272 seconds]
inkbottle has joined #nixos
hyper_ch2 has joined #nixos
<qubasa> If I execute: builtins.map (a: if a.signature == false && !allowNonSigned then throw "Disable signature checking in firefox if you want this addon" else a ); I get "cannot coerce the partially applied built-in function 'map' to a string" what must I do so that map returns an array of sets?
<hyper_ch2> I got an email with "You’re invited to join the @NixOS organization on GitHub." and I wonder why
<gchristensen> ,invite hyper_ch2
<{^_^}> hyper_ch2: Invited to join "Nixpkgs Maintainers" on GitHub? For more information, see: https://discourse.nixos.org/t/join-the-package-maintainer-team/3751
domogled has quit [Quit: domogled]
domogled has joined #nixos
lally has quit [Ping timeout: 276 seconds]
<hyper_ch2> gchristensen: thx
<gchristensen> yep!
kiwi_82 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<kiwi_82> Hi folks, did you turn off sysrq on master or is that a regression in the kernel?
hyper_ch2 has joined #nixos
<gchristensen> kiwi_82: how would we turn off sysrq? I can look for hints
<betaboon> gchristensen: would you be able to point me in the right direction regarding my question about writing tests for a new bootloader ?
<clever> qubasa: map takes a function and a list, you only gave it a function
hyper_ch2 has quit [Remote host closed the connection]
<gchristensen> betaboon: hmmm check out ./nixos/tests/boot.nix and ./nixos/tests/boot-stage1.nix?
domogled has quit [Ping timeout: 245 seconds]
<Ariakenom> I'm trying to make a windows ntfs partition writeable.
<kiwi_82> gchristensen sysrq worked on 20-day old master but today I was surprised when OOM killed my NixOS workstation I got no reacton from alt-sysrq-f (oom killer), now I see in the console that sysrq is disabled. So there is a regression in kernel Linux or NixOS.
<Ariakenom> fileSystems."/mnt/windows" ={ device = "/dev/disk/by-uuid/0000"; fsType = "auto"; options = [ "uid=1001" "gid=100" "umask=0000" "rw" ];};
bakakuna1 has joined #nixos
<betaboon> gchristensen: i only found references to systemd-boot and grub in ./nixos/tests/installer.nix which led me to believe that is the place to look. is that a wrong assumption ?
bakakuna has quit [Ping timeout: 258 seconds]
bakakuna1 is now known as bakakuna
<Ariakenom> it mounts, woo. but as read only, boo
<gchristensen> betaboon: I'd start with the boot.nix ones and see if you can make progress there
<clever> Ariakenom: the driver your using only supports read-only mode
<clever> Ariakenom: oh wait, next line down, it does have limited write support
<qubasa> clever: Right... right I am stupid
<Ariakenom> clever: heh yeah. i did the same roller coaster when you linked that before
<Ariakenom> afaict the write support should be enough
<clever> Ariakenom: the other option is the ntfs3g stuff that uses fuse, but i dont remember how to mount it from configuration.nix
<clever> Ariakenom: i also tend to not trust any write support for linux+ntfs, id rather use a fat32 middleman then risk the partition becoming corrupt
<Ariakenom> clever: ok. yeah. that might be most sensible
<betaboon> gchristensen: looking at boot.nix i am completly lost
<Ariakenom> the proc/mount seems to include options that isn't in that documentation. ro and relatime.
fendor_ has joined #nixos
<clever> Ariakenom: those are global ones, check `man mount`
tmaekawa has quit [Quit: tmaekawa]
bakakuna has quit [Ping timeout: 245 seconds]
dansho has quit [Ping timeout: 258 seconds]
selfsymmetric-pa has joined #nixos
<Ariakenom> clever: right. they're not in fstab either, where I have rw. so I don't know who adds it
fendor_ is now known as fendor
<clever> Ariakenom: the kernel itself
<clever> Ariakenom: try umount and then mount -v ?
<yorick> where is /var/lib made in the activation scripts?
orivej has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @johanot opened pull request #67563 → kubernetes: 1.14.3 -> 1.15.3 (with revert of module systemd dependencies) → https://git.io/fjA97
ThatDocsLady has quit [Read error: Connection reset by peer]
ericsagnes has quit [Ping timeout: 276 seconds]
ThatDocsLady has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
selfsymmetric-pa has quit [Remote host closed the connection]
<Ariakenom> clever: my umount isnt working. how scary is force?
lurpahi has joined #nixos
<clever> Ariakenom: is something currently cd'd into it?
dansho has joined #nixos
<Ariakenom> shouldnt be
<clever> Ariakenom: `ls -l /proc/*/* | grep windows` ?
kiwi_82 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @petabyteboy opened pull request #67564 → ruby: 2.5.3 -> 2.6.3 → https://git.io/fjAHv
<{^_^}> [nixpkgs] @peti pushed to master « mod_wsgi: allow building this module with python 2.x and 3.x »: https://git.io/fjAHf
steell has quit [Ping timeout: 245 seconds]
<Profpatsch> abbradar[m]: haha, okay
m0rphism1 has joined #nixos
alanz has quit [Remote host closed the connection]
m0rphism has quit [Ping timeout: 245 seconds]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @peti opened pull request #67565 → The default version of mod_wsgi remains unchanged. → https://git.io/fjAHI
<{^_^}> [nixpkgs] @Infinisil merged pull request #67251 → nixos/pdns-recursor: implement a `settings` option → https://git.io/fjNIJ
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/fjAHm
o1lo01ol1o has quit [Remote host closed the connection]
<betaboon> abbradar[m]: i just saw that you were involved in writing tests for bootloaders. can you point me in the right direction on adding tests for a new bootloader ?
<abbradar[m]> betaboon: sure! some specifics?
<abbradar[m]> what's the bootloader, for what platform etc
<betaboon> abbradar[m]: PR #58121
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58121 (by betaboon, 22 weeks ago, open): nixos/refind: init
<betaboon> abbradar[m]: i realy am lost on where to start
lally has joined #nixos
growpotkin has joined #nixos
reallymemorable has joined #nixos
asymptotically has quit [Remote host closed the connection]
<abbradar[m]> this all is just from quick grepping over `installer.nix` so it may be wrong, but looks like the right direction
asymptotically has joined #nixos
<betaboon> abbradar[m]: that makes sense. thanks for the pointers :)
<Twey> Did a bunch of people just get invited to the NixOS organization on GH?
<infinisil> ,invite Twey
<{^_^}> Twey: Invited to join "Nixpkgs Maintainers" on GitHub? For more information, see: https://discourse.nixos.org/t/join-the-package-maintainer-team/3751
<Twey> Neat, thanks :)
noudle has quit []
Soo_Slow has joined #nixos
steell has joined #nixos
<hyper_ch2> Twey: congrats
alanz has joined #nixos
vmandela has joined #nixos
dansho has quit [Quit: Leaving]
<Ariakenom> clever: this looks relevant
<Ariakenom> lr-x------ 1 patrik users 64 Aug 27 14:48 12 -> /mnt/windows/Users/patri/Downloads
drakonis1 has quit [Ping timeout: 246 seconds]
Ariakenom has quit [Remote host closed the connection]
<clever> Ariakenom: what directory did you find 12 in?
<clever> just missed him!
fleaz has joined #nixos
inkbottle has quit [Ping timeout: 246 seconds]
npmccallum has quit [Quit: npmccallum]
inkbottle has joined #nixos
o1lo01ol1o has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<clever> Ariakenom: `ls -lh /proc/*/fd/* | grep windows`
DariusTheMede has quit [Ping timeout: 258 seconds]
<Ariakenom> clever: I rebooted
<clever> Ariakenom: thats the windows way of fixing most problems :D
<Ariakenom> Indeed!
mudri_ has quit []
<Ariakenom> sudo umount /mnt/windows && sudo mount -va; doesn't show much
<clever> Ariakenom: did it say anything about /mnt/windows?
drakonis1 has joined #nixos
<Ariakenom> /mnt/windows : successfully mounted
mudri has joined #nixos
<clever> Ariakenom: what if you do `mount -v /mnt/windows` ?
<Ariakenom> mount: /dev/sda3 mounted on /mnt/windows.
<Ariakenom> :D
<Ariakenom> how verbose
<clever> Ariakenom: can root write to it?
<Ariakenom> no
<clever> not sure what to do then
<Ariakenom> you're probably right that it's safest that way anyway
drakonis1 has quit [Read error: Connection reset by peer]
<rnhmjoj> infinisil: do you know if members of the nixos org get some permission? i'd be interested in, for example, assigning myself to issues and adding labels, but i don't want commit access.
drakonis1 has joined #nixos
<abbradar[m]> Ariakenom: do you use ntfs-3g?
<abbradar[m]> you can check in `mount`
<infinisil> rnhmjoj: I think it's possible to only get permissions for some things but not commit, maybe you can ask for that
<clever> Ariakenom: he is currently using the ntfs driver in the kernel
<clever> abbradar[m]: ^^
<{^_^}> [nixpkgs] @petabyteboy opened pull request #67566 → nixos/nginx: use mailcap mime.types → https://git.io/fjAH5
<abbradar[m]> it doesn't support writing at all, I think
<alexarice[m]> rnhmjoj: infinisil I think not at the moment but gchristensen is working on it?
<abbradar[m]> there was some "experimental" support but it's dangerous IIRC
steell has quit [Ping timeout: 245 seconds]
<abbradar[m]> clever: ah, I see! still, I didn't think I managed to write something with it even once
<abbradar[m]> maybe it supports only modifying existing files with the same size or something?
asymptotically has quit [Remote host closed the connection]
<rnhmjoj> alexarice infinisil: thank you, i'll ask around
asymptotically has joined #nixos
<alexarice[m]> rnhmjoj: there's a discourse thread about it
zupo has joined #nixos
<alp> is there a way (env var or something) to know whether we're building a derivation in a sandboxed env?
fleaz has left #nixos [#nixos]
<clever> alp: dont think so, but there are files that will be missing, like /home and many others
<fgaz> Hi all. What is the process/requirements to move myself from ofborg's known user to trusted? I'd like to speed up darwin builds on my prs
<fgaz> grahamc: ↑
<alp> clever, ok, I guess this should be enough to hack something together for the scenario I'm concerned about. thanks :)
<clever> alp: what are you concerned about?
chiefgoat has quit [Ping timeout: 258 seconds]
<alp> clever, well, it's a colleague, to be precise. wants to skip running tests as part of the derivation building, if sandboxing is enabled. and wants to run them otherwise.
<clever> alp: that would make the derivation impure!
<alp> might be a bit tricky to have smth that does the job for osx and linux, but doable I suppose.
chiefgoat has joined #nixos
<alp> clever, the problem is that some tests require network access apparently.
<clever> alp: network access to what?
<alp> good question.
<rnhmjoj> alexarice: i can't seem to find the thread. do you a link by any chance?
chiefgoat has quit [Quit: ZNC 1.7.4 - https://znc.in]
<alexarice[m]> rnhmjoj: https://discourse.nixos.org/t/join-the-package-maintainer-team/3751 this is what I was thinking of
chiefgoat has joined #nixos
hyper_ch2 has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
<alexarice[m]> rnhmjoj: might not be as relevant as I thought it was
<rnhmjoj> alexarice: ah, ok. i was thinking of a discussion about the commit access/issue tracker permission
npmccallum has joined #nixos
<alp> clever, an in-house service or something. anyway, I gave my recommendations based on your input, thanks for the help :-)
zupo_ has joined #nixos
zupo has quit [Ping timeout: 258 seconds]
abbradar[m] is now known as abbradar
<{^_^}> [nixpkgs] @globin merged pull request #67565 → mod_wsgi: allow building this module with python 2.x and 3.x → https://git.io/fjAHI
<{^_^}> [nixpkgs] @globin pushed 2 commits to release-19.03: https://git.io/fjAQ4
reallymemorable has quit [Quit: reallymemorable]
waleee-cl has joined #nixos
<vika_nezrimaya> does Hydra have a machine-readable API or something similar?
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/5b1522155d9 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
reallymemorable has joined #nixos
<gchristensen> vika_nezrimaya: yeah, and here is a project being built against it: https://github.com/nlewo/hydra-cli
ubert has quit [Quit: Leaving]
ubert has joined #nixos
<vika_nezrimaya> gchristensen: cool! building it right now!
<infinisil> vika_nezrimaya: See https://github.com/NixOS/hydra/issues/440 too
<{^_^}> hydra#440 (by rzetterberg, 2 years ago, closed): Hydra JSON API
<{^_^}> [nixpkgs] @Infinisil merged pull request #58204 → nixos/dnschain: disable DNSSEC for namecoin TLDs → https://git.io/fjJPC
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjAQg
reallymemorable has quit [Client Quit]
philr has quit [Ping timeout: 268 seconds]
<vika_nezrimaya> gchristensen: infinisil: how old is Hydra manual on https://nixos.org/hydra/manual
<vika_nezrimaya> ?
rauno has quit [Ping timeout: 258 seconds]
* infinisil has no idea
Okinan has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67467 → rsClock: init at 0.1.0 → https://git.io/fjAZt
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjAQH
<qubasa> How can I generate sets dynamically? ? Example: {} // builtins.map (a: a.pname = {} ) [ { pname="hello" }, { pname="test" } ]
Okinan has quit [Remote host closed the connection]
nexgen2 has joined #nixos
Okinan has joined #nixos
reallymemorable has joined #nixos
domogled has joined #nixos
__monty__ has joined #nixos
aengelke has quit [Remote host closed the connection]
Tucky has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @mmahut merged pull request #67556 → nixos/matomo: fixing the configuration path → https://git.io/fjAyK
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjA7J
<Izorkin> globin: really add option to build with openssl 1.0.2 ?
itorres has quit [Ping timeout: 246 seconds]
hyper_ch2 has quit [Remote host closed the connection]
itorres has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Miyu-chan> qubasa: `foldr (x: y: x // y) [ ... ]` and `zipAttrs [ ... ]` work with varying degree.
<qubasa> Miyu-chan: Thanks!
Zer0xp has quit [Ping timeout: 246 seconds]
chr15 has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3c83ad6ac13 (from 39 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
zupo has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 235 commits to staging-next: https://git.io/fjA7i
<{^_^}> [nixpkgs] @mmahut opened pull request #67567 → gitlab-ci-pipelines-exporter: init at 0.2.5 → https://git.io/fjA7X
alex`` has quit [Ping timeout: 246 seconds]
sveitser has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #67561 → rclone: 1.48.0 -> 1.49.0 → https://git.io/fjA9Z
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjA7S
orivej has joined #nixos
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjA7Q
<{^_^}> [nixpkgs] @mmahut merged pull request #67562 → jameica: 2.8.2 -> 2.8.4 → https://git.io/fjA98
reivilibre_ has quit [Ping timeout: 268 seconds]
freeman42x has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dawidsowa opened pull request #67568 → gallery-dl: 1.10.1 -> 1.10.2 → https://git.io/fjA7b
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
sveitser has joined #nixos
FRidh has joined #nixos
carter has quit [Excess Flood]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ilya-fedin has joined #nixos
carter has joined #nixos
ubert has quit [Quit: Leaving]
freeman42x has joined #nixos
selfsymmetric-pa has joined #nixos
<{^_^}> [nixpkgs] @marius851000 opened pull request #67569 → classicube: init at 1.0.6 → https://git.io/fjA7h
<qubasa> Miyu-chan: Why doesn'tthis work? builtins.toJSON (pkgs.stdenv.lib.lists.foldr (ret: e: ret // { "${e.extid}" = "asd"; } ) {} [{ extid="1"; } { extid="2"; } { extid="3"; } ])
<meck> Does anyone have any idea why `nixos-rebuild switch` would take a halfhour waiting at `setting up tmpfiles` while `nixos-rebuild boot` is instantaneous, --verbose dosen't say anything?
<gchristensen> mine takes a long long long time if I have rules cleaning out /tmp/ for example
<gchristensen> I really regret switching to tmpfiles.d for my own things
ng0 has quit [Remote host closed the connection]
<aanderse> gchristensen: care to elaborate?
<Miyu-chan> > builtins.toJSON (pkgs.stdenv.lib.lists.foldr (ret: e: ret // { "${e.extid}" = "asd"; } ) {} [{ extid="1"; } { extid="2"; } { extid="3"; } ])
<{^_^}> attribute 'extid' missing, at (string):263:67
<Miyu-chan> Oh.
selfsymmetric-pa has quit [Ping timeout: 248 seconds]
<Miyu-chan> > builtins.toJSON (pkgs.stdenv.lib.lists.foldr (e: ret: ret // { "${e.extid}" = "asd"; } ) {} [{ extid="1"; } { extid="2"; } { extid="3"; } ])
ng0 has joined #nixos
<{^_^}> "{\"1\":\"asd\",\"2\":\"asd\",\"3\":\"asd\"}"
<Miyu-chan> qubasa: ^
<qubasa> Miyu-Chan: Thanks a lot :D
<gchristensen> aanderse: this rule can stall a nixops deploy for 30min to 1h: systemd.tmpfiles.rules = [ "R /tmp/nix-build-* - - - 1d -" ];
<aanderse> gchristensen: :S
ng0 has quit [Remote host closed the connection]
<gchristensen> and I don't care about it happening on deploy, I just want it to happen "sometimes", so my previous cron was much better at it
<{^_^}> [nixpkgs] @matthewbauer pushed to master « zsh: remove unfunction on TERM=dumb »: https://git.io/fjA5k
ng0 has joined #nixos
<{^_^}> [nix] @matthewbauer opened pull request #3066 → Use wait4path on org.nixos.nix-daemon.plist → https://git.io/fjA5m
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjA53
freeman42x has quit [Ping timeout: 245 seconds]
<meck> gchristensen: I dont have anything like that going on, does a rebuild produce any logs anywhere to look at?
<{^_^}> [nix] @edolstra merged pull request #3056 → operators: document exact precedence, split up similar operators → https://git.io/fjNir
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fjA5u
<{^_^}> [nixpkgs] @avnik opened pull request #67570 → Wine update (4.12.1 -> 4.14, 4.0.1 -> 4.0.2) → https://git.io/fjA52
<{^_^}> [nixpkgs] @leenaars opened pull request #67571 → pythonPackages.fire: 0.1.3 -> 0.2.1 → https://git.io/fjA5K
<{^_^}> [nixpkgs] @mmahut merged pull request #67539 → jetbrains: 2019.2.* → https://git.io/fjA6i
<{^_^}> [nixpkgs] @mmahut pushed 11 commits to master: https://git.io/fjA56
polman has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Ekleog merged pull request #64669 → sortmerna: init at 3.0.3 → https://git.io/fjPxW
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/fjA5P
reallymemorable has quit [Quit: reallymemorable]
polman has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67558 → oil: 0.6.0 -> 0.7.pre3 → https://git.io/fjASA
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjA5F
<{^_^}> [nixpkgs] @WilliButz merged pull request #67567 → prometheus-gitlab-ci-pipelines-exporter: init at 0.2.5 → https://git.io/fjA7X
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjA5N
Ariakenom has quit [Remote host closed the connection]
eskytthe has joined #nixos
<{^_^}> [nixpkgs] @Amar1729 opened pull request #67572 → libguestfs: bump stable 1.38.6 -> 1.40.2 → https://git.io/fjAdJ
endformationage has joined #nixos
reallymemorable has joined #nixos
<vika_nezrimaya> Question about flakes - are flakes right now stable enough for a user to try them out? I've downloaded nixFlakes and right now trying to comprehend how to make my app (which requires several Python packages not present in Nixpkgs) to fit in all of this
eskytthe has left #nixos [#nixos]
<{^_^}> [nixpkgs] @aanderse merged pull request #64549 → claws: init at v0.3.2 → https://git.io/fjPUH
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjAdW
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @rycee opened pull request #67573 → svtplay-dl: 2.1 -> 2.2 → https://git.io/fjAdR
wfranzini has quit [Remote host closed the connection]
<ldlework> I wonder if I could put out a bounty on a Paket2Nix
sigmundv_ has quit [Ping timeout: 246 seconds]
<ldlework> The latest Nuget has a -Deterministic flag, but I can't figure out how to build it on NixOS.
<ldlework> I built it on Windows, and copied it over. It runs, but when it tries to do some work it fails.
<ldlework> Ready to just open my wallet :D
* ldlework sighs.
wildtrees has joined #nixos
<ldlework> It'd be cool if there were a number of ecosystem-specific mailing-lists or something
<ldlework> So you could shout into the void, but at least, the right void.
wildtrees has quit [Max SendQ exceeded]
erasmas has joined #nixos
wildtrees has joined #nixos
growpotk- has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
ZoomZoomZoom has joined #nixos
<ZoomZoomZoom> Hey everyone! Does anybody use minio on NixOS?
<{^_^}> [nixpkgs] @mmahut merged pull request #67557 → wire-desktop: 3.9.2895 -> 3.10.2904, mac 3.9.2943 -> 3.10.3133 → https://git.io/fjASM
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjAdy
<ZoomZoomZoom> I can't get it to run with multiple datadirs, as the nix service file just uses a string and then does "systemd.tmpfiles.rules = [ "d '${cfg.dataDir}' - minio minio - -" ];" which doesn't work for multiple paths.
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
gxt has joined #nixos
<infinisil> ZoomZoomZoom: I don't use it, but how would it run with multiple?
Havvy has quit [Ping timeout: 248 seconds]
<ZoomZoomZoom> It just needs several dirs passed as "minio server /data1 /data2"
<judson__> Is there an easy way to override the Chromium flash plugin version?
<ZoomZoomZoom> So existing service file would work OK, if not for that systemd.tmpfiles
<judson__> I'm getting 404s on the version that's in nixpkgs, because the version is older, and Adobe only seems to maintain the current version.
<betaboon> judson__: you could override the src attribute of the expression for that plugin. with overrideAttrs
Havvy has joined #nixos
<judson__> betaboon, I'm looking at the Chromium plugins.nix - it doesn't seem to be attached to the toplevel derivation?
xelxebar has quit [Ping timeout: 260 seconds]
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #67509 → python3Packages.pre-commit: 1.18.1 -> 1.18.2 → https://git.io/fjAgO
<{^_^}> [nixpkgs] @FRidh pushed commit from @borisbabic to master « python3Packages.pre-commit: 1.18.1 -> 1.18.2 »: https://git.io/fjAdd
<betaboon> judson__: ah yeah you're right.
alex`` has joined #nixos
jollyjester has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
<jollyjester> hello, can someone open an issue on the nixpkgs page? the brave browser version is outdated and not the latest even on the unstable channel, i currently can't use my github accoutn so i cannot open an issue, anyone willing to help would be appreciated
<infinisil> ZoomZoomZoom: Ah, that's really just a coincidence though, if the author of that module made sure to escape the shell argument properly even that wouldn't work
<vika_nezrimaya> jollyjester: I'll take a look at it, and maybe even send a PR to update it :3
<infinisil> ZoomZoomZoom: You need to change the module itself if you want multiple dataDir's, a PR would be nice too
<{^_^}> [nixpkgs] @FRidh merged pull request #67452 → vde2: build with `--disable-python` by default → https://git.io/fjAmD
<{^_^}> [nixpkgs] @FRidh pushed commit from @Ma27 to master « vde2: build with `--disable-python` by default »: https://git.io/fjAdj
gxt has joined #nixos
<ZoomZoomZoom> infinisil, ok, that's what I thought. Can't this systemd option be overridden somehow in a local config?
<infinisil> Nope
<{^_^}> [nixpkgs] @FRidh merged pull request #67448 → pykde4: pin to openssl 1.0.2 → https://git.io/fjAqh
<{^_^}> [nixpkgs] @FRidh pushed commit from @gnidorah to master « pykde4: pin to openssl 1.0.2 »: https://git.io/fjAFe
<ZoomZoomZoom> OK, thanks!
ZoomZoomZoom has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @FRidh merged pull request #67573 → svtplay-dl: 2.1 -> 2.2 → https://git.io/fjAdR
<{^_^}> [nixpkgs] @FRidh pushed commit from @rycee to master « svtplay-dl: 2.1 -> 2.2 »: https://git.io/fjAFq
orivej has quit [Ping timeout: 258 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
thomashoneyman has joined #nixos
<evanjs> Anybody have experience debugging generate-config.pl? ANSWERS, in particular/
<{^_^}> [nixpkgs] @kisik21 opened pull request #67574 → brave: 0.67.123 -> 0.68.131 → https://git.io/fjAFC
<vika_nezrimaya> jollyjester: done! https://github.com/NixOS/nixpkgs/pull/67574
<{^_^}> #67574 (by kisik21, 25 seconds ago, open): brave: 0.67.123 -> 0.68.131
<evanjs> vika_nezrimaya: Man I love how active everbody on nixpkgs is. I'm starting to look at repology like a scoreboard :D (current best - 22 hours - https://repology.org/project/gitkraken/history)
<{^_^}> [nixpkgs] @leenaars opened pull request #67575 → Unbound → https://git.io/fjAF8
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @davidak reopened pull request #66922 → netdata: enable cgroup accounting → https://git.io/fjFix
ixxie has joined #nixos
<emily> is there no way to combine wrapProgram with --argv0? :(
<emily> the program I'm wrapping looks at argv[0] and thus reports "usage: .foo-wrapped ..."
<emily> (it's Python which I guess is relevant since Python programs are already wrapped?)
<emily> (also if this is more appropriate for -dev feel free to let me know, feels more like a nix(pkgs) usage question)
drakonis has quit [Quit: WeeChat 2.5]
<kraem> are there any ways to count the number of dependencies "top level" packages have under the system-path package? right now i'm just visually examining `nix-store -q --tree /nix/var/nix/profiles/system`
drakonis has joined #nixos
<samueldr> emily: the question is appropriate for here :)
drakonis1 has quit [Ping timeout: 246 seconds]
boxscape has joined #nixos
<emily> yeah, I think the reason it doesn't work is that the Python stuff *already* does a layer of wrapping
<emily> and just re-wrapping on top of that is breaking the argv[0]?
<emily> not sure though
<samueldr> so yeah, maybe because of... just what you said
<emily> in that case my question is how to add stuff to the $PATH of a python executable
<FRidh> emily: wrapPythonPrograms creates both a wrapper and injects code into executables. The snippet of code that is injected sets sys.argv[0]
<FRidh> e.g. it inserts import sys;import site;import functools;sys.argv[0] = '/nix/store/2rnmilxqjcp5x86szykzvq8q8zg0cnry-python3.7-pytest-4.2.1/bin/pytest';
<FRidh> that should function regardless of whether it is wrapper again
jollyjester has quit [Quit: leaving]
chloekek has joined #nixos
<emily> well... it doesn't seem to
<emily> unfortunately I'm adding a good few derivations so it's hard to give a self-contained example
<{^_^}> [nixpkgs] @jtojnar opened pull request #67576 → gimp: switch to unstable → https://git.io/fjAF9
<emily> but when I don't wrapProgram, it identifies as "glasgow", and when I do, it identifies as ".glasgow-wrapped"
drakonis has quit [Ping timeout: 250 seconds]
Myhlamaeus2 has joined #nixos
__monty__ has quit [Quit: leaving]
gxt has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
judson_ has joined #nixos
judson__ has quit [Ping timeout: 276 seconds]
<gchristensen> it is a shame that Matrix hasn't fixed this problem yet
<gchristensen> " * with nixos-unstable and following configuration for `xserver` - getting no graphical display after logging in. only a black screen with small terminal on top left corner" is what kaychaks[m] said
<kaychaks[m]> same thing is happening for lightdm. only sddm could load the graphical display of gnome
zupo has joined #nixos
<infinisil> gchristensen: Which matrix problem? The long message thing?
thc202 has quit [Ping timeout: 250 seconds]
<gchristensen> yeah
infinisil-m has joined #nixos
evanjs has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
thc202 has joined #nixos
evanjs has joined #nixos
<infinisil> gchristensen: And that's a problem because?
<infinisil> I mean IRC just doesn't support this long messages
<gchristensen> it could say "with nixos-unstable and following configuration for `xserver` - getting no graphical display after logging in. only a black screen with small terminal on top left corner ...more: https://matrix.org/_matrix/media/v1/download/matrix.org/SaBWRKlTBEZLlmwvmUxRkWJU"
FRidh has quit [Quit: Konversation terminated!]
<ivegotasthma> infinisil: it could split the message
jgeerds has joined #nixos
<gchristensen> (and indeed I have a bug report about this very thing)
<infinisil> Ah I see yeah
<gchristensen> and I think it is worse that the matrix user has no idea nobody actually sees their message at all, or that there is a reason to send a shorter message before including all the code
fusion809 has joined #nixos
<kaychaks[m]> <gchristensen "and I think it is worse that the"> oh no
<kaychaks[m]> , actually I had no idea about it.
<{^_^}> Invalid command syntax
<kaychaks[m]> thanks for the information.
<gchristensen> yeah! so what Matrix sends to IRC in such a case is just this:
<gchristensen> 17:21 * kaychaks[m] sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/SaBWRKlTBEZLlmwvmUxRkWJU >
<kaychaks[m]> I will be extra careful from now
<kaychaks[m]> <gchristensen "17:21 * kaychaks sent a long me"> bummer
<gchristensen> I agree
<mdash> kaychaks[m]: FWIW there's also #nix:matrix.org which does not have the same depth of expertise as this channel but is accustomed to long pastes of code etc
<gchristensen> irccloud does a nice job of this, having the first bit of message be sent and the paste separate thing
<kaychaks[m]> so if I have to ask / show code snippet then I should paste a link here ?
asymptotically has quit [Quit: Leaving]
<gchristensen> one way to do it would be to send your first line of text, and then a second message with your paste -- then it would show the context and then the "long message" thing -- which is fine
<gchristensen> it would provide a teaser for your question and incentive to view your post
<kaychaks[m]> got it thanks
<mdash> yeah the main thing is to remember that if you send one or two lines in a message, it gets sent straight across to irc, more than that and it gets linkified
<kaychaks[m]> sure
<kaychaks[m]> btw any idea whats going on with gnome3 error with `gdm` and `lightdm` displaymanagers ?
<attente[m]> has anyone gotten mopidy to work in their configuration.nix? i'm running into https://github.com/NixOS/nixpkgs/issues/63861 (file collision in two python package dependencies)
<{^_^}> #63861 (by codedmart, 8 weeks ago, open): mopidy-gmusic: failed with exit code 25
Soo_Slow has quit [Remote host closed the connection]
xelxebar has quit [Remote host closed the connection]
selfsymmetric-pa has joined #nixos
xelxebar has joined #nixos
Myhlamaeus2 has quit [Remote host closed the connection]
ixxie has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 268 seconds]
fendor has quit [Ping timeout: 268 seconds]
Myhlamaeus2 has joined #nixos
<judson_> Experimenting with fixes for chrome/flash versions, I'm doing this in my NixOS configuration: chromium = super.callPackage ./chromium (self.config.chromium or {});
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3c83ad6ac13 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<vika_nezrimaya> Question: how does Nixops handle 1) users; 2) hardware-configuration.nix?
lally has quit [Remote host closed the connection]
bakakuna has joined #nixos
lally has joined #nixos
vmandela has quit [Quit: Leaving]
<vika_nezrimaya> looking at clever's deployment.nix, it doesn't handle either of those
<gchristensen> you have to include hardware-configuration.nix in your nixops expression
<gchristensen> and your users, too
<gchristensen> nixops builds the entire remote system locally and sends it over
ris has joined #nixos
<exarkun> Do I need to tell nixos anything about lvm, if I am trying to install on a system using lvm? Does nixos-generate-config on the system figure out everything it needs to figure out? I don't see anything about lvm in the generated configuration but I see it has picked the lvm-managed dm devices for / and /boot
<{^_^}> [nixpkgs] @prusnak opened pull request #67578 → gcc-arm-embedded: 8-2018-q4-major -> 8-2019-q3-update → https://git.io/fjAbp
drakonis has joined #nixos
polman has quit [Ping timeout: 245 seconds]
iqubic has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<srhb> exarkun: If you see the LV device nodes being used for your filesystems, I believe you're good to go.
<exarkun> srhb: but I'm booted into Debian 9
<srhb> exarkun: It should be something like /dev/vg/lv iirc
<srhb> exarkun: If that's what you see, that should be good enough for NixOS.
<exarkun> Okay, great.
inkbottle has quit [Quit: Konversation terminated!]
<srhb> I'm not sure every bootloader knows how to get at /boot if it's lv'ed though.
<srhb> But grub does.
orivej has joined #nixos
inkbottle has joined #nixos
<iqubic> So, I'm using cabal2nix here to create a nix-shell for my haskell projects. The shorter file here is my shell.nix. https://gist.github.com/IQubic/2e4b69aec49bb842f92fea5002e0e212
polman has joined #nixos
bakakuna has quit [Remote host closed the connection]
<iqubic> How can I expand this to include other dependencies that aren't haskell libraries?
bakakuna has joined #nixos
<iqubic> Namely I want to make it so that cabal and cabal2nix are only available in a nix-shell.
<savanni> You should be able to add them to buildInputs, as well.
<srhb> iqubic: mkShell is pretty useful for that..
<savanni> I'm not used to libraryHaskellDepends being part of an mkDerivation, but this would be my first guess.
<srhb> But yeah, any buildInputs really..
Ariakenom has joined #nixos
<savanni> Is this a custom mkDerivation command for the Haskell environment? Or have I just never known about things like libraryHaskellDepends?
<srhb> savanni: Yeah it's custom to the cabal generic haskell builder.
<iqubic> savanni: It's only part of mkDerivation because I'm calling it specially from the short two line shell.nix I posted.
<savanni> Hm. Nice!
<srhb> iqubic: Reminds me there's also shellFor
<iqubic> So, how can I extend this?
<superbaloo> is there a flip/flop (two system images that you swap for update) mechanism builtin w/ nixos? I would think it's the easiest platform to implement that with, but google is no luck :(
<srhb> superbaloo: What do you mean system images?
<srhb> superbaloo: Switching (almost) atomically is exactly what NixOS does, but maybe not in the way you're imagining, judging from "images"
<superbaloo> yeah well, FS
<superbaloo> I was thinking about building stateless images with nix-build for raspberrypi
<iqubic> I have no idea how to add cabal and cabal2nix to my shell.nix here.
<vika_nezrimaya> superbaloo: I think NixOS is even better than A/B partitions, since you can rollback to ANY point in time
<vika_nezrimaya> for example, if I didn't do a garbage collection on sakura (my laptop) recently, I could boot into a month-old system...
<superbaloo> I'd like to avoid writing on the raspberry as much as possible
<superbaloo> because, performance is shit, and sd-card wear out
<exarkun> switching doesn't involve writing much
<exarkun> just flipping, what, one symlink? or is it a few?
<superbaloo> and just building elsewhere?
<superbaloo> that could work
<vika_nezrimaya> Yeah, you can use another system as your remote builder! I'm currently working on fixing cross-compiling in Nixpkgs by the way
<exarkun> sure. building is orthogonal to selecting a profile. you can build off-device (if you figure out how to cross compile and all that crap).
<vika_nezrimaya> so we have some shared goals
<vika_nezrimaya> exarkun: I know how to cross-compile!
<exarkun> easier if you have an aarch64-capable rpi
<exarkun> vika_nezrimaya: I greatly appreciate you encoding that knowledge into nixpkgs. :)
<vika_nezrimaya> exarkun: in the manual, you mean?
<vika_nezrimaya> Nixpkgs is already kinda cross-compatible
<exarkun> vika_nezrimaya: no I mean just making it magically work so dumb people like me can use it without understanding
<exarkun> vika_nezrimaya: yea ... emphasis on "kinda" I think?
<exarkun> I've never managed to cross-compile a whole nixos
<superbaloo> I kind of understand cross-compilation, but not how to use it with nix just yet
<vika_nezrimaya> Right now I run a basic image on my RPi 2
<superbaloo> I'll have to figure out where to store assets too
<vika_nezrimaya> assets?
<superbaloo> built packages?
<superbaloo> not sure what the name is, I'm still new to nix
<vika_nezrimaya> derivations or just packages
<vika_nezrimaya> or build outputs
<superbaloo> packages then
<vika_nezrimaya> packages, ok
growpotkin has quit [Ping timeout: 248 seconds]
chloekek has quit [Ping timeout: 272 seconds]
<superbaloo> haven't made the switch to nixos just yet, I'm still running nix on debian here :/
<{^_^}> [nixpkgs] @lopsided98 opened pull request #67579 → aggregateModules: use stdenvNoCC instead of stdenv → https://git.io/fjANR
<vika_nezrimaya> Packages are built and stored on your debian PC and copied via ssh to your target machine (in your case, a Raspberry Pi)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67549 → Fix sharing in gnome-control-center → https://git.io/fjA1u
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjAN0
growpotk- has quit [Ping timeout: 248 seconds]
<vika_nezrimaya> Cross-compilation is fun! Look in the Discourse thread I've linked earlier to check on my progress
o1lo01ol1o has joined #nixos
<superbaloo> it's sure is, but is usually a nest of bugs :D
<{^_^}> [nixpkgs] @lilyball opened pull request #67580 → cocoapods-beta: 1.8.0.beta.1 -> 1.8.0.beta.2 → https://git.io/fjANu
<superbaloo> because no-one expects it, and makes shortcuts
<vika_nezrimaya> The thread lists a snippet that allows you to cross-compile a configuration.nix and lists packages that are explicitly failing to build... (I need to post some more stuff there - I haven't posted some things yet!)
<vika_nezrimaya> Right now I'm working on getting my Hydra instance public
<vika_nezrimaya> it'll build minimal images and track cross-compiling progress
<vika_nezrimaya> running on an old laptop
<vika_nezrimaya> so don't expect it to be fast
<vika_nezrimaya> It'll probably break on the next mass-rebuild and won't be able to keep up
<vika_nezrimaya> unless my dream of having a whole team combine their processing power under Hydra's rule to churn out these packages becomes real
<iqubic> What does shellFor do?
<iqubic> And what is the _: in the second line?
<iqubic> srhb: Those two questions were for you.
<srhb> iqubic: It's documented in make-package-set.nix. Basically it collects the haskell _inputs_ from all of packages, eseentially make all the deps available in the shell. The _ is just because I'm not using the package set provided by the function.
<srhb> iqubic: (ie. haskellPackages)
<iqubic> I see.
<iqubic> Cool.
<iqubic> Will try that out.
o1lo01ol1o has quit [Remote host closed the connection]
<judson_> And getting an error about called without required argument 'llvmPackages_8'
<judson_> (sorry, distracted: this is while trying to do a simple overlay for Chromium)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66568 → xfce4-14.xfdashboard: init at 0.7.5 → https://git.io/fj5rc
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjANM
<srhb> judson_: Maybe you're trying to use callPackage from a 19.03 nixpkgs on a newer chromium?
<srhb> judson_: (19.03 has no llvmPackages_8)
<judson_> Oh, hell. I'll bet you're right. I cp'd from master to start the overlay.
<srhb> That'd do it.
ajs124 has quit [Quit: Gateway shutdown]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
selfsymmetric-pa has quit [Disconnected by services]
<exarkun> nixos-generate-configuration found my /boot partition and wrote config for it to hardware-configuration.nix but https://nixos.org/nixos/manual/index.html#sec-installing-from-other-distro seems to assume you don't have a separate boot partition (asks you to "move /boot aside")
<gchristensen> you're instnalling from another distro?
<exarkun> what do I do ... just move the _contents_ aside? unmount the boot partition and let switch-to-configuration write /boot to the root partition?
<exarkun> yes
<iqubic> What's the point of shell.nix?
<clever> exarkun: exarkun what fs is the root partition?
<srhb> iqubic: It's just convention.
<exarkun> clever: ext4
<clever> iqubic: having special expressions for nix-shell by default
<clever> exarkun: should be fine to just have /boot on / then
<clever> exarkun: efi or legacy?
<iqubic> Blergh...
<exarkun> legacy, if that's bios
<srhb> iqubic: Why?
<clever> exarkun: mbr or gpt tables?
<exarkun> sometimes I hate computers
<iqubic> srhb: Stuff isn't working the way I want it too.
<exarkun> clever: I guess mbr but I don't know, how do I check
<clever> exarkun: `fdisk -l /dev/sdX` and look for the disklabel type
<iqubic> error: undefined variable 'cabal' at /home/avi/hs/ktaneSolver/shell.nix:5:5
<iqubic> So what the hell?
<srhb> iqubic: Did you mean cabal-install?
<iqubic> No.
<srhb> iqubic: and s/caba2nix/cabal2nix?
<exarkun> clever: "Disklabel type: dos"... which is mbr?
<clever> iqubic: the cabal binary is in the cabal-install package
<srhb> iqubic: There is no "cabal." There is Cabal the library and cabal-install the cabal command line tool
<clever> exarkun: yep, so you should be fine just ignoring the boot partition
<iqubic> Ah. I do mean cabal-install
<srhb> Indeed.
<exarkun> okay. So I'll unmount it and then run the switch-to-configuration command from the manual
<exarkun> unmount it and get rid of the empty mountpoint, I guess
<iqubic> srhb: That works, I guess.
<iqubic> Time to see if lorri picks up the changes.
<srhb> iqubic: I'd do more than guess! But I'm an optimist. :)
<clever> exarkun: make sure to re-run nixos-generate-config so it picks up the lack of a /boot partition
<exarkun> clever: oo thanks
cetjs2 has joined #nixos
<cetjs2> hello
<srhb> cetjs2: Hello.
<exarkun> That's only going to rewrite hardware-configuration.nix, not configuration.nix, right? (because I customized configuration.nix a bunch)
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67574 → brave: 0.67.123 -> 0.68.131 → https://git.io/fjAFC
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjANh
<clever> exarkun: correct
<clever> exarkun: thats why you should generally avoid editing hardware-configuration.nix
* exarkun nods
<iqubic> Issues are occurring.
<srhb> iqubic: sadface.
<{^_^}> [nixpkgs] @markuskowa opened pull request #67581 → sdrangel: add airpsy, hackrf, rtlsdr support → https://git.io/fjAAe
<cetjs2> What is nixos 19.09 release out??
* cetjs2 ждет
<srhb> cetjs2: Probably in a bit more than a month
o1lo01ol1o has joined #nixos
<srhb> cetjs2: The release date is not usually set in stone. Freeze happens at the beginning of 09, and then it usually takes about a month, or a little more.
<iqubic> Well... nix-shell works fine.
<iqubic> But lorri is unhappy.
<cetjs2> srhb thanks
<srhb> cetjs2: Welcome.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67368 → wine{,-mono,-unstable,-staging}: update → https://git.io/fjNi0
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjAAk
<{^_^}> [nixpkgs] @worldofpeace closed pull request #67570 → Wine update (4.12.1 -> 4.14, 4.0.1 -> 4.0.2) → https://git.io/fjA52
o1lo01ol1o has quit [Remote host closed the connection]
<iqubic> What the heck is up with this direnv output. Using Lorri here.
<exarkun> oh crap it worked
<cetjs2> srhb russian nixos comminity is exist? if not, I may be create and support it
<iqubic> I don't know how to make this work.
<iqubic> Why is Lorri upset?
selfsymmetric-pa has joined #nixos
<cetjs2> srhb e.g. nixos.ru site with wiki and forum
selfsymmetric-pa has quit [Remote host closed the connection]
zupo has joined #nixos
selfsymmetric-pa has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
<srhb> cetjs2: I don't think such a thing exists, but I'm not sure.
<hyperfekt> cetjs2: Out of curiosity, how large would you estimate is the share of computing professionals who speak Russian but don't speak English?
<bsima> has anyone seen this error: bad log message from builder: [json.exception.parse_error.101] parse error at line 1, column <some big number>
selfsymmetric-pa has quit [Remote host closed the connection]
zupo has quit [Ping timeout: 244 seconds]
civodul has joined #nixos
growpotkin has joined #nixos
selfsymmetric-pa has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
feep_ is now known as feep
<{^_^}> [nixpkgs] @edolstra pushed to master « nix.conf: Set sandbox-fallback = false »: https://git.io/fjAAY
selfsymmetric-pa has joined #nixos
<{^_^}> [nix] @edolstra pushed 7 commits to master: https://git.io/fjAAs
selfsymmetric-pa has quit [Remote host closed the connection]
<{^_^}> [nix] @edolstra merged pull request #3006 → Run test to determine if sandboxing is available → https://git.io/fjDAT
selfsymmetric-pa has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67488 → glib: add getSchemaPath, makeSchemaPath → https://git.io/fjA8M
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to staging: https://git.io/fjAAG
growpotk- has joined #nixos
ajs124 has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
<vika_nezrimaya> I don't allow password root logins on my NixOS laptop. How to make Nixops login with another username so I could manage it?
<cetjs2> srhb what is tasks for java devel in nixos? I gone to write or support java apps in Nixos and infra this project
<clever> vika_nezrimaya: nixops uses ssh keys to login
<vika_nezrimaya> hi clever
<vika_nezrimaya> been reading your NixOps deployment :3
<vika_nezrimaya> clever: I don't have ssh keys for root configured
<clever> vika_nezrimaya: then youll need to add one
<vika_nezrimaya> can I get an ssh key that nixops uses?
<vika_nezrimaya> extract it from database maybe?
<clever> vika_nezrimaya: nixops can also use your ssh-agent
selfsymmetric-pa has joined #nixos
<clever> vika_nezrimaya: which backend are you using to deploy?
<vika_nezrimaya> physical
<clever> vika_nezrimaya: the none backend will generate its own key, and add it to the authorized_keys of root automatically
<clever> vika_nezrimaya: so you only need to use the ssh agent temporarily, to get the initial deploy out
<vika_nezrimaya> ok so I need a one-off key for root
<srhb> cetjs2: I don't know much about it. Maybe icetan (the author of mavenix) knows?
<vika_nezrimaya> clever: Yay, it works! It's building my machine configuration!
<vika_nezrimaya> ugh it doesn't
<clever> vika_nezrimaya: what does `ssh-add -l` return? what error did it give?
<vika_nezrimaya> clever: it's not ssh, it's my fault
<clever> ah
<vika_nezrimaya> I had a faulty machine config
<vika_nezrimaya> okay, we're building!
<vika_nezrimaya> Does nixops work properly if I need to ssh first to unlock my LUKS partition?
<vika_nezrimaya> on a different port
<vika_nezrimaya> Manual passphrase input
<clever> vika_nezrimaya: it will only work after you have unlocked the disk
<vika_nezrimaya> but it will not crash
<vika_nezrimaya> right?
<clever> vika_nezrimaya: it will probably just fail to get in over ssh, due to it not listening on 22
<vika_nezrimaya> logically, it should wait until it connects
<vika_nezrimaya> until the machine listens
<clever> or just give up and fail
<vika_nezrimaya> :3
<clever> you can retry once it is unlocked
<vika_nezrimaya> sakura> copying closure...
<vika_nezrimaya> I feel that something great is going to happen
Havvy has quit [Read error: Connection reset by peer]
<vika_nezrimaya> deployment finished successfully, yay
<clever> vika_nezrimaya: youll want to be sure the fileSystems = and boot= stuff are set right, or the machine may not be able to boot
<vika_nezrimaya> My first NixOps deployment
<vika_nezrimaya> clever: I copied them right out of my hardware-configuration.nix, don't worry
<clever> vika_nezrimaya: should be perfect then
<vika_nezrimaya> so, what superpowers do I have now?
<vika_nezrimaya> the nixops command list is so long
<clever> vika_nezrimaya: i configured my hydra to build every machine in the house, against the latest nixos-unstable
<{^_^}> [nixpkgs] @marenz2569 opened pull request #67582 → nixos/luksroot: copy gpg key paths to store first → https://git.io/fjAAR
Havvy has joined #nixos
<clever> so i can now see when upgrading will fail to build things, before i try to upgrade
gentauro42 is now known as gentauro
<vika_nezrimaya> clever: I didn't notice you had a release.nix there!
<vika_nezrimaya> If only Hydra was able to fire a webhook once a build completes so it can be automatically deployed
<{^_^}> [nixpkgs] @jollheef opened pull request #67583 → dino: 2019-02-06 -> 2019-08-27 → https://git.io/fjAAE
<clever> vika_nezrimaya: the new runcommand stuff in hydra.conf can do that
<hyperfekt> clever: That's cool as heck
<vika_nezrimaya> clever: why isn't it documented?
<vika_nezrimaya> why a lot of config stuff isn't documented?
<vika_nezrimaya> I had to rummage through sources like a racoon to find how to set up a binary cache key >.<
<clever> its documented in the commit msg that added it
<vika_nezrimaya> I think Hydra manual could be a better place for that... Maybe I should contribute
<vika_nezrimaya> clever: why specifyinf both store-uri and binary_cache_secret_key_file?
<clever> vika_nezrimaya: binary_cache_secret_key_file is used by the perl code to serve the cache over http
<cetjs2> srhb what is bugs in https://github.com/NixOS/nixpkgs/issues is easy and simple for fix?
<clever> vika_nezrimaya: store-uri is used by the c++ to upload build products to the store when the build is done
<vika_nezrimaya> ok... sounds confusing
<vika_nezrimaya> I guess I should copypaste that
zupo has joined #nixos
<srhb> cetjs2: Maybe package requests and ones marked 3.skill:good-first-bug
<clever> vika_nezrimaya: i too had to rummage thru the source to figure out why both are used
<cetjs2> srhb thaks
<cetjs2> *thanks
<vika_nezrimaya> I suppose I could use deployment.keys to manage my binary cache private key?
<exarkun> clever: Hm. Regarding partition table... what if it had been gpt instead of mbr?
<clever> exarkun: legacy on gpt requires an extra bios boot partition, 1mb, no fs, not mounted
<exarkun> ah
<exarkun> but no other nixos-config changes? so if I am on a booted, working debian (and indeed it has such a bios boot partition) then it should also turn into a bootable, working nixos
<clever> exarkun: yeah, no other changes
<clever> exarkun: grub will detect if its gpt or mbr, and do the right thing
<exarkun> cool
<{^_^}> [nixpkgs] @jtojnar opened pull request #67584 → appstream-glib: clean up dependencies → https://git.io/fjAAV
fendor has joined #nixos
rauno has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<vika_nezrimaya> clever: NixOps seems to magically wait for port 22 to appear, yay!
<{^_^}> [nixpkgs] @Infinisil merged pull request #66407 → lib/modules: Use options `apply` function even if no values are defined → https://git.io/fj7uS
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjAAd
<{^_^}> [nixpkgs] @worldofpeace opened pull request #67585 → nixos/system-config-printer: init → https://git.io/fjAAF
<exarkun> oops, must have done something wrong on that one
o1lo01ol1o has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<samueldr> how would you go writing tests for a nix library, that tests failures fails as expected
<samueldr> I had a test harness to run them in the nix build sandbox, but that only works for simpler tests
o1lo01ol1o has quit [Ping timeout: 272 seconds]
ddima has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #67586 → enlightenment.efl: 1.22.2 -> 1.22.3 → https://git.io/fjAxe
chloekek has joined #nixos
itscaleb has joined #nixos
o1lo01ol1o has joined #nixos
<vika_nezrimaya> could I use ${} constructs in paths? (unquoted string-like stuff)
<{^_^}> [nixpkgs] @jollheef opened pull request #67587 → NixOS/auto-upgrade: add gzip to service path → https://git.io/fjAxO
abathur has joined #nixos
emptyflask has joined #nixos
reallymemorable has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mmahut merged pull request #67560 → mkgmap: init at 4289 → https://git.io/fjA9G
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjAxW
<vika_nezrimaya> ok I got it
Ariakenom has quit [Read error: Connection reset by peer]
samrose_ has joined #nixos
samrose has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #67518 → pythonPackages.elpy: 1.28.0 -> 1.29.1 add tests → https://git.io/fjAVL
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjAx4
<joko> Hey, I'd like to ask once again, is there a way to test programmatically if restrict mode / sandbox is on?
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjAxR
<exarkun> interrogate <nixos-config>?
o1lo01ol1o has joined #nixos
<exarkun> maybe it matters - programmatically in what context?
freeman42x has joined #nixos
npmccallum has quit [Quit: npmccallum]
<joko> exarkun: I'm using readDir in home-manager to read the contents of a directory found in my home directory. I also have a Hydra job which tries to build the packages and readDir fails there due to restrict mode being on
bakakuna1 has joined #nixos
bakakuna has quit [Ping timeout: 248 seconds]
bakakuna1 is now known as bakakuna
<exarkun> hm I still haven't looked at home-manager
selfsymmetric-pa has quit [Remote host closed the connection]
<joko> exarkun: it's ok, it could have been something in my /etc/nixos/configuration.nix
drakonis has quit [Ping timeout: 244 seconds]
<exarkun> joko: In that case is `config.useSandbox` what you want?
selfsymmetric-pa has joined #nixos
erasmas has quit [Quit: leaving]
reallymemorable has quit [Quit: reallymemorable]
coderobe has quit [Read error: Connection reset by peer]
xkapastel has quit [Quit: Connection closed for inactivity]
reallymemorable has joined #nixos
zupo_ has joined #nixos
freeman42x has quit [Ping timeout: 245 seconds]
zupo has quit [Ping timeout: 272 seconds]
alanz has quit [Remote host closed the connection]
<manveru> joko: simply use `builtins.pathExists` first?
<{^_^}> [nixpkgs] @jtojnar merged pull request #67584 → appstream-glib: clean up dependencies → https://git.io/fjAAV
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fjAxo
kaliumxyz has quit [Ping timeout: 246 seconds]
reallymemorable has quit [Quit: reallymemorable]
<joko> manveru: that worked as well, thanks :D I had tried first with tryEval, but was not working
<joko> manveru++
<{^_^}> manveru's karma got increased to 23
ng0 has quit [Ping timeout: 260 seconds]
selfsymmetric-pa has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mmlb opened pull request #67588 → zoom-us: 2.9.265650.0716 -> 3.0.285090.0826 → https://git.io/fjAx9
Zer0xp has joined #nixos
chr15 has joined #nixos
Zer0xp_ has joined #nixos
zupo has joined #nixos
Zer0xp has quit [Ping timeout: 246 seconds]
ng0 has joined #nixos
lally has quit [Ping timeout: 272 seconds]
zupo_ has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #67581 → sdrangel: add airpsy, hackrf, rtlsdr support → https://git.io/fjAAe
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjApe
coderobe has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed 4 commits to master: https://git.io/fjApk
drakonis has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jdanekrh closed pull request #66134 → msbuild: init at 16.3 → https://git.io/fjQUN
<{^_^}> [nixpkgs] @jdanekrh closed pull request #66131 → dotnetPackages.Nuget: 3.4.3 -> 4.9.1 → https://git.io/fjQUM
drakonis has quit [Quit: Leaving]
<evanjs> Are kernel config options defined by extraConfig in kernel overrides recursive? e.g. Can I just enable a kernel option and all the items it selects will be enabled during config generation?
<samueldr> it's using one of the kernel tool to build the configuration, so it should be just as if you answered y or m to the question
<samueldr> make config
<evanjs> In
<evanjs> *Interesting. Had to enable ignoreConfigErrors to get things working
<evanjs> And with structuredExtraConfig, some options are ignored completely. Might just be specifying them incorrectly
cyphase has quit [Read error: Connection reset by peer]
xkapastel has joined #nixos
<samueldr> it could be that the option requires another one to be answered beforehand
<samueldr> what I mean is that the question might not be asked by `make config`
<{^_^}> [nixpkgs] @Ma27 opened pull request #67589 → gnome2.libglade: make python2 build optional → https://git.io/fjAp4
<evanjs> Hrm. I tried just going through make menuconfig and answering only what was necessary to enable the feature, then checking that diff. Checking the output of nixops deploy does seem to exclude TRANSPARENT_HUGEPAGE (what I'm trying to enable), though.
chloekek has quit [Ping timeout: 272 seconds]
wildtrees has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 245 seconds]
wildtrees has joined #nixos
<evanjs> (the diff against make menuconfig + my options and the output of `make defconfig`)
<evanjs> Interesting. Yeah, the option is just skipped completely in the output for make menuconfig.
<evanjs> Everything else on the memory management options page is present
<{^_^}> [nixpkgs] @basvandijk opened pull request #67590 → thanos: 0.6.0 -> 0.6.1 → https://git.io/fjApR
kaliumxyz has joined #nixos
bakakuna has quit [Ping timeout: 245 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #67591 → orangefs/nioxs: init at 2.9.7, add modules and test → https://git.io/fjApw
<{^_^}> [nixpkgs] @dawidsowa closed pull request #61146 → kcc: init at 5.5.1 → https://git.io/fjc9V
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 245 seconds]
Mateon2 is now known as Mateon1
<kaliumxyz> how do i figure out why my system hung?
<kaliumxyz> journalctl provides nothing
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon2 is now known as Mateon1
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<{^_^}> [nixpkgs] @blitz opened pull request #67592 → cryptpad: 2.23.0 -> 2.25.0 → https://git.io/fjAp1
Zer0xp_ has quit [Ping timeout: 245 seconds]
Mateon2 has joined #nixos
chr15 has quit [Ping timeout: 264 seconds]
Mateon1 has quit [Ping timeout: 246 seconds]
Mateon2 is now known as Mateon1
<{^_^}> [nixpkgs] @nrdxp opened pull request #67593 → kakounePlugins: Add 5 kakoune plugins → https://git.io/fjApy
jgeerds has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @mmahut merged pull request #67568 → gallery-dl: 1.10.1 -> 1.10.2 → https://git.io/fjA7b
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjAp7
drakonis has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/3c83ad6ac13 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> [nixpkgs] @zimbatm merged pull request #67592 → cryptpad: 2.23.0 -> 2.25.0 → https://git.io/fjAp1
<{^_^}> [nixpkgs] @zimbatm pushed commit from @blitz to master « cryptpad: 2.23.0 -> 2.25.0 (#67592) »: https://git.io/fjApj
delirehberi has joined #nixos
<{^_^}> [nixpkgs] @spencerjanssen opened pull request #67594 → unixODBCDrivers.msodbcsql17: 17.2.0.1 -> 17.4.1.1 → https://git.io/fjAhT
pie_ has joined #nixos
andreabedini has quit [Ping timeout: 252 seconds]
<pie_> well, today i relearned the easiest (/only) way to debug a nonobvious nix issue is to make a minimal reproducing example
ris has quit [Ping timeout: 246 seconds]
bgamari has quit [Ping timeout: 252 seconds]
andreabedini has joined #nixos
bgamari has joined #nixos
cab404[m] has quit [Ping timeout: 252 seconds]
cab404[m] has joined #nixos
infinisil-m has quit [Ping timeout: 252 seconds]
Diamaths[m] has quit [Ping timeout: 252 seconds]
balsoft has quit [Ping timeout: 252 seconds]
colemickens has quit [Ping timeout: 252 seconds]
roadt[m] has quit [Ping timeout: 252 seconds]
Minijackson[m] has quit [Ping timeout: 252 seconds]
Nyanloutre[m] has quit [Ping timeout: 252 seconds]
codyopel has quit [Ping timeout: 252 seconds]
imj[m] has quit [Ping timeout: 252 seconds]
fidgetspinoza[m] has quit [Ping timeout: 252 seconds]
NfixEstrada[m] has quit [Ping timeout: 252 seconds]
Diamaths[m] has joined #nixos
balsoft has joined #nixos
infinisil-m has joined #nixos
hpfr[m] has quit [Ping timeout: 252 seconds]
atopuzov[m] has quit [Ping timeout: 252 seconds]
wak-work has quit [Ping timeout: 252 seconds]
rnhmjoj has quit [Ping timeout: 252 seconds]
corpix[m] has quit [Ping timeout: 252 seconds]
nocent has quit [Ping timeout: 252 seconds]
ma27[m] has quit [Ping timeout: 252 seconds]
arianvp[m] has quit [Ping timeout: 252 seconds]
roadt[m] has joined #nixos
NfixEstrada[m] has joined #nixos
Minijackson[m] has joined #nixos
imj[m] has joined #nixos
teej has joined #nixos
Nyanloutre[m] has joined #nixos
fidgetspinoza[m] has joined #nixos
corpix[m] has joined #nixos
ma27[m] has joined #nixos
rnhmjoj has joined #nixos
hpfr[m] has joined #nixos
arianvp[m] has joined #nixos
atopuzov[m] has joined #nixos
colemickens has joined #nixos
nocent has joined #nixos
wak-work has joined #nixos
codyopel has joined #nixos
<pie_> well, today i relearned the easiest (/only) way to debug a nonobvious nix issue is to make a minimal reproducing example
knupfer has quit [Ping timeout: 264 seconds]
<craige> :-)
itscaleb has left #nixos ["ERC (IRC client for Emacs 26.1)"]
delirehberi has left #nixos [#nixos]
selfsymmetric-mu has quit [Remote host closed the connection]
blitzclone[m]11 is now known as blitzclone[m]
MrCCoffee has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
Rusty1 has joined #nixos
valwal___ is now known as valwal
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 244 seconds]
mbrgm_ is now known as mbrgm
<evanjs> pie_: I just open the repl and import 😝
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67589 → gnome2.libglade: make python2 build optional → https://git.io/fjAp4
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjAha