worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || 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-inf
moet has quit [Ping timeout: 260 seconds]
lord| has quit [Ping timeout: 264 seconds]
lord| has joined #nixos
<cjpbirkbeck> ah, seems like neither resetting the bios nor removing the coin battery fixes it :(
<cjpbirkbeck> i thinking i'm going ask a hardware forum or the asking a computer repart shop afterwards
Rusty1 has joined #nixos
<cjpbirkbeck> thanks for your suggestions, in any case
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #103942 → cc65: init at 2.18 → https://git.io/JkZdf
<simpson> Good luck. Hope the magic smoke's still in there.
shibboleth has quit [Quit: shibboleth]
hlolli has quit [Ping timeout: 272 seconds]
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> How do I pin 20.09?
lord| has quit [Ping timeout: 246 seconds]
<samueldr> selfsymmetric-mu: the nixpkgs-channel repository is deprecated
<samueldr> selfsymmetric-mu: the mirrors of the channel branches is now in the main nixpkgs repo
Acou_Bass has quit [Quit: ZNC 1.8.1 - https://znc.in]
<selfsymmetric-mu> Ah, "https://github.com/NixOS/nixpkgs/archive/nixos-20.09.tar.gz", perfect, thank you.
<selfsymmetric-mu> samueldr++
<{^_^}> samueldr's karma got increased to 297
<samueldr> you're not the first one to now know or notice; https://github.com/NixOS/nixpkgs-channels/pull/26
<{^_^}> nixpkgs-channels#26 (by changlinli, 2 days ago, open): Update README to reflect why this repo is archived
andreas303 has quit [Remote host closed the connection]
lord| has joined #nixos
Acou_Bass has joined #nixos
Dotz0cat has quit [Ping timeout: 246 seconds]
andreas303 has joined #nixos
<selfsymmetric-mu> samueldr: Thanks for helping us find our way. :)
selfsymmetric-mu has quit [Remote host closed the connection]
Dotz0cat has joined #nixos
jbox has joined #nixos
astrofog has joined #nixos
<jbox> if anybody uses influxdb here, could you send me a paste with your influxdb configuration from configuration.nix? I'm having a hard time figuring out what all I should and shouldn't specify
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
keithy[m] has joined #nixos
<keithy[m]> Hi there, I am looking for the best place in configuration to put a startup script to run a setpci command on boot.
<keithy[m]> not sure it's worth a whole systemd unit
lord| has quit [Ping timeout: 265 seconds]
icey_ has quit [Ping timeout: 240 seconds]
lord| has joined #nixos
pushqrdx has joined #nixos
icey_ has joined #nixos
<infinisil> keithy[m]: systemd units aren't expensive, so I'd just go for it
<infinisil> Also, systemd lets you define exactly what "on boot" means
<keithy[m]> I figured..
<keithy[m]> beginners guide?
<aidenholmes> I'd use cron for that
Acou_Bass has quit [Ping timeout: 256 seconds]
<aidenholmes> here an example in my config:
<aidenholmes> ```
<aidenholmes> systemCronJobs = [
<aidenholmes> services.cron = {
<aidenholmes> enable = true;
<aidenholmes> $ grep -A 5 services.cron /etc/nixos/configuration.nix
<aidenholmes> "@reboot tony syncthing --no-browser"
<aidenholmes> ];
<aidenholmes> };
<aidenholmes> ```
<aidenholmes> oh damn that sent as multiple messages didn't it, sorry
<clever> aidenholmes: you just want a systemd service, cron is being horribly abused, lol
<clever> aidenholmes: services.syncthing.enable = true; will set one up for you
<aidenholmes> I tried that at first, it runs syncthing as root and sets the home folder to /var/lib/syncthing
<clever> aidenholmes: services.syncthing.user
<keithy[m]> i'm using systemd got confused when keybouad was using alternative quote character
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
icey_ has quit [Ping timeout: 246 seconds]
<clever> aidenholmes: services.syncthing.dataDir
<aidenholmes> ah, too late on my system then lol, I don't want to risk having to setup the folders again, but I'll stop recommending cron for syncthing on nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ has joined #nixos
mbrgm_ is now known as mbrgm
chloekek has quit [Remote host closed the connection]
icey_ has joined #nixos
phaebz has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ajs124 merged pull request #103901 → firefox: 82.0.2 -> 82.0.3, firefox-esr: 78.4.0esr -> 78.4.1esr → https://git.io/JkGF8
<{^_^}> [nixpkgs] @ajs124 pushed 3 commits to master: https://git.io/JkZpB
m0rphism has quit [Ping timeout: 256 seconds]
iceypoi has joined #nixos
lord| has joined #nixos
<pushqrdx> so i still have a very strange feeling when i do migration changes on nixos and i am sure it stems from ignorance
<pushqrdx> i was hopping through many unstable commits all the day and i got 40 generations and 60gb nix store
<pushqrdx> if i garbage collect how clean the system will be, brand new?
<colemickens> pushqrdx: nixos doesn't do anything special with your data.
<colemickens> pushqrdx: I've seen you asking about state and data before, nixos generations do not rollback data. They do not clean tmp files. They don't clear caches.
gentauro has quit [Read error: Connection reset by peer]
icey_ has quit [Ping timeout: 260 seconds]
<colemickens> If you GC, the only thing that will change is what paths are in /nix/store and the in nix store DB.
<pushqrdx> i asked about that before? srry i don't remember
<colemickens> (and of course any OS-level config changes that were part of the nixos configuration)
<pushqrdx> so what tmp/cache files get left of? only home dir?
gentauro has joined #nixos
turlando has quit [Ping timeout: 256 seconds]
<colemickens> pushqrdx: I just feel like I saw you asking about the rollbacks + state/data management, and just kinda wanted to offer up these facts to help clarify; that's all.
<colemickens> pushqrdx: for me, most of my "drifting state" on a nixos system come from ~/ and /var/lib/....
<colemickens> pushqrdx: there are "advanced" techniques where you can configure the entire system to be "wiped", except for white-listed exceptions.
ravndal has quit [Ping timeout: 272 seconds]
<colemickens> to learn more about that, you can read: https://grahamc.com/blog/erase-your-darlings or check out this project https://github.com/nix-community/impermanence
<{^_^}> [nixpkgs] @maralorn pushed to haskell-updates « haskell.packages.ghc901.th-abstraction: Fix eval error »: https://git.io/JkZh3
<colemickens> (also, I use boot.tmpOnTmpFs and boot.cleanTmpDir so my temp files get wiped regularly)
<pushqrdx> colemickens so there's stuff aside from home that won't be cleaned up by gc
<colemickens> pushqrdx: potentially. If you activate postgres, load it up with data, and then disable it, nixos will not delete that data, so /var/lib/postgres might still contain data.
<colemickens> pushqrdx: on the other hand, all of the configuration files for postgres, and the systemd unit, and the binaries for it... those things would be removed once you disabled them and ran GC
<colemickens> I don't know your exact end goal, but there is also "NIXOS_LUSTRATE":
<colemickens> " Support for NIXOS_LUSTRATE was added in NixOS 16.09. The act of "lustrating" refers to the wiping of the existing distribution. Creating /etc/NIXOS_LUSTRATE can also be used on NixOS to remove all mutable files from your root partition (anything that's not in /nix or /boot gets "lustrated" on the next boot. "
<pushqrdx> colemickens so GC won't delete the database, i'd love to be concious about those places where stuff are left of so i can manually go there and delete things if necessary
<pushqrdx> for instance a use case now is after a day of hopping through MANY stuff, i'd want to clean everything up as if i just installed nixos
<pushqrdx> without formatting
<colemickens> That's NIXOS_LUSTRATE then. Pretty easy, set that file, reboot, done.
<pushqrdx> and i'd want to really get rid of all traces of GC'ed stuff
<colemickens> NIXOS_LUSTRATE + disable options + rebuild + reboot + gc = basically 100% clean install state AFAICT
<pushqrdx> and it won't redownload anything again right?
<colemickens> correct, the only thing that would remove store paths is the GC at the end.
<colemickens> and at that point, your system config (especially the running one) would still be a valid GC root.
<colemickens> You'd lose things postgres of course though.
<colemickens> If you reactivated it, it would be redownloaded. (because of the gC)
moet has joined #nixos
<pushqrdx> yeah, understandable so NIXOS_LUSTRATE is just a file that if present nixos will throw out old mutable data on next reboot
Acou_Bass has joined #nixos
<pushqrdx> will it be automatically removed after one reboot or do i manually remove it?
<pushqrdx> also will it affect home in anyway?
zarel_ has quit [Ping timeout: 260 seconds]
zarel has joined #nixos
<simpson> It will remove /home. Anything not in /nix or /boot, including /home. Don't use it on systems where you have existing data that you want to preserve!
<simpson> It's important to grok the context. Lustrating is for cloud machines that need to be hosed down before usage. You could think of a pressure washer; I think of nasty corrosive cleaners used in chip fabrication.
<pushqrdx> so it's really as if i formatted and reinstalled nix, with the exception that i keep the store and don't have to redownload stuff from the internet
<simpson> (Actually, I do think of a pressure washer. I had an accident as a teenager where I lost a chunk of a finger because my hand was hit by a high-pressure water stream. Be careful with power tools.)
<simpson> Yes, exactly. Keeping the store has another important use: Nix itself lives in the store, so this enables post-lustration bootstrapping without having to reinstall Nix itself, which would be truly a drag.
<pushqrdx> this is excatly what i want to do rn cause after a day and 60gb of store i settled on some config that i want to persist but get rid of everything else and start as if i just installed it cleanly
<pushqrdx> simpson now you made me afraid of pressure washers ;D
astrofog has quit [Quit: Quite]
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos
<simpson> Ah. Part of the power of Nix is that you can always pretend that you just started from a clean installation. Lustration won't clear out space in the store; you'll need to GC instead.
ravndal has joined #nixos
cr4y1 has quit [Ping timeout: 264 seconds]
<pushqrdx> with this info now i can finally stop reinstalling it from usb like a dumdum because i always knew at the back of my head that there's some nasty left overs after a day of fiddling around
<pushqrdx> waster a lot of internet quota doing that though :D
<colemickens> This would be another good blog post.
<pushqrdx> colemickens i am stacking a bunch of these Q/A things, tbh nix and especially nixos is the best linux experience i ever had
<colemickens> :)
<pushqrdx> and i tried a lot, never had the freedom and control also awareness that i felt here
teto has quit [Ping timeout: 272 seconds]
m0rphism has joined #nixos
<bqv> d.nnr
<bqv> this is partly a h-m curiosity
<colemickens> bqv is that your version of "covfefe"
<bqv> but it's getting frustrating to iterate on configs to change something in my home-manager profile, because i have to build my whole network of systems
<bqv> anyone got a better model for that?
<bqv> colemickens: it means hello
<colemickens> oh! neat. hello!
<pushqrdx> i learned a hard lesson today though, never blindly upgrade (replacing current gen) on nix unstable :D
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JkneG
Acou_Bass has quit [Ping timeout: 272 seconds]
<pushqrdx> i wonder though what if i somehow only excluded home from Lustration, and kept the whole system at a frozen state
hnOsmium0001 has joined #nixos
<pushqrdx> what side effects could that entail
<pushqrdx> as far as i understand it won't affect nix-shell or any store thing anyway
<pushqrdx> and the only mutable place i want as my playground is my home
ris has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #103943 → python3Packages.xmlschema: 1.2.5 -> 1.3.1 → https://git.io/Jknvv
rajivr has joined #nixos
Acou_Bass has joined #nixos
teto has joined #nixos
tboston has joined #nixos
eoli3n has quit [Ping timeout: 246 seconds]
tboston has quit [Ping timeout: 272 seconds]
kalbasit has joined #nixos
<{^_^}> [nixos-org-configurations] @thefloweringash opened pull request #130 → hydra-queue-runner-reexporter: remove memory_tokens_in_use → https://git.io/Jknfb
daddy_james[m] has joined #nixos
pushqrdx has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a5d1246b47c (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/98e46cec92f (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
aidenholmes has left #nixos ["Quit - https://c.brettgilio.com/"]
o1lo01ol1o has joined #nixos
m0rphism has quit [Ping timeout: 256 seconds]
alp has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
wykurz has joined #nixos
wykurz has quit [Client Quit]
wykurz has joined #nixos
h0m1 has quit [Ping timeout: 272 seconds]
h0m1 has joined #nixos
<jbal[m]> I'm packaging some scripts that need `jq` and a few other tools, what's the best way to inject `jq` into them? `sed -e 's:jq:${pkgs.jq}/bin/jq:' ...`? `nix-shell` somehow?
teto has quit [Ping timeout: 272 seconds]
<ajs124> you could also wrap them with a PATH containing the dependencies
<Graypup_> anyone know how to get a qemu-system-user and a cross compiler?
<jbal[m]> That would probably be cleaner and less fragile than `sed` hacks I suppose.
<Graypup_> I've figured out the cross compiler part
<Graypup_> but I don't know how to get a qemu-system-user
<ajs124> Graypup_: do you want binfmt or just the qemu-system-user to run something manually?
<Graypup_> ajs124, it's ok to just have the qemu-system-user
<Graypup_> in fact i don't even mind if i have to statically link stuff
<Graypup_> what I'm trying to do is build a test harness for an ARM assembly algorithm
<Graypup_> so I'd (ideally) like rust cross compilation and a qemu to actually run
<ajs124> ok. I don't know that off the top of my head, but there is boot.binfmt.emulatedSystems
<ajs124> the things nixos/nixpkgs can do...
<Graypup_> hrm i have poked around at that but it was returning a command that just ran bash natively
<Graypup_> I took that qemu-user override but it was trying unsuccessfully to build a bunch of python crap for some reason, ultimately depending on p11-kit which was failing
<ajs124> not sure if this will work with any nix versions except the specific one I have right here, but:
<ajs124> nix-store -r $(nix eval --raw --impure --expr 'with import <nixpkgs> {}; (lib.systems.elaborate { system = "arm-linux"; }).emulator pkgs')
<ajs124> gives me something that seems to not run x86 binaries
<ajs124> anyway. I'm off. should have gone to bed hours ago.
<wykurz> hi, I'm trying to use nixops from latest master and running into a problem with existing deployment: "unknown resource type ‘ec2’" - has anyone seen that?
mzan has quit [Quit: No Ping reply in 180 seconds.]
mzan has joined #nixos
sigmundv__ has quit [Read error: Connection reset by peer]
sigmundv__ has joined #nixos
raghavsood has joined #nixos
<bqv> ok so my solution was to create a flake target that just builds my local machine and runs switch-to-configuration test, rather than deploying my full system
acarrico has quit [Ping timeout: 264 seconds]
<wykurz> ok, I figured out I need to use an AWS plugin with master. super confusing how to do that
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #88804 → cockroachdb: fix license → https://git.io/JfVJo
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/JknIA
<wykurz> ah, ok. creating a shell from nixops-aws repo seems to get me what I need...
<Graypup_> ajs124, looks like that causes me some fail since if I am in a crossSystem of arm, it will just resolve to the """"native"""" bash and build me a bash for arm, which is not what I wanted
<Graypup_> maybe I have to do it from a native nixpkgs?
orivej has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
<Graypup_> weiiiiird so I get a store path from that but it doesn't exist, and nix-store -r doesn't know how to build it either
<andrewrk> I'm on 20.03.3258.86fa45b0ff1 (Markhor) - is there an easy way to get the latest vscode?
zupo has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<Graypup_> i mean, the disk eating solution to this is to import nixpkgs master and grab vscode out of it, probably :)
zupo has joined #nixos
sigmundv__ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #102943 → verilog: unstable-2020-08-24 -> 11.0 → https://git.io/JTxhZ
<{^_^}> [nixpkgs] @thoughtpolice pushed 3 commits to master: https://git.io/Jknq3
vsiddharth has joined #nixos
acarrico has joined #nixos
<Graypup_> this is a hack job
<Graypup_> but meh
justanotheruser has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « firecracker: 0.22.0 -> 0.23.0 »: https://git.io/JknmC
ilmu has quit [Ping timeout: 272 seconds]
ilmu has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #103945 → grpcio: split outputs to remove build protobuf from closure → https://git.io/JknmP
<vsiddharth> Does anyone know how to use local git submodules as nix flake inputs? I can't seem to input relative paths.
<jbal[m]> Try `path:./submodule/path`
<jbal[m]> ie. as your flake input url
<{^_^}> [nixpkgs] @thoughtpolice pushed to release-20.09 « firecracker: 0.21.1 -> 0.21.3 »: https://git.io/JknYI
<vsiddharth> That worked, thank you! Is there documentation for these options anywhere apart from https://nixos.wiki/wiki/Flakes
ManiacOfMadness has joined #nixos
<vsiddharth> I was having trouble finding documentation for flakes in general :)
<jbal[m]> I can't remember how I found that one out lol. I remember trying file: etc... before figuring it out
<jbal[m]> That said. If your submodules are tracking remote repositories, you're better off pointing your inputs there. However, it's great for testing
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
<vsiddharth> It's in the case that different repos track different commits. Thank you again!
spacefrogg has joined #nixos
<jbal[m]> Yeah, flakes aren't very well documented at the moment. Nix in general could use better documentation, I find myself having to use GitHub's search function a lot
<vsiddharth> Which repos do you generally look at? nixpkgs or nix?
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #103854 → cloudflared: 2020.11.3 -> 2020.11.5 → https://git.io/Jks1D
<{^_^}> [nixpkgs] @thoughtpolice pushed 2 commits to master: https://git.io/JknYu
<jbal[m]> Nixpkgs, home-manager, filetype *.nix
justanotheruser has joined #nixos
<vsiddharth> Okay, thank you :)
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/98e46cec92f (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> [nixpkgs] @lopsided98 opened pull request #103946 → sshd: disable trigger limit for systemd socket → https://git.io/JknO7
Dotz0cat_ has joined #nixos
<matthewcroughan_> jbal[m]: you don't need docs when you have example repos :P
<matthewcroughan_> this is the absolute best example
Dotz0cat has quit [Ping timeout: 256 seconds]
<matthewcroughan_> colemickens: Are you around? I'm so close to getting a base level and usable understanding of Nix.
<matthewcroughan_> You give the example in your flake sample:
<matthewcroughan_> nix build 'github:colemickens/nixpkgs-wayland#obs-studio'
<matthewcroughan_> I understand what it means to build my whole flake, but what does it mean to only build that bit? What happens when I build that? What is happening automatically and what do I have to do manually?
<matthewcroughan_> Doing something that DOESN'T require switching/activating, I don't understand that bit yet.
Havvy has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
<jbal[m]> When used with nix build instead of nixos-rebuild, you're working with derivations instead of nixos configs
<matthewcroughan_> right, and it's that difference that I don't understand at all
<matthewcroughan_> both are `nix build`, yet the output is so different?
<jbal[m]> So `github:colemickens/nixpkgs-wayland#obs-studio` is find me `outputs.packages.${system}.obs-studio` and build it like you would with nix-build
<matthewcroughan_> When I `gcc` something, I get files output in a bin/ dir, what happens when I `nix build` I `nixos-rebuild`
<matthewcroughan_> lol ok, so the flake is a redirector to a nix file?
<matthewcroughan_> the flake literally disambiguates the location of a nix file?
<matthewcroughan_> so why can't I just nix build github:colemickens/nixpkgs-wayland/pkgs/obs.nix or something?
<matthewcroughan_> or the raw nix file
<jbal[m]> Because nix doesn't work in files, it works in nix language expressions.
<matthewcroughan_> hmm
<matthewcroughan_> so could I make a nix file locally that DOES do what I just said?
servo has quit [Ping timeout: 246 seconds]
<matthewcroughan_> uses some builtin nix function to do that?
<matthewcroughan_> like `fetchurl`
justanotheruser has joined #nixos
Dotz0cat_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
Dotz0cat has joined #nixos
<jbal[m]> The nix expression type that corresponds to building a package is the derivation. Which is everything that is needed to build a package including fetching the actual code, dependencies, etc...
<jbal[m]> A flake can be thought of as a bag of derivations (and also nixos system configs)
<{^_^}> [nixpkgs] @stigtsp opened pull request #103947 → firefox-bin: 82.0.2 -> 82.0.3 → https://git.io/JknGv
<{^_^}> [nixpkgs] @bcdarwin opened pull request #103948 → ocamlPackages.owl: 0.10.0 -> 1.0.0 → https://git.io/JknGO
<{^_^}> [nixpkgs] @stigtsp opened pull request #103949 → [20.09] firefox-bin: 82.0.2 -> 82.0.3 → https://git.io/JknGQ
xenophile has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 272 seconds]
Supersonic112 is now known as Supersonic
<xenophile> Hello?
<simpson> Evening.
<xenophile> Oh hey! I've only used irc a couple of times so I didn't know if it was working lol
<{^_^}> [nixpkgs] @stigtsp opened pull request #103950 → convos: 4.40 -> 4.42 → https://git.io/JknZc
xenophile has quit [Quit: WeeChat 2.9]
<jbal[m]> xenophile: Try element, it's pretty great
tenniscp25 has joined #nixos
lightbulbjim has joined #nixos
xenophile has joined #nixos
lightbul_ has joined #nixos
xenophile has quit [Client Quit]
tenniscp25 has quit [Client Quit]
endformationage has quit [Quit: WeeChat 2.9]
anderslundstedt has joined #nixos
anderslu1dstedt has quit [Ping timeout: 272 seconds]
anderslundstedt has quit [Ping timeout: 256 seconds]
anderslundstedt has joined #nixos
berberman_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
berberman has joined #nixos
lightbulbjim has quit []
lightbulbjim has joined #nixos
<{^_^}> [nixpkgs] @stigtsp opened pull request #103951 → firefox-beta-bin: 81.0b4 -> 83.0b10, firefox-devedition-bin: 80.0b8 -> 83.0b10 → https://git.io/JkncG
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #103952 → pythonPackages: add new 'seccomp' library → https://git.io/Jkncw
o1lo01ol1o has quit [Ping timeout: 260 seconds]
sangoma has joined #nixos
raghavsood has quit [Ping timeout: 245 seconds]
lightbulbjim has quit []
lightbul_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<jbal[m]> little sed hack I made for patching in dependency paths to shell scripts: `sed -i -e '1 a export PATH=${builtins.concatStringsSep ":" (map (x: "${x}/bin") buildInputs)}' *.sh`
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
Sanchayan has joined #nixos
<{^_^}> [nixpkgs] @bbigras opened pull request #103953 → starship: 0.46.2 -> 0.47.0 → https://git.io/Jkn4v
midchildan has quit [Read error: Connection reset by peer]
rolodex________ has quit [Read error: Connection reset by peer]
midchildan has joined #nixos
zmacs has quit [Read error: Connection reset by peer]
rolodex________ has joined #nixos
jmercouris has quit [Read error: Connection reset by peer]
mpickering has quit [Read error: Connection reset by peer]
zmacs has joined #nixos
jmercouris has joined #nixos
mpickering has joined #nixos
scoates has quit [Ping timeout: 272 seconds]
Rusty1 has quit [Quit: WeeChat 2.3]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
scoates has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #103898 → [20.09] haskellPackages.taffybar: overrides to fix build → https://git.io/JkGyB
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to release-20.09: https://git.io/JknRC
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JknRF
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/98e46cec92f (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
MichaelRaskin has quit [Quit: MichaelRaskin]
srenatus[m] has joined #nixos
vsiddharth has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
cjpbirkbeck has quit [Quit: cjpbirkbeck]
wykurz has quit [Quit: Leaving]
justanotheruser has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @JesusMtnez opened pull request #103954 → slack: 4.10.3 -> 4.11.1 → https://git.io/Jknzq
palo1 has joined #nixos
benny_ has joined #nixos
codezero has quit [Quit: Ping timeout (120 seconds)]
codezero has joined #nixos
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
benny has quit [Ping timeout: 272 seconds]
turlando has joined #nixos
Sanchayan has quit [Quit: leaving]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
Sanchayan has joined #nixos
ifthenelse1 has joined #nixos
ifthenelse has quit [Read error: Connection reset by peer]
ifthenelse1 is now known as ifthenelse
justanotheruser has joined #nixos
avn has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
davidv7 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xaverdh opened pull request #103955 → android-file-transfer: 3.9 -> 4.0 → https://git.io/JknaR
seku has joined #nixos
mallox has joined #nixos
charukiewicz has joined #nixos
<charukiewicz> is <nixpkgs> a special channel name on NixOS? Seems to work in my nix expressions even when I don't have a channel named 'nixpkgs' in my ~/.nix-channels (nor does the root user)
<charukiewicz> Specifically, I can `import <nixpkgs> {}` without issue in my .nix files
eoli3n has joined #nixos
<immae> charukiewicz: it’s the content that you target via the environment variable: NIX_PATH=nixpkgs=some/path
<immae> you can name it however you like
<immae> (and target other places than ~/.nix-channels)
cosimone has joined #nixos
<charukiewicz> Ah right, forgot it reads NIX_PATH rather than ~/.nix-channels. Thanks.
benny_ is now known as benny
tboston has joined #nixos
<jbal[m]> If you want it to not work, use pure mode :)
<jbal[m]> Flakes are pure by default
ericsagn1 has quit [Ping timeout: 272 seconds]
<charukiewicz> I'm using `import <nixpkgs>` to bootstrap to access fetchFromGitHub, then using fetchFromGitHub to download my pinned package set
<jbal[m]> Speaking of flakes, is there a quick way to update all of a flake's inputs other than specifying every single one via --update-input?
<jbal[m]> --recreate-lock-file would do it I suppose, but would that not have other side effects?
<etu> jbal[m]: Should be fine I think, it's generated to begin with, and you probably have your lock-file commited so you can read the diff
<etu> Seems to work fine for me :)
<jbal[m]> ty, I guess I'll just use that
<jbal[m]> etu++
<{^_^}> etu's karma got increased to 28
saschagrunert has joined #nixos
* etu migrated to flakes just a week ago pretty much
thc202 has joined #nixos
ManiacOfMadness has quit [Ping timeout: 256 seconds]
ericsagn1 has joined #nixos
<jbal[m]> charukiewicz: if you for whatever reason don't want to use `import <nixpkgs> {}`, you can do `import (builtins.fetchfromtarball https://github.com/NixOS/nixpkgs/archive/nixos-unstable-small.tar.gz) {}`
<jbal[m]> That also won't work in pure mode though (requires the hash to be known ahead of time. I guess you could use a particular commit and hash /shrug
asheshambasta has joined #nixos
cole-h has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @jbaum98 opened pull request #4262 → Fix deadlock in nix-store when max-connections=1 → https://git.io/Jkn6U
Darkmatter66 has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #103956 → pdfpc: 4.4.0 → 4.4.1 → https://git.io/Jkn6V
bahamas has joined #nixos
werner291 has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 259 commits to staging-next: https://git.io/JknPl
lewo has joined #nixos
alp has joined #nixos
tboston has quit [Quit: Textual IRC Client: www.textualapp.com]
cosimone has quit [Quit: cosimone]
cr4y1 has joined #nixos
teto has joined #nixos
<charukiewicz> jbal[m]: thanks for the suggestion. I'll look into it some more.
<{^_^}> [nixpkgs] @nlewo merged pull request #103882 → hydra-cli: 0.2.0 -> 0.3.0 → https://git.io/JkGlO
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/Jkn1E
lsix has joined #nixos
meatcar has quit [Ping timeout: 246 seconds]
<{^_^}> [nix] @zimbatm closed pull request #3170 → libexpr: add position to builtins.trace → https://git.io/JeuTj
meatcar has joined #nixos
gxt has quit [Remote host closed the connection]
<{^_^}> [nix] @zimbatm closed pull request #3680 → libutils/hash: rename Base to HashEncoding → https://git.io/JfSRt
gxt has joined #nixos
<inquisitiv3> I'm currently looking at the JUnit "definition" ("expression"? what do you call package definitions in Nix?) in `pkgs/development/java-modules/junit/default.nix`. The attribute `meta.broken` is set to `true`. What does that mean? I could not find any information in `pkgs/build-support/release/ant-build.nix`.
<jbal[m]> Broken means known not to build, PRs welcome
<jbal[m]> Best place to start is to look for the commit that added broken = true, and see if it has any comments
o1lo01ol1o has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
<jbal[m]> Gave it a look and it's not marked broken on master, nixos-unstable, nixos-20.09 on GitHub but I could be missing something
<jbal[m]> What channel are you on?
<{^_^}> [nix] @zimbatm opened pull request #4263 → libstore: always use the socket if it exists → https://git.io/JknD4
civodul has joined #nixos
<{^_^}> [nixpkgs] @expipiplus1 opened pull request #103957 → vulkan-tools-lunarg: init at 1.2.141.0 → https://git.io/JknDK
o1lo01ol1o has quit [Ping timeout: 264 seconds]
gthm has joined #nixos
RowanG has joined #nixos
<RowanG> Hello everyone! I'm looking to package a Haskell application which uses only stack as it's build system: (https://github.com/TorXakis/TorXakis). I have no clue how to do this.
cyphase has quit [Ping timeout: 272 seconds]
<RowanG> Even a normal build fails. When I clone the repo create a shell with stack and run `stack build` It errors with: `stack can only control the ghc-variant of its own GHC installations. Please use '--no-system-ghc'.`
<RowanG> When I add the `'--no-system-ghc'` flag as instructured it also fails: `stack's Nix integration is incompatible with '--no-system-ghc'. Please use '--system-ghc' or disable the Nix integration.`
sangoma has joined #nixos
werner292 has joined #nixos
NeoCron has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
cyphase has joined #nixos
kalbasit has quit [Ping timeout: 240 seconds]
sgrunert has joined #nixos
risson[m] has quit [Quit: Idle for 30+ days]
saschagrunert has quit [Ping timeout: 264 seconds]
srenatis has joined #nixos
srenatis is now known as srenatus
cfricke has joined #nixos
orivej has joined #nixos
hlolli has joined #nixos
bn_work has quit [Quit: Connection closed for inactivity]
wrl_ has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #4257 → Issue 4197 nix build output order → https://git.io/JkOeK
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/JknQd
smyds has quit [Ping timeout: 246 seconds]
smyds has joined #nixos
wrl has quit [Ping timeout: 246 seconds]
yagoham has quit [Ping timeout: 264 seconds]
ambroisie has quit [Ping timeout: 246 seconds]
yagoham has joined #nixos
davidcl has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @roberth merged pull request #102662 → [20.09] Staging next → https://git.io/JTbaT
<{^_^}> [nixpkgs] @roberth pushed 41 commits to release-20.09: https://git.io/Jkn7c
ambroisie has joined #nixos
davidcl has joined #nixos
moet has quit [Ping timeout: 272 seconds]
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
berberman has quit [Ping timeout: 260 seconds]
berberman has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #4262 → Fix deadlock in nix-store when max-connections=1 → https://git.io/Jkn6U
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Jkn5t
nicoo has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @raboof opened pull request #103958 → Revert "python3Packages.pytest-testmon: 1.0.2 -> 1.0.3" → https://git.io/Jkn5z
m0rphism has joined #nixos
iH8c0ff33 has joined #nixos
fendor has joined #nixos
nicoo has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Cale has quit [Ping timeout: 240 seconds]
acarrico has quit [Ping timeout: 265 seconds]
acarrico has joined #nixos
Cale has joined #nixos
bahamas has quit [Ping timeout: 256 seconds]
chour has joined #nixos
sigmundv__ has joined #nixos
ManiacOfMadness has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
bahamas has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #103659 → exodus: 20.10.23 -> 20.11.10 → https://git.io/Jkm10
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JknN0
iH8c0ff33 has quit [Quit: WeeChat 2.9]
iH8c0ff33 has joined #nixos
werner292 has joined #nixos
kreyren__ has quit [Ping timeout: 240 seconds]
werner291 has quit [Ping timeout: 260 seconds]
werner292 is now known as werner291
ManiacOfMadness has quit []
<yorick> RowanG: the usual way to do it is with haskell.nix
<yorick> RowanG: but I've used https://github.com/serokell/stack-to-nix in the past
<yorick> let me check if that just works
<{^_^}> [nixpkgs] @pSub merged pull request #103956 → pdfpc: 4.4.0 → 4.4.1 → https://git.io/Jkn6V
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/JknxT
<yorick> hmm, ghc822 is no longer in nixpkgs
marcusr has quit [Read error: Connection reset by peer]
kenshinCH has quit [Quit: WeeChat 2.9]
<yorick> yeah, I can build this on nixpkgs 19.09, but you'll probably have to use haskell.nix if you want this on a newer nixpkgs
<yorick> (or upgrade the stackage)
<yorick> RowanG: if you just want to build it, use stack build --nix
marcusr has joined #nixos
<{^_^}> [nix] @roberth opened pull request #4264 → BoehmGCStackAllocator: ignore stack protection page → https://git.io/Jknxy
nschoe has joined #nixos
boxscape has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
sss2 has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JknpA
rprije has quit [Ping timeout: 260 seconds]
vika_nezrimaya has joined #nixos
<vika_nezrimaya> Hey, what's up with Hydra? It doesn't seem to respond to HTTP requests and times out
<{^_^}> [patchelf] @edolstra merged pull request #251 → Fuzzing fixes → https://git.io/JkZql
<{^_^}> [patchelf] @edolstra pushed 15 commits to master: https://git.io/Jknh4
<vika_nezrimaya> oh, finally, it works again!
vidbina has joined #nixos
wrl_ has quit [Quit: Reconnecting]
wrl has joined #nixos
jimkins[m] has joined #nixos
<sephii> Is there a way to include a Python package in the environment of another package? Something like `python3Packages.python-language-server.withPackages(ps: [ ps.pyls-black ])`?
vonfry has joined #nixos
<{^_^}> [nixos-org-configurations] @edolstra merged pull request #130 → hydra-queue-runner-reexporter: remove memory_tokens_in_use → https://git.io/Jknfb
<{^_^}> [nixos-org-configurations] @edolstra pushed 2 commits to master: https://git.io/Jkceu
<{^_^}> [nixpkgs] @gnidorah opened pull request #103960 → update my packages → https://git.io/Jkcez
Darkmatter66_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 272 seconds]
srenatus has quit [Remote host closed the connection]
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
werner292 has joined #nixos
Netsu has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
alp has quit [Ping timeout: 264 seconds]
<Netsu> Hello! Trying to load custom channel to nix-shell -I nixpkgs=./nix/channel, where ./nix/channel/default.nix is https://gist.github.com/Pitometsu/dd06ce66c5eaa48daa9c2d848923574b
<Netsu> So I got "error: attempt to call something which is not a function but a string with context, at (string):1:6"
<sephii> I tried installing it with `python3Packages.withPackages(ps: [ ps.python-language-server ps.pyls-black ])` but then I get a lot of collisions between this and other python packages installed on my environment
<{^_^}> [nixpkgs] @sternenseemann opened pull request #103961 → ocamlPackages.conduit, cohttp: → 3.0.0 → https://git.io/JkcfC
<{^_^}> [nixpkgs] @blitz opened pull request #103962 → [20.09] Unbreak hail 20.09 → https://git.io/JkcfR
<{^_^}> [nixpkgs] @sternenseemann opened pull request #103963 → ocamlPackages.ca-certs: init at 0.1.2 → https://git.io/JkcfD
vidbina has quit [Ping timeout: 264 seconds]
vsiddharth has joined #nixos
<Netsu> Oh, I figured that out, sorry) Just call it like a derivation
Netsu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @andir merged pull request #102916 → nixos-help: fixup .desktop file & smaller refactoring → https://git.io/JTxCX
<{^_^}> [nixpkgs] @andir pushed 4 commits to master: https://git.io/JkcJp
orivej has joined #nixos
alp has joined #nixos
<yorick> sephii: iirc the python closure is flat
<yorick> sephii: so just withPackages [ python-language-server pyls-black ]
<vika_nezrimaya> yorick: yep! .withPackages constructs a PYTHONPATH consisting of listed packages
<vika_nezrimaya> one package will find the other package on this path or its own dependencies (which are propagatedBuildInputs) with no problems at all
bahamas has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @zimbatm closed pull request #98205 → haskellPackages.logging-effect: fix dependency resolution → https://git.io/JU0uF
<mkaito> is there an easy way to construct a shell derivation with all the inputs from two other derivations?
cosimone has joined #nixos
<vsiddharth> Hey, I'm trying to build a singularity image using singularity-tools.buildImage, and it's getting stuck right after "writing superblocks and filesystem accounting information". I think it's a problem with qemu and possibly mkfs. I've enabled libvirtd and set qemu to be qemu-kvm, is there any other reason why it's so slow?
andreas303 has quit [Remote host closed the connection]
vonfry has left #nixos ["ERC (IRC client for Emacs 27.1)"]
andreas303 has joined #nixos
berberman has quit [Ping timeout: 264 seconds]
berberman has joined #nixos
vikanezrimaya has joined #nixos
vikanezrimaya has quit [Client Quit]
ericsagn1 has quit [Ping timeout: 260 seconds]
vika_nezrimaya has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Taneb opened pull request #103964 → metamath: 0.182 -> 0.193 → https://git.io/Jkcka
<sephii> yorick: that’s what I thought but it doesn’t work. If I then run a Python shell and type `import pyls_black` I get an import error :/
<mkaito> to answer my own question, mkShell has a parameter inputsFrom that does exactly what I want.
ericsagn1 has joined #nixos
jmercouris has left #nixos ["Exit."]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 264 seconds]
werner292 is now known as werner291
jbox has quit [Ping timeout: 260 seconds]
zaeph has quit [Quit: zaeph]
zaeph has joined #nixos
cosimone has quit [Quit: cosimone]
<{^_^}> [nixpkgs] @samuela opened pull request #103965 → spotify-unwrapped: 1.1.42.622.gbd112320-37 -> 1.1.46.916.g416cacf1 → https://git.io/JkctZ
orivej has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #103953 → starship: 0.46.2 -> 0.47.0 → https://git.io/Jkn4v
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jkctd
gulplante has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #103966 → kernel config: explicitly enable CONFIG_IPV6 → https://git.io/JkcqG
<{^_^}> [nixpkgs] @peterhoeg merged pull request #103073 → vdirsyncer: deprecate vdirsyncerStable → https://git.io/Jke0P
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/Jkcqp
<{^_^}> [nixpkgs] @Ma27 merged pull request #103887 → liquibase: 4.1.1 -> 4.2.0 → https://git.io/JkGEO
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JkcmL
vsiddharth has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #103873 → git-cola: 3.5 -> 3.8 → https://git.io/JkGJl
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JkcmK
vidbina has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #103655 → nix-prefetch-github: 4.0.1 -> 4.0.2 → https://git.io/Jkmrz
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JkcmF
<{^_^}> [nixpkgs] @Ma27 merged pull request #103689 → filezilla: 3.50.0 -> 3.51.0 → https://git.io/JkYBL
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JkcY7
<{^_^}> [nixpkgs] @Ma27 merged pull request #103717 → nixos/codimd: add package option, refactor prettyJSON → https://git.io/JkYdN
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JkcOW
<emilsp> has anyone seen issues with gnome-shell/wayland where some windows just don't get updated as often as they should? Moving them around or resizing seems to fix the issue. Specifically, I'm having issues with the wayland enabled firefox and virt-viewer/virt-manager.
<emilsp> This is on 20.09.
<{^_^}> [nixpkgs] @Ma27 merged pull request #103807 → wabt: 1.0.19 -> 1.0.20 → https://git.io/Jk3rZ
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JkcOH
<{^_^}> [nixpkgs] @alyssais merged pull request #103720 → youtube-dl: 2020.11.01.1 -> 2020.11.12 → https://git.io/JkYx9
<{^_^}> [nixpkgs] @alyssais pushed commit from @vdemeester to master « youtube-dl: 2020.11.01.1 -> 2020.11.12 »: https://git.io/JkcOA
Sanchayan has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Ma27 merged pull request #103852 → cargo-about: 0.2.2 -> 0.2.3 → https://git.io/Jks6Z
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jkc3s
camsbury has joined #nixos
kenshinCH has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #103864 → drawio: 13.7.9 -> 13.9.5 → https://git.io/Jks5E
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jkc3P
kevin[m]1 has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
werner292 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
simonpe^^ has joined #nixos
<simonpe^^> Will `builtins.fetchGit { url = "..."; ref = "foobar"; }` re-fetch the foorbar branch every time I run it or will it re-use the first checkout it did?
whatisRT has joined #nixos
<{^_^}> [nixpkgs] @jojosch opened pull request #103967 → dbeaver: 7.2.4 -> 7.2.5 → https://git.io/JkcGZ
<gulplante> I am trying to build a project that uses OpenGL and cmake. I have the opengl module enabled. FIND_PACKAGE(OPENGL) fails. Anyone have experience with similar things?
camsbury has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to master « documize-community: 3.8.0 -> 3.8.1 »: https://git.io/JkcZv
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/300846f3c98 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<simpson> gulplante: Without knowing anything else, it's likely that you want to add `libglvnd` to your buildInputs; this is a shim library designed to ease the lookup of libGL.
<simpson> (Lucky 10000: This is because libGL.so.1, the actual shared object, has to obey a specification for how it's linked; at the same time, though, vendors like to provide their own shared object.)
orivej has joined #nixos
<typetetris> Hi! Whats an easy way to generate a self signed certificate with nixos?
<otavio> Hello; does someone has any doc explaining how I can maintain a overlay or private nixpkgs repo?
<simpson> otavio: Private forks of nixpkgs are literally git repositories and are administered in the typical fashion. For example, you can use standard git+ssh in order to authenticate pushes and pulls.
justanotheruser has joined #nixos
<simpson> Aside from the documentation on overlays (https://nixos.org/manual/nixpkgs/stable/#sec-overlays-definition) I'm not sure what specifically would be special about hosting a private overlay.
<otavio> simpson: there is any good practices?
<otavio> simpson: also, when working on something we'd like to upstream, what is the best workflow? fork nixpkgs? and how I make it use it here in our local install?
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.09 « documize-community: 3.8.0 -> 3.8.1 »: https://git.io/Jkcnt
<simpson> typetetris: I think that it depends on which daemon you're trying to put the certificate into. I don't think that we have configuration for e.g. nginx that makes a self-signed cert easier than Let's Encrypt.
<simpson> otavio: Since you'll have to make PRs to nixpkgs in order to get stuff upstream, yes, at some point you'll have to work from a local fork of nixpkgs which you can use to build and test.
<typetetris> simpson: Thanks. Grepping through nixpkgs pointed me to minica
<typetetris> seems good enough for test systems
<simpson> Ah, great.
<simpson> otavio: https://nixos.org/manual/nix/stable/#env-NIX_PATH The NIX_PATH environment variable is an easy way to locally temporarily change which nixpkgs you're using. In combination with direnv and nix-shell, this can lead to a smooth locally-isolated environment.
Darkmatter66_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
gulplante has quit [Quit: WeeChat 2.7.1]
gulplante has joined #nixos
<gulplante> simpson: Simply add libglvnd to buildInputs? My nix-shell is like so https://pastebin.com/raw/XF9g08TU
orivej has quit [Ping timeout: 256 seconds]
<gulplante> It also fails to FIND_PACKAGE(GLM) even though I can manually set the path for the cmake config for this. I am at a loss for OpenGL and glew as their out paths do not seem to include cmake configs
<simpson> Oh, in a nix-shell? Not sure, sorry.
domogled has joined #nixos
<gulplante> Thanks anyway; I am trying to simply build a project, not package it. I am enrolled in a course and they use some overly complicated Cmake build setup for the assignments...
<simpson> Oh, that's an interesting perspective. I would use nix-build to build a project; "packaging" it by writing a derivation is a basic requirement.
bahamas has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #103767 → gping: 1.1 -> 0.1.6 → https://git.io/JkOQ9
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JkcW1
Sanchayan has joined #nixos
<{^_^}> [nixpkgs] @danieldk closed pull request #103918 → gping: 1.1 -> 0.1.6 → https://git.io/JkZWv
gulplante has quit [Quit: WeeChat 2.7.1]
domogled has quit [Quit: domogled]
domogled has joined #nixos
acarrico has quit [Ping timeout: 246 seconds]
<gchristensen> anyone on 20.09 feel like their memory pressure got way worse directly after switching to 20.09?
<{^_^}> [nixpkgs] @ryantm merged pull request #103773 → vimwiki-markdown: 0.3.1 -> 0.3.2 → https://git.io/Jk3eR
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jkclb
servo has joined #nixos
servo has quit [Max SendQ exceeded]
servo has joined #nixos
servo has quit [Max SendQ exceeded]
werner292 has joined #nixos
gulplante has joined #nixos
servo has joined #nixos
servo has quit [Max SendQ exceeded]
servo has joined #nixos
servo has quit [Max SendQ exceeded]
gulplante has quit [Client Quit]
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
gulplante has joined #nixos
servo has joined #nixos
servo has quit [Max SendQ exceeded]
<gulplante> simpson: So what you suggest is to decipher their cmake file and then write a derivation with build instructions instead?
<{^_^}> [nixpkgs] @ryantm merged pull request #103906 → ptcollab: 0.3.4.1 -> 0.3.5 → https://git.io/JkZke
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jkc8s
servo has joined #nixos
servo has quit [Max SendQ exceeded]
servo has joined #nixos
servo has quit [Max SendQ exceeded]
servo has joined #nixos
servo has quit [Max SendQ exceeded]
servo has joined #nixos
servo has quit [Max SendQ exceeded]
pushqrdx has joined #nixos
Di4na has joined #nixos
orivej has joined #nixos
servo has joined #nixos
<simpson> gulplante: Yeah. We have support for cmake, so you may not have to do that much effort.
<{^_^}> [nixpkgs] @eraserhd opened pull request #103969 → kakounePlugins.openscad-kak: init at unstable-2020-11-16 → https://git.io/Jkc80
<Di4na> Hello everyone, so if there is a PR that is already merged in unstable (from 2 months ago) that i would need to merge to 20.09, is there an expected way to get that ?
<srhb> Di4na: Is it something that should be backported, or something you want to pull in locally only?
<pushqrdx> simpson i have a question about lustration would it also delete my nix config, i.e /etc/
acarrico has joined #nixos
<simpson> pushqrdx: I don't remember, but probably!
<gulplante> simpson: Ah, of course. I did not think about the fact that I am casting away help from standard build scripts and such by not writing a derivation. Thanks, I will give it a try.
<srhb> gulplante: And you should get a shell more or less "for free" from that, too :)
<pushqrdx> simpson well that kinda sucks? like how would the system be reconfigured again :D just copy my old /etc/nixos back and that's it?
<Di4na> srhb: backported. I can easily do a branch and cherry pick, the problem is that it will drop elixir 1.6. Basically i need that PR in 20.09. https://github.com/NixOS/nixpkgs/pull/98649 because we put erlang 23 in 20.09 but rebar2 does not compile well on it and break elixir being built
<{^_^}> #98649 (by cw789, 7 weeks ago, merged): elixir_1_6: remove
<gulplante> srhb: Right. Cool because that is a nicer workflow when doing assignments.
<Di4na> I mean i can deal without, but i do think it would be better if we merge it in 20.09 too
<srhb> Di4na: I imagine that's unlikely to get backported, since it would break users of it, though I don't know that ecosystem.
<Di4na> srhb: it does break users of it _already_ :d
<simpson> pushqrdx: Perhaps one could check a copy of configuration.nix into the Nix store! I don't remember how it's done in tools which use lustration. Honestly, I'm pretty sure that you're looking at the wrong tool for the job; if you just want a cleaner system, then continue to refactor your imperative /home state into home-manager or etc.
<{^_^}> [nixpkgs] @kfollesdal opened pull request #103970 → pythonPackage.python-crontab: init at 2.5.1 → https://git.io/Jkc48
<srhb> Di4na: Perhaps some of its maintainers know better. :)
<srhb> Di4na: That increases the chance! :)
<srhb> Di4na: Opening a backport PR against release-20.09 and describing your reasoning is probably the best way to start the discussion. :)
<pushqrdx> simpson i don't want a cleaner system i want to nuke everything except my /etc/nixos and stuff in the store that belong to this generation
<pushqrdx> because i played too much yesterday and i have a 65Gb nix store with tons of garbage all over the place :D
<simpson> pushqrdx: Yeah, I don't see how lustration helps with that; the garbage is coming from *inside* the Nix store.
<pushqrdx> simpson how is it going from inside if the packages that produced it are no longer active? they were active during my tests by now i moved to other ones
<pushqrdx> like for instance i installed all the desktop environment and all the display managers yesterday and tried them all
<srhb> pushqrdx: If you're not using them anywhere (that is, your system no longer references them) just nix-collect-garbage :)
<simpson> Use your disk-usage utility of choice and see for yourself how much is in /nix/store.
<srhb> pushqrdx: Optionally with --delete-older-than 4d, or however many days of generations you no longer want to have available.
GuillaumeChrel[m is now known as gcher
<srhb> er, you *want* to have available.
<pushqrdx> what i am trying to achieve is not simple garbage collection, i want to get rid of the mutable stuff that was indeed created by those packages and put all over the mutable paths in the system
<srhb> Are you sure there's that much? If that's the case, it sounds like you want something like grahams erase your system-thing.
gcher has quit [Quit: authenticating]
gcher has joined #nixos
<srhb> It does not exist in NixOS by default at least. :)
<simpson> Like, what kind of stuff? Trying out different desktop software is not going to leave much around; there will be stuff in /home, I guess, but that's not something we can help much with. (That's up to XDG and others.)
<pushqrdx> alright what about anything that wrote into /var ?
<srhb> pushqrdx: No tools out of the box.
<simpson> Well, (1) like what? (2) it is quite up to you whether to nuke /var, if that's what your disk-usage utility tells you.
<pushqrdx> simpson alright so i'll ask for the sake of understanding and not feeling bad and keep reinstalling from usb :D
<{^_^}> [nixpkgs] @FRidh merged pull request #103462 → Staging next → https://git.io/JkLI1
<{^_^}> [nixpkgs] @FRidh pushed 299 commits to master: https://git.io/JkcBN
<pushqrdx> simpson what are the places that might be mutated and might contain garbage after a lot of fiddling?
<simpson> Well, yes, that's where I'm headed; I'm hoping to help you understand how Nix works.
<pushqrdx> how can i make sure that i got a clean slate after a GC
<simpson> There *aren't* such places, other than the Nix store itself, and the store is managed like a heap according to live references.
<pushqrdx> as clean as formatting and reinstalling, except keeping my home and /etc
<simpson> It doesn't make sense to try to get the store into a single canonical "clean" state.
sangoma has quit [Ping timeout: 246 seconds]
<pushqrdx> aside from the store cause i am sure GC cleans it out and only keeps the used by this generation stuff
<pushqrdx> gc --delete-old i mean
<simpson> (Well, okay, there's /boot and the bootloader, but that's because bootloaders are somewhat impure. You may have to manually examine /boot from time to time.)
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « sbt: 1.4.2 → 1.4.3 »: https://git.io/JkcRL
<simpson> Part of the point of NixOS is to reduce the traditional anxiety of Wintel sysadmins, that a misbehaving machine needs a complete reinstallation from scratch on a freshly-formatted MBR.
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
<pushqrdx> this is the feeling i still retain from my past experience with macOS, other linux distros
<pushqrdx> so after what i did yesterday and all the jumping around nix rebuilds, (40+ generations) i feel very dirty about :))
<simpson> Sure. Distros which follow the FHS can have similar issues, although I've never personally experienced them. Certainly, at scale, it is far easier to reformat and reinstall than anything else.
<srhb> pushqrdx: NixOS explicitly avoids any questions of state outside of /nix by default. Have you read the erase your darlings blog post?
<simpson> But on Nix, it doesn't matter. Just collect garbage if you need more disk space, and then move on.
<pushqrdx> i read the darlings post but it made me feel like nixos also needs some house keeping outside simple garbage collection
<srhb> pushqrdx: But did you see the amount of buy-in it takes?
<{^_^}> [nixpkgs] @DianaOlympos opened pull request #103971 → elixir_1_6: remove backport to 20.09 → https://git.io/Jkc0U
<srhb> And: NixOS makes erase your darlings possible. :)
adamCS has quit [*.net *.split]
qz has quit [*.net *.split]
cruxeternus has quit [*.net *.split]
cruxeternus has joined #nixos
adamCS has joined #nixos
qz has joined #nixos
<pushqrdx> yeah that is awesome, i even learned that the usb only boots of 2 directories
<pushqrdx> boot and nix
<simpson> pushqrdx: IMO if you got /home onto a separate disk from the rest of your system's boot disk, then that would be a bigger step than anything in the blog post. (I presume it's not explicitly in the post because it's rather rude to tell people to purchase more hardware.)
<srhb> The post assumes "free" datasets (zfs)
<simpson> Like, you don't *need* to do what's being done in that post. What you need right now is to run nix-collect-garbage with appropriate flags.
<gchristensen> oh dear, a misunderstanding of my post?
<simpson> Sorry, please set me straight.
<pushqrdx> simpson appropriate flags is --delete-old you mean
<pushqrdx> any more useful ones?
<gchristensen> simpson: I'm sure you have the right idea
<gchristensen> simpson: I don't think you misunderstood
sangoma has joined #nixos
<srhb> fwiw pushqrdx, I agree that unless you have good reason, you probably don't _need_ something as heavy as erase your darlings, I'm only trying to emphasize that it is possible, if you really want it, but it's not free.
Di4na has quit [Quit: Leaving]
<pushqrdx> so morale of the story aside from /boot /home /var all the system is immutable and is symlinked from the store according to my configuration, if i gc that's 90% of the way
<srhb> It seems to me that you're being very, shall we say, thorough. And that's fine. But I think expecting it of NixOS out of the box isn't really realistic, because it requires opting in for every piece of state you want to keep explicitly.
<srhb> pushqrdx: Yeah..
heyitsrama has joined #nixos
<pittma> has anyone been able to get Thunderbird 78.3 gpg stuff to work?
<pittma> I guess https://github.com/NixOS/nixpkgs/issues/98765 is the related issue?
<{^_^}> #98765 (by chpio, 7 weeks ago, open): thunderbrid@78: enable smartcard gpg support
<pushqrdx> i am being thorough just for the sake of 2 things, first i want to be aware of the system, second i like to feel in control of any garbage thrown onto the system, for instance when i was on macOS i knew all the little places apps would through stuff into
<pushqrdx> and i'd go and make sure no garbage is left behind
<gchristensen> I hear that
<pushqrdx> so after switching to nixos i am still having that feeling
<pushqrdx> that there might be some garbage around that i don't know about :D
<simpson> What does your disk-usage utility tell you?
<srhb> pushqrdx: Second fwiw -- I'm likely to end up with erase your darlings as well, because I feel the same way, and I'm willing to invest in it.
<qyliss> I know exactly how you feel
<qyliss> one thing I do is make my home directory read only
<srhb> pushqrdx: Just managing expectations ;-)
<srhb> NixOS+erase your darlings is a whole new level of statelessness. I like it. Some people really won't. :P
<siraben> `texlive.combined.scheme-medium` seems to be missing a lot of packages, wrapfig, rotating, capt-of, minted etc.
heyitsrama has quit [Ping timeout: 265 seconds]
Sanchayan has quit [Quit: leaving]
<siraben> Can I specify those declaratively?
<srhb> siraben: Do you know that you can add packages to any of the schemes?
<siraben> srhb: Wow, I had no idea!
<siraben> Should RTFM more
alp has quit [Ping timeout: 260 seconds]
heyitsrama has joined #nixos
<quidome[m]> Hi all!
<quidome[m]> It occurred to me that these are both electron apps, no idea if it has anything to do with the crashes though.
<quidome[m]> I'm experiencing random crashes with two of the apps I run on my laptop, being: rambox and element. Anyone else having the same issues?
<gchristensen> qyliss: how often do you run in to software which is unhappy about that? iirc pulseaudio wasn't thrilled at one point
heyitsrama has quit [Ping timeout: 260 seconds]
<quidome[m]> o funny , just found mentions of coredumps in the journal
<pushqrdx> srhb i get really irritated by drifting state :D
orivej has quit [Ping timeout: 260 seconds]
<srhb> pushqrdx: I sympathize. I'll stop trying to talk you out of it. ;)
<pushqrdx> xD
<gchristensen> you probbaly want a filesystem with "free" datasets then
kalbasit has joined #nixos
<qyliss> gchristensen: for the longest time pulse was the only thing I allowed to use .config
<qyliss> but eventually I wrote a patch for it
cfricke has quit [Quit: WeeChat 2.9]
__monty__ has joined #nixos
<qyliss> and changed it use XDG_DATA_HOME for the dynamic data stuff
<fgaz> is + the best way to concatenate paths?
<pushqrdx> i got rid of pulse audio and using pipewire now very seamless so far, everything is working as expected and i get really low latency in carla
<fgaz> ex. <nixpkgs> + "/nixos/lib"
<clever> fgaz: <nixpkgs/nixos/lib>
<clever> it works the same way as <foo> in c/c++
<qyliss> pushqrdx: oh yeah I'm looking forward to trying pipewire
<clever> when in #include lines
<Ankhers> Is anyone successfully building flutter apps in NixOS? I'm just wondering if you have a setup that you could share because when I try I get an error when trying to download deps because the nix store is read only (which makes sense).
<fgaz> clever: I'm taking pkgs as input, so I can't do that
<clever> fgaz: yeah, then + is what you want, like you showed
<fgaz> ok thanks
<clever> > pkgs.path + "/nixos/lib"
<{^_^}> /var/lib/nixbot/nixpkgs/master/repo/nixos/lib
gxt has quit [Ping timeout: 240 seconds]
<pushqrdx> qyliss installing it and disabling pulse on nix was a breeze, and all the usual stuff like volume/media keys, firefox etc work as if pulse is installed
<pushqrdx> jack apps run as if jack is installed
<pushqrdx> very smooth so far
<qyliss> I never got round to working volume keys lol
<qyliss> but cool, that's good to know!
<fgaz> clever: .path is quite useful, thanks!
werner292 has joined #nixos
kenshinCH has quit [Quit: WeeChat 2.9]
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<{^_^}> [nixpkgs] @vbgl merged pull request #103963 → ocamlPackages.ca-certs: init at 0.1.2 → https://git.io/JkcfD
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.ca-certs: init at 0.1.2 »: https://git.io/Jkc2v
domogled has quit [Quit: domogled]
domogled has joined #nixos
orivej has joined #nixos
camsbury has joined #nixos
<numkem> is there a way to make cache.nixos.org first in line rather than use a binary cache?
<{^_^}> [nixpkgs] @kisik21 opened pull request #103973 → rspamd: fix builds on non-x86_64-linux platforms → https://git.io/Jkcag
<lordcirth> numkem, not sure what you mean; do you mean you want cache.nixos.org to be checked first, then fall back to your custom cache?
<numkem> lordcirth: exactly, my cache isn't super fast so it makes switching pretty slow
<lordcirth> Is your cache not on your local network? What is it for?
<clever> numkem: `curl https://cache.nixos.org/nix-cache-info` shows `Priority: 40`
<clever> numkem: nix will query all caches in parallel (i think), and then use that priority to decide which to use, when 2 caches have a given path
<numkem> lordcirth: long story short, I have my own hydra and because of a new version of nix/hydra I can't use minio for store_uri so it's now using nix-server which is rather slow
kim0 has joined #nixos
<numkem> lordcirth: doing the same for my binary cache shows it has a priority of 30... yet it's what it's using all the time
<clever> /home/clever/apps/hydra/src/lib/Hydra/Controller/Root.pm: "Priority: 100\n";
<clever> numkem: smaller numbers are stronger priority
<numkem> clever: so I'd have to change it in my nix-serve
<clever> numkem: hydra is at 100 (weakest) so nix will use a proper cache over hydra
<clever> numkem: yeah, thats what it sounds like
<numkem> clever: I can't use hydra directly anymore... it's been broken since 20.09
<numkem> clever: or my minio backed binary cache like I used to
<{^_^}> [nixpkgs] @basile-henry opened pull request #103974 → Make autogen.man reproducible → https://git.io/JkcVP
<clever> numkem: was more using hydra as a refernece, to figure out which direction Priority goes
<numkem> clever: I understand, thank!
<numkem> weirdly enough, nix-serve doesn't have an option to change the priority
acarrico has quit [Ping timeout: 264 seconds]
<numkem> or many it's possible to override the priority in nix.conf?
<numkem> *maybe
<clever> numkem: check the source
<clever> numkem: its hard-coded to 30
<numkem> clevert: a patch would be easy to make. Thanks! I'll see if I could make it an option so it would be helpful for others
<numkem> clever++ lordcirth++
<{^_^}> lordcirth's karma got increased to 5
<{^_^}> clever's karma got increased to 542
Ariakenom has joined #nixos
heyitsrama has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #103966 → kernel config: explicitly enable CONFIG_IPV6 → https://git.io/JkcqG
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JkcrL
kreyren_ has joined #nixos
kreyren_ has quit [Remote host closed the connection]
<Ariakenom> some channels are named nixpks-* and some nixos-*. and nix and nixos have different types of version numbers. im a bit confused
kreyren_ has joined #nixos
heyitsrama has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #103947 → firefox-bin: 82.0.2 -> 82.0.3 → https://git.io/JknGv
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JkcrN
<{^_^}> [nixpkgs] @flokli merged pull request #103949 → [20.09] firefox-bin: 82.0.2 -> 82.0.3 → https://git.io/JknGQ
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-20.09: https://git.io/JkcrA
gxt has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
RowanG has quit [Remote host closed the connection]
<{^_^}> [nix] @edolstra pushed to master « filterANSIEscapes(): Handle UTF-8 characters »: https://git.io/JkcoD
pushqrdx has quit [Remote host closed the connection]
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #95675 → xdg-utils: add missing dependencies → https://git.io/JJFoC
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JkcKX
pushqrdx has joined #nixos
hnOsmium0001 has joined #nixos
ericsagn1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @gnidorah opened pull request #103975 → nixos/dtlogin: init → https://git.io/Jkc6w
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/f41c0fc7d8e (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
<{^_^}> [nixpkgs] @gnidorah closed pull request #103975 → nixos/dtlogin: init → https://git.io/Jkc6w
sigmundv__ has quit [Read error: Connection reset by peer]
sigmundv__ has joined #nixos
servo has quit [Remote host closed the connection]
phirsch has quit [Quit: Idle for 30+ days]
abstract300 has quit [Quit: Idle for 30+ days]
jojosch|Johannes has quit [Quit: Idle for 30+ days]
bn_work has joined #nixos
domogled has quit [Remote host closed the connection]
ericsagn1 has joined #nixos
ncl3 has quit [Remote host closed the connection]
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
ncl3 has joined #nixos
alp has joined #nixos
mallox has quit [Quit: WeeChat 2.9]
bahamas has quit [Quit: leaving]
werner292 has joined #nixos
mthst has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<jophish> What does machine.screenshot do in the nixos tests?
<jophish> I mean, obviously it creates a screenshot, but are these ever observed by human or robot?
orivej has joined #nixos
<hexa-> jophish: they are parsed using tesseract for text
<hexa-> oh no, I mixed up screenshot and screendump
<hexa-> screenshots are likely part of the tests output and can be viewed by human
blueberrypie has quit [Quit: Ping timeout (120 seconds)]
zfnmxt has quit [Quit: Bye!]
blueberrypie has joined #nixos
zfnmxt has joined #nixos
<jophish> hexa-: cool, thanks
<hexa-> on L22 it does a screenshot
mallox has joined #nixos
<hexa-> likely just to confirm that that lightdm was visible
mallox has quit [Client Quit]
teto has quit [Ping timeout: 260 seconds]
captn3m0- has quit [Ping timeout: 260 seconds]
captn3m0 has joined #nixos
<jophish> I wonder why there isn't a console equivalent for screenshot, there's a console_waitForText
<jdnixx[m]> anyone use zsh and it doesn't tab-complete stuff after nixos- commands?
<jdnixx[m]> `nixos-option ` and then tabbing doesn't show the available options. works fine in bash
<jophish> jdnixx[m]: I use zsh and it does tab-compelte
<hexa-> jophish: pretty sure screenshot would also capture console text
<hexa-> its done via the qemu monitor iirc, so it gets the whole viewport
<jophish> hexa-: yeah, but I want to write a test which says: at this point the console contents should be precisely this: ....
<jophish> and doing that with screenshots is a bit weird :)
<jdnixx[m]> jophish: I mean it'll tab-complete the command itself, but not the available parameters
* jdnixx[m] uploaded an image: Peek 2020-11-16 11-13.gif (89KiB) < https://matrix.org/_matrix/media/r0/download/kde.org/48985d7daf1d01a552a16ef6a95d680ce4f028a3/Peek 2020-11-16 11-13.gif >
<jdnixx[m]> not sure if IRC gets images but^^^
<jophish> jdnixx[m]: yeah, it does tab-complete for me
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JkcX5
<hexa-> jophish: wait_for_console_text
<jdnixx[m]> seriously lol wtffffffffffffffffffff
<jophish> but there's nothing nix-completion specific in there I don't think
<jophish> hexa-: yeah, that's good I guess, but as far as I can tell that's line by line only
<jdnixx[m]> o wow that's comprehensive
<jophish> It's grown *organically*
captn3m0- has joined #nixos
<jdnixx[m]> maybe it's bc of your starship or something like that
<jdnixx[m]> one of the extra thingies
captn3m0 has quit [Ping timeout: 260 seconds]
<jophish> unlikely that starship would affect this
<jdnixx[m]> this is all I got
<jdnixx[m]> enableBashCompletion = true; syntaxHighlighting.enable = true; autosuggestions.enable = true; };`
<jdnixx[m]> `zsh = { enable = true; ohMyZsh = { enable = true; theme = "random"; };
<hexa-> jdnixx[m]: it uses regex and appends to an io.StringIO object. So I guess it could be multiline
<jdnixx[m]> I would've thought autosuggestions would've been the right thing
<hexa-> jophish: ^
tomturbo has joined #nixos
<jophish> jdnixx[m]: works for me with just enable=true and nothing else
werner291 has quit [Quit: werner291]
<tomturbo> hello, I can't figure out how to get distributed builds to work. I have set up nix.buildMachines, set nix.distributedBuilds to true and verified that it is possible for root to connect to the build user on the build host using the ssh key in nix.buildMachines.*.sshKey. however, when running "nix-build -j0 -A hello" with verbose output, I find nothing in the output that would suggest that the build host
<jophish> ha, wait_for_console_text is only used 5 times
<tomturbo> was utilized
philr has quit [Ping timeout: 260 seconds]
erasmas has joined #nixos
teto has joined #nixos
johnny101 has quit [Ping timeout: 264 seconds]
<jophish> tomturbo: anything in journalctl -u nix-daemon?
<{^_^}> [nixpkgs] @alyssais pushed commit from @vdemeester to release-20.03 « youtube-dl: 2020.11.01.1 -> 2020.11.12 »: https://git.io/JkcMX
<{^_^}> [nixpkgs] @alyssais pushed commit from @vdemeester to release-20.09 « youtube-dl: 2020.11.01.1 -> 2020.11.12 »: https://git.io/JkcM1
mthst has quit [Ping timeout: 240 seconds]
<tomturbo> jophish: hm, I've noticed that the nix-daemon was stopped on my build host. I've started it again and ran the build again, but no dice
<tomturbo> what is surprising to me is that the build succeeds at all, according to the docs, -j0 should prevent the package being built locally
<jophish> it's not already built or something XD
arlid has joined #nixos
pushqrdx has quit [Remote host closed the connection]
johnny101 has joined #nixos
<{^_^}> [nixpkgs] @alexjg opened pull request #103976 → wrapProgram for phpdbg in pkgs.php* → https://git.io/JkcD3
<{^_^}> [nixpkgs] @Ma27 pushed to master « gitea: 1.12.5 -> 1.12.6 »: https://git.io/JkcDn
<tomturbo> that is very possible :) I've now run "nix-collect-garbage -d" and it deleted "...hello-2.10.drv" and "...hello-2.10.tar.gz.drv". after doing that and running nix-build again, it still seems to build locally, even with j0
<{^_^}> [nixos-homepage] @garbas pushed to redesign-features « work in progress »: https://git.io/JkcD6
<arlid> Hi all, I'm having problems creating a nix-shell with openssl library
<arlid> fg
<Ariakenom> some channels are named nixpks-* and some nixos-*. and nix and nixos have different types of version numbers. im a bit confused
<arlid> This is my default.nix with import <nixpkgs> {};stdenv.mkDerivation { name = "rust"; buildInputs = [ openssl pkg-config ];}
<{^_^}> [nixos-homepage] @garbas pushed 49 commits to redesign-features: https://git.io/JkcyI
<arlid> but I get nix-shellbash: no match: /nix/store/lwcrmj44j6s5ww3j0ybar2jc7kf9ddzq-openssl-1.1.1g-dev/lib/lib* this error
<jophish> tomturbo: no idea, but I wonder if there's a difference between `nix-build -j0` and `nix build --max-jobs 0`
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.09 « gitea: 1.12.5 -> 1.12.6 »: https://git.io/Jkcyd
FRidh has joined #nixos
s34m has joined #nixos
<tomturbo> jophish: I've tried it out and saw the same behavior, according to the man page they refer to the same option tough
<jophish> very weird, and it's for sure building locally and not fetching from a cache?
<tomturbo> hm, it is very possible that it is fetching it from a cache. I'll try overriding a different package to make sure it is building it from source
heyitsrama has joined #nixos
<tomturbo> ahh, looks like that was the problem: I built nginx with libressl and it showed that the package was built on the build host, thanks for your help!
<{^_^}> [nixos-search] @BenediktSeidl opened pull request #223 → Remove unnecessary jquery-ui reference → https://git.io/Jkc9T
<jophish> \o/
justanotheruser has quit [Ping timeout: 260 seconds]
cole-h has joined #nixos
mthst has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
asheshambasta has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @doronbehar merged pull request #103960 → update my packages → https://git.io/Jkcez
<{^_^}> [nixpkgs] @doronbehar pushed 4 commits to master: https://git.io/JkcHX
<{^_^}> [nixpkgs] @doronbehar merged pull request #103955 → android-file-transfer: 3.9 -> 4.0 → https://git.io/JknaR
chour has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/JkcHN
<infinisil> Um, how does `curl` on NixOS find cacerts?
wnklmnn has quit [Quit: Leaving]
<infinisil> Looks like it finds it in /etc/ssl/certs/ca-certificates.crt
<infinisil> I guess that's probably hardcoded in curl
justanotheruser has joined #nixos
<gchristensen> 🤡
<infinisil> I see..
<cole-h> gchristensen: "# Remove in 16.03" lol
virus_dave_ has joined #nixos
<srhb> I prefer using "# Remove in next release"
<gchristensen> nice. less committal
virus_dave has quit [Ping timeout: 246 seconds]
virus_dave_ is now known as virus_dave
<simpson> I wonder if, as a matter of practicality, we could think about stuff which ought to be removed *after* release. Like, yes, we agree that it needs to be changed, but not now, but at the next opportunity.
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.10-rc3 -> 5.10-rc4 »: https://git.io/Jkc7C
vidbina has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @saschagrunert opened pull request #103977 → buildah: 1.17.0 -> 1.18.0 → https://git.io/Jkc7w
<{^_^}> [nixpkgs] @Mic92 merged pull request #103876 → nixos/lvm2-activation-generator: fix warnings on activation → https://git.io/JkGYB
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jkc7X
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juanito-terco[m] has joined #nixos
<{^_^}> [nixpkgs] @gnidorah closed pull request #99888 → pakcs: 2.2.0 -> 2.2.1 → https://git.io/JUA67
tomturbo has quit [Quit: leaving]
<{^_^}> [nixpkgs] @gnidorah closed pull request #101130 → lazpaint: 7.1.4 -> 7.1.5 → https://git.io/JTR3y
<{^_^}> [nixpkgs] @jonringer merged pull request #103828 → Add additional vim plugins → https://git.io/Jkssx
<{^_^}> [nixpkgs] @jonringer pushed 9 commits to master: https://git.io/Jkc5U
zupo has joined #nixos
<{^_^}> [nixpkgs] @gnidorah closed pull request #101836 → openmpt123: 0.5.2 -> 0.5.3 → https://git.io/JTigF
sgrunert has quit [Remote host closed the connection]
<enteee> Does somebody else also have issues with spice usb redirection on current unstable?
s34m has quit [Quit: s34m]
<enteee> with virtualisation.spiceUSBRedirection.enable = true, spice-client-glib-usb-acl-helper should be installed with setuid and cap_fowner+ep (according to doc), but on my system it only ends up having the cap.
<{^_^}> [nixpkgs] @jonringer merged pull request #98202 → python3Packages.sphinxcontrib-autoapi: init at version 1.5.1 → https://git.io/JU0RY
<{^_^}> [nixpkgs] @jonringer pushed commit from @karolchmist to master « Add sphinx autoapi 1.5.1 »: https://git.io/Jkc5j
otulp has joined #nixos
<{^_^}> [nixpkgs] @KyleOndy opened pull request #103979 → vimPlugins: update → https://git.io/Jkcdo
FRidh has quit [Ping timeout: 256 seconds]
arlid has quit [Remote host closed the connection]
FRidh has joined #nixos
moet has joined #nixos
euandreh has quit [Remote host closed the connection]
<rogerr> what's the best neovim config for rust? gonna try to learn it. oh i use home manager too fwiw
ehmry has joined #nixos
malook has joined #nixos
<{^_^}> [nixpkgs] @KyleOndy closed pull request #103979 → vimPlugins: update → https://git.io/Jkcdo
lovesegfault[m] has joined #nixos
boxscape has quit [Ping timeout: 256 seconds]
Darkmatter66 has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @gnidorah opened pull request #103980 → cde-gtk-theme: add ability to override palette → https://git.io/Jkcbd
<enteee> hmm, if I do set setuid manually on spice-client-glib-usb-acl-helper it works just fine. Wondering now if something changed in security.wrappers that would explain this. Digging deeper.
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « gammastep: 2.0.2 -> 2.0.5 »: https://git.io/JkcNs
<{^_^}> [nixpkgs] @primeos merged pull request #103919 → gpgme: 1.14.0 -> 1.15.0 → https://git.io/JkZlU
<{^_^}> [nixpkgs] @primeos pushed to staging « gpgme: 1.14.0 -> 1.15.0 (#103919) »: https://git.io/JkcNi
otulp has quit [Quit: Lost terminal]
werner291 has joined #nixos
costrouc has joined #nixos
gulplante has quit [Quit: WeeChat 2.7.1]
<cole-h> roberth++
<{^_^}> roberth's karma got increased to 6
<jophish> When I run nixos-run-vms (from a nixos test) should I get a qemu window or something?
<jophish> At the moment I can see the log, but nothing else
<jophish> (no tty for instance)
FRidh has quit [Ping timeout: 264 seconds]
FRidh has joined #nixos
<srhb> jophish: The test drivers were changed, the attribute is now driverInteractive for the interactive versions.
<jophish> ah thanks!
<jophish> ++srbh
<simpson> srhb++ for those sweet shirt points
<{^_^}> srhb's karma got increased to 134
davidv7 has joined #nixos
<srhb> woo, points. :)
<{^_^}> [nixpkgs] @bennyandresen opened pull request #103982 → clojure: move exec.jar to libexec → https://git.io/JkcAS
<jophish> but what if srhb has an expensive copy constructor
<{^_^}> [nixpkgs] @etu merged pull request #103976 → wrapProgram for phpdbg in pkgs.php* → https://git.io/JkcD3
<{^_^}> [nixpkgs] @etu pushed 3 commits to master: https://git.io/JkcAN
<{^_^}> [nixpkgs] @Mic92 opened pull request #103983 → nixos/lvm2-activation-generator: fix warnings on activation → https://git.io/Jkcxv
gustavderdrache has joined #nixos
gustavderdrache has left #nixos [#nixos]
malook has quit [Quit: malook]
Dotz0cat has quit [Ping timeout: 260 seconds]
<tokudan> ,locate mailx
<{^_^}> Found in packages: posix_man_pages
<tokudan> :(
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
<rogerr> why doesn't home manager make a .config/nvim/init.vim file when i set some things like extraConfig or plugins
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @ehmry opened pull request #103984 → lz4: 1.9.2 -> 1.9.3 → https://git.io/JkcpZ
berberman has quit [Ping timeout: 260 seconds]
berberman has joined #nixos
iH8c0ff33 has quit [Ping timeout: 264 seconds]
<srhb> rogerr: It opts to make a wrapped program that references the config directly in the store
otulp has joined #nixos
<rogerr> but how can i see what it gens then?
moet has quit [Ping timeout: 264 seconds]
<LnL> nix-store -qR $(command -v nvim) | grep vimrc
zakame has quit [Ping timeout: 240 seconds]
zakame has joined #nixos
<rogerr> ty lnl++
<rogerr> srhb++
<{^_^}> srhb's karma got increased to 135
<rogerr> in the generated vimrc file, it has the set shortmess=I i added to extraConfig, but that doesn't get respected when i run nvim i still see the intro message
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #103985 → autogen: make man output reproducible → https://git.io/JkcjX
<{^_^}> [nixpkgs] @NinjaTrappeur closed pull request #103985 → autogen: make man output reproducible → https://git.io/JkcjX
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hlolli_ has joined #nixos
johnny101 has quit [Ping timeout: 264 seconds]
hlolli has quit [Ping timeout: 272 seconds]
hlolli_ has quit [Remote host closed the connection]
hlolli_ has joined #nixos
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #103986 → autogen: make man output reproducible → https://git.io/JkCvf
iH8c0ff33 has joined #nixos
sbetrium has joined #nixos
aasg has quit [Quit: killed]
pushqrdx has joined #nixos
aasg has joined #nixos
<pushqrdx> one problem still remaining in my nix configuration, adding myself to the i2c group properly
<pushqrdx> i want to be able to use ddcutil without sudo, and i added "i2c" to my groups
<pushqrdx> but i still get premission denied
<pushqrdx> i asked before and someone told me to do something with udev but i forgot what or how :D
iH8c0ff33 has quit [Ping timeout: 272 seconds]
werner292 has joined #nixos
iH8c0ff33 has joined #nixos
<srhb> pushqrdx: I told you to setup the udev rules, yeah. I think they're actually packaged in one of the packages you mentioned, so you'll just have to add that to your udev packages.
<ToxicFrog> Note also that if you're changing your group membership that takes effect only on a new login.
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<ToxicFrog> (i.e. a nixos-rebuild alone won't do it, you need to start a new login session)
<srhb> pushqrdx: I don't remember the name of the package though.. dd something?
<{^_^}> [nixpkgs] @NinjaTrappeur closed pull request #103986 → autogen: make man output reproducible → https://git.io/JkCvf
<pushqrdx> srhb what is the udev packages, do you mean ddcutil?
<pushqrdx> ToxicFrog yeah but that isn't the problem i can see i am in the group
<srhb> pushqrdx: services.udev.packages takes a list of packages and installs their udev rules (if they have any)
<srhb> Which will eg. set the group ownership of device nodes etc.
<srhb> pushqrdx: And yes, ddcutil indeed.
euandreh has joined #nixos
nullheroes has quit [Quit: WeeChat 2.9]
<srhb> pushqrdx: So, adding that package to your udev packages should do the trick.
iH8c0ff33 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @fabianhjr opened pull request #103987 → crystal: refactor and 0.34 -> 0.35.1 → https://git.io/JkCJe
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #103988 → nano: Update script, test → https://git.io/JkCJU
pushqrdx has quit [Remote host closed the connection]
ris has joined #nixos
waleee-cl has joined #nixos
hlolli has joined #nixos
hlolli_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @dywedir opened pull request #103989 → pijul: 1.0.0-alpha.1 -> 1.0.0-alpha.3 → https://git.io/JkCUs
hlolli_ has joined #nixos
hlolli has quit [Ping timeout: 260 seconds]
ericsagn1 has quit [Ping timeout: 260 seconds]
hlolli_ has quit [Ping timeout: 272 seconds]
iH8c0ff33 has joined #nixos
pushqrdx has joined #nixos
iH8c0ff33 has quit [Ping timeout: 260 seconds]
<pushqrdx> so i have i2c in my extra groups, and i added `udev.packages = with pkgs; [ ddcutil ];` to my services
<pushqrdx> rebuilt, still permission denied
<srhb> pushqrdx: I don't remember how to trigger the udev rules by hand, reboot should do it.
<pushqrdx> srhb ofc i rebooted
<srhb> pushqrdx: Oh. root still owns it?
<{^_^}> [nixpkgs] @timokau merged pull request #103965 → spotify-unwrapped: 1.1.42.622.gbd112320-37 -> 1.1.46.916.g416cacf1 → https://git.io/JkctZ
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JkCkG
ericsagn1 has joined #nixos
<pushqrdx> srhb running groups i can't see i2c even though it's there in my extraGroups in nix conf
<srhb> pushqrdx: Did you add your user to it?
<srhb> And what's the ownership of the device node?
<pushqrdx> i am not familiar with udev so i don't understand the last question, the answer to the first question is yes
<srhb> `ls -l /dev/i2c` :)
<pushqrdx> ls: cannot access '/dev/i2c`': No such file or directory
<srhb> pushqrdx: Ah, I thought you added i2c_dev to boot.kernelModules last time.
<pushqrdx> i added it, and i can run sudo ddcutil and control brightness normally
<pushqrdx> idk how or why /dev/i2c is not accessible or there
<pushqrdx> even though ddcutil clearly uses it under sudo
<srhb> Maybe my information is outdated and that's not the right name at all.
<pushqrdx> it is though, like if i run ddcutil without sudo i get
<pushqrdx> Open failed for /dev/i2c-1: errno=EACCES(13): Permission denie
<srhb> Oh, right.
<srhb> So, ls -l that one :)
<pushqrdx> ls: cannot access 'dev/i2c-1': No such file or director
<pushqrdx> :D
<srhb> You're missing a / at the front there.
<pushqrdx> fuck me :D
<pushqrdx> hhh yeah, so crw------- 1 root root 89, 1 Nov 16 21:52 /dev/i2c-1
<pushqrdx> it's root owning it still
<srhb> OK, maybe the rules aren't in the right place in that package, hang on.
<srhb> They're not, they're in share for some reason. You can just set the rule in services.udev.extraRules then: [ ''KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"'' ];
<srhb> pushqrdx: And then we should check about that group since it doesn't show up for you: `grep i2c /etc/group`
<pushqrdx> there supposed to be an = after extraRules before then right?
<srhb> "then" was just me being wordy
<srhb> services.udev.extraRules = [ ...
alp has joined #nixos
lsix has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @turboMaCk opened pull request #103990 → elmPackages.{elm-language-server,create-elm-app,elm-optimize-level-2}… → https://git.io/JkCIT
<pushqrdx> :)) i thought it's something in nix i didn't know about
<pushqrdx> a8 gonna build and reboot
<{^_^}> [nixpkgs] @ccao001 opened pull request #103991 → Darkhttpd chroot → https://git.io/JkCIq
<srhb> pushqrdx: Check the groups first.
<pushqrdx> grep i2c /etc/group doesn't give anything
<srhb> pushqrdx: Sounds like you've added your user to the group, but haven't created the group.
<srhb> pushqrdx: users.groups.i2c = {}; should do it.
<pushqrdx> is this correct?
<pushqrdx> extraRules = [ ''KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"'' ];
<srhb> Looks right.
<pushqrdx> i am getting, A definition for option `services.udev.extraRules' is not of type `strings concatenated with "\n"'
<srhb> pushqrdx: Ah, it's not a list, I misremembered.
<srhb> pushqrdx: Just a string. Get rid of the outer brackets.
<pushqrdx> that's a misleading name then
<srhb> It's still multiple rules (just separated by newlines)
<pushqrdx> for the sake of understanding why the == after kernel but not with others?
<pushqrdx> unless it's a typo ;D
<srhb> pushqrdx: You'd have to look up udev rules syntax for that. However, it's something like: The == _matches_ things, and the right hand side = sets things
<srhb> pushqrdx: So, for device nodes matching that glob, set group i2c and mode 0660
<pushqrdx> ah, makes sense, thanks for explaining though i really appreciate it
<{^_^}> [nixpkgs] @nh2 merged pull request #103984 → lz4: 1.9.2 -> 1.9.3 → https://git.io/JkcpZ
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to staging: https://git.io/JkCIX
pushqrdx has quit [Remote host closed the connection]
fendor has quit [Remote host closed the connection]
pushqrdx has joined #nixos
<pushqrdx> srhb yeeeeaaaah it worked :D
<srhb> Good. :)
orivej has joined #nixos
fendor has joined #nixos
<pushqrdx> i wonder where i can stick that in my configuration
<pushqrdx> it should allow for adjusting monitor brightness on desktop as if it's laptop screen
<pushqrdx> so tools like gnome brightness will control external monitor
<srhb> pushqrdx: Try following the history of that file you found, maybe there's information in the original pull request.
<{^_^}> [nixpkgs] @vbgl merged pull request #103948 → ocamlPackages.owl: 0.10.0 -> 1.0.0 → https://git.io/JknGO
<{^_^}> [nixpkgs] @vbgl pushed commit from @bcdarwin to master « ocamlPackages.owl: 0.10.0 -> 1.0.0 »: https://git.io/JkCLI
<{^_^}> [nixpkgs] @FRidh opened pull request #103993 → WIP: python39: hardcode path to tzdata → https://git.io/JkCLL
cosimone has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
boxscape has joined #nixos
werner292 has joined #nixos
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
<{^_^}> [nixpkgs] @dywedir merged pull request #103989 → pijul: 1.0.0-alpha.1 -> 1.0.0-alpha.3 → https://git.io/JkCUs
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JkCLV
thc202 has quit [Quit: thc202]
sjkelly1 has joined #nixos
hlolli has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
iH8c0ff33 has joined #nixos
endformationage has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
<sjkelly1> Hi, I have a basic shell.nix file, and am having trouble figuring out how to pin a package version.
vandenoever has joined #nixos
vandenoever has joined #nixos
<sjkelly1> I presume these is a incantation somewhere to replace `{ pkgs ? import <nixpkgs> {} }:`
<srhb> ,pinning sjkelly1
<srhb> sjkelly1: Essentially that first box takes the place of import <nixpkgs> {}, but instead uses builtins.fetchTarball to get an exact revision rather than fetching it off your NIX_PATH
<{^_^}> [nixpkgs] @zimbatm opened pull request #103994 → nixos: cleanup eval-config → https://git.io/JkCtb
aasg has quit [Quit: killed]
<sjkelly1> srhb: thanks! I was forgetting "with" at the start.
kim0 has quit [Quit: Connection closed for inactivity]
aasg has joined #nixos
euandreh has left #nixos ["ERC (IRC client for Emacs 27.1)"]
<pingiun> my python application sends emails, which uses socket.getfqdn() to get the EHLO name. however on nix this resolves to "localhost" which google doesn't like
<pingiun> how can I make sure socket.getfqdn() returns the actual fqdn instead of localhost on nixos?
johnny101 has joined #nixos
<pingiun> (this probably has to do with /etc/hosts, but I don't know what to change)
<ToxicFrog> What does `hostname -f` in the terminal output?
<lordcirth> pingiun, the simple way is: networking.hosts = { "155.138.154.104" = [ "atlas" ]; }; . Not sure if it's a good way.
vika_nezrimaya has joined #nixos
wpcarro has quit [Read error: Connection reset by peer]
vdemeester has quit [Read error: Connection reset by peer]
wpcarro has joined #nixos
ryjm has quit [Ping timeout: 256 seconds]
vdemeester has joined #nixos
vikanezrimaya has joined #nixos
aristid has quit [Read error: Connection reset by peer]
bradparker has quit [Read error: Connection reset by peer]
mitsuhiko has quit [Read error: Connection reset by peer]
sorear has quit [Read error: Connection reset by peer]
aristid has joined #nixos
bradparker has joined #nixos
mitsuhiko has joined #nixos
mthst has quit [Remote host closed the connection]
ryjm has joined #nixos
sorear has joined #nixos
tokudan has quit [Remote host closed the connection]
tokudan has joined #nixos
cosimone has quit [Quit: cosimone]
vika_nezrimaya has quit [Ping timeout: 256 seconds]
cosimone has joined #nixos
Boomerang has joined #nixos
<{^_^}> [nixpkgs] @06kellyjac opened pull request #103995 → deno: 1.5.2 -> 1.5.3 → https://git.io/JkCYY
NeoCron has quit [Quit: Leaving]
vikanezrimaya has quit [Ping timeout: 256 seconds]
vikanezrimaya has joined #nixos
<{^_^}> [nixpkgs] @zowoq merged pull request #103977 → buildah: 1.17.0 -> 1.18.0 → https://git.io/Jkc7w
<{^_^}> [nixpkgs] @zowoq pushed commit from @saschagrunert to master « buildah: 1.17.0 -> 1.18.0 »: https://git.io/JkCYz
Darkmatter66 has quit [Ping timeout: 260 seconds]
moet has joined #nixos
vikanezrimaya has quit [Ping timeout: 246 seconds]
Boomerang has quit [Quit: Leaving]
vikanezrimaya has joined #nixos
Boomerang has joined #nixos
<pingiun> lordcirth: I don't know the public ip beforehand
<pingiun> and I don't think the public ip is involved in the python code
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #103229 → lunar-client: init at version 2.4.0 → https://git.io/JkU7s
<{^_^}> [nixpkgs] @AndersonTorres pushed 3 commits to master: https://git.io/JkCO7
<{^_^}> [nixpkgs] @raboof opened pull request #103998 → polkit: 0.116 -> 0.118 → https://git.io/JkCON
<{^_^}> [nixpkgs] @06kellyjac opened pull request #103999 → Tekton cli 0.14.0 → https://git.io/JkC3C
vikanezrimaya has quit [Ping timeout: 272 seconds]
vikanezrimaya has joined #nixos
werner292 has joined #nixos
<jasom> Is there an imageviewer in nixpkgs that can draw to the root window (xv, xview, xli seem to be missing?)
<jasom> ah, there is xloadimage
werner291 has quit [Ping timeout: 272 seconds]
werner292 is now known as werner291
orivej has quit [Quit: No Ping reply in 180 seconds.]
<makefu> jasom: xv should be available, same goes for feh
orivej has joined #nixos
vikanezrimaya has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @nh2 opened pull request #104000 → libmtp, libgphoto2, gphoto2: Switch to Github, allow building from repo → https://git.io/JkCsk
wnklmnn has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #103973 → rspamd: fix builds on non-x86_64-linux platforms → https://git.io/Jkcag
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JkCst
<jasom> ,locate bin/xv
<{^_^}> Found in packages: xv
<jasom> weird, I ran nix-locate locally with that exact string and didn't find a match
<jasom> oh, that appears to be a hex viewer
shibboleth has joined #nixos
cjpbirkbeck has joined #nixos
cjpbirkbeck has quit [Client Quit]
<numkem> what would be the right way to generate the list of dependancies for a derivation wihtin another (through runCommand)
cjpbirkbeck has joined #nixos
dfdsfds has joined #nixos
virus_dave_ has joined #nixos
<ajs124> numkem: closureInfo?
<numkem> ajs124: maybe? I'll look at the docs for that one
joesventek has quit [Quit: Quit]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
joesventek has joined #nixos
virus_dave has quit [Ping timeout: 265 seconds]
virus_dave_ is now known as virus_dave
nikivi has joined #nixos
<jackdk> #96593 is now finished imho, and I'd love for it to get some eyes (ideally from someone with a bit of cloud experience)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/96593 (by endgame, 11 weeks ago, open): ec2-metadata-fetcher: use IMDSv2, fetch public-ipv4 as well
LnL has joined #nixos
<ajs124> not sure there are any
superherointj[m] has joined #nixos
dfdsfds has quit [Remote host closed the connection]
wildtrees has joined #nixos
<ajs124> iirc there is some documentation on exportReferencesGraph
virus_dave has quit [Ping timeout: 272 seconds]
werner291 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @nh2 merged pull request #103954 → slack: 4.10.3 -> 4.11.1 → https://git.io/Jknzq
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JkCZq
seku has quit [Quit: Connection closed]
rprije has joined #nixos
<{^_^}> [nixpkgs] @Atemu opened pull request #104001 → wine: only use strictDeps when mingwSupport is enabled → https://git.io/JkCZu
teto has quit [Ping timeout: 260 seconds]
Jackneill has joined #nixos
Jackneilll has quit [Read error: Connection reset by peer]
__monty__ has quit [Quit: leaving]
virus_dave has joined #nixos
<numkem> ajs124: closeInfo doesn't return what I'm looking for. What I'd like is something like `nix-store -q --requisites`
<NieDzejkob> ehh, is there a way of launching an openvpn connection ad hoc, without editing the system config for each VPN network?
vandenoever has quit [Quit: Konversation terminated!]
<NieDzejkob> (I'm getting "Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory (errno=2)")
<numkem> ajs124: or something like what hydra shows in the `Build Dependancies` tab
<ajs124> numkem: what does nix-store -qR return that closureInfo does not?
<NieDzejkob> ahhh, I'm dumb, the path is embedded in the .ovpn config
<numkem> ajs124: I'd like to have this info generated into a file by hydra. So through a `runCommand` derivation
<ajs124> but closureInfo does give you a file. several actually.
gustavderdrache has quit [Quit: Leaving.]
alp has quit [Ping timeout: 272 seconds]
teto has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #104002 → [staging] python3Packages.requests: 2.24.0 -> 2.25.0 → https://git.io/JkCni
<{^_^}> [nixpkgs] @felschr opened pull request #104003 → etebase-server: init at 0.5.3 → https://git.io/JkCnQ
philr has joined #nixos
pbogdan has quit [Quit: ZNC 1.8.2 - https://znc.in]
buffet has quit [Quit: Ping timeout (120 seconds)]
coderobe has quit [Quit: Ping timeout (120 seconds)]
pbogdan has joined #nixos
buffet has joined #nixos
hauleth has quit [Quit: ZNC 1.7.4 - https://znc.in]
hauleth has joined #nixos
brettgilio has quit [Remote host closed the connection]
sulu has quit [Quit: No Ping reply in 180 seconds.]
night has quit [Remote host closed the connection]
coderobe has joined #nixos
luigy has quit [Ping timeout: 240 seconds]
virus_dave has quit [Ping timeout: 260 seconds]
NightA has joined #nixos
sulu has joined #nixos
<{^_^}> [nixpkgs] @danderson opened pull request #104004 → tailscale: 1.2.6 -> 1.2.7 → https://git.io/JkCcZ
luigy has joined #nixos
brettgilio has joined #nixos
werner291 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @teto opened pull request #104005 → mirrors: fix lua mirrors → https://git.io/JkCcN
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
<{^_^}> [nixpkgs] @thanegill opened pull request #104006 → pythonPackage.uvicorn 0.11.5 -> 0.12.2 and fix tests on darwin → https://git.io/JkCCv
virus_dave has joined #nixos
inkbottle has joined #nixos
<pingiun> how do I use the oneOf type in my modules? like how can I check which type was chosen?
zebrag has quit [Ping timeout: 246 seconds]
<clever> pingiun: it behaves just like a string or int type, and the config value will just return one of the valid values
<pingiun> ah of course
BlessJah_ has joined #nixos
inkbottle is now known as zebrag
<clever> and nixos will error out of its not valid, and your nix expr will never see an invalid one
<pingiun> so I'm using submodules as the subtype, how do I check if a key exists?
<pingiun> oh there is an operator for that, nvm
BlessJah has quit [Ping timeout: 260 seconds]
stree has quit [Quit: Caught exception]
stree has joined #nixos
<NemesisD> i've noticed when i enable remote builds that nix seems to just choose one of the machines when i'm building a project and builds there. I expected it would maybe send batches across all the machines and then gather them back up. is this how it's intended to work?
<jackdk> ajs124: it doesn't need to be a cloud expert; most of the change is pretty sh-elly
<jackdk> NemesisD: you might need to twiddle the size parameters you tell nix, because it probably thinks that there's capacity on the first build machine
<NemesisD> jackdk: so for example, my laptop, the place where i'm building locally is an 8 core i7. i have a server that's an 8 core i5. i'm not sure how nix determines the capacity/speed of the local machine. do i need to add it, i.e. '--builders "ssh://my-server - - 8 1; ssh://localhost - - 8 2"? and do i need to explicitly pass a `-j` with a high number so it tries to saturate all builders or should it do that automatically?
<jackdk> NemesisD: see https://nixos.org/manual/nix/stable/#chap-distributed-builds , in particular point 5, 'The “speed factor”, indicating the relative speed of the machine. If there are multiple machines of the right type, Nix will prefer the fastest, taking load into account.'
<ajs124> jackdk: my comment was regarding numkem's quest for docs on closureInfo. my bridge is just being slow.
<jackdk> ajs124: ah ok
<ajs124> why is it "docs" anyways. documentations? plural?
fendor has quit [Remote host closed the connection]
<jackdk> NemesisD: I don't know what "taking load into account" means, but I think there are tuning considerations here. let me see if I can find the docs
<jackdk> NemesisD: oh it's just there too, scroll down to table 17.1 and all ch17 in general
<NemesisD> jackdk: i'm curious if "prefer the fastest" implies that it will always choose one and only one machine
<Boomerang> What is the best way to setup the current time in a buildPhase to get reproducible builds? Or is nix supposed to set that for me?
BlessJah_ is now known as BlessJah
<{^_^}> [nixpkgs] @WolfangAukang closed pull request #101607 → signumone-ks: init at 3.1.2 → https://git.io/JTwXA
<jackdk> NemesisD: I don't know, and I'd have to source-dive to find out. since I'm unfamiliar with the nix codebase and don't have time to dig, sorry. Anecdotally, I've found that's seems it will fill the fastest machine before trying to fill the next, but that was for a single machine with a single remote builder and may not be true in general
zupo has joined #nixos
eoli3n has quit [Ping timeout: 264 seconds]
<NemesisD> jackdk: fair enough. thanks for your help! i'll look into it deeper when i get a chance.
virus_dave has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #103885 → libcint: 4.0.2 -> 4.0.6 → https://git.io/JkG4o
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JkCW6
<jackdk> Boomerang: Is the derivation you're trying to write sensitive to local time? I haven't tripped up on it myself. I would expect patching away dependence on local time to be easier than teaching the clocks to lie?
<Boomerang> I have managed to make the configuration code not depend on the time, but it still writes files that end up in a tarball and they have the current timestamp
<jackdk> right. because the build process will change the timestamp of files in $out to 1970-01-01 but not repack the tarball?
<Boomerang> Yes I think that's the reason. I'm a bit fuzy on the details
<Boomerang> So the process writes files and then puts them in a tarball without leaving a chance to nix to change their timestampes
<Boomerang> So either I can lie about the current time to the process or untar, change timestamp, retar?
shibboleth has quit [Quit: shibboleth]
<jackdk> to be clear, you are generating this tarball as part of your buildPhase?
virus_dave has joined #nixos
<Boomerang> For more details, I am patching setuptools in nixpkgs. The tarball and some of the files it contains are generated by a call to `setup.py sdist --formats=gztar` in the buildPhase
<jackdk> Boomerang: I was about to suggest https://stackoverflow.com/a/54908072/429232 but don't know if you can get the necessary args to setuptools
<{^_^}> [nixpkgs] @cdepillabout merged pull request #103962 → [20.09] haskellPackages.hail: relax cabal dependencies to unbreak → https://git.io/JkcfR
<{^_^}> [nixpkgs] @cdepillabout pushed 3 commits to release-20.09: https://git.io/JkClp
<jackdk> also you'll need to ensure that setuptools is using gnutar not bsdtar and I dunno if that's true on darwin?
<jackdk> I'm going to have to bow out of this sorry
<Boomerang> Alright, thanks for your help! :)
asbachb has joined #nixos
<pistache> what is the best way to be able to use the Nix language with the standard library (`lib`), but without the NixOS modules ?
<pistache> should I just use disabledModules to disable everything I can find, or is there a better way ?
<pistache> I'd like to reuse the standard library to define my own modules, and to be able to use some of the nix tooling to evaluate these modules (namely, nix-instantiate)
`slikts has quit [Ping timeout: 246 seconds]
<jackdk> Boomerang: btw the reason I think you need to force gnutar is that bsdtar doesn't have the --mtime flag
mananamenos has joined #nixos
<Boomerang> Good to know!
<asbachb> Can someone try `nix-shell -p meld` and check if ther's any icons.
<mananamenos> hi, suddenly my laptop doesn't show the correct time on the clock. Im in Madrid, Spain timezone. The clock shows one hour late.
astatine has joined #nixos
<Boomerang> jackdk: It seems like setuptools does support some of the tar options (like --owner and --group) but not --mtime it seems :(
Dotz0cat has joined #nixos
<pistache> asbachb: toolbar and tab icons are fine, and I see no icons in the menu
<asbachb> pistache: What's your window manager?
<pistache> asbachb: i3
<asbachb> mh. Maybe I'm facing a wayland issue.
`slikts has joined #nixos
<pistache> asbachb: I've had some problems with icons in the past, I fixed them by installing some missing packages
<asbachb> pistache: Do you remeber which packages?
<pistache> asbachb: I'm looking
<mananamenos> hmm, so my `sudo hwclock` shows the correct time, but the gnone on nixos show one hour late. What is this issue?
<pistache> asbachb: I use home-manager to set gtk.iconTheme.package to pkgs.hicolor-icon-theme, and I also have gnome2.gnomeicontheme and gnome3.defaultIconTheme installed
<pistache> I think I needed those two last packages to fix some missing icons, but I'm not completely sure
<pingiun> does types.oneOf not work with submodules?
<asbachb> pistache: I guess I'll open a bug.
<{^_^}> [nixpkgs] @danderson closed pull request #104004 → tailscale: 1.2.6 -> 1.2.7 → https://git.io/JkCcZ
boxscape has quit [Ping timeout: 256 seconds]
<pistache> is there an easy way to disable all NixOS modules ? listing all files individually in disabledModules is a bit cumbersome
<pingiun> pistache: I think you can set baseModules
<pingiun> I saw this in nixos/lib/eval-config.nix
<pistache> pingiun: hmmm
<pistache> thanks a lot
<pistache> # !!! what do we gain by making this configurable?
<pistache> you gain one happy pistache
<{^_^}> [nixpkgs] @bhpdt opened pull request #104007 → woff2: use canonical prefixes → https://git.io/JkC4S
<pingiun> I'm not quite sure how to use it
<pingiun> but I guess you can use that somehow
<pingiun> interesting comment yea
tru_tru has quit [Quit: leaving]
werner291 has quit [Quit: werner291]
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @maralorn pushed to haskell-updates « haskellPackages.hackage-security: Disable test to fix build »: https://git.io/JkCB1
jbox has joined #nixos