worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
orivej has joined #nixos
<Graypup_> DigitalKiwi, nah im gay and trans too lol, that's also in scope
<DigitalKiwi> speaking of trans i might finish those stickers tonight
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<DigitalKiwi> we'll see how i'm feeling/how late i'm up
<DigitalKiwi> i have to seal them and cut them
realisation has quit [Ping timeout: 260 seconds]
<DigitalKiwi> sealing takes a few hours...
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<DigitalKiwi> and i have to wait a while before i can anyway usually wait at least a day
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
<DigitalKiwi> it's a several day process
user_0x58 has quit [Remote host closed the connection]
noudle has quit []
<benley> anyone know how to fix the thing where QT fails to create an OpenGL context for binary-only apps?
<benley> seemingly related to this: https://github.com/NixOS/nixpkgs/issues/9415
<{^_^}> #9415 (by joepie91, 4 years ago, open): libGL not working on non-NixOS (without setting up)
user_0x58 has joined #nixos
<benley> I'm trying to package a commercial app that ships with a bunch of its own libraries, including QT and libxcb, and I'm not sure if it's causing problems to mix them with nixos versions or if something else is going on
m0rphism has joined #nixos
<benley> the errors I'm getting look like this: https://gist.github.com/benley/168a1c12a55423013ff1464fa391fd77
<benley> running with that nixGL wrapper doesn't help, unfortunately
realisation has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJM0T
proofofkeags has joined #nixos
user_0x58 has quit [Read error: Connection reset by peer]
cript0nauta has quit [Remote host closed the connection]
cript0nauta has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
realisation has quit [Ping timeout: 256 seconds]
cript0nauta has quit [Remote host closed the connection]
cript0nauta has joined #nixos
work__ has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #94891 → dconf2nix: init at 0.5.0 → https://git.io/JJXCR
<{^_^}> [nixpkgs] @cdepillabout pushed 3 commits to master: https://git.io/JJM0c
realisation has joined #nixos
user_0x58 has joined #nixos
<DigitalKiwi> https://mostlyabsurd.com/files/mlv-app/default.nix can someone review this i'm trying to add darwin support to packages i maintain that don't currently support it but can and started with this one
gentauro has quit [Read error: Connection reset by peer]
rardiol has quit [Ping timeout: 240 seconds]
gentauro has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/593ec809b9f (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<benley> whoa cool, I may have solved my qt problem by ditching the vendor-provided copy of all the QT libraries and using autoPatchelfHook to replace them with nixos versions
rardiol has joined #nixos
suzanne has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Atemu opened pull request #95023 → firefox-beta-bin: 79.0b7 -> 80.0b5 → https://git.io/JJM0H
suzanne has joined #nixos
cript0nauta has quit [Remote host closed the connection]
cript0nauta has joined #nixos
work__ has quit []
leungbk has quit [Ping timeout: 240 seconds]
work__ has joined #nixos
markus1199 has joined #nixos
work__ has quit [Client Quit]
markus1189 has quit [Ping timeout: 256 seconds]
user_0x58 has quit [Read error: Connection reset by peer]
user_0x58 has joined #nixos
leungbk has joined #nixos
h0m1 has quit [Ping timeout: 256 seconds]
h0m1 has joined #nixos
m0rphism has quit [Ping timeout: 264 seconds]
realisation has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95024 → asls: 0.4.0 -> 0.4.2 → https://git.io/JJMEP
justanotheruser has quit [Ping timeout: 256 seconds]
jumper149 has quit [Quit: WeeChat 2.9]
sigmundv has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @Ericson2314 opened pull request #3914 → Two small derivation serialization cleanups → https://git.io/JJMuT
<{^_^}> [nixpkgs] @kamronm opened pull request #95025 → Update manual to reflect newer ruby documentation → https://git.io/JJMuc
justanotheruser has joined #nixos
leungbk has quit [Remote host closed the connection]
frim[m] is now known as elorm[m]
suzanne has quit [Remote host closed the connection]
suzanne has joined #nixos
buffet9 has joined #nixos
buffet9 is now known as buffet
tobiasBora2 has quit [Ping timeout: 256 seconds]
tobiasBora2 has joined #nixos
stephaneyfx has joined #nixos
rajivr has joined #nixos
griff_ has quit [Quit: griff_]
ris has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95026 → bazel-kazel: 0.0.10 -> 0.0.11 → https://git.io/JJMuh
cjpbirkbeck has quit [Quit: Goodbye, take care]
patagonicus9 has joined #nixos
<Graypup_> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
patagonicus has quit [Ping timeout: 256 seconds]
patagonicus9 is now known as patagonicus
<{^_^}> [nix] @Ericson2314 opened pull request #3915 → WIP: Remote building for untrusted clients -- contains #3446 → https://git.io/JJMz6
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
stephank has quit [Quit: stephank]
spacefrogg has joined #nixos
stephank has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
Narice has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95028 → bitwarden_rs: 1.16.1 -> 1.16.3 → https://git.io/JJMgJ
proofofkeags has quit [Remote host closed the connection]
user_0x58 has quit [Remote host closed the connection]
user_0x58 has joined #nixos
user_0x58 has quit [Remote host closed the connection]
user_0x58 has joined #nixos
kleisli has quit [Ping timeout: 256 seconds]
Taneb has joined #nixos
Supersonic112 has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
Dagger has quit [Excess Flood]
Dagger2 has joined #nixos
Dagger2 is now known as Dagger
karantan has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95029 → broot: 0.19.3 -> 0.19.4 → https://git.io/JJMgi
karantan has quit [Ping timeout: 260 seconds]
realisation has joined #nixos
realisation has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
justanotheruser has quit [Ping timeout: 256 seconds]
user_0x58 has quit [Read error: Connection reset by peer]
pjt_tmp has joined #nixos
<_habnabit> i think i asked the wrong question a few hours ago.. writeTextFile and the other trivial builders are for the case where i'm calling mkDerivation, right? i'm looking at editing /etc/nixos/configuration.nix and adding files to the system to configure installed services. is environment.etc the right place to put those config files?
<_habnabit> to be clear, these are services with no options listed in https://nixos.org/nixos/options.html already, so it seems like it's up to me to configure them
user_0x58 has joined #nixos
<_habnabit> or, should i make distributions to contain my configuration?
justanotheruser has joined #nixos
pfr has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95030 → certbot: 1.6.0 -> 1.7.0 → https://git.io/JJMam
<{^_^}> [nixpkgs] @MetaDark opened pull request #95031 → newsflash: 1.0.2 -> 1.0.4 → https://git.io/JJMan
dirkmkdir has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95032 → cheat: 4.0.2 -> 4.0.3 → https://git.io/JJMaB
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95033 → check: 0.15.0 -> 0.15.2 → https://git.io/JJMag
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
cole-h has joined #nixos
realisation has joined #nixos
dansho has joined #nixos
kleisli has joined #nixos
varun_ has joined #nixos
<DigitalKiwi> _habnabit: write a module and upstream it to nixpkgs? :D
<DigitalKiwi> might be useful/relevant to know what service(s) you're trying to work with too
zangi has joined #nixos
<zangi> why there's no gnat in nixos-20.03?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #94919 → asdf: don't restrict to linux, since darwin works too → https://git.io/JJXa5
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JJMVJ
<{^_^}> [nixpkgs] @7c6f434c merged pull request #94996 → lisp-modules/iterate.darcs-context: delete → https://git.io/JJ1Hq
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JJMVT
pmwhite has quit [Remote host closed the connection]
pmwhite has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #94875 → cgal: add patch so include files can be found by dependent packages → https://git.io/JJXkT
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JJMVY
realisation has quit [Ping timeout: 260 seconds]
realisation has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #95015 → firejail: add patches to fix CVE-2020-17367 and CVE-2020-17368 → https://git.io/JJMnB
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JJMVZ
endformationage has quit [Quit: WeeChat 2.7.1]
user_0x58 has quit [Read error: Connection reset by peer]
user_0x58 has joined #nixos
Orbstheorem has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95034 → clightning: 0.8.2.1 -> 0.9.0 → https://git.io/JJMVl
user_0x58 has quit [Read error: Connection reset by peer]
user_0x58 has joined #nixos
user_0x58 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95035 → clojure-lsp: 20200706T152722 -> 20200806T150857 → https://git.io/JJMVu
user_0x58 has joined #nixos
diogenes_ has joined #nixos
mathyouguy has joined #nixos
kleisli has quit [Ping timeout: 264 seconds]
<_habnabit> DigitalKiwi, nomad, in this case. no systemd service unit; no configuration path; nothing but the binary. it's enough to run the daemon, but i have to assemble all the parts myself. i suppose i could make an overlay for adding this to the nix nomad package? i'm not sure how i'd develop on this stuff locally before submitting it upstream
captn3m0 has joined #nixos
dirkmkdir has left #nixos ["Good Bye"]
<_habnabit> DigitalKiwi, consul has options, but i kinda don't like how it's set up? if i want to run it myself without upstreaming my work, i'm not sure if i should do that the same way or make a consul-alt package which sets up the service or something else
<srhb> zangi: It was added to nixpkgs after 20.03 branchoff and no one has backported it/requested a backport.
<srhb> zangi: And now, 20.03 is nearing EOL anyway :)
kyren has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95036 → csvs-to-sqlite: 1.0 -> 1.1 → https://git.io/JJMrU
<kyren> hey, I'm having a bit of trouble trying to cross compile nixos to a raspberry pi 3b+, I already have nixos running on the pi, I'm just trying to build a new version of nixos from my workstation
<kyren> I've set nixpkgs.crossSystem to `{ config = "aarch64-unknown-linux-gnu"; system = "aarch64-linux"; }`, and I'm using nixos-rebuild with the `--target-host` flag to push to the pi, and the error I'm getting is:
<kyren> error: a 'x86_64-linux' with features {} is required to build '/nix/store/xxxx-aarch64-unknown-linux-gnu-binutils-2.31.1.drv', but I am a 'aarch64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
diogenes_ has left #nixos ["vergissmeinnicht"]
<srhb> kyren: Are you really trying to build it from an aarch64-linux?
<energizer> _habnabit: nixos usually runs daemons with systemd, are you trying to avoid that?
<_habnabit> energizer, no?
kyren2 has joined #nixos
<_habnabit> energizer, i'm not sure what part would've implied that
<energizer> _habnabit: "no systemd service unit"
<_habnabit> energizer, yes, the nomad package lacks a systemd service unit
<energizer> _habnabit: ah ok
<kyren2> srhb: sorry I'm having trouble with my matrix server, it apparently cannot connect to #nixos without running out of ram
<srhb> _habnabit: Normally, nix packages don't contain anything systemd related -- instead that's done in the accompanying NixOS module
<_habnabit> srhb, sure, ok
<srhb> kyren2: Ouch!
<kyren> srhb: no I'm trying to build it from x86_64
<kyren2> oh hehe, there's the message
<kyren> (apologies if my replies come late, I'm connected through a matrix server that is slow when connecting to this room)
<kyren2> >_>
<srhb> kyren: I'm not very knowledgable with cross nixpkgs, but it looks to me like you're implying that your builder is aarch-64 (system)
<_habnabit> srhb, aren't those still listed on https://nixos.org/nixos/options.html ?
<srhb> _habnabit: Yes, for sure :)
<srhb> _habnabit: What I'm trying to say is: You'll want to create a module to do the "glue" for you of setting up systemd services etc.
<_habnabit> srhb, is that something different from mkDistribution
<srhb> _habnabit: One of the easiest ways to develop it locally is to build your system from a nixpkgs checkout
<energizer> _habnabit: you can make one. the big picture is you make a set of options= for users to configure it, and then a config= that uses the options to create a systemd unit
<_habnabit> mkDerivation
<srhb> _habnabit: Yes, very, it's entirely unrelated to package building.
<energizer> _habnabit: that's a nixos module (not to be confused with a nixpkgs package)
<srhb> _habnabit: The NixOS manual has a section about writing modules, and exploring a "familar" one might be very helpful
ddellacosta has quit [Ping timeout: 265 seconds]
<_habnabit> srhb, so far i've found i think three things called 'the manual' so a link would be appreciated
<energizer> nixos modules are typically services and stuff, that use nixpkgs packages. "overlays" are for adding/replacing nixpkgs packages
<_habnabit> i'm not thrilled about the documentation
<srhb> _habnabit: Sure. (The three are Nix, nixpkgs and NixOS)
<energizer> yes there are three manuals
<_habnabit> i see
<_habnabit> so now how does a module define files to write out
<srhb> _habnabit: Depends on the ile!
<srhb> file*
<srhb> For systemd units, we have an entirely declarative approach with the systemd.service options
<_habnabit> srhb, a static config file
<srhb> _habnabit: Usually you'll use something like pkgs.writeText to write it out from some more specific config options
<srhb> _habnabit: You were familiar with consul?
<_habnabit> srhb, quite
<srhb> Let's use that as an example then
<srhb> Here, the author of the module has decided to toJSON the configOptions option as /etc/consul.json
<srhb> That's one way to do it.
<_habnabit> srhb, yeah, i was looking at that and saw environment.etc
kyren has left #nixos ["User left"]
<srhb> Environment.etc.foo will become a symlink "/etc/foo" pointing to some store path.
palo1 has joined #nixos
<srhb> So, most modules are built up from other module primitives.
<srhb> Another common pattern is to have a systemd unit with `ExecStart = "somebinary --configfile ${pkgs.writeText "configfile" someOption}"`
<srhb> _habnabit: What's most ergonomic depends. :)
<_habnabit> makes sense
<chiiba> Is there a documented way to create a .vmdk release from a NixOS configuration? I guess `nixpkgs::nixos/release.nix` can provide me w/ an ISO and I can somehow turn that into a .vmdk, but would that be proper? Is there a better way?
jbox has joined #nixos
jbox is now known as Guest9432
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
<_habnabit> ok, so last question for now i think. what if i want to make a file (in /etc or anywhere) that contains some default string but will get overwritten/updated? is there a better option than ExecStartPre to create it?
<srhb> chiiba: Documented, I don't think so, but you will want to import nixos/modules/virtualisation/vmware-image.nix
zangi has quit [Ping timeout: 256 seconds]
zangi has joined #nixos
<srhb> _habnabit: A mutable file in /etc will usually not be appreciated upstream. We tend to create them via either systemd.tmpfiles or prestart scripts as you say in /var/lib/someprogram
<varun_>
<chiiba> srhb: Ah, thank you! :)
<{^_^}> [nixpkgs] @dasj19 opened pull request #95037 → evolution-ews: 3.36.4 -> 3.36.5 → https://git.io/JJMrp
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95038 → dijo: 0.2.2 -> 0.2.3 → https://git.io/JJMrh
<_habnabit> srhb, oh, i wouldn't upstream this anyway; it's very cluster-specific. nomad's vault token needs to be written out to somewhere on disk and doesn't change across reboots. i suppose /var/lib makes sense because it (presumably) won't get cleaned out
<srhb> _habnabit: Correct, it will not, and it sounds like the more correct place for mutable state. By the way, you will not want to inject secrets in nix options anyway, since they will end up in the world readable /nix/store
maier has joined #nixos
<_habnabit> srhb, yeah, it's issued and written out-of-band
<srhb> Good :)
varun_ has left #nixos ["Leaving"]
<srhb> chiiba: At a glance, it looks like you'll get a `system.build.vmwareImage` attribute once you build a NixOS system with that module imported.
<_habnabit> srhb, it's a weird bootstrapping-type situation because nomad needs to start in order to have the right machinery in place to get the token, but doesn't care if that token is invalid initially. so it gets issued and nomad reloaded
<srhb> _habnabit: Right. I've touched a few hashicorp products and it seems for most of them, the model takes a little jiggling to get to gel nicely with NixOS. It's not _quite_ declarative enough to just be an obvious translation every time.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95039 → do-agent: 3.5.6 -> 3.6.0 → https://git.io/JJMoI
Orbstheorem has joined #nixos
talvdav has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #94994 → blackmagic: unstable-2020-02-20 -> unstable-2020-08-05 → https://git.io/JJ1yg
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJMou
<chiiba> srhb: If the result will be an additional attribute, then am I supposed to extract it as a file using `nix-instantiate --eval` or something similiar? Or at least would it be possible?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95040 → dolt: 0.18.1 -> 0.18.2 → https://git.io/JJMog
<{^_^}> [nixpkgs] @dasj19 opened pull request #95041 → file-roller: 3.36.2 -> 3.36.3 → https://git.io/JJMoa
<srhb> chiiba: Something like: `nix-build <nixpkgs/nixos> --argstr configuration /path/to/your/vm/config.nix -A config.systemd.build.vmwareImage
<srhb> chiiba: You should be able to tab complete the attributes.
<srhb> s/systemd/system
<chiiba> Awesome, much appreciated
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95042 → drone-cli: 1.2.1 -> 1.2.2 → https://git.io/JJMKm
tsrt^ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1ae9ecf3b4b (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
alexherbo2 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #95031 → newsflash: 1.0.2 -> 1.0.4 → https://git.io/JJMan
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJMKs
Poscat[m] has joined #nixos
sangoma has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
spudly- has joined #nixos
user_0x58 has quit [Read error: Connection reset by peer]
spudly has quit [Ping timeout: 246 seconds]
spudly- is now known as spudly
<{^_^}> [nixpkgs] @danieldk merged pull request #95029 → broot: 0.19.3 -> 0.19.4 → https://git.io/JJMgi
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJMKK
realisation has quit [Ping timeout: 246 seconds]
talvdav has quit [Read error: Connection reset by peer]
talvdav has joined #nixos
turlando has joined #nixos
zupo has joined #nixos
sputny has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95043 → du-dust: 0.5.1 -> 0.5.2 → https://git.io/JJM6L
<{^_^}> [nixpkgs] @danieldk merged pull request #95013 → deno: 1.2.2 -> 1.2.3 → https://git.io/JJMOC
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJM6m
zupo_ has joined #nixos
zupo has quit [Ping timeout: 260 seconds]
kyren2 has quit [Remote host closed the connection]
nixuser has joined #nixos
<{^_^}> [nixpkgs] @dependabot[bot] pushed to dependabot/github_actions/technote-space/get-diff-action-v3 « build(deps): bump technote-space/get-diff-action from v2.0.3 to v3 »: https://git.io/JJM6y
<{^_^}> [nixpkgs] @dependabot[bot] opened pull request #95044 → build(deps): bump technote-space/get-diff-action from v2.0.3 to v3 → https://git.io/JJM6S
eri451 has quit [Ping timeout: 260 seconds]
<{^_^}> Channel dependabot/github_actions/technote-space/get-diff-action-v3 advanced to https://github.com/NixOS/nixpkgs/commit/35677a48850 (from 67 seconds ago, history: https://channels.nix.gsc.io/dependabot_github_actions_technote-space_get-diff-action-v3)
alexherbo2 has joined #nixos
eri has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #95045 → coqPackages.interval: 3.4.2 → 4.0.0 → https://git.io/JJMin
m0rphism has joined #nixos
sputny has quit [Remote host closed the connection]
turlando has quit [Ping timeout: 256 seconds]
talvdav has quit [Read error: Connection reset by peer]
talvdav has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95046 → element-desktop: 1.7.2 -> 1.7.3 → https://git.io/JJMi6
<siraben> What's an alternative to elif [[ -x "$(command -v /usr/bin/qmake)" ]]; then in Bash to work with Nix?
<siraben> I want to check if qmake exists
talvdav has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @zowoq merged pull request #94632 → buildGoModule: change doCheck default to true → https://git.io/JJoLE
<{^_^}> [nixpkgs] @zowoq pushed 4 commits to master: https://git.io/JJMPC
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95047 → ergo: 3.2.7 -> 3.3.0 → https://git.io/JJMPl
<samueldr> command with a full path is a pleonasm, redundant and tautological; e.g. try nix-shell -p hello --run 'command -v hello' vs. nix-shell -p hello --run 'command -v not-hello'
<samueldr> and also use `help command`, since that's a bash builtin
<samueldr> so you should be able to just use `command -v qmake`
<samueldr> additionally, since it's used to give you information about runnable commands from the PATH, the test for it being executable becomes redundant
<samueldr> so it could become `elif command -v qmake; then ...`
<samueldr> (as far as bash is concerned, [[ is a command with some syntaxic sugar added that requires it to be ended by ]])
alexherbo2 has quit [Ping timeout: 265 seconds]
<samueldr> (if takes a command as a parameter)
<siraben> samueldr: Thanks
stephaneyfx has quit [Quit: Leaving]
cr4y1 has joined #nixos
betrion[m] has joined #nixos
alexherbo2 has joined #nixos
mallox has joined #nixos
lsix has joined #nixos
cr4y1 has quit [Remote host closed the connection]
dejanr has quit [Quit: WeeChat 2.7.1]
alexherbo2 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dasj19 opened pull request #95048 → gfbgraph: 0.2.3 -> 0.2.4 → https://git.io/JJMXo
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95049 → ethash: 0.4.4 -> 0.5.2 → https://git.io/JJMXH
cfricke has joined #nixos
<{^_^}> [nixpkgs] @paumr opened pull request #95050 → nixos/bind: formatted with nixpkgs-fmt → https://git.io/JJM1f
alexherbo23 has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo23 is now known as alexherbo2
dermetfan has joined #nixos
varun_ has joined #nixos
alanz_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95051 → exoscale-cli: 1.15.0 -> 1.16.0 → https://git.io/JJM1a
jared-w has quit [Ping timeout: 244 seconds]
alanz_ has joined #nixos
etrepum has joined #nixos
varun_ has left #nixos [#nixos]
pjt_tmp has quit [Ping timeout: 256 seconds]
aristid has joined #nixos
jared-w has joined #nixos
jybs has quit [Quit: Lost terminal]
ryjm has joined #nixos
dansho has quit [Quit: Leaving]
realrokka has joined #nixos
cmk_zzz has quit [Ping timeout: 240 seconds]
cmk_zzz has joined #nixos
cfricke has quit [Quit: WeeChat 2.9]
cfricke has joined #nixos
Rurd2di has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95052 → flow: 0.130.0 -> 0.131.0 → https://git.io/JJMM7
alp has joined #nixos
noudle has joined #nixos
smatting_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95053 → fluxctl: 1.20.0 -> 1.20.1 → https://git.io/JJMDU
mallox has quit [Quit: WeeChat 2.9]
griff_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95054 → fly: 6.4.0 -> 6.4.1 → https://git.io/JJMD0
euandreh has quit [Remote host closed the connection]
euandreh has joined #nixos
realisation has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
realisation has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #95055 → .github/dependabot.yml: disable → https://git.io/JJMDh
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
gthm has joined #nixos
Rurd2di_ has joined #nixos
itshaydendev has joined #nixos
<kini> Am I the only one who is getting duplicates of this PR (and similar) sent to their own forks of nixpkgs on github? https://github.com/NixOS/nixpkgs/pull/94593
<{^_^}> #94593 (by dependabot[bot], 1 week ago, merged): build(deps): bump technote-space/get-diff-action from v2.0.2 to v2.0.3
Rurd2di has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #95046 → element-desktop: 1.7.2 -> 1.7.3 → https://git.io/JJMi6
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJMyq
thc202 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed commit from @r-ryantm to release-20.03 « element-desktop: 1.7.2 -> 1.7.3 »: https://git.io/JJMy2
<{^_^}> [nixpkgs] @06kellyjac closed pull request #91929 → nixos/mullvad-vpn: enable iproute2 config → https://git.io/JJJDE
<DigitalKiwi> kini: no and it's annoying how do i make it stop
<kini> I was hoping someone could tell me that, lol
<DigitalKiwi> if i find out i'll let you know and you likewise
<DigitalKiwi> deal?
<kini> sure
<DigitalKiwi> great
<DigitalKiwi> i asked earlier too nobody responded then either :(
Rurd2di has joined #nixos
suzanne has quit [Quit: Leaving]
Rurd2di_ has quit [Ping timeout: 272 seconds]
griff_ has quit [Quit: griff_]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pfr has joined #nixos
diogenes_ has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #95056 → drone-cli: 1.2.1 -> 1.2.2 → https://git.io/JJMSE
zupo has joined #nixos
zangi has quit [Ping timeout: 264 seconds]
zupo has quit [Client Quit]
gxt has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #95055 → .github/dependabot.yml: disable → https://git.io/JJMDh
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJMSS
zangi has joined #nixos
Rurd2di has quit [Ping timeout: 272 seconds]
sigmundv has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 216 commits to haskell-updates: https://git.io/JJM9U
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95057 → gifski: 0.10.4 -> 1.2.0 → https://git.io/JJM9T
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJM9L
potong has joined #nixos
fendor has joined #nixos
<potong> Hi I'm fairly new to nix, trying to find my way around. The nix tool has an edit function it will put me inside a function such as nixpkgs.vim. I am interested in using docker and there is a set of functions nixpkgs.dockerTools, how do I access those?
<{^_^}> [nixpkgs] @Ma27 merged pull request #94962 → jitsi: bump jicofo, jitsi-videobridge, jitsi-meet → https://git.io/JJ1CP
<{^_^}> [nixpkgs] @Ma27 pushed 4 commits to master: https://git.io/JJM9w
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95058 → git-quick-stats: 2.1.3 -> 2.1.4 → https://git.io/JJM9K
<{^_^}> [nixpkgs] @Mic92 merged pull request #95056 → drone-cli: 1.2.1 -> 1.2.2 → https://git.io/JJMSE
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJM96
cryptix has quit [Quit: Idle for 30+ days]
sangoma has quit [Ping timeout: 256 seconds]
cole-h has quit [Quit: Goodbye]
Criena[m] has quit [Quit: Idle for 30+ days]
themihas[m] has quit [Quit: Idle for 30+ days]
sangoma has joined #nixos
CustosLimen has joined #nixos
CustosLimen has quit [Changing host]
CustosLimen has joined #nixos
CustosLimen has quit [Changing host]
coco has joined #nixos
<{^_^}> [nixpkgs] @Mic92 closed pull request #95042 → drone-cli: 1.2.1 -> 1.2.2 → https://git.io/JJMKm
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e54dc9d9ac0 (from 50 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @alexarice opened pull request #95059 → [WIP] agdaPackages.generic: init at 0.1 → https://git.io/JJMHX
<{^_^}> [nixpkgs] @doronbehar opened pull request #95060 → nheko: dirty fix to #94942 → https://git.io/JJMHh
<{^_^}> [nixpkgs] @liff opened pull request #95061 → pythonPackages.hcloud: 1.8.1 -> 1.9.0 → https://git.io/JJMQe
alp has quit [Remote host closed the connection]
alp has joined #nixos
whald has joined #nixos
<{^_^}> [nixpkgs] @cryptix opened pull request #95062 → aliza: 1.48.10 -> 1.98.32 → https://git.io/JJMQi
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fcb82c9181f (from 67 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e54dc9d9ac0 (from 65 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
mananamenos has joined #nixos
turbo_MaCk has joined #nixos
talvdav has joined #nixos
<clever> potong: its in there
<clever> nix-repl> builtins.unsafeGetAttrPos "buildLayeredImage" dockerTools
<clever> { column = 3; file = "/nix/store/6q0j9q6pkl6fxll32dr988jnbnvb6ji2-nixos-20.09pre237606.b50ef9afa11/nixos/pkgs/build-support/docker/default.nix"; line = 439; }
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dasj19 opened pull request #95063 → gnome-boxes: 3.36.5 -> 3.36.6 → https://git.io/JJM76
diogenes_ has quit [Quit: vergissmeinnicht]
<turbo_MaCk> I have trouble packaging Rust package because of openssl issue (openssl-sys failing). I think it might be because the package is using features = ["static-ssl"]. Anyone knows how to resolve these errors?
<lunik1> hmm my nixos system is doing something weird. says it can't find default.target and kicks me to the recovery shell
<lunik1> but then graphical.target from there works fine
coco has quit [Quit: WeeChat 2.7.1]
<lunik1> and default.target is just a link to that...
<{^_^}> [nixpkgs] @dasj19 opened pull request #95064 → gnome-mines: 3.36.0 -> 3.36.1 → https://git.io/JJM5I
niso has joined #nixos
<Ke> lunik1: what sort of filesystems do you have, have you annotated needed for boot properly
nature has joined #nixos
<Ke> ie. are symlink targets available, when systemd starts
<wucke13> Is there a nix option to automatically write something in to a file in /sys on every boot?
<Ke> only on boot?
<Ke> you can run arbistrary shell scripts and you can create arbitrary systemd units at least, so there at least is a solution
<Ke> not sure, if there is something specific for this
<wucke13> Ke: no, not only on boot, just in a way that there is the correct value in it at all times
<Ke> I mean does it break, if you write it again?
zupo has joined #nixos
<wucke13> Nope
<wucke13> Basically I just want to write the battery_{start,stop}_threshold to have my battery in the sweet <80% range...
<wucke13> Ah, that looks good!
<lunik1> Ke: / is xfs but encrypted with LUKS
<Ke> wucke13: using systemd service might be nicer, as it get's properly annotated in log
<Ke> but slightly more typing
<Ke> lunik1: and it contains things like nix/store and everything needed?
<nixuser> Hey guys, for some projects I need antlr 4.8 for python (nixos.python37Packages.antlr4-python3-runtime). What is the best way to get an update to the nixos channel?
<lunik1> Ke: yes
<lunik1> Ke: It manages to find and start rescue.target in the same folder
<Ke> I guess
<Ke> no idea then
<{^_^}> [nixpkgs] @dasj19 opened pull request #95065 → gnome-panel: 3.36.1 -> 3.36.2 → https://git.io/JJM5d
<Ke> maybe try to systemd show default.target or something
jlslnx has joined #nixos
<lunik1> It just says it isn't found
<lunik1> LoadError=org.freedesktop.systemd1.NoSuchUnit "Unit default.target not found."
turbo_MaCk has quit [Ping timeout: 246 seconds]
`slikts has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @devhell opened pull request #95066 → profanity: 0.8.1 -> 0.9.5 → https://git.io/JJMdB
zupo_ has joined #nixos
jlslnx has quit [Quit: leaving]
<lunik1> I can cat default.target and other symlink'd targets work fine =\
`slikts has joined #nixos
`slikts has joined #nixos
`slikts has quit [Changing host]
zupo has quit [Ping timeout: 260 seconds]
meh` has joined #nixos
<lunik1> is there a way to force-rebuild systemd?
cosimone has joined #nixos
sophronios has quit [Ping timeout: 264 seconds]
<clever> lunik1: `nix-store --verify --check-contents`
<lunik1> yeah just found that :)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/99ec1661420 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<lunik1> ok time to make a fresh cup of really hot tea
zangi has quit [Ping timeout: 240 seconds]
zangi has joined #nixos
<{^_^}> [nixpkgs] @zowoq pushed commit from @dependabot[bot] to dependabot/github_actions/technote-space/get-diff-action-v3 « build(deps): bump technote-space/get-diff-action from v2.0.3 to v3.0.0 »: https://git.io/JJMFB
<{^_^}> [nixpkgs] @Munksgaard opened pull request #95067 → haskell-sexp: Unmark sexp-grammar as broken → https://git.io/JJMFR
potong has quit [Remote host closed the connection]
<typetetris> To play around with flakes do I have to use `nixFlakes` or `nixUnstable` in nixos-20.03? Wiki suggests `nixUnstable`.
<typetetris> confusing to also have `nixFlakes` around.
cosimone has quit [Quit: Quit.]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #95068 → btcdeb: 0.2.19 -> unstable-20200806 → https://git.io/JJMbs
<CRTified[m]> Would be great if someone could have a look at #94197 and tell me how to handle the license issue with `rlottie` :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/94197 (by CRTified, 1 week ago, open): LottieConverter: init at r0.1.1 & rlottie: init at v0.1
<{^_^}> [nixos-search] @garbas pushed to search-long-description « add longDescription to the list of fields we search over »: https://git.io/JJMb6
<{^_^}> [nixos-search] @garbas opened pull request #146 → add longDescription to the list of fields we search over → https://git.io/JJMbX
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dasj19 opened pull request #95069 → gtksourceview: 4.6.0 -> 4.6.1 → https://git.io/JJMN3
malook has joined #nixos
kreyren has quit [Remote host closed the connection]
ryzokuken_ has joined #nixos
<{^_^}> [nixpkgs] @liff opened pull request #95070 → haskellPackages.finitary: unbreak → https://git.io/JJMAs
realisation has joined #nixos
coco has joined #nixos
realisation has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 240 seconds]
MasseR has joined #nixos
zangi has quit [Read error: Connection reset by peer]
<coco> ,locate scanimage
<{^_^}> Found in packages: saneBackends, sane-backends-git
zangi has joined #nixos
<coco> ,locate ps2pdf
<{^_^}> Found in packages: ghostscriptX, texlive.combined.scheme-full, texlive.combined.scheme-medium
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #95070 → haskellPackages.finitary: unbreak → https://git.io/JJMAs
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JJMx3
knupfer has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #95037 → evolution-ews: 3.36.4 -> 3.36.5 → https://git.io/JJMrp
<{^_^}> [nixpkgs] @jtojnar pushed commit from @dasj19 to master « evolution-ews: 3.36.4 -> 3.36.5 »: https://git.io/JJMxX
<{^_^}> [nixpkgs] @jtojnar merged pull request #95041 → file-roller: 3.36.2 -> 3.36.3 → https://git.io/JJMoa
<{^_^}> [nixpkgs] @jtojnar pushed commit from @dasj19 to master « file-roller: 3.36.2 -> 3.36.3 »: https://git.io/JJMx1
zangi has quit [Read error: Connection reset by peer]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<lunik1> well nix-store --verify did not find any problems
<{^_^}> [nixpkgs] @marsam merged pull request #95057 → gifski: 0.10.4 -> 1.2.0 → https://git.io/JJM9T
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMpV
mallox has joined #nixos
kleisli has joined #nixos
malook has quit [Quit: malook]
zangi has joined #nixos
sangoma has quit [Ping timeout: 240 seconds]
sangoma has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « python.pkgs.numcodecs: disable several failing tests »: https://git.io/JJMpj
mallox has quit [Quit: WeeChat 2.9]
itshaydendev has quit [Ping timeout: 240 seconds]
vk3wtf_ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #95043 → du-dust: 0.5.1 -> 0.5.2 → https://git.io/JJM6L
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMht
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
<{^_^}> [nixpkgs] @primeos pushed to master « wob: 0.9 -> 0.10 »: https://git.io/JJMhZ
vk3wtf has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #95039 → do-agent: 3.5.6 -> 3.6.0 → https://git.io/JJMoI
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMhC
<{^_^}> [nixpkgs] @marsam merged pull request #95052 → flow: 0.130.0 -> 0.131.0 → https://git.io/JJMM7
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMhl
itshaydendev has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #95072 → fuse3: 3.9.2 -> 3.9.4 → https://git.io/JJMhE
<{^_^}> [nixpkgs] @zowoq merged pull request #95044 → build(deps): bump technote-space/get-diff-action from v2.0.3 to v3.0.0 → https://git.io/JJM6S
<{^_^}> [nixpkgs] @zowoq pushed commit from @dependabot[bot] to master « build(deps): bump technote-space/get-diff-action from v2.0.3 to v3.0.0 »: https://git.io/JJMhu
<{^_^}> [nixpkgs] @zowoq pushed 0 commits to dependabot/github_actions/technote-space/get-diff-action-v3: https://git.io/JJMhz
<{^_^}> [nixpkgs] @primeos merged pull request #94965 → iproute: 5.7.0 -> 5.8.0 → https://git.io/JJ1lX
<{^_^}> [nixpkgs] @primeos pushed to staging « iproute: 5.7.0 -> 5.8.0 (#94965) »: https://git.io/JJMh6
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95073 → gllvm: 1.2.6 -> 1.2.7 → https://git.io/JJMh9
<{^_^}> [nixpkgs] @jtojnar merged pull request #95069 → gtksourceview: 4.6.0 -> 4.6.1 → https://git.io/JJMN3
<{^_^}> [nixpkgs] @jtojnar pushed commit from @dasj19 to master « gtksourceview: 4.6.0 -> 4.6.1 »: https://git.io/JJMje
<{^_^}> [nixpkgs] @jtojnar merged pull request #95065 → gnome-panel: 3.36.1 -> 3.36.2 → https://git.io/JJM5d
<{^_^}> [nixpkgs] @jtojnar pushed commit from @dasj19 to master « gnome-panel: 3.36.1 -> 3.36.2 »: https://git.io/JJMjU
<{^_^}> [nixpkgs] @marsam merged pull request #95032 → cheat: 4.0.2 -> 4.0.3 → https://git.io/JJMaB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMjk
<{^_^}> [nixpkgs] @jtojnar merged pull request #95064 → gnome-mines: 3.36.0 -> 3.36.1 → https://git.io/JJM5I
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JJMjI
<{^_^}> [nixpkgs] @cdepillabout merged pull request #95067 → haskell-sexp: Unmark sexp-grammar as broken → https://git.io/JJMFR
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JJMju
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #94868 → [20.03] openjdk: 8u222 -> 8u265 → https://git.io/JJPdN
<{^_^}> [nixpkgs] @NeQuissimus pushed 4 commits to release-20.03: https://git.io/JJMjP
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #94603 → [20.03] openjdk: 11.06 -> 11.08 → https://git.io/JJwFF
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-20.03: https://git.io/JJMjX
justanotheruser has quit [Ping timeout: 264 seconds]
noudle has quit []
<{^_^}> [nixpkgs] @marsam merged pull request #95054 → fly: 6.4.0 -> 6.4.1 → https://git.io/JJMD0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJMjF
<{^_^}> [nixpkgs] @jtojnar merged pull request #95063 → gnome-boxes: 3.36.5 -> 3.36.6 → https://git.io/JJM76
<{^_^}> [nixpkgs] @jtojnar pushed commit from @dasj19 to master « gnome-boxes: 3.36.5 -> 3.36.6 »: https://git.io/JJMjb
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95074 → gnss-sdr: 0.0.12 -> 0.0.13 → https://git.io/JJMjx
<{^_^}> [nixpkgs] @marsam merged pull request #95053 → fluxctl: 1.20.0 -> 1.20.1 → https://git.io/JJMDU
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JJMjh
<{^_^}> [nixpkgs] @vbgl merged pull request #93016 → ocamlPackages.ounit(2): 2.2.2 → 2.2.3 → https://git.io/JJOmj
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.ounit(2): 2.2.2 → 2.2.3 »: https://git.io/JJDeY
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
diogenes_ has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
sheepfleece has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #95035 → clojure-lsp: 20200706T152722 -> 20200806T150857 → https://git.io/JJMVu
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJDv0
sheepfleece has quit [Client Quit]
Guest84 has joined #nixos
diogenes_ has quit [Quit: vergissmeinnicht]
<Guest84> Hi, is there a way to send multipel keystrokes to a test machine? machine.send_key works but not machine.send_keys
alp has quit [Ping timeout: 246 seconds]
<Guest84> `send_chars`
alp has joined #nixos
mjrosenb is now known as Guest65732
Guest65732 has quit [Killed (tepper.freenode.net (Nickname regained by services))]
mjrosenb_ has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « libxml2Python: fix propagated inputs »: https://git.io/JJDJC
cfricke has quit [Quit: WeeChat 2.9]
hekkaidekapus has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « multitail: move pkg-config to nativeBuildInputs »: https://git.io/JJDJl
mjrosenb has joined #nixos
Rusty1 has joined #nixos
cosimone has quit [Quit: Quit.]
realisation has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95075 → hcxdumptool: 6.1.0 -> 6.1.1 → https://git.io/JJDJP
cosimone has joined #nixos
kaliumxyz has joined #nixos
fendor_ has joined #nixos
ddellacosta has joined #nixos
zupo has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
realisation has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95076 → hebcal: 4.20 -> 4.21 → https://git.io/JJDUv
<{^_^}> [nixos-search] @garbas merged pull request #146 → add longDescription to the list of fields we search over → https://git.io/JJMbX
<{^_^}> [nixos-search] @garbas pushed to master « add longDescription to the list of fields we search over (#146) »: https://git.io/JJDUC
<{^_^}> [nixos-search] @garbas pushed 0 commits to search-long-description: https://git.io/JJDUW
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95077 → helmfile: 0.125.1 -> 0.125.5 → https://git.io/JJDUu
<{^_^}> [nixpkgs] @orivej opened pull request #95078 → musescore: 3.4.2 -> 3.5.0 → https://git.io/JJDUr
weelknym has joined #nixos
diogenes_ has joined #nixos
Guest84 has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @marsam merged pull request #94157 → rtl8821ce: 5.5.2_34066.20200325 -> 5.8.0-050800.20200621 → https://git.io/JJuPy
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJDUX
imathew has joined #nixos
<weelknym> Hello! Spontaneous question: should I wait till 'Nix Flakes' becomes the thing if I'm relatively new to NixOS and just tinkering with that?
kleisli_ has joined #nixos
<symphorien[m]> don't think this is necessary.
kleisli has quit [Ping timeout: 256 seconds]
<Ke> I still haven't bothered to learn, what is the problem that I should have that flakes solve
<symphorien[m]> I understand them as declarative channels, but I haven't read the blog posts which explain what flakes are for
<weelknym> It seems to me like it's the future for Nix, referring to 'Nix flakes' talk on NixCon
<{^_^}> [nixpkgs] @jtojnar merged pull request #94197 → LottieConverter: init at r0.1.1 & rlottie: init at v0.1 → https://git.io/JJziZ
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/JJDTU
<symphorien[m]> Emil Karlson https://www.tweag.io/blog/2020-05-25-flakes/ is supposed to explain
<weelknym> And I'm really inspired by nrdxp's template (on GitHub) that uses flakes by default
zangi has quit [Ping timeout: 265 seconds]
<weelknym> Can I post links here?
<srk> sure
<weelknym> Here it is: https://github.com/nrdxp/nixflk
hekkaidekapus has quit [Remote host closed the connection]
<Ke> symphorien: I guess I read that and forgot, thanks
hekkaidekapus has joined #nixos
<Ke> normally I would not want the same results, but equivalent results with bugfixes and security updates
<Ke> and would not want to rely heavily on external modules
<Ke> I guess it's nice to have standards though
zangi has joined #nixos
<Ke> especially, if the external modules would block updates
meh` has quit [Ping timeout: 240 seconds]
waleee-cl has joined #nixos
<weelknym> I ran into flakes when I wanted to "connect" home-manager (and, potentially, NUR) in a more straight-forward way, not just adding that to nix-channels as rycee's manual says
<Ke> NUR?
<weelknym> On the unofficial wiki, however, there's a way to "connect" via 'fetchGit' -- https://nixos.wiki/wiki/Home_Manager
<{^_^}> [nixpkgs] @r-ryantm opened pull request #95079 → humioctl: 0.26.0 -> 0.26.1 → https://git.io/JJDTw
<weelknym> Should I rather do that if not flakes?
<Ke> weelknym: your choice, I guess the problem is that without blocking updates it will occasionally break, as your alternative source maintainer is not up to date with nixpkgs' changes
<Ke> I'd still prefer visibly broken than silently missing out on updates
<Ke> but not in any way expert here
karantan has joined #nixos
<maralorn> I think flakes have stronger purity guarantees, with the result that nix can do evaluation caching. Which can potentially lead to strong speed ups.
<maralorn> That‘s at least a hope that I have for flakes.
<Ke> what we use internally is git submodules, you could use them to import any nix modules residing in git anyway so nix would never fetch any git stuff by itself
<Ke> though I guess there is no nix code in submodules anymore
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c64b791f4d5 (from 75 minutes ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
meh` has joined #nixos
<Ke> maralorn: I believe the hashing is done after nix evaluation, so if your statements evaluate to same derivation they should be equivalent regardless of the nix code used to derive them
<{^_^}> [nixpkgs] @Mic92 merged pull request #95006 → busybox: Pull in upstream patch for CVE-2018-1000500 → https://git.io/JJ1pX
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJDTj
<Ke> ie. if .drv is equivalent, it should not matter
gxt has quit [Quit: WeeChat 2.9]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<maralorn> jkarlson: No, that's not what I am talking about here. The point is, that nix can cache the result of a nix-expression. So that when you run nixos-rebuild twice against the same config and the same channel you don‘t need to wait the 5 secs it needs to calculate which system derivation to build.
justanotheruser has joined #nixos
<karantan> any ideas why "nixos-rebuild switch" doesn't restart certain systemd processes when I trigger it via a program (python program that runs as a systemd process)
<maralorn> Like it knows "this .nix file will result in this .drv when evaluated."
<karantan> if I write "nixos-rebuild switch" in the shell it will restart all the processes
<maralorn> karantan: Not sure. Maybe it has something to do with systemd.services ... restartIfChanged or restartTriggers option?
<karantan> yeah I'm looking at them atm. that's probably the issue
<sephii> I'm getting a weird error "attribute 'license' missing" when using `bootstrapped-pip`, which in turns tries to access `pip.meta.license`. Any idea how I can debug this? I put the full error here https://dpaste.com/9HXC9B5ME
turbo_MaCk has joined #nixos
<Ke> maralorn: I did not know that, I guess I'd expect to see that as a problem first
johnazoidberg[m] has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/65539ae9041 (from 54 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Ke> btw. speaking of metadata, does someone know, how can I install unrealised .drv file that I create from an expression
gustavderdrache has joined #nixos
diogenes_ has quit [Quit: vergissmeinnicht]
<Ke> install as in, would not be cleaned by gc
<maralorn> jkarlson: have a look at nix-store --realise
turbo_MaCk has quit [Client Quit]
<maralorn> Or does that not create an outlink?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @davidrusu opened pull request #95080 → Bump castxml to 0.3.4 → https://git.io/JJDIc
<maralorn> ashandme: '--options substituters ""'
<maralorn> jkarlson: There is also nix-store --add-root.
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c64b791f4d5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
meh` has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #95036 → csvs-to-sqlite: 1.0 -> 1.1 → https://git.io/JJMrU
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJDIu
<{^_^}> [nixpkgs] @svalaskevicius opened pull request #95081 → openjdk11: add src.zip for IDEs → https://git.io/JJDIz
<{^_^}> [nixpkgs] @romildo opened pull request #95082 → xfce.xfwm4: 4.14.4 -> 4.14.5 → https://git.io/JJDLv
lewo has joined #nixos
<Ke> maralorn: I don't want the store, but the derivation file itself, ie. .drv file
<maralorn> Ah, now I get it.^^
<{^_^}> [nixpkgs] @danieldk opened pull request #95083 → manual: add AMD BLIS/LIBFLAME to the BLAS/LAPACK list → https://git.io/JJDLm
<maralorn> I understood "install unrealised .drv file" as "realise a .drv" file.
<{^_^}> [nixpkgs] @romildo merged pull request #94495 → liquidprompt: unstable-2018-05-21 -> 1.12.0 → https://git.io/JJV2r
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JJDLO
<Ke> sure, that's the typical usecase
<maralorn> jkarlson: Well, nix-instantiate also has an add-root flag, might that help?
<Ke> looking at manual, that would just build
boothead has joined #nixos
<Ke> but maybe it's ambiguous
euandreh has quit [Remote host closed the connection]
<boothead> Hey folks, having some dramas with my desktop set up. Ideally I want gnome (or maybe xfce) running xmonad, I really don't want to have to switch away from WM if possible but I'm having strange issues with obs working in pure gnome, but not in xmonad. Anyone got a nice desktop set up I could steal from?
work_ has joined #nixos
<Ke> maralorn: amazingly seems to work
<Ke> maralorn: though one missing feature is that it does not link all the outputs, as I have $out and $run
<{^_^}> [nixpkgs] @romildo opened pull request #95084 → xfce.tumbler: 0.2.8 -> 0.2.9 → https://git.io/JJDLX
<bqv> All outputs have the same drv file
<Ke> oh right forgot
itshaydendev has quit [Ping timeout: 260 seconds]
<maralorn> What I personally miss the most is a way to get gc-roots for ifd inputs/outputs.
<clever> maralorn: i have a PR to nix, to log all IFD drv files to stderr, and plans to make it more usable in an automated manner
<maralorn> After every garbage-collection I need to refetch my pinned nixpkgs.
<maralorn> clever: nice
<{^_^}> [nixpkgs] @primeos merged pull request #95072 → fuse3: 3.9.2 -> 3.9.4 → https://git.io/JJMhE
<{^_^}> [nixpkgs] @primeos pushed to master « fuse3: 3.9.2 -> 3.9.4 (#95072) »: https://git.io/JJDLA
euandreh has joined #nixos
talvdav has quit [Read error: Connection reset by peer]
<{^_^}> nix#3494 (by cleverca22, 16 weeks ago, open): log all ifd
itshaydendev has joined #nixos
<{^_^}> [nixpkgs] @alexarice opened pull request #95085 → agda-prelude: compat-2.6.0 -> compat-2.6.1 → https://git.io/JJDtT
alp has quit [Ping timeout: 256 seconds]
kreyren has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #95048 → gfbgraph: 0.2.3 -> 0.2.4 → https://git.io/JJMXo
<{^_^}> [nixpkgs] @jtojnar pushed commit from @dasj19 to master « gfbgraph: 0.2.3 -> 0.2.4 »: https://git.io/JJDtH
nixuser has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #94701 → kmscon: 8 -> unstable-2018-09-07 → https://git.io/JJ6e9
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/JJDtN
<{^_^}> [nixpkgs] @peterhoeg pushed 0 commits to u/kmscon: https://git.io/JJDtA
Extends has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #95086 → nixos/manual: add a section about enabling OpenCL for Intel GPUs → https://git.io/JJDqk
orivej has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #83021 → gcstar: init at 1.7.2 + perl package dependencies → https://git.io/JJDqL
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JJDqt
diogenes_ has joined #nixos
coco has quit [Quit: WeeChat 2.7.1]
coco has joined #nixos
coco has quit [Client Quit]
Extends has quit [Quit: leaving]
samrose_ has quit [Ping timeout: 260 seconds]
samrose_ has joined #nixos
stephaneyfx has joined #nixos
diogenes_ has left #nixos ["vergissmeinnicht"]
<{^_^}> [nixpkgs] @danieldk merged pull request #95058 → git-quick-stats: 2.1.3 -> 2.1.4 → https://git.io/JJM9K
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJDqx
MasseR has quit [Ping timeout: 240 seconds]
realisation has joined #nixos
MasseR has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to glibc232 « glibc: 2.31 -> 2.32 »: https://git.io/JJDmG
jb55 has quit [Remote host closed the connection]
hyper_ch2 has quit [Read error: Connection reset by peer]
realisation has quit [Ping timeout: 264 seconds]
<infinisil> ,hydra
jb55 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has joined #nixos
<mjrosenb> How do I figure out what the expected hash should be for XCode? I followed the directions that it printed out asking me to install it, but it still can't find the binary, so I assume that apple changed the hash of the xcode package since it was last updated in nixpkgs
<makefu> infinisil: maybe plug hydra-check here as well (nix-shell -p hydra-check --run 'hydra-check hello')
zupo has joined #nixos
<infinisil> > hydra-check.meta.homepage
pamplemousse has joined #nixos
<infinisil> Neat!
<{^_^}> [nixpkgs] @Ma27 pushed to glibc232 « glibc: 2.31 -> 2.32 »: https://git.io/JJDYJ
<makefu> it would also make a nice addition to the IRC bot. the main downside is that hydra is so horribly slow to respond. uncached response time is ~30s and i am unsure if there is even any caching in place
nDuff has joined #nixos
<maralorn> Crawling hydra with beautiful soup feels like something for which we should have a better solution …
<{^_^}> [nixpkgs] @danieldk opened pull request #95088 → git-quick-stats: properly wrap → https://git.io/JJDYW
<clever> makefu: hydra can return json in the body
<{^_^}> [nixpkgs] @Ma27 opened pull request #95089 → [WIP] glibc: 2.31 -> 2.32 → https://git.io/JJDY8
itshaydendev has quit [Ping timeout: 272 seconds]
<makefu> clever: it can, but it does not contain all information. especially with regards to previous (successful and failed) builds
<makefu> i checked out the api spec for this
<makefu> and i resorted to parsing the HTML API due to these restrictions
<clever> makefu: i think raw postgres access would be "best"
<{^_^}> [nixpkgs] @raboof closed pull request #94556 → mastodon-bot: 1.0.2 -> 1.0.4 → https://git.io/JJwte
<{^_^}> [nixpkgs] @danieldk merged pull request #95076 → hebcal: 4.20 -> 4.21 → https://git.io/JJDUv
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJDYg
<makefu> i am pretty sure it would be :) however right now the tool is good enough (with some edge cases). it can even somewhat guess the channel name in hydra
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> makefu: Iirc srk has experimented with adding a `#cached /nix/store/...` bot command for this
<infinisil> Something like that would be nice indeed
gthm has quit [Ping timeout: 260 seconds]
<makefu> yep, that would be great. Mic92 also thought about this (essentially querying the cache.nixos.org). this however has the downside of not knowing if the package ever built without bisecting nixpkgs
<{^_^}> [nixpkgs] @ttuegel opened pull request #95091 → qtdeclarative: Patch for scrollbar regression → https://git.io/JJDOJ
LnL- is now known as LnL
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos
zupo has joined #nixos
<inquisitiv3> Could someone please explain why `x` is bound to `123` in exercise 23 in _A tour of Nix_? I don't understand their explanation. I guessed that `x == 123`, because maybe the `x` in the let-binding binds `x` in the `as` because the `with as; ...` expression?
wolfshappen has quit [Ping timeout: 260 seconds]
user_0x58 has joined #nixos
wolfshappen has joined #nixos
<Mic92> inquisitiv3: probably the reason why nix.dev discourage use of with: https://nix.dev/anti-patterns/language.html#with-attrset-expression
weelknym has quit [Remote host closed the connection]
<Mic92> I also would have assumed that `with ` overrides let
<{^_^}> nix#490 (by pikajude, 5 years ago, closed): Scoping is unintuitive
<clever> > let a = 1; b = {a=2;}; in with b; a
<{^_^}> 1
fresheyeball has joined #nixos
<immae> I got tricked too but I don’t understand why
erasmas has joined #nixos
<inquisitiv3> Mic92: Thanks for the links!
<Mic92> immae: afaik `with b` is lazy evaluated?
<immae> oh
<gustavderdrache> in my head i think of "with" as being a secondary scope to check after the lexical scope is checked
<immae> ok so it’s not done "on purpose"
<gustavderdrache> instead of augmenting the existing scope
hauleth has joined #nixos
<Mic92> I think we can all agree here, that this is confusing.
<gustavderdrache> i almost never use with, since you can almost always rewrite with foo; bar as let inherit (foo) x y z; in bar
<immae> I don’t use with either (except in very controlled places), but I thought there was a true reason behind this "rule" (not "because it’s implemented like that")
<infinisil> The only place I use with is when I need to quickly test something so I put `with import <nixpkgs> {}` at the start of the file
<infinisil> Wouldn't use that in code that's meant to stay though
<gustavderdrache> i do it for buildInputs = with pkgs; [ ... ]; in stuff i'm too lazy to factor out into a callPackage
euandreh has quit [Ping timeout: 272 seconds]
<clever> the only other place i use it, is `with pkgs; [ a b c ];`
noudle has joined #nixos
bqv has quit [Quit: WeeChat 2.9]
wolfshappen has quit [Ping timeout: 265 seconds]
<gustavderdrache> it has its uses in a controlled context, but otherwise i avoid it for the same reason as i avoid the with statement in JS - it gets really difficult to figure out where a variable came from when it's in play
ryzokuken_ is now known as ryzokuken
wolfshappen has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #94801 → medfile: 4.0.0 -> 4.1.0 → https://git.io/JJiSx
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJDsU
whald has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timstott opened pull request #95092 → Cleanup: delete obselete attribute goPackagePath where buildGoModule is used → https://git.io/JJDsa
<{^_^}> [nixpkgs] @Mic92 opened pull request #95093 → [20.03] busybox: Pull in upstream patch for CVE-2018-1000500 → https://git.io/JJDsV
<{^_^}> [nix] @Ma27 opened pull request #3916 → Always reset ANSI colors in progress-bar line → https://git.io/JJDsK
bqv has joined #nixos
hauleth has quit [Quit: ZNC 1.7.4 - https://znc.in]
wolfshappen has quit [Ping timeout: 264 seconds]
growpotkin has joined #nixos
wolfshappen has joined #nixos
<lordcirth__> If anyone is interested, I wrote a package and service for Foundry-VTT: https://github.com/lordcirth/atlas-config
<{^_^}> [nixpkgs] @Ma27 pushed to glibc232 « glibc: 2.31 -> 2.32 »: https://git.io/JJDGm
jakob_rs has joined #nixos
<Mic92> lordcirth__: do you plan to replace this fetch ipfs? https://github.com/lordcirth/atlas-config/blob/master/foundry-vtt-headless.nix#L6
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #95094 → gxemul: 0.6.0.1 -> 0.6.2 → https://git.io/JJDGs
<lordcirth__> Mic92, what ipfs? Also the zip can only be downloaded if you have a license, so you have to nix-store it yourself
<jakob_rs> If the Linux 5.8 update requires updating systemd, does that mean that I'll have to use nixos-unstable to use Linux 5.8? #94678 #94699
<{^_^}> https://github.com/NixOS/nixpkgs/issues/94678 (by andersk, 5 days ago, closed): nixos.tests.latestKernel.login.x86_64-linux fails with Linux 5.8
<{^_^}> https://github.com/NixOS/nixpkgs/pull/94699 (by Mic92, 5 days ago, merged): Revert "linux: Init 5.8"
<jakob_rs> Assuming systemd updates aren't backported
<lordcirth__> Mic92, while I love IPFS, the license terms would not allow redistributing the foundry zip
<Mic92> lordcirth__: In some countries it might be legal :)
<lunik1> i'm stumped on this default.target issue, both nix-cache --verify and xfs_repair say everything is fine. guess I'll just reinstall and hope for the best
proofofkeags has joined #nixos
<Mic92> usually we use requireFile in those cases.
<lunik1> at least with nixos a reinstall is fairly painless :)
<dottedmag> I've got a (pretty crappy) laptop I'd like to free from ChromeOS and install NixOS. However NixOS kernel (latest, 5.7.14) fails to probe a keyboard (of all things). Debian kernel works fine. Any pointers how to debug?
<lordcirth__> Mic92, oh? Do you have an example?
<dottedmag> Kernel from stable release fails as well, so it's not a recent regression.
<Mic92> lordcirth__: grep -R requireFile ./nixpkgs
hauleth has joined #nixos
<Mic92> pkgs/applications/editors/quartus-prime/default.nix
<lordcirth__> Ok I'll try that
alexherbo2 has quit [Ping timeout: 264 seconds]
__monty__ has joined #nixos
wolfshappen has quit [Ping timeout: 260 seconds]
karantan has quit [Ping timeout: 260 seconds]
realisation has joined #nixos
wolfshappen has joined #nixos
meh` has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #95095 → neomutt: 20200626 -> 20200807 → https://git.io/JJDZJ
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
realisation has quit [Ping timeout: 240 seconds]
user_0x58 has quit [Read error: Connection reset by peer]
user_0x58 has joined #nixos
user_0x58 has quit [Read error: Connection reset by peer]
jakob_rs has quit [Quit: WeeChat 2.7.1]
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #95096 → drawio: 13.5.7 -> 13.6.2 → https://git.io/JJDn2
proofofkeags has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/fcb82c9181f (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
work_ has quit [Quit: Connection closed for inactivity]
realisation has joined #nixos
malook has joined #nixos
malook has quit [Client Quit]
sangoma has quit [Ping timeout: 256 seconds]
jmeredith has joined #nixos
maier has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Infinisil closed pull request #57123 → Typed `nixpkgs.config` married to NixOS → https://git.io/fhhgZ
wolfshappen has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Infinisil closed pull request #50240 → Disable more X libraries for no-x-libs options → https://git.io/fpqv8
gthm has joined #nixos
sangoma has joined #nixos
adamkowalski has joined #nixos
wolfshappen has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #93652 → simplenes: init at unstable-2019-03-13 → https://git.io/JJlGS
<{^_^}> [nixpkgs] @jonringer pushed commit from @IvarWithoutBones to master « simplenes: init at unstable-2019-03-13 »: https://git.io/JJDCI
<adamkowalski> Do any of you all use dwm with nixos? I am trying to figure out how to get the nix package to read the dwm config file when it recompiles
<adamkowalski> I'd also love to know how to deal with packages you want to build from source in general? For example I want to get the latest neovim built from head
fresheyeball has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 244 seconds]
fresheyeball has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #95096 → drawio: 13.5.7 -> 13.6.2 → https://git.io/JJDn2
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJDCE
hyper_ch has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #84150 → mirage: init at 0.5.1 → https://git.io/JvFKK
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JJDCw
<{^_^}> [nixpkgs] @jonringer merged pull request #94783 → nixos/jupyterhub: init service → https://git.io/JJiEu
<{^_^}> [nixpkgs] @jonringer pushed 4 commits to master: https://git.io/JJDCr
ris has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #95061 → pythonPackages.hcloud: 1.8.1 -> 1.9.0 → https://git.io/JJMQe
<{^_^}> [nixpkgs] @jonringer pushed commit from @liff to master « pythonPackages.hcloud: 1.8.1 -> 1.9.0 »: https://git.io/JJDCP
<{^_^}> [nixpkgs] @jonringer merged pull request #94955 → zfs-prune-snapshots: init at 1.1.0 → https://git.io/JJ1Zp
<{^_^}> [nixpkgs] @jonringer pushed commit from @ymarkus to master « zfs-prune-snapshots: init at 1.1.0 »: https://git.io/JJDCh
<symphorien[m]> > Do any of you all use dwm with nixos? I am trying to figure out how to get the nix package to read the dwm config file when it recompiles
<symphorien[m]> dwm uses patches for config, right ? make an overlay with `dwm = super.dwm.override { patches = [ ./my.patch ]; };`
<{^_^}> error: syntax error, unexpected WITH, expecting ')', at (string):320:27
<symphorien[m]> > I'd also love to know how to deal with packages you want to build from source in general? For example I want to get the latest neovim built from head
<symphorien[m]> It's a bit of an oversimplification, but there is no such thing as `from HEAD` in nix. You can fetch whatever fixed commit you want, but not a "fleeting" target.
<{^_^}> error: syntax error, unexpected WITH, expecting ')', at (string):320:35
<adamkowalski> Well they have patches, but they also have a config.h file which you can use
meh` has quit [Ping timeout: 256 seconds]
veleiro has joined #nixos
<symphorien[m]> a first step can be to use neovim from unstable while staying on nixos stable:
<symphorien[m]> ,unstable
<{^_^}> How to install from unstable while remaining on stable: https://nixos.wiki/wiki/FAQ#How_can_I_install_a_package_from_unstable_while_remaining_on_the_stable_channel.3F . Also note that there's nixpkgs-unstable and nixos-unstable
<adamkowalski> I'm already on unstable
<adamkowalski> I think I needed that because I'm on a hidpi display
wolfshappen has quit [Ping timeout: 265 seconds]
<adamkowalski> and when I was generating the hardware config it picked that up when it's on unstable
<symphorien[m]> well you can choose a commit and override src with this
<symphorien[m]> you'll have to change the commit manually from time to time
<adamkowalski> Do you have a recommended tutorial/book/video/resource where I can learn more about that? Ideally I'd learn the way nixos is meant to be used. I'm coming from a more convential systems like arch/ubuntu so it's a bit of a perspective shift
<adamkowalski> Are overlays the recommended way of modying most packages?
boothead has quit [Remote host closed the connection]
wolfshappen has joined #nixos
<adamkowalski> How about when packages are missing? It seems like i'm not supposed to use neovims built in plugin manager, and instead supposed to install things using the nix store
<adamkowalski> but the names don't always match up with the name of the package, and lots of packages are missing
<symphorien[m]> yes
<adamkowalski> What if I want to add new ones. Can I do that, or do I have to contribute those upstream
gthm has quit [Ping timeout: 265 seconds]
<adamkowalski> Sorry for all the questions. That's why I guess I want to know more about Nix, and so if I can figure out a resource that goes over the system as a whole I feel like I can probably figure out each of these individual questions
<symphorien[m]> there is the wiki but it does not look like so useful on this subject
<symphorien[m]> about vim/neovim plugins: https://nixos.wiki/wiki/Vim
<adamkowalski> Awesome thanks! I'll read about both!
<{^_^}> [nixpkgs] @oyren opened pull request #95097 → gtg: refactor (licenses) → https://git.io/JJDlf
wolfshappen has quit [Ping timeout: 240 seconds]
wolfshappen has joined #nixos
nDuff has quit [Quit: zzz]
<tokudan> when I define an option, how can I define the type to be either a string or null? I've got "type = with types; either str null;", but that doesn't seem to work and results in errors I cannot figure out
wolfshappen has quit [Ping timeout: 240 seconds]
jco has joined #nixos
wolfshappen has joined #nixos
alexherbo2 has joined #nixos
ramses_ has joined #nixos
<immae> you have nullOr tokudan
<jco> I'd like to test a daemon that i set with systemd, i already set a nix environment to develop it
<jco> all that remains to be done is to write a package for it?
<ramses_> Hey guys, is there a way to enable a cachix cache declaratively on nixos? Or should I just manually set the nix.conf content using `nix.extraOptions` ?
<jco> in order to install it on the system
<tokudan> immae, that works, thanks :)
<immae> :)
<infinisil> ramses_: `cachix use` tells you what you need to do on NixOS
<{^_^}> [nixpkgs] @jonringer merged pull request #95097 → gtg: refactor (licenses) → https://git.io/JJDlf
<{^_^}> [nixpkgs] @jonringer pushed commit from @oyren to master « license changed to gpl3Plus (for gtg and liblarch) »: https://git.io/JJDlp
<{^_^}> [nixpkgs] @dasj19 opened pull request #95098 → gnome-subtitles: init at 1.6 → https://git.io/JJDlh
dongcarl has quit [Read error: Connection reset by peer]
<ramses_> infinisil: but that command will modify nix.conf on the current machine, no? I would like to configure this in my nixos config so that it's declarative and so that all our servers pick it up
dongcarl has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #94964 → ghc-8.10.x: add v8.10.2 → https://git.io/JJ1lJ
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/JJD8k
<Mic92> No need to run cachix for that
<adamkowalski> Is there some docs about getting services registerd with systemd?
<adamkowalski> In particular how would you use dunst
<Mic92> adamkowalski: there is a home-manager module for dunst
<Mic92> it includes a systemd service
<adamkowalski> Do I need home-manager? Or can I enable it system wide?
<Mic92> *systemd user service
<Mic92> You can use home-manager via NixOS
<adamkowalski> What's the advantage of home-manager over configuration.nix in /etc/nixos/
<adamkowalski> if you are the only user? or if you want things to be enabled regardless of the user coming in
<{^_^}> [nixpkgs] @peti pushed 73 commits to haskell-updates: https://git.io/JJD8s
<adamkowalski> wouldn't it be better to just say dunst is always enabled?
<Mic92> adamkowalski: systemd.user.services.* in nixos itself.
<Mic92> but than you need to write it yourself.
<adamkowalski> So I take it home manager is the recommended way then?
<tokudan> systemd.services for system services... I don't know dunst, so no idea what would be better for dunst
<Mic92> dunst is a user service
<Mic92> It needs x11
<Mic92> home-manager would be here the easier route
<{^_^}> [nixpkgs] @zimbatm opened pull request #95099 → rustracerd: mark as broken → https://git.io/JJD8c
<adamkowalski> Awesome, thanks, I'll use it
dermetfan has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @matthuszagh opened pull request #95100 → qcsxcad: init at 0.6.2 → https://git.io/JJD8z
<Mic92> adamkowalski: it is currently a better fit for systemd user services. Also its possible to use configuration.nix in theory, nobody has done though given that home-manager already has the module.
mananamenos has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zimbatm merged pull request #95099 → rustracerd: mark as broken → https://git.io/JJD8c
<{^_^}> [nixpkgs] @zimbatm pushed to master « rustracerd: mark as broken (#95099) »: https://git.io/JJD8o
wolfshappen has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #94828 → doppler: init at 3.9.1 → https://git.io/JJPUX
<{^_^}> [nixpkgs] @jonringer pushed commit from @lucperkins to master « doppler: init at 3.9.1 »: https://git.io/JJD8K
user_0x58 has quit [Read error: Connection reset by peer]
<ramses_> Mic92: OK, so you do configure it manually like that, I wanted to be sure that there was no better way. Thanks!
<adamkowalski> It seems like home-manager wants me to install using nix-shell '<home-manager>' -A install
<{^_^}> [nixpkgs] @jonringer merged pull request #94329 → ryujinx: init at 1.0.5160 → https://git.io/JJ2pl
<{^_^}> [nixpkgs] @jonringer pushed commit from @IvarWithoutBones to master « ryujinx: init at 1.0.5160 »: https://git.io/JJD8P
<adamkowalski> Can't I put it in environment systemPackages?
<ramses_> Mic92: I guess there is no need to actually install cachix then, if I only want to pull builds, it is purely Nix functionality?
wolfshappen has joined #nixos
<infinisil> ramses_: Mic92: There is a better way, cachix use -d <your system config path> <cachix name>
<infinisil> This generates a cachix.nix and a cachix folder in the path you give it
<infinisil> And you can just `imports = [ ./cachix.nix ]` from your system config
<{^_^}> [nixpkgs] @etu opened pull request #95101 → php: Drop PHP 7.2 support → https://git.io/JJD85
orivej has quit [Ping timeout: 264 seconds]
domogled has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @risicle opened pull request #95102 → [r20.03] openexr,imlbase: 2.3.0 -> 2.4.1 to fix numerous security issues → https://git.io/JJD8x
domogled has joined #nixos
<ramses_> infinisil: ok, cool. It's a bit weird that you need to run this as root even to update a local git clone, but besides that it works nicely indeed
<ramses_> I couldn't find this described anywhere in the cachix documentation
knupfer has joined #nixos
charukiewicz has joined #nixos
<charukiewicz> If I have nginx running via services.nginx = {...}, can I also use systemd.services.nginx.serviceConfig to change the systemd unit settings of my nginx process? specifically, I want to change the LimitNOFILE setting for nginx. Maybe there's a better way to do this but I didn't see anything in services.nginx.*
spudly- has joined #nixos
spudly- has quit [Changing host]
spudly- has joined #nixos
nek0 has quit [Remote host closed the connection]
m_hackerfoo has quit [Ping timeout: 260 seconds]
philr has quit [Ping timeout: 256 seconds]
kn_ has joined #nixos
spudly has quit [Ping timeout: 256 seconds]
spudly- is now known as spudly
<{^_^}> [nixpkgs] @bennofs merged pull request #94159 → librespot: 0.1.1 -> 0.1.3 → https://git.io/JJuyc
<{^_^}> [nixpkgs] @bennofs pushed commit from @greizgh to master « librespot: 0.1.1 -> 0.1.3 »: https://git.io/JJD4F
<pikajude> i think i identified the problem with nix-index
<pikajude> the nixos cache is returning random garbage and marking it as json
<clever> pikajude: which url?
<pikajude> Content-Type: application/json
<pikajude> i'll say one thing, that does NOT look like json to me
ris has quit [Ping timeout: 264 seconds]
<pikajude> `file` also says it is "data"
<pikajude> so idk what it's supposed to be :)
m_hackerfoo has joined #nixos
<clever> > brotli
<{^_^}> "<derivation /nix/store/gy7hc5y2wmy7drb31w5chahvf3p99xfs-brotli-1.0.7.drv>"
<clever> pikajude: the cache has been using this for compression of some stuff
<pikajude> i see
mallox has joined #nixos
<clever> [nix-shell:~]$ brotli -d < 7rvaglzhlx2q2dlnqi71nhj9z6n2jnay.ls
<clever> {"version":1,"root":{"type":"regular","size":579972,"narOffset":96}}
<clever> pikajude: bingo, its brotli compressed json
<pikajude> cool, that just worked for me as well
<pikajude> very weird
<pikajude> i wonder why `file` doesn't recognize it
<pikajude> also, turns out nix-index has supported this for 3 years
<pikajude> maybe that's just a false positive
<clever> its a relatively new compressing algo
<pikajude> it doesn't appear to give a Content-Encoding in the header though
<clever> yeah, that does seem weird
<clever> see if the headers differ for older store paths
<pikajude> idk how to find an old one
kn_ has left #nixos ["https://quassel-irc.org - Chat comfortably. Anywhere."]
<pbogdan> pikajude: are you seeing `nix-index` not being able to find a lot of paths?
<pikajude> yeah
<pikajude> i got annoyed about it today
<pikajude> so i'm trying to fix it
<clever> pikajude: grab an older nixpkgs rev, and eval a random package
<clever> take the hash from $out, and stick it in the url you gave before
<pbogdan> there was a bug in Nix that moved the location of .ls NAR listings
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1ae91468036 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<pikajude> because i was trying to write a fhs wrapper for an application and i couldn't remember which package has libgobject
<pikajude> oh i see
<pikajude> is it fixed now or
<pbogdan> from <hash>.ls to <hash>-<name>.ls
<pikajude> oh
<pbogdan> so nix-index couldn't find them
<pbogdan> Eelco deployed a fix on hydra.nixos.org
<pikajude> ok
<pikajude> but cache.nixos doesn't have it
<pbogdan> yeah
cole-h has joined #nixos
<clever> pikajude: hydra uploads to cache.nixos.org as builds finish
<pbogdan> the fix isn't retrospective
<pikajude> oh, does it? ok
mallox has quit [Quit: WeeChat 2.9]
<pbogdan> but once a mass rebuild happens all should be good
<clever> pikajude: it will only re-upload (and fix the missing files) if a mass rebuild causes it to rebuild things
<pikajude> well, in the meantime, i wonder if i can just change the URL template in nix-index
<pikajude> and if that will work
<clever> pikajude: that would also work
alp has quit [Ping timeout: 246 seconds]
<pikajude> i knew it
mallox has joined #nixos
<pikajude> there are so many clippy warnings in this repo, i want to fix them all
mallox has quit [Client Quit]
<pbogdan> yeah, see the above, I used that for just testing to verify the .ls files moved
mallox has joined #nixos
mallox has quit [Client Quit]
mallox has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.8]
thc202 has quit [Ping timeout: 260 seconds]
niso has quit [Ping timeout: 256 seconds]
meh` has joined #nixos
ddellacosta has joined #nixos
dozn has quit [Quit: I'm probably just changing some settings or have had an outage, I'll be back soon.]
dozn has joined #nixos
nek0 has joined #nixos
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #70925 → pythonPackages.rcfile: init at 0.1.4 → https://git.io/Jelt4
niso has joined #nixos
maier has joined #nixos
griff_ has joined #nixos
niso has quit [Ping timeout: 246 seconds]
karantan has joined #nixos
adamkowalski has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @jonringer merged pull request #79186 → ifmetric: init at 0.3 → https://git.io/JvGId
<{^_^}> [nixpkgs] @jonringer pushed commit from @anna328p to master « ifmetric: init at 0.3 »: https://git.io/JJDEf
maier has quit [Ping timeout: 264 seconds]
<{^_^}> [patchelf] @corngood opened pull request #226 → add --clear-symbol-version → https://git.io/JJDET
magnetophon has quit [Remote host closed the connection]
magnetophon has joined #nixos
karantan has quit [Client Quit]
<bqv> > lib.types.undefined
<{^_^}> attribute 'undefined' missing, at (string):320:1
<bqv> > lib.types.untyped
<{^_^}> attribute 'untyped' missing, at (string):320:1
<bqv> > lib.types.unspecified
<{^_^}> { _type = "option-type"; check = <CODE>; description = <CODE>; emptyValue = <CODE>; functor = <CODE>; getSubModules = null; getSubOptions = <CODE>; merge = <CODE>; name = "unspecified"; substSubModule...
rajivr has quit [Quit: Connection closed for inactivity]
<bqv> bingo
niso has joined #nixos
nek0 has quit [Quit: ZNC 1.7.5 - https://znc.in]
nek0 has joined #nixos
<nature> if I want to add my own derivation to configuration.nix, what's the simplest way ?
orivej has joined #nixos
<nature> doing a separate file and importing it into systemPackages ?
<{^_^}> [nixpkgs] @corngood opened pull request #95103 → p4: init at 2020.1.1991450 → https://git.io/JJDEF
<Ke> separate file not even strictly needed
<nature> I mean I could do a let..in too right ?
<{^_^}> [nixpkgs] @kcalvinalvin opened pull request #95104 → Add btcpayserver → https://git.io/JJDEA
<Ke> yes
niso has quit [Ping timeout: 240 seconds]
<Ke> I use let in, even if it's on separate file, but not necessary either
<kini> It looks like the ofborg x86_64-darwin builder has been down for a couple of days? But I don't see any instance metrics for it at https://monitoring.nix.ci/d/000000002 . I guess the x86_64-darwin builder is a non-cloud machine, or something?
<Ke> I think you could even just write the expression directly to systemPackages, if you wanted
<nature> and if I want a separate file, I should do "(import myderivation.nix)" in systemPackages ?
<nature> Ke: ok thx, I still want to keep it relatively clean
<{^_^}> [nixpkgs] @jonringer merged pull request #94940 → grobi: 0.5.1 -> 0.6.0 → https://git.io/JJXjp
<{^_^}> [nixpkgs] @jonringer pushed commit from @afreakk to master « grobi: 0.5.1 -> 0.6.0 »: https://git.io/JJDut
<Ke> normally you'd pass pgks and libs there, but I think that would just import it as a function
<Ke> and then pkgs.stdenv.mkDerivation or whatever
stephaneyfx has quit [Remote host closed the connection]
woffs has quit [Remote host closed the connection]
<symphorien[m]> > and if I want a separate file, I should do "(import myderivation.nix)" in systemPackages ?
<symphorien[m]> if the file starts with `{stdenv, cmake, lib1, lib2 }:` then you must import it will `pkgs.callPackage ./file.nix {}`
<{^_^}> error: syntax error, unexpected IF, expecting ')', at (string):320:5
<nature> okay symphorien[m] thanks!
<nature> symphorien[m]: out of curiosity, what's the difference between callPackage and import ?
<nature> callPackage, calls the derivation (like a function) ?
<symphorien[m]> callPackage calls the function with the content of pkgs
<nature> ok :D
<symphorien[m]> import would result in just the function
<symphorien[m]> you would have to call it by yourself
<{^_^}> [nixpkgs] @jonringer merged pull request #92990 → inkcut: init at 2.1.1 → https://git.io/JJYpo
<{^_^}> [nixpkgs] @jonringer pushed 5 commits to master: https://git.io/JJDul
<nature> ok, and the {} at the end of `pkgs.callPackage ./file.nix {}` means that we don't pass arguments ? or does it mean an empty body ?
<symphorien[m]> you can override arguments by passing them to callPackage
stephaneyfx has joined #nixos
<symphorien[m]> {} means "keep all default values"
<nature> kk great, thanks you again
<symphorien[m]> `pkgs.callPackage ./foo.nix { python = python3.withPackages (pkgs: [ pkgs.numpy ]); }`
<symphorien[m]> this changes what python is provided to the derivation
gthm has joined #nixos
alp has joined #nixos
ris has joined #nixos
karantan has joined #nixos
karantan has quit [Client Quit]
<nature> got it
<tokudan> so, i got a message from github that a job for a pull request failed. I don't see what it is supposed to do or check: https://github.com/NixOS/nixpkgs/actions/runs/202868755
lsix has quit [Ping timeout: 260 seconds]
lsix has joined #nixos
Guest84 has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.7.1]
niso has joined #nixos
user_0x58 has joined #nixos
Guest84 has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @mikefaille opened pull request #95106 → tanka: add bash completion → https://git.io/JJDze
magnetophon has quit [Remote host closed the connection]
magnetophon has joined #nixos
magnetophon has quit [Remote host closed the connection]
cantstanya has joined #nixos
kenran has joined #nixos
<demize> Seems it timed out waiting for ofborg.
seku has joined #nixos
<demize> (Which is the CI infra thing.)
magnetophon has joined #nixos
magnetophon has quit [Client Quit]
gthm has quit [Ping timeout: 246 seconds]
griff_ has quit [Quit: griff_]
<fooker> is there something like a "contant" for modules?
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<energizer> fooker: explain?
<fooker> i would like to have a module with an option 'foo'
<fooker> and something in that module, which evaluates to config.foo + "bar"
<fooker> i.e. some derived value depending on one (ore more) options in that module
<ilya-fedin> Why Nix forces me to enable nscd if I don't want to?
<ilya-fedin> - Loading NSS modules from system.nssModules (/nix/store/ryiv1g8q35ymmgjraynj2ayxvvn76j65-systemd-245.6/lib), requires services.nscd.enable being set to true.
<fooker> or is that complete non-sense?
<nature> why is the sha256 hash of a single github url inconsistent through multiple calls of nix-prefetch-url ?
knupfer1 is now known as knupfer
<energizer> fooker: i think you can just do that
<clever> nature: read the output, is it html or a tar?
<fooker> energizer: how? everything that I define in the modules config needs an acording option, right?
<tokudan> nature, you may need this: curlOpts = "--location";
<nature> clever: Oh, so nix-prefetch-url acts like curl and just downloads the html ?
<clever> nature: depends on what URL you point it to
<nature> I just need the sha256 of a repo at a specific commit in order to use in in fetchFromGithub
<clever> nature: what URL did you run it against?
<energizer> fooker: i think i dont understand the question, but much better people than me are around so i should pipe down :)
<clever> nature: yeah, that wont work right, you want https://github.com/LukeSmithxyz/archive/de6fd85eeb544548ed5ad23a639eedd6af510036.tar.gz i believe
<clever> nature: and use nix-prefetch-url --unpack
malook has joined #nixos
<fooker> energizer: thanks. I think I will come up with an better example
<nature> clever: oooh ok, I didn't know about the unpack
<nature> thanks
malook has quit [Client Quit]
malook has joined #nixos
<clever> also,
<clever> ,tofu nature
<{^_^}> nature: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000), then replace it with the correct hash Nix expected. For inserting 52 0's in vim: <esc>52i0<esc>
<fooker> energizer: here is the example: https://paste.linuxlounge.net/44MQ
<fooker> 'Module 1' show what I want to declare
<fooker> and 'Module 2' show how I imagine to use it
<fooker> but I don't know hot to define 'example.bar' correctly (or if it is even possible)
ramses_ has quit [Ping timeout: 256 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<energizer> fooker: is mkExpression a thing?
<bqv> > lib.mkExpression
<{^_^}> attribute 'mkExpression' missing, at (string):320:1
tokudan has joined #nixos
<fooker> energizer: no. that' what I'm looking for
tokudan has quit [Remote host closed the connection]
meh` has quit [Ping timeout: 256 seconds]
<bqv> ?
<bqv> you dont need any of that
<energizer> fooker: i think you want options.example.bar = mkOption {type = types.str;}; config.example.bar = config.example.foo + "bar";
<bqv> yeah
<fooker> oh, I see
knupfer has quit [Ping timeout: 260 seconds]
<fooker> I will try...
knupfer has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.8]
nature has quit [Quit: WeeChat 2.9]
kenran has quit [Quit: leaving]
alp has quit [Ping timeout: 246 seconds]
tokudan has joined #nixos
malook has quit [Quit: malook]
<{^_^}> [nixpkgs] @asbachb opened pull request #95108 → roundcube: 1.4.7 -> 1.4.8 → https://git.io/JJD2B
ddellacosta has joined #nixos
fendor_ has quit [Ping timeout: 264 seconds]
nature has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
<fooker> energizer: bqv: seems to work. thanks
<nature> Does anybody uses ungoogled-chromium with home-manager ?
<{^_^}> [nixpkgs] @Ma27 opened pull request #95109 → nixos/nextcloud: add documentation for alternative reverse-proxies → https://git.io/JJD2D
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
dermetfan has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has joined #nixos
Pidgeotto has quit [Excess Flood]
quinn has joined #nixos
sangoma has joined #nixos
toto[m] has joined #nixos
isidore has joined #nixos
jco has quit [Quit: WeeChat 2.9]
pinkieval has quit [Killed (Sigyn (Stay safe off irc))]
drakonis has quit [Quit: ZNC 1.8.1 - https://znc.in]
pinkieval has joined #nixos
isidore has quit [Client Quit]
aveltras has joined #nixos
<aveltras> does anyone know from which package the "gsettings" binary comes ?
adamkowalski has joined #nixos
<clever> ,locate bin gsettings
<{^_^}> Found in packages: glib.bin
<adamkowalski> I am trying to load up a patch that I've created for my st terminal
<clever> aveltras: that one
<adamkowalski> I forked the repo and uploaded to github
<adamkowalski> created a commit and pushed up, navigated to the commit and then added .diff to the end of the url
<adamkowalski> but how I do get the sha 256 that nix wants
<aveltras> clever: thanks
<nbathum> is ... rebuilding inside a chroot possible?
<clever> nbathum: nixos-rebuild is just a shell script to run `nixos-rebuild build` under a chroot
<clever> nbathum: oops, typo!
<clever> nbathum: nixos-install is just a shell script to run `nixos-rebuild build` under a chroot
realisation has quit [Ping timeout: 256 seconds]
<nbathum> :)
realisation has joined #nixos
<adamkowalski> nevermind I just wget the file and then cat to sha256sum
oida has quit [Quit: byez]
<adamkowalski> is there a better way?
realisation has quit [Ping timeout: 240 seconds]
<nicolas[m]1> nix-prefetch-url
<{^_^}> [nixpkgs] @ryantm merged pull request #95075 → hcxdumptool: 6.1.0 -> 6.1.1 → https://git.io/JJDJP
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJDaO
<{^_^}> [nixpkgs] @dasj19 opened pull request #95110 → orca: 3.36.3 -> 3.36.4 → https://git.io/JJDa3
realisation has joined #nixos
<{^_^}> [nixpkgs] @bachp opened pull request #95111 → Minio update → https://git.io/JJDaW
sangoma has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @bachp closed pull request #89849 → minio: 2020-05-01T22-19-14Z -> 2020-06-03T22-13-49Z → https://git.io/JfDpT
drakonis has joined #nixos
kleisli_ has quit [Remote host closed the connection]
kleisli_ has joined #nixos
seku has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to glibc232: https://git.io/JJDaF
<adamkowalski> Is there a mechanism to apply local patches?
ml| has quit [Ping timeout: 265 seconds]
thblt has joined #nixos
thblt has left #nixos ["ERC (IRC client for Emacs 27.1)"]
<energizer> my /nix/var/nix/db/db.sqlite is destroyed. can i make a new one?
<bqv> of course. just might not have the same things in it :p
<energizer> what can i do to salvage this situation?
maier has joined #nixos
<bqv> one of the great things about a nix store is that they're almost perfectly reproducible...
<clever> energizer: with that file gone, your entire /nix/ is basically toast, re-run nixos-install to build it from config again
gthm has joined #nixos
<drakonis> i'm getting some issues with acme right now
<drakonis> something something permission denied
<drakonis> extremely irritatin
<drakonis> irritating
<bqv> add some users to the keys group
<energizer> clever: in theory is it possible to rebuild the db from /nix?
<bqv> my understanding is, if the nix store were a filesystem, that db would be the superblock
<drakonis> do tell
<clever> energizer: not easily
<drakonis> weird how that stuff was working before
maier has quit [Ping timeout: 240 seconds]
<bqv> i dunno, i just remember that i have to add things to the keys group for them to be able to get at my acmes
<bqv> might just be a hack i do though
kleisli_ has quit [Ping timeout: 244 seconds]
adamkowalski has quit [Quit: Lost terminal]
<energizer> clever: which parts are stored elsewhere in /nix and which parts are not? https://bpa.st/raw/ZWGA
Church- has joined #nixos
<drakonis> ahhh
<drakonis> okay
<drakonis> looks like the fix will come soon
<{^_^}> #89502 (by hansjoergschurr, 9 weeks ago, open): nixos/modules/security/acme: Issuing multiple certificates fails due to wrong file permissions
gthm has quit [Ping timeout: 240 seconds]
<Raito_Bezarius> Is there a nice script to auto-install NixOS quickly using btrfs or ext4, bonus for encryption + remote unlocking through ssh? (justdoit uses ZFS for the root device)
<{^_^}> [nixpkgs] @callahad opened pull request #95112 → exiv2: Patch cmake files to correctly locate libs → https://git.io/JJDVV
<drakonis> uh
<drakonis> set up your configs, doe.
<clever> energizer: db.sqlite contains a list of every entity in /nix/store/ and the hash of that entity, and what the deps of each one are
<clever> energizer: re-creating the deps would be difficult, and recreating the hash can cause problems if something is corrupted
domogled has quit [Remote host closed the connection]
<{^_^}> #91121 (by m1cr0man, 7 weeks ago, open): Restructure acme module
<drakonis> wonderful.
domogled has joined #nixos
ml| has joined #nixos
<drakonis> guess i should set up flakes on my server
<bqv> hmm, cool
<drakonis> i want to fetch those acme patches
charukiewicz has quit [Read error: Connection reset by peer]
cjpbirkbeck has joined #nixos
<inquisitiv3> Is there anything else other than nix.dev's anti-pattern list to keep in mind while reading Nix pills today?
<drakonis> i think i already use unstable on the server
<drakonis> might as well set up a configuration flake
<drakonis> would really like to use basalt though
<energizer> clever: turns out you can rm /nix/var/nix/db and then running nix-build will do make a new one
shibboleth has joined #nixos
<clever> energizer: yep, but now nix will consider every single path in /nix/store to be invalid, including the nix binary itself
mallox has quit [Quit: WeeChat 2.9]
<clever> energizer: if you try to download that nix binary, it will delete itself first, and cause major problems
<energizer> clever: so i should curl|sh reinstall nix?
<clever> energizer: and the only way to recover from that is to run nixos-install from an install media
<clever> energizer: is this nixos or another distro?
<energizer> clever: target computer is not nixos
<clever> ahh, that makes it a bit simpler to recover
<clever> youll want to run nix-env -i, on the path to a nix binary, that doesnt match your current nix binary
<clever> what does `which nix-env` return?
<energizer> clever: /nix/store/4vz8sh9ngx34ivi0bw5hlycxdhvy5hvz-nix-2.3.7/bin/nix-env
<clever> > "${nix}"
<{^_^}> "/nix/store/5rpv7k2a9w4ipgvwsramblhvkfp385sb-nix-2.3.7"
<clever> energizer: try doing nix-env -i /nix/store/5rpv7k2a9w4ipgvwsramblhvkfp385sb-nix-2.3.7
<energizer> replacing old 'nix-2.3.7' installing 'nix-2.3.7'
<energizer> error: path '/nix/store/sc1v18vx12lbagxl84g1k425amkc7c23-home-manager-path' does not exist and cannot be created
* clever checks man page
<clever> energizer: try `nix-env -r -i /nix/store/5rpv7k2a9w4ipgvwsramblhvkfp385sb-nix-2.3.7`
<energizer> building '/nix/store/rnkjvb89p0c7j9kaacllhng8hn1dhzvc-user-environment.drv'...created 5 symlinks in user environment
<clever> now the nix binary is a valid thing in the store, and its less likely to brick itself
<{^_^}> [nixpkgs] @samuelgrf opened pull request #95113 → firefox-bin: ffmpeg_3 -> ffmpeg → https://git.io/JJDwB
<clever> you can re-install everything else you had in nix-env as normal, probably starting with reinstalling home-manager
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos
<energizer> clever: https://bpa.st/ZFFQ
<clever> energizer: you may need to wipe the channels profile also, `rm /nix/var/nix/profiles/per-user/clever/channels*`
<clever> for similar reasons to using `nix-env -r` earlier
<energizer> clever: rm /nix/var/nix/profiles/per-user/*/channels* didnt help, same error
<clever> energizer: what about `which nix-channel` ?
<energizer> /nix/store/4vz8sh9ngx34ivi0bw5hlycxdhvy5hvz-nix-2.3.7/bin/nix-channel
<{^_^}> [nixpkgs] @Ma27 merged pull request #95108 → roundcube: 1.4.7 -> 1.4.8 → https://git.io/JJD2B
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJDwD
<clever> energizer: it should be pointing to the one in ~/.nix-profile
<clever> energizer: something is wrong with your $PATH
<energizer> clever: ~/.nix-profile/bin/nix-channel --update error: path '/nix/store/f93d5qmv20a76gsi3ml4jnv2awrnys5s-nix-2.3.2-x86_64-unknown-linux-musl' does not exist and cannot be created
<{^_^}> [nixpkgs] @Ma27 pushed commit from @asbachb to release-20.03 « roundcube: 1.4.7 -> 1.4.8 »: https://git.io/JJDwp
<clever> energizer: anything funny about musl in /etc/nix/nix.conf or `nix show-config` ?
<energizer> $ nix show-config| grep musl -> sandbox-paths = /bin/sh=/nix/store/f8734yzpa666hm51rm1zhyaqmq7qjj4l-busybox-1.31.1-x86_64-unknown-linux-musl/bin/busybox
<clever> thats a different musl
<clever> not sure whats breaking it now, try a garbage collect, to just blow away most things?
alp has joined #nixos
<energizer> i'm gonna try restoring from a backup before that
endformationage has joined #nixos
<jasom> https://nixos.wiki/wiki/NixOS_on_ARM/ODROID-C2 only contains instructions for booting on an odroid with an emmc; is it possible to install with just an sd card?
kleisli_ has joined #nixos
cosimone has quit [Ping timeout: 260 seconds]
lsix has quit [Ping timeout: 244 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<energizer> clever: i wont' be able to use anything in /nix anymore, right, so i might as well just rm it and reinstall?
<clever> energizer: yeah
<dminuoso> Mmm, Im trying: /usr/bin/env bash -c -- echo "hello world"
<dminuoso> But I get no output from that. Why might that be?
cosimone has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #95101 → php: Drop PHP 7.2 support → https://git.io/JJD85
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJDr6
<energizer> dminuoso: /usr/bin/env bash -c 'echo "hello world"'
<{^_^}> [nixpkgs] @raboof opened pull request #95114 → inkscape: allow loading external extensions → https://git.io/JJDr1
<dminuoso> energizer: Ah mmm. What a shame. :(
<energizer> ?
<{^_^}> [nixpkgs] @Infinisil merged pull request #95038 → dijo: 0.2.2 -> 0.2.3 → https://git.io/JJMrh
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JJDr9
<dminuoso> energizer: Well that just makes my life harder, because now I need to quote arguments. :p
<dminuoso> I cant just feed my list into that
<{^_^}> [nixpkgs] @primeos opened pull request #95115 → chromium: 84.0.4147.105 -> 84.0.4147.125 → https://git.io/JJDrb
oida has joined #nixos
<{^_^}> [nixpkgs] @apeyroux opened pull request #95116 → molotov: init at 4.2.2 → https://git.io/JJDoJ
Soo_Slow has joined #nixos
Soo_Slow has quit [Remote host closed the connection]
<energizer> clever: still getting $ nix-channel --update -> error: path '/nix/store/f93d5qmv20a76gsi3ml4jnv2awrnys5s-nix-2.3.2-x86_64-unknown-linux-musl' does not exist and cannot be created
<{^_^}> [nixpkgs] @apeyroux closed pull request #95116 → molotov: init at 4.2.2 → https://git.io/JJDoJ
__monty__ has quit [Quit: leaving]
knupfer has quit [Ping timeout: 260 seconds]
anderslu1dstedt has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/372735e88eb (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
anderslundstedt has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @drewrisinger opened pull request #95118 → reno: 2.3.2 -> 3.1.0 → https://git.io/JJDog
dermetfan has quit [Ping timeout: 260 seconds]
dermetfan has joined #nixos
b1000101 has joined #nixos
freezeboy has joined #nixos
{`-`} has joined #nixos
<chipb> typetetris: curious if you stumbled into a solution for your nixops flake w/ nixops-libvirtd thing.
<typetetris> chipb: Thanks. I think I have a better mental model now of this. Everytime I want to pin the nixpkgs verison, I develop a flake actually.
<typetetris> Yeah, thanks to adisbladis, he did some example, I added some plugins more: https://github.com/typetetris/nixops-with-plugins
<o1lo01ol1o> ...So I ran out of disk space while editing /etc/nixos/configuration.nix. Now it's blank. Is there a way to get a previous version?
<typetetris> But he had to write the "merging" of python packages by hand.
<chipb> I feel like it must be a terribly obvious fix, but nothing really jumped out at me. maybe you can .override python= of the defaultPackage of the nixops flake.
<chipb> ah, nice. I'll take a look.
<typetetris> o1lo01ol1o: Sorry, but I think your out of luck, if you didn't had it in git or something.
<o1lo01ol1o> typetetris: whoa. That sucks.
anderslu1dstedt has quit [Ping timeout: 264 seconds]
<typetetris> o1lo01ol1o: Doesn't help you now, but if flakes hit nix,
<typetetris> they will do that better
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @langston-barrett closed pull request #89030 → gcc9: don't run patchELF on statically linked binaries → https://git.io/Jfro8
<dottedmag> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
euandreh has joined #nixos
<dottedmag> Could someone share a snippet of building a custom kernel with custom both tarball and full config (not extra)?
<{^_^}> [nixpkgs] @nh2 merged pull request #94205 → openexr, ilmbase: Fix compilation on non-glibc. → https://git.io/JJgTm
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JJDKp
tchouri has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
cosimone has quit [Quit: Quit.]
aveltras has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
cosimone has joined #nixos
hekkaidekapus has quit [Ping timeout: 240 seconds]
<colemickens> does anyone have a nix snippet handy for output an attrset that is env vars and a single string of "K1=V2 K2=V2" string
erasmas has quit [Quit: leaving]
o1lo01ol1o has quit [Remote host closed the connection]
spease has joined #nixos
freezeboy has quit [Remote host closed the connection]
tazjin has quit [Quit: Byeee]
<spease> I'm trying to compile halide on OS X, but it appears that it's only using llvm 7.10. I looked at the nix repository, and it looks like 10.0.1 should support all platforms (https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/llvm/10/llvm.nix). Is there a way to specifically have it try to select this version in the buildInput?
<spease> Thanks...
andi- has quit [Ping timeout: 260 seconds]
tazjin has joined #nixos
<sphalerite> dottedmag: I'm not sure I have a working snippet handy, but the gist of it should look something like… buildLinux { src = _your_tarball_here_; version = "5.7.7"; configfile = ./kernel-config; kernelPatches = []; autoModules = false; }
maier has joined #nixos
<sphalerite> dottedmag: the version needs to match that in the kernel, including the localversion string
maier has quit [Ping timeout: 246 seconds]
<cole-h> sphalerite: What does `autoModules` do?
<sphalerite> cole-h: enables all options that can be enabled as modules as modules rather than disabling them
ericsagnes has quit [Ping timeout: 272 seconds]
<sphalerite> dottedmag: oh wait sorry, it's not buildLinux that you want but linuxManualConfig I think
alexherbo2 has quit [Ping timeout: 240 seconds]
kalbasit has joined #nixos
<sphalerite> hang on, I'll actually try it.
<DigitalKiwi> sphalerite++
<{^_^}> sphalerite's karma got increased to 104
andi- has joined #nixos
<spease> Anyone know why nix seems to consistently be using an old version of llvm? :-/ Or is there any way to get it to explain version selection? I am getting 7.1 instead of 10
<cole-h> What channel are you on?
<cole-h> Oh, nevermind
<cole-h> Seems we still default to 7.1 for whatever reason
<spease> cole-h is there a way to override that in an expression?
<cole-h> spease: `pkg.override { llvm = llvm_10; }` for example
<spease> cole-h thanks
dadada_ has quit [Ping timeout: 256 seconds]
ericsagnes has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0dc87c6e54f (from 11 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<sphalerite> dottedmag: https://gist.github.com/lheckemann/a405e5489531a6bf663f466f90c29687 two fully working examples :)
m0rphism has quit [Ping timeout: 265 seconds]
<sphalerite> dottedmag: for your keyboard issue, it may well be that it's because nixos's default kernel doesn't have CrOS EC support (gated behind CONFIG_GOOGLE_FIRMWARE)
<sphalerite> and the EC handles the keyboard
<{^_^}> [nixpkgs] @andersk opened pull request #95119 → mwic: Fix Python wrapping → https://git.io/JJD6x
mbrgm_ has joined #nixos
dadada_ has joined #nixos
lsix has joined #nixos
lsix has quit [Client Quit]
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
zangi has left #nixos ["WeeChat 2.7.1"]
nature has quit [Ping timeout: 260 seconds]
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 264 seconds]
noudle has quit []
Rusty1 has joined #nixos
incognito9999_ has quit [Ping timeout: 240 seconds]
b1000101 has quit [Quit: Lost terminal]
sputny has joined #nixos
incognito9999 has joined #nixos
philr has joined #nixos
cosimone has quit [Quit: Quit.]
sigmundv has quit [Ping timeout: 260 seconds]
sputny has quit [Remote host closed the connection]
smatting_ has quit [Ping timeout: 244 seconds]
pamplemousse has quit [Ping timeout: 240 seconds]