worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<fresheyeball[m]> Overall I have learned that explicit sha256 is not a good thing. It's better to use the fetchGit primitive instead. Since a hash is a hash.
cr4y1 has quit [Ping timeout: 240 seconds]
<mightybyte> Also notice that the above shas are not the same as the one in default.nix.
<fresheyeball[m]> Yeah, which is odd
<cole-h> Yeah, that's really strange...
<mightybyte> The explicit sha is what gives you bit-for-bit reproducibility.
<cole-h> I wouldn't say bit-for-bit...
<cole-h> But pretty dang close.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #89311 → [20.03] firmwareLinuxNonfree: 2020-01-22 -> 2020-05-19 → https://git.io/JfiLz
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jfd1X
<mightybyte> Note how the above error message says "fixed-output derivation". I think that's the difference here.
<iqubic> How does one use patchelf? Is it hard?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #88581 → [20.03] xpra: fix #41106 #85694 → https://git.io/Jf28j
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to release-20.03: https://git.io/Jfd1M
<fresheyeball[m]> <mightybyte "hash mismatch in fixed-output de"> Can you paste the contents of
<{^_^}> [nixpkgs] @worldofpeace merged pull request #87807 → [20.03] samba: 4.11.5 -> 4.11.9 → https://git.io/JfB3n
<cole-h> mightybyte: It says that for all hash mismatches IIRC
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jfd1D
<patrickod> cole-h: yep should have specified - I'm still seeing the same set_memory_array_wb compilation exception described in the issue.
AmandaC has quit [Read error: Connection reset by peer]
<cole-h> patrickod: Did you change your `boot.kernelPackages` to be `linuxPackages_latest` (the package set you're patching)?
<mightybyte> Oh, I suppose that's possible. It didn't sound familiar.
<patrickod> yep I have "boot.kernelPackages = pkgs.linuxPackages_latest;" specified
shibboleth has quit [Quit: shibboleth]
<mightybyte> I removed all the store paths with the string "binary-instances" and now I'm getting this error.
<mightybyte> error: opening file '/nix/store/h52bg569qm1n5zdwklalwwjhz4jljycx-cabal2nix-binary-instances.drv': No such file or directory
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #87249 → [20.03] ssm-session-manager-plugin: init at 1.1.61.0 → https://git.io/Jfc45
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jfd1N
<{^_^}> [nixpkgs] @worldofpeace merged pull request #86567 → [20.03] silence warning from #63103 in encrypted-devices.nix → https://git.io/Jf3z2
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jfd1A
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #89756 → [20.03] jool: 4.0.5 -> 4.0.9 → https://git.io/JfMbM
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jfd1x
<{^_^}> [nixpkgs] @worldofpeace closed pull request #71212 → nixosTests.gnome3-flashback: init → https://git.io/Je4vV
arahael3 has quit [Quit: WeeChat 2.7.1]
h0m1 has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to release-20.03 « pantheon.elementary-code: 3.4.0 -> 3.4.1 »: https://git.io/JfdMk
h0m1 has joined #nixos
rogue_koder has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #75865 → cfdyndns: fix broken build → https://git.io/Je5Tj
<{^_^}> [nixos-search] @garbas pushed to fix-62 « another round on packages search »: https://git.io/JfdMt
<iqubic> ilspycmd: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
simukis__ has joined #nixos
<worldofpeace> Anyone need a PR merged?
<dminuoso> I do
<dminuoso> But I dont think you have read access to my git repos.. :<
<iqubic> I need a PR merged. I added a thing called CasterSoundboard to nixpkgs, about a week ago.
rogue_koder has joined #nixos
<DigitalKiwi> whatever patches dylibs can't handle spaces?!
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfdMw
<iqubic> So, this ilspy thing is pissing me off.
<iqubic> I can't figure out how to make it run on Nixos.
<worldofpeace> iqubic: reviewed
<worldofpeace> But anyone with PRs that are approved that could be merged?
<iqubic> That's my first time adding a package to nixpkg. I hope I did it correctly.
<DigitalKiwi> post-installation fixup
<DigitalKiwi> /nix/store/ycbm0z3lvinvbi1x8kq7j4mkmmyd8ky1-mlv-app-1.11/Applications/MLV: fixing dyliberror: otool: can't open file: /nix/store/ycbm0z3lvinvbi1x8kq7j4mkmmyd8ky1-mlv-app-1.11/Applications/MLV (No such file or directory)
<DigitalKiwi> it's supposed to be MLV App.app
m0rphism has quit [Ping timeout: 260 seconds]
<DigitalKiwi> my workaround is make it MLVApp.app and rename it MLV App.app in postFixup >.>
<cole-h> worldofpeace: Well, since you're asking... https://github.com/NixOS/nixpkgs/pull/87579
<{^_^}> #87579 (by cole-h, 5 weeks ago, open): nixos/sudo: default rule should be first
<worldofpeace> ahh goodness and mkBefore, always looks like magic numbers 🤣
<cole-h> :D
<worldofpeace> maybe put a reason why it's mkBefore 600 in the file? (or is that contextually apparent?)
<cole-h> It's contextually apparent when you read the commit message... ;D
<iqubic> Where is libstdc++.so.6 located?
<cole-h> ,locate libstc++.so.6
<{^_^}> Couldn't find in any packages
<iqubic> I actually want a store path, as I'm trying to do some patchelf stuff.
<worldofpeace> stdenv.cc.cc?
<iqubic> I'm doing this imperatively.
sigmundv_ has quit [Ping timeout: 256 seconds]
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<worldofpeace> cole-h: I guess I'm suggesting a comment?
<iqubic> I installed dotnet-sdk then ran "sudo dotnet tool install ilspycmd ~/ilspy" which installed an executable for me, but I can't run it because: "/home/avi/ilspy/ilspycmd: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory"
codygman has quit [Read error: Connection reset by peer]
<iqubic> Trying to patchelf this.
codygman has joined #nixos
pamplemousse has quit [Ping timeout: 265 seconds]
<iqubic> This is being a pain.
<cole-h> worldofpeace: Sorry, I made a sandwich :D Yeah, I'll add that in a sec
<worldofpeace> cole-h 2020 @@@@@ "Sorry, I made a sandwich :D" - Simply iconic, no problem 😁
gustavderdrache has joined #nixos
gueorgui_ has joined #nixos
<cole-h> worldofpeace: Done. Now, to resume eating said sandwich :D
<iqubic> So, why is it hard to get patchelf to work?
gueorgui has quit [Ping timeout: 258 seconds]
Rusty1 has joined #nixos
<{^_^}> [nixos-search] @garbas pushed to fix-62 « remove debug output »: https://git.io/JfdMd
user_0x58 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #87579 → nixos/sudo: default rule should be first → https://git.io/JflvW
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfdMj
pamplemousse has joined #nixos
kleisli has quit [Remote host closed the connection]
<cole-h> worldofpeace++ Thanks! Could I ask you to send it to 20.03 as well? 😬
<{^_^}> worldofpeace's karma got increased to 172, it's a crit!
kleisli has joined #nixos
<worldofpeace> critical hits glitches. cole-h Not sure, backports can be too much mental pressure if you know what I mean 😸
<cole-h> :P
rogue_koder_ has joined #nixos
rogue_koder has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #88763 → pantheon.switchboard-plug-power: 2.4.1 -> 2.4.2 → https://git.io/JfaQ3
<cole-h> worldofpeace: OK, backport coming up :D
<cole-h> ...once I stop getting unicorns on my PR
<DigitalKiwi> is still a bit of a mess
<{^_^}> [nixpkgs] @cole-h opened pull request #90699 → [20.03] nixos/sudo: default rule should be first → https://git.io/JfdDY
<cole-h> worldofpeace: ^ :^)
<worldofpeace> DigitalKiwi: the platforms shouldn't be platforms.linux, but just the x86_64-linux
<worldofpeace> the only thing that doesn't look really ready is the darwin bit, maybe open a draft
<DigitalKiwi> it also works on aarch64
<DigitalKiwi> so just put both of those too?
<iqubic> I still can't figure out how to figure how to get patchelf and ilspy to work.
<worldofpeace> oh, it works on aarch64, I guess you can leave that then
<DigitalKiwi> i tried building it from source but it failed at like trying to mv or rm some ffmpeg thing and i couldn't figure out how to debug
alp has quit [Ping timeout: 272 seconds]
<cole-h> worldofpeace: I was under the impression that the "port to stable" label is for PRs that should be backported, and finally have been... But now I don't know, because it makes sense either way...
<worldofpeace> wtf, there's a .zip in the archive
<cole-h> Archive of an archive? :o
<samueldr> cole-h: needs port to stable for those PRs taht need a port to stable
<DigitalKiwi> that's from the git one
pamplemousse has quit [Ping timeout: 264 seconds]
<cole-h> samueldr: Right. I think I saw veprbl change the label to "has port to stable" once the port-PR had been opened... Maybe I'm losing my mind.
<cole-h> *one time, I think I saw...
<worldofpeace> woah, there really is archives in the repo's https://github.com/ilia3101/MLV-App/tree/master/platform/qt/FFmpeg
<cole-h> lol
<iqubic> So, I'm trying to figure out ilspy, and it's not working.
<DigitalKiwi> my first attempt was to try and build it (most of the code is still there but commented) and then i got to that dpaste error and switched to just using their .app >.>
<iqubic> ldd returns this:
<cole-h> worldofpeace: The old fashioned way of releases I guess
<cole-h> :D
<iqubic> This is a dotnet thing, so it might be hard to get it to work.
<gustavderdrache> iqubic: you gotta be careful with ldd - it'll resolve libraries that are loaded into its own process
<iqubic> Really?
<worldofpeace> DigitalKiwi: eww, they're binaries I think
<gustavderdrache> yeah, happens a lot with libc
<cole-h> iqubic: /nix/store/aghiaaz22a0h4b91vx8d1z1xhz9paikf-gcc-9.3.0-lib/lib/libstdc++.so.6
<cole-h> I have that in the ldd of my `nix`
<gustavderdrache> patchelf --print-needed will show you the library names
red[evilred] has joined #nixos
<red[evilred]> NixOS on Arm has package binary caches right? IE - a friend of mine just installed it and it started compiling all the things on him
<iqubic> gustavderdrache: I've got that list of things that are needed.
reanimus has quit [Ping timeout: 240 seconds]
<gustavderdrache> okay, basic libc/libstdc++ stuff
<cole-h> red[evilred]: aarch64 at least, I believe so.
<iqubic> No idea how to work with that. This is my first time using patchelf.
<DigitalKiwi> only aarch64 has official ones
<gustavderdrache> iqubic: is this a binary you grabbed from, e.g., github releases or something?
sheeldotme has joined #nixos
reanimus has joined #nixos
<gustavderdrache> aha
<iqubic> I installed dotnet-sdk and ran "dotnet tool install ilspycmd --tool-path ~/ilspy" where ilspy is a directory I created for this.
marcusr has quit [Remote host closed the connection]
h0m1 has quit [Ping timeout: 272 seconds]
<gustavderdrache> did you get any errors from the dotnet invocation?
<iqubic> No. None.
<iqubic> Well, actually, I did get errors, but running with "sudo" fixed them.
<gustavderdrache> i'm not clear on how this led you to patchelf
<iqubic> I was lead to patchelf when cole-h suggested using it.
h0m1 has joined #nixos
wolfjb has joined #nixos
<gustavderdrache> were you getting "file not found"-type errors trying to run the tool?
<iqubic> No.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #90688 → json_c: add patch for CVE-2020-12762 → https://git.io/Jfdre
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/JfdDE
<gustavderdrache> now i'm very confused
<gustavderdrache> what problem are you trying to solve?
<red[evilred]> cole-h (IRC): thank you
marcusr has joined #nixos
<iqubic> This is the original error I got.
<wolfjb> Hello, I have installed home-manager and added the "oh-my-zsh" configuration, also installed fzf package and the module for zsh in the oh-my-zsh configuration in my home.nix file. However, starting a shell gives the message "Please add `export FZF_BASE=/path/to/fzf/install/dir` to your .zshrc" - but the .zshrc file is not writable. Nor is the .zshenv file, matter of fact those files are symlinks to files owned by root. So, how does one
<wolfjb> go about adding environment variables?
<cole-h> red[evilred] (assumed not-IRC): You're welcome. :P
<gustavderdrache> google says it's related to the DOTNET_ROOT environment variable - my guess is that the runtime needs to know where it's installed
<{^_^}> [nixpkgs] @worldofpeace merged pull request #90699 → [20.03] nixos/sudo: default rule should be first → https://git.io/JfdDY
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JfdDg
<gustavderdrache> unfortunately that's as much as i know about .net
<cole-h> Thanks again worldofpeace++
<{^_^}> worldofpeace's karma got increased to 173
<worldofpeace> Yep, you're welcome 💖
<cole-h> Oh crap
<cole-h> I forgot
<cole-h> ✨ worldofpeace
<{^_^}> worldofpeace's karma got increased to 174
<cole-h> Phew
<cole-h> Balance is restored
<iqubic> gustavderdrache: This is the original error I was getting: http://dpaste.com/3D4S7TR
<gustavderdrache> iqubic: see for example https://github.com/dotnet/sdk/issues/9304
<{^_^}> dotnet/sdk#9304 (by natemcmaster, 2 years ago, closed): .NET Core executables fail if .NET Core is not installed in default location
<worldofpeace> Our savior
<cole-h> Now I have no more open (nixpkgs) PRs :D
<worldofpeace> well, k'bye friends. cya soon (maybe tomorrow)
<worldofpeace> 👋
<cole-h> o/
<iqubic> gustavderdrache: What should I do here?
<gustavderdrache> i think you just need to `export DOTNET_HOME` with whatever the install location is
<{^_^}> [nixpkgs] @mmilata opened pull request #90700 → [20.03] json_c: add patch for CVE-2020-12762 → https://git.io/JfdD2
<iqubic> the install location is "~/ilspy" which is a directory I created to hold the files.
<iqubic> So just export DOTNET_HOME?
<gustavderdrache> i believe so
<gustavderdrache> again, not really a dotnet expert so you'll probably need to find some more docs
<iqubic> What do I set the value equal to? "~/ilspy"?
<gustavderdrache> yeah, i think so
<iqubic> Actually, it's called DOTNET_ROOT
<cole-h> tbh, I'd try setting it to `${pkgs.dotnet-sdk}`
<iqubic> Yeah.
<{^_^}> [nixpkgs] @nh2 opened pull request #90701 → consul.passthru.tests: Fix failure on current consul versions, add more tests → https://git.io/JfdDo
user_0x58 has joined #nixos
<iqubic> cole-h: I'm not sure which folder that is, as I installed dotnet-sdk with nix-env.
<{^_^}> [nixpkgs] @sheeldotme closed pull request #90579 → coc-nvim: add patch to hardcode node dependency → https://git.io/Jf5L3
<cole-h> Don't. I'd suggest setting up a shell.nix and putting that in the shellHook
<iqubic> Oh. I see.
<iqubic> How do I do that again?
<cole-h> mkShell { (...) shellHook = ''export DOTNET_HOME="${pkgs.dotnet-sdk}"'' }
<cole-h> would be a start
<iqubic> Oh god, I've never made a shell.nix.
wnklmnn_ has quit [Quit: Leaving]
<iqubic> Shouldn't I have some imports at the top of the file?
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<iqubic> This isn't quite working: https://termbin.com/isqy
<iqubic> error: cannot auto-call a function that has an argument without a default value ('dotnet-sdk')
<iqubic> Hmm?!?
<cole-h> remove dotnet-sdk from the top curly braces
<iqubic> But then how will I get dotnet-sdk in the nix-shell enviroment?
wolfjb has left #nixos ["ERC (IRC client for Emacs 26.3)"]
<cole-h> Through `pkgs`
<iqubic> but I'm going to need the dotnet executable here in order to run "dotnet tool install ilspycmd --tool-path $PWD"
<cole-h> Is that part of dotnet-sdk?
<iqubic> Yes.
<cole-h> So it is. Then, add it to `buildInputs`.
<iqubic> Is there somewhere I can go to look at a list of all the possible options I can set in mkShell?
thc202 has quit [Ping timeout: 260 seconds]
<iqubic> cole-h: Just setting the DOTNET_ROOT properly works for me.
smatting_ has joined #nixos
<{^_^}> [nixpkgs] @matthuszagh opened pull request #90703 → python3Packages.pylibftdi: 0.18.1 -> 0.19.0 → https://git.io/JfdyC
justanotheruser has quit [Ping timeout: 260 seconds]
smatting has quit [Ping timeout: 265 seconds]
user_0x58 has quit [Remote host closed the connection]
user_0x58 has joined #nixos
mog has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
mog has joined #nixos
nuncanada has quit [Quit: Leaving]
ogkloo has quit [Ping timeout: 260 seconds]
<msirabella> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
jumper149 has quit [Quit: WeeChat 2.8]
<msirabella> Is there an idiomatic "nixos" way of doing continuous deployment onto a running nixos box?
<sheeldotme> msirabella are you looking for https://github.com/NixOS/nixops?
<cole-h> That's just deployment.
<msirabella> Perhaps, but most of the literature I've found on nixops has been for provisioning and deploying new machines
<cole-h> For continuous deployment, you could add a post-commit hook that deploys :D
<cole-h> btw, nixops isn't only for new machines...
<cole-h> I use it in place of nixos-rebuild for my machine
<msirabella> right, my question is basically what should "deploys" do?
<cole-h> Build the system and switch to the new config?
<cole-h> At least, that's what the deployment tools, like nixops, morph, and nixus, do
waleee-cl has quit [Quit: Connection closed for inactivity]
<msirabella> Would nixops need the full configuration file to do the "nixos-rebuild"? I think that's what I'm confused about, I have a standalone repository for just the nginx content of my machine
<cole-h> Yes, it needs all the configuration that a normal machine would.
emacsoma1 is now known as emacsomancer
ok2` has joined #nixos
<{^_^}> [nixpkgs] @JohnAZoidberg pushed 3 commits to master: https://git.io/JfdSO
<cole-h> msirabella: Here's my deployment.nix. I hope it'll give you an idea of how it's used in practice: https://github.com/cole-h/nixos-config/blob/nixos/deployment.nix
<{^_^}> [nixpkgs] @JohnAZoidberg closed pull request #84739 → dasm: init at 2.20.13 → https://git.io/Jvxim
<msirabella> Thanks cole-h ! I'm not sure if I want to bundle in my entire nixos configuration with a specific package I want to deploy to my server, but I'll take a look
<cole-h> I mean... If you're deploying to a server, you'll need to setup a configuration.nix for the server, right?
<sheeldotme> cole-h thanks for sharing! Are you able to add the home-manager channel and configure it on rebuild with nixops too? I'm not sure where that would be found.
<msirabella> My current workflow is just plain old `nixos-rebuild`, configuration exists on the server in /etc/nixos
<sheeldotme> oh i see, you clone and install it
<cole-h> sheeldotme: I use channels as little as possible (so, only for `nix repl '<nixpkgs>'` and nix-shell)
<cole-h> But I do use home-manager, pinned through niv
pr06lefs has quit [Ping timeout: 260 seconds]
<sheeldotme> cole-h what's the reasoning behind that? Is it to maintain reproducibility?
<cole-h> Yep.
<msirabella> If I'm understanding correctly cole-h, you would theoretically have a "nixops deploy ..." in any post-commit hook on your personal machine?
<cole-h> msirabella: Right. Currently, I don't (because I don't commit as frequently as I should), but that's probably what I would do
Pidgeotto has joined #nixos
<cole-h> and I might even be tempted to do it in a pre-commit hook, so that I don't commit a broken configuration.
<colemickens> Is anyone using nvim-lsp with nixos or hm's vim infra?
<msirabella> Makes sense
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
<sheeldotme> Makes sense to me cole-h, how do you currently handle secrets do you just have them in another git repo? Thinking about setting up something with vault.
spacefrogg has joined #nixos
felixfoertsch23 has joined #nixos
<cole-h> I have a secrets repo, where the contents are encrypted with git-crypt (so they're readable once I authenticate with GPG after setting up my machine, but total garbage on GH or a new clone)
felixfoertsch23 is now known as felixfoertsch
felixfoertsch has quit [Ping timeout: 246 seconds]
<sheeldotme> Very cool. Hope you don't mind all the questions but I'm right in the thick of setting up my environment right now and it seems you've thought about a lot of the things I'm about to get to.
<cole-h> No problem, I'm always happy to help :^)
<sheeldotme> thanks cole-h!
<msirabella> Unfortunately I don't think the process of bundling all my configuration together for independent projects with continuous deployment is going to work, but this conversations has given me the idea of maybe making my own channel for my build (even though you avoid channels :P)
<cole-h> You don't necessarily need to bundle all your configuration... Just need to have enough configuration for each host that it will boot and run the services you want :P
<msirabella> That is a definite solution, if I want to stick to one host would I run all the things in docker containers?
<cole-h> NixOS has native containers, but I don't know if people prefer one or the other.
<msirabella> Ah, that's probably something to look in to
<cole-h> If you run it on one host, you'll still need to rebuild your system every time you change something, so that wouldn't change whether you use nixops or nixos-rebuild
ogkloo has joined #nixos
dfordvm_ is now known as dfordvm
domogled has quit [Quit: domogled]
<msirabella> It's just the idea of where I'm keeping the configuration files for my server, and keeping an unrelated package decoupled from my actual server configuration
<cole-h> Sorry, that does not compute for me... If it's decoupled from your server configuration, how are you deploying it to the machine?
pr06lefs has joined #nixos
<msirabella> Right now in the depths of my configuration.nix I have `nginx...root = import website.nix` with website.nix being a derivation pointing to a git url with a hardcoded hash
<msirabella> I *basically* just want a way to bump that hardcoded hash from gitlab when I do a push
<cole-h> Ohhhhhhhhhhhhhh
<msirabella> Like you were saying, that could really mean just redeploying a machine
<cole-h> I mean, at that point, why not just point it to a master tarball or something? :P
<msirabella> Sorry, I wasn't being very specific :P
<MtotheM> What is the reason for being so inconsistent when it comes to configurations in nixOS? I understand that home-manager exists. but why only allow configuration declarations for a handful of programs and not everything?
<msirabella> You are right, but with nixos' purity I have to specify a sha256 of the tarball as well and its the same problem?
<cole-h> Not really
<multun> MtotheM: home-manager configures programs for your home only
<cole-h> You can use builtins.fetchTarball "url"
tsrt^ has joined #nixos
<{^_^}> access to URI 'https://github.com/cole-h/nixos-config/archive/master.tar.gz' is forbidden in restricted mode
<cole-h> F
<cole-h> Well, you get the idea.
<cole-h> builtins.fetchTarball doesn't *need* a sha256.
<MtotheM> yes, but you can't configure programs globally with nix from my limited experience. apart from the handpicked ones. like vim, tmux, xmonad etc
<cole-h> It's great for reproducibility
<msirabella> Give me a minute, I need to read about this, i am dumbfounded at how simple the solution is
<multun> MtotheM: it mainly manages your dotfiles, which means that for a program to be supported, somebody has to have written some code to generate it from the configuration you give. sometimes, along with the dotfiles, it sets up a systemd user service and installs a program
<multun> MtotheM: well yes you can
<cole-h> ^
<MtotheM> Mind pointing me in the right direction? cause I can't find any information on it.
<cole-h> Look at any of the already-present modules in NixOS
<multun> MtotheM: global packages can be added in /etc/nixos/configuration.nix, in the environment.systemPackage key
<multun> _unless_ you only use nix and not nixos
<MtotheM> I know I can declare my packages in there, but I meant the configuration files.
<cole-h> You can configure user packages the same way you configure it on any other machine: if there's no module for it, just modify ~/.config/somepackage.
<msirabella> cole-h: thank you so much, it looks like this is exactly what I am looking for
<msirabella> And I learned a lot along the way, too
<cole-h> Need to configure system packages without a module? Just use `environment.etc."somepackage/package.conf".text = "here's some configuration lol";`
<cole-h> msirabella: Happy to help, glad we got you sorted :D
<msirabella> fetchTarball must re-fetch the resource on the internet on every rebuild, correct? It can't know if it's changed otherwise
<cole-h> No, it has a cache IIRC
growpotkin has quit [Quit: ZNC 1.8.0 - https://znc.in]
<multun> MtotheM: configuration for globally installed programs are in /etc/nixos/configuration.nix as well, and configuration for stuff in your home is handled by home-manager
<cole-h> Governed by tarball-ttl: "The number of seconds a downloaded tarball is considered fresh."
<MtotheM> `environment.etc` gonna look at this
<msirabella> ah I see, I'll have to look in to how to manually force it to re-get it
<cole-h> "If the cached tarball is stale, Nixwill check whether it is still up to date using the ETag header. Nix will download a new version if theETag header is unsupported, or the cached ETag doesn't match."
<multun> both can install good old text files, but have convenient settings to generate those
<cole-h> msirabella: You can just do `--option tarball-ttl 0` if you need to force a re-fetch.
<cole-h> "Setting the TTL to 0 forces Nix to always check if the tarball is up to date."
<msirabella> Where are you quoting this text from? I can't find such comprehensive documentation on fetchTarball
<cole-h> `man nix.conf`
<msirabella> oh, ty
<cole-h> It's not limited to fetchTarball
<cole-h> Anything that uses a .tar.gz underneath follows these settings, AFAIK
<cole-h> Of course, not many things accept a tarball without a sha256, so fetchTarball is the only real user-facing place this occurs, to my knowledge
<{^_^}> [nixpkgs] @matthewbauer merged pull request #84315 → rgbds: 0.3.10 -> 0.4.0 → https://git.io/JvNkD
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jfd9e
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
mog has quit [Ping timeout: 240 seconds]
Supersonic has quit [Ping timeout: 240 seconds]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
JohnKozak has joined #nixos
JohnKozak has quit [Client Quit]
<cole-h> How long do hydra jobs get before they time out?
<cole-h> Looks like 36000 (10 hours)
<{^_^}> [nixpkgs] @cfsmp3 opened pull request #90706 → libprom: init at 0.1.1 → https://git.io/Jfd9F
<angerman> What reason could there be to prevent me to install linux-headers on macOS?
rogue_koder_ has quit [Ping timeout: 246 seconds]
<multun> angerman: there may not be any, try it out!
<angerman> multun: ohh it does build... it's just that allowUnsupportedSystem = true is required, which I don't fully understand.
rogue_koder_ has joined #nixos
<multun> no idea
<cole-h> Well, it's probably because macOS doesn't support the Linux kernel :P
mog has joined #nixos
cole-h_ has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
pr06lefs has quit [Ping timeout: 240 seconds]
<multun> :D
<multun> well, yeah
<multun> installing just the headers should be fine though
<angerman> cole-h: no reason not allowing to use the headers when cross compiling though...
rogue_koder_ has quit [Remote host closed the connection]
cole-h has quit [Ping timeout: 258 seconds]
rogue_koder_ has joined #nixos
cyphase has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/87cde1cfd3e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
cole-h_ is now known as cole-h
D_ has quit [Ping timeout: 260 seconds]
D_ has joined #nixos
uwap has joined #nixos
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
ddellacosta has quit [Ping timeout: 256 seconds]
drakonis has quit [Quit: WeeChat 2.8]
simba1 has joined #nixos
<{^_^}> [nixpkgs] @mnacamura opened pull request #90708 → gauche: fix path to cert file → https://git.io/JfdHh
<{^_^}> [nixpkgs] @cdepillabout merged pull request #90470 → spago: 0.15.1 -> 0.15.3 → https://git.io/Jf7uw
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfdHj
sib81 has joined #nixos
<sib81> Does anyone know how can I use the features added by this PR? https://github.com/NixOS/nixpkgs/pull/76427
<{^_^}> #76427 (by countoren, 25 weeks ago, merged): vscode-utils/vscodeEnv: add vscodeWithConfiguration, vscodeExts2nix a…
drakonis has joined #nixos
simba1 has quit [Ping timeout: 272 seconds]
pr06lefs has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7bb2e7e0f69 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7bb2e7e0f69 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<notgne2> sib81: it doesn't look like there's any modules in that PR, just packages, so it should be pretty simple
<notgne2> you can import it with like, `somePkgs = import (builtins.fetchGit { url = ""; rev = ""; }) {};` and just use `somePkgs` as you would use `pkgs`
<notgne2> I think you can also do it in a channel, and there's an info page on doing this (it's essentially the same steps as using unstable on a stable install) though I don't know where to find it
<sib81> notgne2: the PR says it allows one to specify mutable vscode extensions that will be installed on a per project basis, but I don't know what's the syntax for doing that configuration. I apologize for being clueless, still trying to learn my way around nixos
Hedgework has joined #nixos
<notgne2> oh, I missed that it's actually been merged and you're just trying to utilize it, in that case I'm not sure
rogue_koder_ has quit [Ping timeout: 240 seconds]
rogue_koder_ has joined #nixos
<{^_^}> [nixpkgs] @lovesegfault opened pull request #90709 → platformio: 4.3.1 -> 4.3.4 → https://git.io/JfdQO
ericsagnes has joined #nixos
<sib81> notgne2: thanks anyways :)
bennofs has joined #nixos
Rusty1 has quit [Quit: WeeChat 2.3]
bennofs_ has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #89492 → netbeans: 11.3 -> 12.0 → https://git.io/JfXPW
<{^_^}> [nixpkgs] @danieldk pushed 3 commits to master: https://git.io/JfdQ6
andreas303 has quit [Remote host closed the connection]
andreas303 has joined #nixos
<{^_^}> [nixpkgs] @jflanglois opened pull request #90710 → wine-staging: 5.5 -> 5.10 → https://git.io/JfdQx
<{^_^}> [nixpkgs] @zowoq opened pull request #90711 → buildah: 1.14.9 -> 1.15.0 → https://git.io/Jfd7G
<{^_^}> [nixpkgs] @zowoq merged pull request #89958 → iperf3: 3.7 -> 3.8.1 → https://git.io/Jfy13
<{^_^}> [nixpkgs] @zowoq pushed to master « iperf3: 3.7 -> 3.8.1 »: https://git.io/Jfd7c
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pr06lefs has quit [Remote host closed the connection]
pr06lefs has joined #nixos
sheeldotme has joined #nixos
sheeldotme has quit [Client Quit]
sheeldotme has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
rogue_koder_ has quit [Quit: Konversation terminated!]
zupo has joined #nixos
eoli3n has joined #nixos
<{^_^}> [nixpkgs] @vbgl closed pull request #86952 → [20.03] inkscape: 0.92.4 → 0.92.5 → https://git.io/JfGp8
smiles has joined #nixos
<smiles> I am trying to install nixos on a raspberry pi2 using qemu to install it on a sd card since doing it on the rpi2 taking way to long and trying to figure out what command to use with qemu to accomplish this I already dd the image to the sd. I get a window to pop up but no terminal or anything pops up if any one got any suggestions this is the command I am using
<smiles> sudo qemu-system-arm -machine raspi2 -hda /dev/mmcblk0
<{^_^}> [nixpkgs] @vbgl opened pull request #90712 → ocaml-ng.ocamlPackages_4_11.ocaml: 4.11.0+α2 → 4.11.0+α3 → https://git.io/Jfd7F
asheshambasta has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d7122c3a329 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
klntsky has quit [Ping timeout: 240 seconds]
aveltras has joined #nixos
is_null has joined #nixos
klntsky has joined #nixos
LeBronse[m] has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #90713 → python3Packages.somajo: 2.0.6 -> 2.1.0 → https://git.io/Jfd5T
eoli3n has quit [Ping timeout: 240 seconds]
user_0x58 has quit [Quit: Leaving]
kenran has joined #nixos
ericsagnes has quit [Read error: Connection reset by peer]
cole-h has quit [Quit: Goodbye]
orivej has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
is_null has quit [Ping timeout: 264 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
Jackneill has joined #nixos
cole-h has joined #nixos
cole-h has quit [Client Quit]
mallox has joined #nixos
kreyren has quit [Remote host closed the connection]
alp has joined #nixos
kreyren has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
sib81 has quit [Remote host closed the connection]
billsun has joined #nixos
<{^_^}> [nixpkgs] @Philipp-M opened pull request #90714 → nushell: fix checkPhase, which needs a debug build to succeed → https://git.io/JfddT
cr4y1 has joined #nixos
Ralith_ has joined #nixos
sheeldotme has quit [Read error: Connection reset by peer]
pr06lefs has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #90508 → cimg: 2.9.0 -> 2.9.1 → https://git.io/Jf7Xo
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Jfddw
Ariakenom has joined #nixos
FRidh has joined #nixos
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @raboof closed pull request #76699 → java: set an additional JAVA_HOME per major version → https://git.io/JeAOS
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 183 commits to staging-next: https://git.io/Jfddp
<{^_^}> [nixpkgs] @FRidh pushed 311 commits to staging: https://git.io/Jfddh
eoli3n has joined #nixos
alp has quit [Remote host closed the connection]
alp has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #69734 → noto-fonts-emoji-blob-bin: init at 2019-06-14-Emoji-12 → https://git.io/JeZ0b
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfdFI
xvnvx has joined #nixos
alp has quit [Remote host closed the connection]
<angerman> Ericson2314:
<angerman> Ericson2314: gcc 9 (cross: mac -> linux at least) is broken; complains about cycles from lib -> out; we'd need to patch the rpath in the sanitizer libs if we move them out. https://www.irccloud.com/pastebin/8taOMZgQ/
atriq is now known as Taneb
sheeldotme has joined #nixos
cfricke has joined #nixos
xvnvx has quit [Remote host closed the connection]
xvnvx has joined #nixos
xvnvx has quit [Remote host closed the connection]
xvnvx has joined #nixos
noudle has joined #nixos
NeoCron has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Izorkin has quit [Ping timeout: 246 seconds]
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #90716 → zoom-us: 5.0.418682.0603 -> 5.1.412382.0614 → https://git.io/JfdFQ
<{^_^}> [nix] @regnat opened pull request #3715 → Rename content-addressed-paths into ca-derivations → https://git.io/JfdFh
xvnvx has quit [Remote host closed the connection]
xvnvx has joined #nixos
xvnvx has quit [Remote host closed the connection]
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
xvnvx has joined #nixos
eoli3n has quit [Ping timeout: 256 seconds]
lsix has joined #nixos
eoli3n has joined #nixos
drakonis has quit [Ping timeout: 265 seconds]
dsg has joined #nixos
bbb has joined #nixos
klntsky has quit [Ping timeout: 240 seconds]
bbb is now known as Guest86087
klntsky has joined #nixos
smiles has quit [Remote host closed the connection]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #90670 → fish: replace use of tr with string split → https://git.io/JfdOl
<{^_^}> [nixpkgs] @rnhmjoj pushed 3 commits to master: https://git.io/Jfdb0
eoli3n has quit [Quit: eoli3n]
eoli3n has joined #nixos
detran has quit [Ping timeout: 260 seconds]
<{^_^}> [nixos-homepage] @edolstra merged pull request #464 → Follow nix directly from the nix repository, following nix-latest branch → https://git.io/JfDMj
<{^_^}> [nixos-homepage] @edolstra pushed 9 commits to master: https://git.io/Jfdb6
<{^_^}> [nixos-homepage] @edolstra pushed 0 commits to use-versions-from-released-nixpkgs: https://git.io/Jfdbi
eoli3n has quit [Ping timeout: 260 seconds]
civodul has joined #nixos
magnetophon has quit [Read error: Connection reset by peer]
magnetophon has joined #nixos
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 246 seconds]
eoli3n has joined #nixos
asymptotically has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3715 → Rename content-addressed-paths into ca-derivations → https://git.io/JfdFh
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JfdNz
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #90710 → wine-staging: 5.5 -> 5.10 → https://git.io/JfdQx
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JfdNg
<gmr> <bigvalen "does anyone have an idea how to "> 20.03? which image? from USB?
<gmr> <smiles "I am trying to install nixos on "> better asking in #nixos-aarch64:matrix.org tbqh
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @cmacrae opened pull request #90717 → yabai: 3.2.0 -> 3.2.1 → https://git.io/JfdAn
<{^_^}> [nixpkgs] @wamserma opened pull request #90718 → tests/taskserver: fix gnutls invocation → https://git.io/JfdAC
tobi_ has joined #nixos
mananamenos has joined #nixos
lilpea has joined #nixos
sbetrium has quit [Quit: sbetrium]
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 closed pull request #77040 → Keras 2.3.1 backport to 19.09 → https://git.io/JejBg
<{^_^}> [nix] @domenkozar pushed commit from @edolstra to 2.3-maintenance « nix repl: Scan NixRepl for GC roots »: https://git.io/JfdAH
<{^_^}> [nix] @SamirTalwar opened pull request #3716 → Instruct the user to follow redirects when installing Nix. → https://git.io/JfdA5
<{^_^}> [nixpkgs] @7c6f434c merged pull request #80624 → mygui: 3.2.2 -> 3.4.0 → https://git.io/JvBdv
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JfdAx
orivej has joined #nixos
eoli3n has quit [Ping timeout: 240 seconds]
is_null has joined #nixos
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @uvNikita opened pull request #90719 → kdenlive: fix core dump on file open → https://git.io/Jfdxa
o1lo01ol1o has joined #nixos
<Ariakenom> I've used fetchurl to get the source in mkDerivation. but the builder should use a different dir than the root in the download. how do I do that?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #86489 → nixos/documentation: add option to generate caches → https://git.io/Jf3ke
<{^_^}> [nixpkgs] @rnhmjoj pushed 5 commits to staging: https://git.io/Jfdxp
nostrodamy has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #90224 → vscode, vscodium: add update.sh script → https://git.io/JfHdH
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JfdpI
thc202 has joined #nixos
Neo-- has joined #nixos
__monty__ has joined #nixos
Thra11 has quit [Quit: WeeChat 2.8]
eoli3n has joined #nixos
pjt_014 has quit [Ping timeout: 258 seconds]
pjt_tmp has quit [Ping timeout: 264 seconds]
zupo has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
proofofkeags has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<srhb> Ariakenom: sourceRoot iirc
<{^_^}> [nix] @edolstra merged pull request #3716 → Instruct the user to follow redirects when installing Nix. → https://git.io/JfdA5
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Jfdpj
dermetfan has joined #nixos
ogkloo has quit [Quit: WeeChat 1.4]
agsdheidjd has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
realrokka has joined #nixos
sigmundv_ has joined #nixos
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 260 seconds]
<sshow> how can I create a file in an expression? should I use runCommand cat?
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @WilliButz merged pull request #90662 → prometheus-redis-exporter: init at 1.7.0 → https://git.io/Jfdki
<{^_^}> [nixpkgs] @WilliButz pushed 5 commits to master: https://git.io/Jfdjc
<srhb> sshow: Depends on the file. There are nicer wrappers (like writeText, writeTextFile, writeScript, writeScriptBin, ...) for most cases.
<sshow> srhb++ nice. writeText seems to do what I want. FWIW I'm creating a new filter file for fail2ban
<{^_^}> srhb's karma got increased to 0x6f
sbetrium_ has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #90623 → monetdb: 11.35.19 -> 11.37.7 → https://git.io/Jf5wB
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/Jfdjo
orivej has quit [Quit: No Ping reply in 180 seconds.]
eoli3n has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
<o1lo01ol1o> What does: syntax error, unexpected $end, at foo.nix mean? The file is a simple import of nixpkgs from a json file. The syntax is correct but I can't shake this error when I try to build or enter a shell.
xelxebar has quit [Remote host closed the connection]
<srhb> o1lo01ol1o: Typically some closing structure is missing
xelxebar has joined #nixos
<srhb> > let foo = 42; in
<{^_^}> error: syntax error, unexpected ')', at (string):318:1
<srhb> Oh, that didn't show it very well.
<{^_^}> [nixpkgs] @jlesquembre opened pull request #90720 → clojure: 1.10.1.507 -> 1.10.1.547 → https://git.io/Jfdjp
Izorkin has joined #nixos
<sshow> o1lo01ol1o: For me, it's usually missing semicolons
<sshow> and I get e better error when it's too many semicolons IIRC
txt-file has joined #nixos
<Ariakenom> srhb: thanks, I had tried sourceRoot=./directory and sourceRoot=/directory but the right value was "directory"
<o1lo01ol1o> Does anything look obviously wrong with this https://gist.github.com/o1lo01ol1o/c6c07c9f7def0787c903ecf5a06e2d5e?
sheeldotme has quit [Read error: Connection reset by peer]
<o1lo01ol1o> srhb sshow ^^
<srhb> o1lo01ol1o: pinnedNixPkgs has a let but no in. However, that may just be indentation being confusing.
<{^_^}> [nixpkgs] @Mic92 opened pull request #90721 → home-assistant: 0.111.0 -> 0.111.4 → https://git.io/JfFe3
<txt-file> I have a problem to install nvidiaLegacy340 on nixOS 20.03. It tells me that 1 dependency could not be build. https://paste.debian.net/1152644/
<srhb> o1lo01ol1o: No, there are more lets than ins, so something is wrong there :)
<o1lo01ol1o> aye aye aye. I copy pasted that from another expression and erased one to many ins
<o1lo01ol1o> ok, thanks.
<o1lo01ol1o> srhb++
<{^_^}> srhb's karma got increased to 112
<o1lo01ol1o> sshow++
<{^_^}> sshow's karma got increased to 1
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
waleee-cl has joined #nixos
<Ariakenom> im trying to build a project, SMTPlan. I got some compilation errors so I tried using gcc8Stdenv. It managed to compile but I get link errors. I got rid of one by overriding that package's stdenv but that didnt work for boost
<{^_^}> [nixpkgs] @expipiplus1 opened pull request #90722 → exfat: fix cross compilation → https://git.io/JfFeE
<Ariakenom> im thinking my replace of stdenv isnt done correctly
<Ariakenom> I have tried overriding all packages (using the my prefix) in the paste
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #90144 → nixos/undervolt: misc cleanups / fixes → https://git.io/Jf9Em
<{^_^}> [nixpkgs] @Lassulus pushed 5 commits to master: https://git.io/JfFeX
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
sshow_ has joined #nixos
sshow_ is now known as sshow
is_null has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Konubinix opened pull request #90724 → Add tanka → https://git.io/JfFvk
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @Mic92 closed pull request #90721 → home-assistant: 0.111.0 -> 0.111.4 → https://git.io/JfFe3
FRidh has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
griff_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #90700 → [20.03] json_c: add patch for CVE-2020-12762 → https://git.io/JfdD2
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging-20.03: https://git.io/JfFvo
<{^_^}> [nixpkgs] @zowoq opened pull request #90725 → fuse-overlayfs: 1.0.0 -> 1.1.0 → https://git.io/JfFv9
<{^_^}> [nixpkgs] @zowoq pushed to master « buildah: 1.14.9 -> 1.15.0 »: https://git.io/JfFvQ
<{^_^}> [nixpkgs] @zowoq merged pull request #90711 → buildah: 1.14.9 -> 1.15.0 → https://git.io/Jfd7G
<{^_^}> [nixpkgs] @NickHu merged pull request #90499 → factorio{,-headless}-experimental: 0.18.30 -> 0.18.32 → https://git.io/Jf7oW
<{^_^}> [nixpkgs] @NickHu pushed 2 commits to master: https://git.io/JfFft
<{^_^}> [nixpkgs] @vcunat pushed 144 commits to staging-20.03: https://git.io/JfFf3
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #85147 → zziplib: 0.13.69 → 0.13.70 → https://git.io/Jvj98
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfFf4
<{^_^}> [nixos-search] @garbas pushed to fix-62 « better package_attr_name_query tokens »: https://git.io/JfFfR
<{^_^}> [nixos-search] @garbas pushed to master « improve packages search query (#102) »: https://git.io/JfFfr
<{^_^}> [nixos-search] @garbas merged pull request #102 → improve packages search query → https://git.io/Jf7Fk
<{^_^}> [nixos-search] @garbas pushed 0 commits to fix-62: https://git.io/JfFfo
the_pumpkin_man has joined #nixos
<LambdaDuck> Is it possible to only download and install the binaries for a haskellPackage, and not the library and all the build dependencies?
magnetophon has quit [Read error: Connection reset by peer]
<dminuoso> LambdaDuck: What's your goal here?
<the_pumpkin_man> LambdaDuck: I don't think it is, but you could get the binaries by looking the source download in the derivations file on nixpkgs
magnetophon has joined #nixos
the_pumpkin_man has quit [Quit: WeeChat 2.8]
<notgne2> is there a good-practice way of getting a path to a file you keep alongside your NixOS nixfiles? I'm using `builtins.toFile "myfile.txt" (builtins.readFile ../myfile.txt)` right now but not sure if there's a better way
<tobi_> hello, is it possible in nixos to automatically add a vlan tag to all traffic which is coming from a container?
<qyliss> notgne2: why not just ../myfile.txt?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<notgne2> qyliss: huh, didn't realize toString could turn those into a full path
<{^_^}> [nixpkgs] @teto merged pull request #90660 → devdocs-desktop: init at 0.7.1 → https://git.io/JfdUT
<{^_^}> [nixpkgs] @teto pushed commit from Yannick Markus to master « devdocs-desktop: init at 0.7.1 »: https://git.io/JfFJz
orivej has quit [Ping timeout: 246 seconds]
<qyliss> notgne2: toString doesn't, the literal gives you a full path immediately
orivej has joined #nixos
<qyliss> > ./hello.txt
<{^_^}> /var/lib/nixbot/state/nixpkgs/hello.txt
<qyliss> Resolved relative to the current file
<notgne2> Oh, I was using it as a string and toString in the repl seemed to work, I just didn't realize those paths got resolved
<qyliss> Yeah, most of the time there's no need to convert a path to a string
pingiun has joined #nixos
<pingiun> does nixops use the local nixpkgs for generating the system closures?
<{^_^}> [nixpkgs] @WilliButz opened pull request #90729 → prometheus-exporters: expose tests in exporter definitions → https://git.io/JfFJM
<pingiun> so if I want to update my machines, do I need to nix-channel --update on my deploying laptop?
<srhb> pingiun: Yes indeed.
<srhb> pingiun: Or point to the nixpkgs you want locally by some other means.e
<pingiun> srhb: does it matter that my local machine uses a darwin channel?
<srhb> pingiun: I don't think you can build a linux system through nixops easily from a mac host.
<pingiun> srhb: I have remote builders for that
<srhb> You'll need cross, or some VM
<srhb> Ah
<srhb> No, that's fine then
<pingiun> okay
<srhb> pingiun: Well, "fine" -- the darwin channels advanced when a number of tests pass that are tailored to test darwin functionality.
<{^_^}> [nixpkgs] @zowoq merged pull request #90725 → fuse-overlayfs: 1.0.0 -> 1.1.0 → https://git.io/JfFv9
<{^_^}> [nixpkgs] @zowoq pushed to master « fuse-overlayfs: 1.0.0 -> 1.1.0 »: https://git.io/JfFJF
<srhb> pingiun: Whereas the nixos channels check (Linux) NixOS functionality
<pingiun> srhb: then I'll change my channel back to just nixos-20.03
<srhb> pingiun: So I should have said "it's the same nix code, but checked at different commits with different criteria for success -- the darwin criteria might not be relevant or sufficient to check nixos functionality"
<pingiun> srhb: ah right
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
<txt-file> I want to add a file to /etc/tmpfiles.d/. How can I do that with nixOS in a way that it "nix-rebuild" does not throw it away?
griff_ has quit [Quit: griff_]
<pingiun> txt-file: you can use this option for tmpfiles rules: https://nixos.org/nixos/options.html#systemd.tmpfiles.rules
<{^_^}> [nixpkgs] @mweinelt closed pull request #88059 → linux_rpi, rasperrypifw: 1.20190925 → 1.20200212, raspberrypiWirelessFirmware: 2019-08-16 → 2020-04-17 → https://git.io/JfEMf
<txt-file> pingiun: that looks good :-)
<txt-file> let's test it
<{^_^}> [nixpkgs] @NickHu merged pull request #90716 → zoom-us: 5.0.418682.0603 -> 5.1.412382.0614 → https://git.io/JfdFQ
<{^_^}> [nixpkgs] @NickHu pushed 2 commits to master: https://git.io/JfFUt
cfricke has quit [Ping timeout: 260 seconds]
Jackneill has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @romildo opened pull request #90730 → matcha-gtk-theme: 2020-05-24 -> 2020-06-18 → https://git.io/JfFU8
eoli3n has joined #nixos
<{^_^}> [nixpkgs] @akvadrako opened pull request #90731 → libdrm: 2.4.100 -> 2.4.102 → https://git.io/JfFUo
<txt-file> next question: How to load out-of-tree acpi_call kernel module? I have it installed and it is working if I load it manually via insmod.
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 246 seconds]
Guest86087 has quit [Quit: WeeChat 2.7.1]
bbb1 has joined #nixos
<{^_^}> [nix] @edolstra pushed to flakes « github: Respect default branch »: https://git.io/JfFUi
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
pingiun has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @spacefrogg closed pull request #50048 → services/netdata: Add configDir option → https://git.io/fpL3t
<{^_^}> [nixpkgs] @spacefrogg closed pull request #55487 → mkdocs-exclude: Init at 1.0.1 → https://git.io/fhHDm
xvnvx has left #nixos [#nixos]
<{^_^}> [nixpkgs] @teto opened pull request #90762 → pythonPackages.flask-basicauth: init at 0.2.0 → https://git.io/JfFUp
fendor_ is now known as fendor
tobi_ has quit [Ping timeout: 240 seconds]
noudle has quit []
tobi_ has joined #nixos
bbb1 has quit [Quit: WeeChat 2.7.1]
bbb1 has joined #nixos
griff_ has joined #nixos
<Ariakenom> I tried to build a project but it fails when linking. smtplan is the one that fails https://gist.github.com/Ariakenom/a320614f6b7ab1a2f70bc516552fe9f5
<LambdaDuck> dminuoso: To not download a bunch of things I don't need. Plenty of haskell packages build binaries. Most of the time, that's all I need, unless I'm wrinting a Haskell program. For example: Use a by hydra precompiled pandoc without downloading everything that is needed to build the program (especially GHC).
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<{^_^}> [nix] @edolstra pushed to flakes « Remove unneeded #include »: https://git.io/JfFTm
<betawaffle> is there any way to have multiple Go builds share the same downloaded dependencies? ie. two different derivations that depend on the same go module, to only download/build that module once
knupfer1 has joined #nixos
ckauhaus has joined #nixos
knupfer1 is now known as knupfer
peelz has joined #nixos
tobi_ has quit [Ping timeout: 256 seconds]
Doraemon has joined #nixos
NeoCron has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Lassulus merged pull request #89895 → znc: 1.8.0 -> 1.8.1 → https://git.io/JfyZZ
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfFT2
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/JfFTV
tobi_ has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #87753 → xwallpaper: init at 0.6.5 → https://git.io/Jf4r7
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfFTX
tobi_ has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
tobi_ has joined #nixos
gthm has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/JfFTH
<infinisil> LambdaDuck: haskell.nix allows you to do that
<LambdaDuck> infinisil: Ah, that sounds nice! But then I won't get hydra builds, so I will have to build everything from source, right?
<infinisil> I think so. Iohk has a cache, but I don't think it builds most things
<LambdaDuck> How would you do it with haskell.nix?
kreyren has quit [Remote host closed the connection]
plutes has quit [Ping timeout: 272 seconds]
kreyren has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c4a797d59b2 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<LambdaDuck> infinisil: I want to do something corresponding to: `nix-env -f '<nixpkgs>' -iA haskellPackages.executableOnly.pandoc`
plutes has joined #nixos
<{^_^}> [nixpkgs] @mmilata opened pull request #90883 → json-c: 0.13.1 -> 0.14 → https://git.io/JfFTN
<{^_^}> [nixpkgs] @mmahut opened pull request #90884 → nixos/wasabiwallet: init 1.1.11.1 → https://git.io/JfFTA
<b42> is there an easy way to list packages that build-depend on a library?
zupo has joined #nixos
bbb1 has quit [Read error: Connection reset by peer]
bbb1 has joined #nixos
<LambdaDuck> Oh, I was unclear. I meant I just want the executable of an existing haskell package and not the library and all its dependencies. For example, something corresponding to the hypothetical: `nix-env -f '<nixpkgs>' -iA haskellPackages.executableOnly.pandoc`. The goal is to reduce the closure size.
<LambdaDuck> Wrong channel, sorry
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<infinisil> Ideally don't ask the same question in multiple channels at the same time
<LambdaDuck> Sorry!
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
tobi_ has quit [Quit: leaving]
<Raito_Bezarius> why nix-env -i firefox works but nix-env -i ns-3 does not work?
Strubbl[m]2 has joined #nixos
Rusty1 has joined #nixos
asymptotically has quit [Quit: Leaving]
<infinisil> LambdaDuck: (I'm answering in #haskell.nix)
pr06lefs has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
<LambdaDuck> Raito_Bezarius: What errors do you get?
<Raito_Bezarius> LambdaDuck: no matched derivation
<{^_^}> [nixpkgs] @oxalica opened pull request #90976 → rust-analyzer: 2020-06-01 -> 2020-06-15 and fix version display → https://git.io/JfFkx
<Raito_Bezarius> My question is really, why is there derivations globally available?
<Raito_Bezarius> vs why like ns-3 is only namespaced in nixpkgs?
<Raito_Bezarius> Is there a rationale or something I'm missing?
<LambdaDuck> Raito_Bezarius: Try nix -i ns-3-30
<Raito_Bezarius> *Ah*
<LambdaDuck> Raito_Bezarius: If you run `nix search ns-3`, you'll see that the attribute is named nixpkgs.ns-30, but the package is named ns-3-30.
domogled has joined #nixos
<Raito_Bezarius> but why firefox works with only firefox?
<Raito_Bezarius> rather than firefox-77.0.1 ?
<LambdaDuck> Raito_Bezarius: That I do not know. Perhaps the source or commit history of the nix-definition for it will give some clue.
<{^_^}> [nixpkgs] @artemist opened pull request #90977 → lepton: 1.2.1 → git-2019-08-20 → https://git.io/JfFIf
<{^_^}> [nixpkgs] @erictapen opened pull request #90978 → [20.03] libexif: 0.6.21 -> 0.6.22 for security fixes → https://git.io/JfFIJ
<Raito_Bezarius> Thanks LambdaDuck :)
<b42> Raito_Bezarius: usually it's recommended to use the -A switch and search for e.g. nixpkgs.ns-3 https://nixos.wiki/wiki/FAQ/Why_not_use_nix-env_-i_foo%3F
<Raito_Bezarius> I know, right
<Raito_Bezarius> But someone asked me why it didn't work and I got curious
jakobrs has joined #nixos
meh` has joined #nixos
<jakobrs> I think I've discovered an interesting issue: If you terminate gparted using ^C (as opposed to alt-f4), you can no longer restart the nix daemon, and if it dies, you can't start it.
<gchristensen> wat
<jakobrs> The issue sort of makes sense because, I believe, gparted masks the mount units when run but I'd expect them to be unmasked with ^C.
<jakobrs> especially since alt-f4 works
<jakobrs> Might have got something to do with #87818
<{^_^}> https://github.com/NixOS/nixpkgs/issues/87818 (by hyperfekt, 4 weeks ago, open): nix-env --install fails on installer ISO
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
knupfer1 has quit [Client Quit]
<jakobrs> Also, when booting, I sometimes get a "Failed unmounting /nix/store" message at boot. It's probably unrelated, though.
knupfer has joined #nixos
nate48423 has joined #nixos
<nate48423> america government and denaro are getting my human brain i am nathan biernatt and i dont wan the america government to get it please tell your leaders and my brain goes through things when they do and i never told them i wanted them to have it
<jakobrs> Huh, it happened again, and I don't remember running gparted *this time*.
<jakobrs> I'll try rebooting into Linux Mint and seeing if gparted does the same thing there.
<{^_^}> [nixpkgs] @erictapen opened pull request #91009 → [19.09] libexif: 0.6.21 -> 0.6.22 → https://git.io/JfFI8
jakobrs has left #nixos ["rebooting into linux mint"]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hspak 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/JfFIB
zupo has joined #nixos
medvid has joined #nixos
<{^_^}> [nixpkgs] @knl opened pull request #91010 → oauth2_proxy: 5.1.0 -> 5.1.1 → https://git.io/JfFIo
nate48423 has left #nixos [#nixos]
zupo has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @danieldk merged pull request #74487 → cargo-insta: init at 0.16.0 → https://git.io/JeXFv
<{^_^}> [nixpkgs] @danieldk pushed 3 commits to master: https://git.io/JfFIH
bdju has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @nixy opened pull request #91012 → chromedriver: 81.0.4044.69 -> 83.0.4103.39 → https://git.io/JfFIN
<{^_^}> [nixpkgs] @pmyjavec opened pull request #91013 → circleci-cli: 0.1.7971 -> 0.1.8302 → https://git.io/JfFIA
orivej has joined #nixos
agsdheidjd has quit [Ping timeout: 240 seconds]
agsdheidjd has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #91014 → nodejs-12_x: 12.18.0 -> 12.18.1 → https://git.io/JfFLk
nate48423 has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
<{^_^}> [nix] @edolstra pushed 9 commits to eval-optimisations: https://git.io/JfFL8
<{^_^}> [nixpkgs] @bennofs opened pull request #91015 → librespot: init at 0.1.1 → https://git.io/JfFLB
jumper149 has joined #nixos
noudle has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to staging-20.03 « luajit*: patch CVE-2019-19391 »: https://git.io/JfFLK
FRidh has quit [Quit: Konversation terminated!]
<lemsip> so, how do I make a setuid bit work in NixOS?
griff_ has quit [Quit: griff_]
<{^_^}> [nixpkgs] @mmilata opened pull request #91017 → cryptsetup: 2.1.0 -> 2.3.3 → https://git.io/JfFL5
gustavderdrache has joined #nixos
knupfer has joined #nixos
<gchristensen> lemsip: security.wrappers https://nixos.org/nixos/options.html#security.wrappers
<lemsip> Coolio, thanks!
<comrandroxaos[m]> setuid should work normally. it did last time i checked
* comrandroxaos[m] reads up
<lemsip> chmod u+s doesn't seem to give my binary any root powers when executed as a normal user.
<gchristensen> comrandroxaos[m]: /nix/store can't have setuid binaries
<LnL> chmod u+s should break you build
<comrandroxaos[m]> yes that makes sense - i was just thinking setuid _does_ work normally, imperatively. elsewhere in the system
<lemsip> gchristensen: oh, but the issue I'm having is that a binary I built without nix doesn't work as expected when I chmod u+s it.
<comrandroxaos[m]> chmod u+s will be respected outside the store tho. i was just in a different context
shibboleth has joined #nixos
<comrandroxaos[m]> does it show setuid in ls?
<lemsip> yep
<gchristensen> oh weird
<LnL> is it an actual binary (not a wrapper etc.)
zupo has joined #nixos
<lemsip> LnL: yep, it is a binary file, built by `cargo build`
philr_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to staging « libjpeg(-turbo): patch CVE-2020-13790 »: https://git.io/JfFtg
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<lemsip> A rather beefy oneliner to test this would be `echo 'fn main() { std::net::TcpListener::bind("0.0.0.0:81").expect("failed to bind to port 8"); }' | rustc - && sudo chmod u+s rust_out && ./rust_out`
acarrico has joined #nixos
<cransom> lemsip: the file isn't owned by root in your oneliner
<{^_^}> [nixpkgs] @vcunat pushed to staging-20.03 « libjpeg(-turbo): patch CVE-2020-13790 »: https://git.io/JfFqY
<lemsip> oh, you are correct
<{^_^}> [nixpkgs] @marius851000 opened pull request #91040 → awesomebump: 5.1 -> 5.1.1 → https://git.io/JfFqn
<{^_^}> [nixpkgs] @marsam merged pull request #91014 → nodejs-12_x: 12.18.0 -> 12.18.1 → https://git.io/JfFLk
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfFqC
<lemsip> god, how could've I missed this. Thanks for pointing that out, cransom :)
<lemsip> Everything works as expected.
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
iyzsong has quit [Quit: ZNC 1.8.0 - https://znc.in]
minicom9 has joined #nixos
AmandaC has joined #nixos
camsbury has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
rajivr has quit [Quit: Connection closed for inactivity]
cole-h has joined #nixos
NeoCron has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.7.1]
Doraemon has quit [Ping timeout: 260 seconds]
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #90682 → go-swagger: init at 0.24.0 → https://git.io/JfdEw
<{^_^}> [nixpkgs] @kalbasit pushed to master « go-swagger: init at 0.24.0 (#90682) »: https://git.io/JfFmO
camsbury has quit [Remote host closed the connection]
drakonis has joined #nixos
drakonis1 has joined #nixos
drakonis_ has quit [Ping timeout: 256 seconds]
ddellacosta has joined #nixos
CMCDragonkai1 has joined #nixos
morr has quit [Quit: WeeChat 2.7.1]
__monty__ has quit [Quit: leaving]
drakonis has quit [Ping timeout: 272 seconds]
ashesham` has joined #nixos
lunik16 is now known as lunik1
morr has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfFmp
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
CMCDragonkai1 has quit [Remote host closed the connection]
pamplemousse has joined #nixos
knupfer1 is now known as knupfer
gueorgui_ is now known as gueorgui
FRidh has joined #nixos
kenran has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @alexfmpe opened pull request #91041 → [20.03] tendermint: 0.32.3 -> 0.32.10 for security fixes → https://git.io/JfFYG
bennofs has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
panos14[m] has joined #nixos
<panos14[m]> hello
<panos14[m]> i need help for lol
<{^_^}> [nixpkgs] @datafoo opened pull request #91042 → nixos/acme: execute a single lego command → https://git.io/JfFY4
bennofs has joined #nixos
agsdheidjd has quit [Quit: WeeChat 2.8]
<gueorgui> Hi! I'm running NixOS on a Thinkpad X1 Carbon (8th gen). The platform specs say that it supports video output at 5K via thunderbolt, however when I plug in my 5K thunderbolt display, it can only be used at 4K. I know for a fact that this display can work at 5K on Linux as it does work on another machine in Arch, but I can't figure out how to get NixOS to recognise the full resolution. Any ideas?
bennofs has quit [Client Quit]
<panos14[m]> you can help me for league of legents?
eoli3n has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #90722 → exfat: fix cross compilation → https://git.io/JfFeE
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JfFYd
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #90693 → IPFS NixOS module: Socket unit file more precise → https://git.io/Jfd62
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JfFYF
<infinisil> gueorgui: This very much depends on your DE/WM
<infinisil> I heard that sway works well with external displays and high dpis
<numkem> I've started looking into taking my config and dividing it into modules (sort of like what cole-h did). If I want to add packages to systemPackages in 2 files is it possible? I currently get a `error: value is a function while a set is expected`
detran has joined #nixos
<gueorgui> Hmm I use i3 in both cases without any DE
<numkem> or I have to do `config = (mkMerge [{ envionment.systemPackages = []; }]);`
janneke_ has joined #nixos
<gueorgui> On Xorg, not Wayland
kenran has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #91043 → nixos/buildbot-master: support reporters, migrate away from status → https://git.io/JfFOJ
<infinisil> numkem: Just assign environment.systemPackages as you would in configuration.nix in the alternate files
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ashesham` has quit [Ping timeout: 272 seconds]
<infinisil> And do `imports = [ ./alternate-file.nix ]` in configuration.nix to import it
<numkem> infinisil: it will do the merge on it's own?
<infinisil> Yup
<numkem> ok, must be something else then because that's what I did already
janneke has quit [Ping timeout: 264 seconds]
EdLin has joined #nixos
<EdLin> is the latest nixos kernel and software compatible with a Comet Lake i7 system with a Navi (RX 5700XT) graphics card?
<{^_^}> [nixpkgs] @vcunat opened pull request #91044 → transmission: patch CVE-2018-10756 → https://git.io/JfFOL
<{^_^}> [nixpkgs] @ehmry merged pull request #85442 → castor: init at 0.8.14 → https://git.io/JfJ3l
<{^_^}> [nixpkgs] @ehmry pushed 2 commits to master: https://git.io/JfFOY
<EdLin> specifically I want to know if the 10th generation i7's graphics are compatible, actually, as the rx 5700 xt will be passed through to a VM
mallox has joined #nixos
<AmandaC> if mainline is, then nixos is, EdLin. NixOS doesn't do custom kernels unless you make it do that
kenran has quit [Ping timeout: 256 seconds]
<AmandaC> by default it uses the latest mainline. But for example, I'm currently on the latest LTS because main line totally ganked my iGPU
<EdLin> what igpu do you use?
<AmandaC> An intel one, in a couple-years-old i7
<EdLin> 9th generation or older?
<EdLin> I think 10th uses the same igpu as 9th
<AmandaC> NOt sure, how would I check? Hardware's not really my thing
<Ericson2314> angerman: thanks. Can you file an issue? I think I saw something similar recently fwiw
<hexa-> EdLin: i'm using a RX 5700 on kernel 5.6 on nixos
<EdLin> cool...
<infinisil> numkem: It's hard to know the problem without seeing the code
<EdLin> once I have the passthrough VM set up, the iGPU will be more relevant though I guess, as the GPU will be only a vfio device as far as the host OS is concenred
<AmandaC> EdLin: /proc/cpuinfo says this for the model name: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
<EdLin> AmandaC oh, I'm using a desktop. I don't know if that'll be relevant.
<AmandaC> I'm on a laptop, so I'm nto sure eithr. :)
<AmandaC> My only desktop tower is just a win10 box plugged into a TV which I basically treat as a games console running Win10
<EdLin> yeah, it uses HD Graphics 620
<EdLin> I don't know if that's relevant to my system's compatibility, I'm on 630 or 640, and desktop version I guess could be different
<angerman> Ericson2314: hmm what did i write exactly? Stupid mobile app.
<EdLin> HD 630, yeah
<Ericson2314> angerman: about gcc references breaking mac -> linux cross
<angerman> Ericson2314: so we cant cross compile gcc to Linux on macOS at least because it does lib output splitting.
<EdLin> I need to go to a meeting. Thanks everyone.
EdLin has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<Ericson2314> ok
<angerman> And we end up with the asan, tsan, ... libraries in the lib output.
<angerman> They however reference GC
<angerman> Gcc
<angerman> So we end up with gcc -> gcc-lib -> gcc and nix gives up due to dependency cycles.
<angerman> The cherry on top: you only learn this once gcc was built.
<angerman> But then fails in the last step.
<panos14[m]> που θα βρω αυτο το αρχειο ? Alternate_Installer
<{^_^}> [nixpkgs] @vcunat pushed to release-20.03 « transmission: patch CVE-2018-10756 »: https://git.io/JfFO9
<{^_^}> [nixpkgs] @vcunat merged pull request #91044 → transmission: patch CVE-2018-10756 → https://git.io/JfFOL
leungbk has joined #nixos
griff_ has joined #nixos
User1821 has joined #nixos
amerigo has joined #nixos
<numkem> infinisil: understandable, my bad, wanted to figure it out on my own but I got into a meeting. It's essentially an import of a file from configuration.nix that imports another the same way. It's complaining about the last file within the [] of environment.systemPackages = with pkgs; []
User1821 has left #nixos [#nixos]
<leungbk> Microsoft's python-language-server has a Nix derivation, but after I run "nix-shell '<nixpkgs>' -A python-language-server" and perform the unpackPhase, I find that configurePhase and buildPhase do nothing since python-language-server doesn't have a configure script or Makefile. This happens despite the fact that buildPhase is clearly defined in the derivation.
<xwvvvvwx> How would I trigger a full from source rebuild of all packages on my system?
<leungbk> Is there any way to make Nix perform the specified buildPhase for me?
<numkem> infinisil: that's the last file it's complaining about: https://gist.github.com/numkem/d0a5d96044aa06a8e2309bdc4d2ecf60
<LnL> leungbk: phases=buildPhase genericBuild
<LnL> ideally running a phase would just do the right thing, I think there's an rfc open for that
<infinisil> numkem: What's the full error?
<cole-h> leungbk: Try `eval "$buildPhase"`
janneke_ has quit [Quit: janneke quits Mes'sing]
<{^_^}> [nixpkgs] @lheckemann merged pull request #90135 → linux: enable force feedback support in HID drivers → https://git.io/Jf9n3
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/JfF30
<{^_^}> [nixpkgs] @Lassulus merged pull request #89872 → terragrunt: 0.23.14 -> 0.23.23 → https://git.io/Jfykx
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfF3o
<numkem> infinisil: `error: value is a function while a set was expected, at /home/numkem/nixos/modules/emacs.nix:8:7`
<numkem> it's 6:5 at the end actually
drakonis has joined #nixos
<infinisil> numkem: No idea what numpkgs is, but it looks like you forgot to give it an argument
<infinisil> `let numpkgs = import <numpkgs> {}`
<infinisil> Or whatever argument it needs
<numkem> infinisil: a crap, of course. It's a channel from my own hydra
<numkem> Thanks! infinisil++
<{^_^}> infinisil's karma got increased to 312
<infinisil> :)
drakonis1 has quit [Ping timeout: 246 seconds]
uwap has quit [Remote host closed the connection]
uwap has joined #nixos
kkd has joined #nixos
cosimone has joined #nixos
panos14[m] has left #nixos ["User left"]
nikita` has joined #nixos
knupfer has quit [Remote host closed the connection]
meh` has quit [Remote host closed the connection]
knupfer has joined #nixos
janneke has joined #nixos
erasmas has joined #nixos
<{^_^}> [nixpkgs] @Konubinix closed pull request #90724 → tanka: init at 0.10.0 → https://git.io/JfFvk
meh` has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #91045 → openmw-tes3mp: fix build after #80624 → https://git.io/JfFs1
davidv7 has joined #nixos
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos
emmanuel` has joined #nixos
<emmanuel`> is there a specific irc channel just dedicated to the nix expression language?
<edef> yes, #nix-lang
<emmanuel`> thank you
<{^_^}> [nixpkgs] @edolstra pushed to release-20.03 « Remove Google Talk Plugin »: https://git.io/JfFsA
dermetfan has quit [Ping timeout: 260 seconds]
bekeurbrhfiendnf has joined #nixos
simba1 has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
zupo has joined #nixos
mallox has joined #nixos
bekeurbrhfiendnf has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @danieldk merged pull request #90514 → clipgrab: 3.8.11 -> 3.8.12 → https://git.io/Jf7MU
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JfFGg
asymptotically has joined #nixos
smatting_ has quit [Ping timeout: 240 seconds]
Zetagon has joined #nixos
SanchayanMaity has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 2.1.11 -> 2.1.12 »: https://git.io/JfFGd
justanotheruser has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/788764b193f (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
dingenskirchen has quit [Ping timeout: 260 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
dingenskirchen has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nix] @edolstra opened pull request #3718 → Optimize function/primop calls → https://git.io/JfFZs
drakonis has quit [Ping timeout: 260 seconds]
ebopp has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #91046 → test-driver.py: delete VM state directory after test run → https://git.io/JfFZa
justanotheruser has joined #nixos
meh` has quit [Ping timeout: 260 seconds]
SanchayanMaity has quit [Quit: leaving]
<{^_^}> [nixpkgs] @nlewo opened pull request #91047 → Fix Nixops: update boto3, botocore and awscli → https://git.io/JfFZH
<{^_^}> [nix] @edolstra pushed 9 commits to auto-uid-allocation: https://git.io/JfFZ5
<glittershark> is there a single directory where nixos stores fonts?
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos
mananamenos has quit [Ping timeout: 260 seconds]
<immae> Isn’t fontconfig dedicated library to do this kind of job glittershark?
<glittershark> I mean, yeah
<glittershark> but this isn't my software
<glittershark> haha
<immae> Ah
<glittershark> may be a foregone conclusion - recursively crawling /usr/share/fonts for ttf files seems like a remarkably silly thing to do
<ar> glittershark: my guess would be /run/current-system/sw/share/fonts/
drakonis_ has quit [Read error: Connection reset by peer]
<glittershark> ar: nope
<ar> nvm, that's not it
<{^_^}> [nixpkgs] @nlewo closed pull request #91047 → Fix Nixops: update boto3, botocore and awscli → https://git.io/JfFZH
<immae> I guess the correct answer yo your question is "no there isn’t", although you could use an environment variable and wrap the output program with that enviornment pointing to a folder full of fonts
<glittershark> yeah I'm thinking that's probably gonna be the thing to do
<glittershark> that and open an issue upstream asking them to do something less silly
<glittershark> aka "just use fontconfig, dangit"
<{^_^}> [nixpkgs] @flokli opened pull request #91048 → [20.03] systemd: apply patch for CVE-2020-13776 → https://git.io/JfFne
griff_ has quit [Quit: griff_]
drakonis has joined #nixos
dermetfan has joined #nixos
<immae> It’s a reasonnable issue although I don’t expect it to be as simple as "just" use that :p (but maybe I’m wrong and fontconfig is just dead simple)
<glittershark> yeah I have no idea really
<glittershark> never had to use it
user_0x58 has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #91045 → openmw-tes3mp: fix build after #80624 → https://git.io/JfFs1
<{^_^}> [nixpkgs] @veprbl pushed commit from @gnidorah to master « openmw-tes3mp: fix build after #80624 (#91045) »: https://git.io/JfFnc
User0192 has joined #nixos
rootatarch has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/788764b193f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<srid> why is this subreddit locked? https://www.reddit.com/r/NixOS/
<{^_^}> [nixpkgs] @adisbladis opened pull request #91049 → pythonPackages.eliot: init at 1.12.0 → https://git.io/JfFnR
<{^_^}> [nixpkgs] @primeos opened pull request #91050 → Add cargo-c and a C-API for rav1e → https://git.io/JfFna
eoli3n has joined #nixos
user_0x58 has quit [Quit: Leaving]
user_0x58 has joined #nixos
User0192 has quit [Disconnected by services]
janneke has quit [Remote host closed the connection]
janneke has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #87760 → freeimage: mark as broken on aarch64 → https://git.io/Jf4iJ
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfFny
janneke has quit [Changing host]
janneke has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #3709 → Mention number of derivations to be build/fetched in output → https://git.io/Jf5hB
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JfFnH
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
janneke has quit [Quit: janneke quits Mes'sing]
<{^_^}> [nixpkgs] @pstn opened pull request #91051 → mudlet: 4.3 -> 4.9.1 → https://git.io/JfFct
<{^_^}> [nixpkgs] @danieldk merged pull request #90576 → tre-command: 0.2.3 -> 0.3.1 → https://git.io/Jf5kr
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JfFcq
user_0x58 has quit [Quit: Leaving]
bbb1 has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @veprbl opened pull request #91052 → root5: 5.34.36 -> 5.34.38 → https://git.io/JfFcs
<{^_^}> [nixpkgs] @veprbl opened pull request #91053 → [20.03] root5: fix CVE-2017-1000203 → https://git.io/JfFcG
user_0x58 has joined #nixos
growpotkin has joined #nixos
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @lovesegfault closed pull request #88481 → rust-analyzer: 2020-04-20 -> 2020-05-18 → https://git.io/Jfgrn
<chipb> immae: ick. it's almost certainly easier to use than manually implementing a scan for an appropriately matching font based on something other than static file name.
<jluttine[m]> I have a Haskell project which I build with nix. However, how can I enter a nix shell where `cabal` would be available so that I could try how `cabal install` works for this project? Here's my project: https://github.com/jluttine/dbus-listen
<{^_^}> [nixpkgs] @lovesegfault closed pull request #87645 → firefox{,-beta}-bin bump → https://git.io/Jf8JC
nz has joined #nixos
<chipb> "Screw it, everyone has DejaVuSansMono-Bold.ttf as that literal filename. Done!"
rnhmjoj has joined #nixos
rnhmjoj has joined #nixos
rnhmjoj has quit [Changing host]
carlos has joined #nixos
carlos is now known as CFS-MP3
CFS-MP3 has quit [Changing host]
CFS-MP3 has joined #nixos
<immae> chipb: yes that’s basically what the code says :D
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/7bb2e7e0f69 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JfFcV
<glittershark> chipb: problems like this are what nixos was basically invented to solve, haha
<glittershark> jluttine[m]: nix-shell -A env is the usual way, without reading your source
<jluttine[m]> glittershark: thanks, i guess my `shell.nix` is doing that already. but i tried `nix-shell default.nix -A env` but still there's no cabal in PATH. so maybe cabal isn't a build dependency of haskell packages..?
<glittershark> that would be surprising to me
<glittershark> jluttine[m]: I'm not sure if it's the issue, but can you try replacing callCabal2Nix with haskellSrc2Nix ?
<glittershark> I don't remember what the difference is only that my projects use the latter and I can run cabal in my shells
<glittershark> haha
<chipb> heh. that's what I meant. ;-P
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @jali-clarke closed pull request #89812 → ffmpeg-full: add librsvg dependency → https://git.io/JfDiw
<chipb> based on the fc-match utility, I'd be surprised if it were a terribly difficult API.
<chipb> I mean, you can match the best ttf with e.g. "fc-match monospace:bold"
<chipb> of course, it was good enough for the upstream author as-is. there's something to the simplicity of not having to pull in another dependency...though it's already using SDL, and anybody running the program almost certainly already has fontconfig installed...
nuncanada has joined #nixos
nuncanada2 has joined #nixos
nuncanada has quit [Read error: Connection reset by peer]
<pbogdan> jluttine[m]: runhaskell ./Setup.hs install from within your shell should work I think?
<pbogdan> the haskell packages builder uses Setup.hs by default IIRC so doesn't need cabal-install
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<JameySharp[m]> Firefox has a bunch of problems with OpenGL unless I run it with LD_LIBRARY_PATH pointing to libglvnd, anyone know why? I have a bunch more details of the strace crap I did to get this far if that would help
is_null has joined #nixos
ebopp has quit [Ping timeout: 246 seconds]
asheshambasta has quit [Ping timeout: 272 seconds]
<infinisil> jluttine[m]: cabal is indeed not a dependency, you need to add that manually
<infinisil> I usually do it with something like `.overrideAttrs (old: { buildInputs = old.buildInputs ++ [ haskellPackages.cabal-install ]; })`
ebopp has joined #nixos
nuncanada2 has quit [Read error: Connection reset by peer]
sheeldotme has joined #nixos
lilpea has quit [Ping timeout: 258 seconds]
<pbogdan> might be possible to do it with haskellPackages.shellFor too I think
kreyren has quit [Remote host closed the connection]
kreyren has joined #nixos
ashesham` has joined #nixos
<JameySharp[m]> apparently there are multiple open nixpkgs issues for my problem so I guess I have more reading to do
buckley310 has joined #nixos
lord| has quit [Remote host closed the connection]
lord| has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #91055 → nanopb: include C sources → https://git.io/JfFC3
<{^_^}> [nixpkgs] @puzzlewolf opened pull request #91056 → [WIP] sequoia: unbreak on darwin → https://git.io/JfFCc
mallox has quit [Quit: WeeChat 2.8]
<JameySharp[m]> guess I needed firefox-wayland rather than firefox, which I didn't know was a thing. that's kind of a nasty surprise
<{^_^}> [nix] @Ericson2314 opened pull request #3720 → Prevent '%' in URL from causing crashes → https://git.io/JfFCB
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/14fcd947a01 (from 35 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
waleee-cl has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
zupo has joined #nixos
<gchristensen> I thinke firefox-wayland just sets an environment variable and runs the regular ff
kamid has quit [Ping timeout: 258 seconds]
mallox has joined #nixos
<qyliss> It sets the wrong environment variable too, apparently.
<gchristensen> hah
<qyliss> JameySharp[m]: I think the Wayland experts in here have told me before that you're supposed to set MOZ_ENABLE_WAYLAND
<gchristensen> btw qyliss are you still up to date on ruby things?
<qyliss> fraid not
<qyliss> wish I'd been able to keep up better :(
<JameySharp[m]> that's true if you're going to set it in your general environment, but setting GDK_BACKEND works fine if you only set it for firefox and not, say, any Electron app
bvdw has joined #nixos
<qyliss> I think there were reports of FF bugs that only manifest if GDK_BACKEND was set
<qyliss> but I could be wrong
<JameySharp[m]> and yeah, firefox-wayland does exactly two things differently AFAICT: it sets that environment variable, and it adds libglvnd to LD_LIBRARY_PATH
<JameySharp[m]> but the latter makes a really big difference
muronglizi has joined #nixos
boegel|quassel is now known as boegel
boegel has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<JameySharp[m]> without it, some Firefox subprocesses can find libEGL and others can't, resulting in broken WebGL and no support for more experimental things like WebRender
<muronglizi> Is it legit to re-ask a question here if it didn't find an answer on discourse for a day?
boegel has joined #nixos
<eyJhb> Is there any reason for NixOS just having the users group?
<{^_^}> [nixpkgs] @ruuda opened pull request #91057 → fedora-coreos-config-transpiler: init at 0.6.0 → https://git.io/JfFWL
<eyJhb> Thinking of setting the default group to the username, is there something I should be aware of?
nuncanada has joined #nixos
dedz has joined #nixos
<infinisil> muronglizi: Sure, ideally update discourse (or other places where you asked) with the new things you learned though
dedz has quit [Remote host closed the connection]
ashesham` has quit [Ping timeout: 272 seconds]
dedz has joined #nixos
<qyliss> eyJhb: I do that, works fine
<qyliss> Still useful to also have the users group though
dedz has quit [Remote host closed the connection]
ckauhaus has quit [Quit: WeeChat 2.7.1]
cosimone has quit [Quit: Quit.]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
fendor has quit [Remote host closed the connection]
kleisli has quit [Ping timeout: 258 seconds]
kenran has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #90211 → rust-analyzer: 2020-06-01 -> 2020-06-08 → https://git.io/JfH1h
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfFlf
fendor has joined #nixos
sheeldotme has quit [Read error: Connection reset by peer]
nuncanada has quit [Quit: Leaving]
endformationage has joined #nixos
cript0nauta has quit [Ping timeout: 240 seconds]
cript0nauta has joined #nixos
pr06lefs has quit [Ping timeout: 264 seconds]
cript0nauta has quit [Remote host closed the connection]
muronglizi has quit [Ping timeout: 244 seconds]
ebopp has quit [Remote host closed the connection]
pr06lefs has joined #nixos
cript0nauta has joined #nixos
cript0nauta has quit [Remote host closed the connection]
janneke has joined #nixos
boxscape has joined #nixos
cript0nauta has joined #nixos
<boxscape> hmm if I'm in a nix shell with agda installed, and I try to run an external command in neovim with :!, I get "bash -c: option requires an argument". If I'm not in that nix shell, I can run commands in neovim just fine. Any idea what might be causing that?
<boxscape> I had the same problem when trying to start programs with gdb a while back, but without agda - I didn't realize it was nix related then, and didn't manage to fix it
<Nafai> Who can I talk to about transferring ownership of https://github.com/travisbhartwell/nix-emacs to the Nix org? Because of work and other things, I don't have time to actively work on NixOS related things, and I've been missing some issues that have been filed and such. I think it would be better if this were supported by the Nix community so it can be kept up to date.
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<jwaksbaum[m]> boxscape: I don't have this issue: running :!echo hi from neovim inside nix-shell -p hello gave me no issue. Can you give some more info on your setup?
gentauro has joined #nixos
<boxscape> jwaksbaum[m] First of all, I do get the same issue with "nix-shell -p hello". Though actually I just realized that since I'm on a machine right now I should probably update before debugging this...
boxscape_ has joined #nixos
<boxscape> (brb rebooting)
boxscape99 has joined #nixos
meh`_ has joined #nixos
boxscape has quit [Ping timeout: 256 seconds]
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
takataka has joined #nixos
janneke has quit [Quit: janneke quits Mes'sing]
boxscape99 has quit [Quit: Connection closed]
boxscape has joined #nixos
<takataka> Hi, what to overwrite to modify nvidia package pulled in by services.xserver.videoDrivers = [ "nvidia" ]; ? I have tried nvidia_x11 from linuxPackages_latest and kernelPackages but it must be something else. Any ideas?
<boxscape> I'm using zsh as my shell - if I run the nix-shell from sh instead, I apparently don't get the problem. That's a workaround at least. (Apart from that I'm using the unstable channel and should have the current version from unstable of everything relevant)
janneke has joined #nixos
boxscap8 has joined #nixos
mgdm has left #nixos ["WeeChat 1.9.1"]
basilbunting[m] has joined #nixos
<boxscape> uh wait nevermind I get the issue from sh as well
boxscape_ has quit [Ping timeout: 260 seconds]
<boxscape> ah, but only if I start sh from a nix-shell I started in zsh, otherwise it's fine
leotaku_ has joined #nixos
kenran has quit [Ping timeout: 258 seconds]
kreyren_ has joined #nixos
kreyren has quit [Remote host closed the connection]
<boxscape> is there a way to tell nix-shell not to run .bashrc? Or alternatively go into sh instead of into bash?
<jwaksbaum[m]> boxscape: this reminds me of an issue with prompts getting mangled in nix-shell when started from zsh, but now I can't remember what that was about... I know I don't have that issue any more. Might have had something to do with locales for some reason, but could be wrong.
<boxscape> hmm, okay
magnetophon has quit [Ping timeout: 256 seconds]
jco has joined #nixos
cosimone has joined #nixos
<jco> Hello dear nixers
<{^_^}> [nixpkgs] @tyrion closed pull request #69027 → Add mailspring → https://git.io/JeOjv
<jco> After making a dockerfile with alpine, now it's time to try it with nix (although it results in a heavier image)
<jco> after entering nix-shell, dune is not found
boxscap8 has quit [Ping timeout: 246 seconds]
<jco> why is it so?
takataka has quit [Quit: Connection closed]
<jwaksbaum[m]> jco: what do you mean by entering nix-shell? When I run nix-shell -p dune, I get dune. What did you run?
<jco> jwaksbaum[m]: first nix-shell is executed, then dune is called (there is a default.nix including dune)
<jwaksbaum[m]> jco: Can you post the default.nix?
<jco> jwaksbaum[m]: sure, here it is: https://framabin.org/p/?dd43991a8c1dd701#tg45VFPgQ2+osjAyBMC6Y16K8vb3MshUGwmifioLIH4=
<jco> it's working
boxscape_ has joined #nixos
takataka has joined #nixos
nobrak has joined #nixos
<takataka> When I uncomment services.xserver.videoDrivers = [ "nvidia" ]; I see how it pulls in an additional and unpatched nvidia_x11. I have no idea how and why.
<takataka> That ''nvidia'' is an alias for kernelPackages.nvidia_x11 and kernelPackages is an alias for linuxPackages and here for boot.kernelPackages = pkgs.linuxPackages_latest;
<nobrak> If I'm using dockerTools.fromImage, should I expect to lose configuration from the source image? I'm looking to add on to an image,b ut my resulting image no longer has the env vars and entrypoint that the base image has.
<takataka> I have a working override for nvidia_x11 but somehow that services.xserver.videoDrivers uses unpatched version.
FRidh has quit [Quit: Konversation terminated!]
<takataka> Could anyone confirm https://github.com/NixOS/nixpkgs/issues/90459#issuecomment-645499013 does not work when services.xserver.videoDrivers = [ "nvidia" ]; is defined?
<jwaksbaum[m]> jco: so that means there's no more issue? Also, if it's helpful, I think there's a special function just for the purpose of making development environments like this one, instead of using stdenv.mkDerivation with no src: mkShell (https://nixos.org/nixpkgs/manual/#sec-pkgs-mkShell). Also, if you want it to just be used as a shell, you can put it in shell.nix instead of default.nix.
<takataka> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
<jco> jwaksbaum[m]: no sorry meant that it was working in nixos
<jco> thanks for the suggestion
drewr has quit [Quit: ERC (IRC client for Emacs 26.3)]
mananamenos has joined #nixos
hazel has joined #nixos
<hazel> hi, is it possible to do an entirely headless NixOS install?
<hazel> installing over a serial interface is also acceptable
<hazel> trying to install on a PCEngines apu2e0
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
<mica[m]1> hazel: should be possible
<mica[m]1> What errors are you getting?
<hazel> nothing. haven't booted it up yet, want to know if I can just use the default USB
<hazel> does it already export Serial or SSH?
<mica[m]1> Not ssh
drewr has joined #nixos
<mica[m]1> hazel: why not try it and report back?
<hazel> sure, but unless the installer is configured for serial, it's not like it'll do anything...
<{^_^}> [nixpkgs] @danieldk merged pull request #90709 → platformio: 4.3.1 -> 4.3.4 → https://git.io/JfdQO
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JfF43
<boxscape> I'm trying to get a nix-shell to open sh instead of bash (which runs zsh via .bashrc). If I run nix-shell --command sh *from* sh, it opens zsh. If I run the same command from zsh, it opens sh. But I need it to open sh from sh. I
<boxscape> not sure why that happens in the first place
<boxscape> am I missing something
pamplemousse has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6058a769fc1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
o1lo01ol1o has joined #nixos
thequux[m] has joined #nixos
<thequux[m]> hazel: I've got it running on my apu4; the default USB worked fine. I don't remember if I had to pass console=ttyS0 though
<hazel> alright
kleisli has joined #nixos
<boxscape> well, commenting out the relevant line in .bashrc temporarily works as a workaround...
<hazel> did you have to do anything to get serial working on a host machine, if your host ran NixOS thequux[m]?
<LambdaDuck> How would you install just a closure and not all the build dependencies from a package on cachix? The closure is about 59 Mb and the full install that you get with a default install is gigabytes (I'm not sure how to check the exact size).
<thequux[m]> One second while I look at my config to be sure; I do seem to recall that there was something necessary to get it to fully work
buckley310 has quit [Quit: Connection closed for inactivity]
takataka has quit [Quit: Connection closed]
sbetrium_ has quit [Read error: Connection reset by peer]
<hazel> that's *on* the APU, yeah?
orivej has quit [Ping timeout: 240 seconds]
<hazel> I'm talking about being able to connect to the APU
orivej_ has joined #nixos
<hazel> albeit that's appreciated!
<thequux[m]> Oh; no, just use your serial terminal of choice.
sbetrium has joined #nixos
<hazel> hm yeah but I'm not getting a /dev/ttyUSB0...
<hazel> i might be missing some kernel module
boxscape_ has quit [Ping timeout: 260 seconds]
<hazel> or not in some group
<hazel> dunno
<thequux[m]> What chip is in the adapter you're using? Some show up as ttyACM0
<infinisil> LambdaDuck: Nix only builds derivations if they aren't already in your store and it can't download them from a cache either. And if it builds a derivation, it needs all dependencies of it, which again are first looked up in your local store, then in caches, and otherwise are also built, and so on.
<hazel> i'm using the pcengines usbcom1a, and it isn't showing up at all
sbetrium has quit [Read error: Connection reset by peer]
<hazel> it's cp2104-based
takataka has joined #nixos
takataka has quit [Client Quit]
<hazel> oh epic
<hazel> still gotta connect to it first
<thequux[m]> That's pretty much exactly what I pasted
<thequux[m]> Does anything show up in dmesg when you plug the USB end in?
<hazel> nope
<hazel> lemme try another cable
<evils> oh yea, the matrix irc bridge just shows multi-line messages as a link
sbetrium_ has joined #nixos
<hazel> nothin'
mananamenos has quit [Ping timeout: 246 seconds]
<thequux[m]> Huh, that implies that there's a hardware problem. At the very least you'd get a message saying that a new device was enumerated
<jco> what do you give to the src field if you want to build a package which source is in the current working directory?
<jco> there's fetchurl but the source are stored on the machine
Maxdaman1us is now known as Maxdamantus
<hazel> `modprobe cp210x` works but doesn't do anything
<hazel> great
<hazel> lemme try another box
boxscape_ has joined #nixos
<LambdaDuck> infinisil: It doesn't seem to build anything for me. It just downloads all the build dependencies before downloading the package. I think it is some kind of IFD problem. This is the program I'm refering to: https://github.com/srid/neuron/blob/master/project.nix Here's a log of it downloading a bunch of unnecessary things:
<LambdaDuck> https://github.com/anka-213/test-gh-actions-neuron/runs/784005967?check_suite_focus=true The actual closure only contains 22 things, none haskell related.
<hazel> ..." The USB ID is NOT serialized so adapters can be exchanged without undue hassles / repeated driver install on mildew-brained operating systems."
<hazel> what does this mean
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<infinisil> LambdaDuck: Nix wouldn't be downloading them if they wouldn't be needed
<infinisil> Doesn't matter whether it's IFD or not
knupfer has quit [Client Quit]
knupfer has joined #nixos
<LambdaDuck> infinisil: They aren't needed for the final product. At least not according to nix-store. Maybe the construction of the derivation for the final product is not cached?
knupfer has quit [Client Quit]
knupfer has joined #nixos
<cransom> hazel: i assume it means that it doesn't add it as 'ttyUSB0', ttyUSB1, ttyUSB2, etc.
<hazel> well, if it's not even showing up in dmesg, how do i interface with it?
<hazel> is it just DOA?
<infinisil> LambdaDuck: They might be needed to build the result, or needed to evaluate the result derivation (that's IFD)
<thequux[m]> I think that Windows does something stupid where if the serial number is different, it needs to reinstall the driver
<hazel> oh ew
<cole-h> Nafai: I think adisbladi or etu have permissions to add stuff to tyhe nix-community org -- maybe get in touch with one of them?
<{^_^}> [nixpkgs] @snglth opened pull request #91060 → utahfs: init at 1.0 → https://git.io/JfFBR
<cole-h> s/tyhe/the/
<{^_^}> [nixpkgs] @kidd opened pull request #91061 → oil: 0.8.pre4 -> 0.8.pre6 → https://git.io/JfFB0
knupfer has quit [Client Quit]
<cransom> if you re-plugged after modprobe, you could try a full power down. I have some embedded stuff with cp210x chips that will crash my mac if i pull them, or cause the usb buson linux machines to disappear until a hard power off.
<thequux[m]> hazel: Do you have any other USB-serial adaptors? You might just have a dead adapter
knupfer has joined #nixos
<hazel> nope
<hazel> I have an FTDI adapter but I'd have to do some jank
boxscape_ has quit [Read error: Connection reset by peer]
<wrl> hazel: are you using a null modem cable?
<wrl> apu serial port needs one
<hazel> shouldn't need to, it's a pcengines adapter
<hazel> it's designed such that you don't
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2b417708c28 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<wrl> oh yeah huh
<thequux[m]> In theory, the usbcom1a is a null-modem cable
<hazel> and that wouldn't explain it *not registering*
<thequux[m]> regardless, the problem is on the USB end, not the serial end
<wrl> got it
<etu> Nafai: I could make a repo, nothing more I think
<hazel> i'm going to add "cp210x" to boot.kernelModules
<hazel> and reboot
<wrl> can you just modprobe that?
<hazel> did, didn't work
<wrl> weird as hell.
<evils> hazel: maybe build a custom iso with ssh enabled?
<hazel> it's pcengines i expect Quality(tm)
<hazel> maybe
<wrl> does it show up in lsusb?
<hazel> no
<wrl> yeah i have the same adapter
<hazel> did yours work immediately?
<wrl> the one with the nice braided microusb cable?
<wrl> let me go grab it
chloekek has joined #nixos
<hazel> ye
<chloekek> Is there some way to get notified when a particular package is upgraded in Nixpkgs master?
<qyliss> chloekek: repology.org?
<qyliss> it'll give you an RSS feed
knupfer has quit [Ping timeout: 260 seconds]
<hazel> it's a damn nice USB cable wrl
<wrl> it IS
<wrl> i'm half unpacked from moving house so this might take a few minutes
<hazel> also it's not the cable since it successfully plugs into my speaker
<chloekek> qyliss: Thanks, that seems to list Nixpkgs packages. Is “Nixpkgs unstable” the same as the master branch on GitHub?
<{^_^}> [nixpkgs] @dguibert merged pull request #90072 → paraview: 5.6.3 -> 5.8.0 → https://git.io/JfSX3
<hazel> also yeah take your time lol, i'm not going anywhere
<{^_^}> [nixpkgs] @dguibert pushed 2 commits to master: https://git.io/JfFBi
<hazel> chloekek: generally
<chloekek> hazel: Thanks! I’ll give this a try.
<hazel> pretty sure unstable syncs with nixpkgs master on regular intervals
<qyliss> chloekek: no, it's the same as the Nixpkgs unstable channel (the nixpkgs-unstable branch)
<LambdaDuck> infinisil: So, what workarounds are possible? It would help a lot if I could download 22 Mb instead of 2Gb to the CI servers and elsewhere if possible. Could the problem be that the derivation files themselves are not uploaded to cachix? It does say things like "building '/nix/store/jb3kx6m6b6lm4bn2q8mqjkd75g485g11-cabal2nix-aeson-1.4.5.0.drv'". Or is the problem related to `callHackageDirect`?
<rschulman> I'm setting up yggdrasil (https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/networking/yggdrasil.nix) and following those instructions for configuration, but the resulting config file that yggdrasil is using doesn't have config options from either method.
<rschulman> Does anyone else have any experience with this package?
<qyliss> chloekek: but generally you don't want to be installing packages from master
<hazel> what's the matrix channel for this IRC
<qyliss> often they won't be cached yet, and if they have tests those won't have been run
<chloekek> I always pick the latest commit on master when pinning a Nixpkgs for a new project. :)
<qyliss> You should pick the latest unstable instead
<hazel> check out nmattia/niv
<qyliss> It's only a couple of days behind, but it's passed certain automated tests
<hazel> it's good for doing things like pinning unstable nixpkgs
<qyliss> Unstable is just the last "known good" version of master
<qyliss> And it's almost never more than a week old
<infinisil> LambdaDuck: Looking through the logs, there's nothing unnecessary there I'm pretty sure
<infinisil> So there is no workaround, because there is no problem
sbetrium_ has quit [Quit: sbetrium_]
knupfer has joined #nixos
<wrl> hazel: found it. shows up immediately
<infinisil> I guess cabal2nix is rather bloated, most likely coming from haskellPackages.callCabal2nix. In recent nixpkgs versions this is reduced considerably
<wrl> [25996.545824] cp210x 1-1:1.0: cp210x converter detected
<wrl> [25996.547827] usb 1-1: cp210x converter now attached to ttyUSB0
<{^_^}> #81125 (by madjar, 16 weeks ago, merged): cabal2nix: split into a lightweight version and a wrapper
<LambdaDuck> infinisil: What do you mean? I only want the closure for the final product. Not the build dependencies. I don't want cabal2nix.
<hazel> damn
<hazel> let me try rebooting with "cp210x" enabled
mallox has quit [Quit: WeeChat 2.8]
<hazel> brb
<infinisil> LambdaDuck: You need to because of IFD
hazel has quit [Remote host closed the connection]
<infinisil> IFD essentially means "I need to first build these things to even know what the final product should be"
<LambdaDuck> So the only solution would be to not IFD?
<infinisil> If possible that would improve it yes
<LambdaDuck> Is there any possible workaround that would force it to say "I know this is the product form the IFD, you don't need the IFD dependencies"?
<infinisil> Not really
<infinisil> Pretty sure
NeoCron has quit [Ping timeout: 256 seconds]
<LambdaDuck> So the only other solution would be to host the nar elsewhere and download that?
<LambdaDuck> Btw, building it with -j0 fails, despite everything being in a cache. Is this expected?
sbetrium has joined #nixos
<srid> LambdaDuck: There is a way to 'strip dependencies' in Nix. I tried that approach once. Let me find that ...
hazel has joined #nixos
<hazel> okay well I rebooted and the serial adapter's fine
<LambdaDuck> Huh, why is that set?
<hazel> now the problem is that the NixOS installer isn't broadcasting over serial for some reason
<infinisil> LambdaDuck: "allowSubstitutes: If this attribute is set to false, then Nix will always build this derivation; it will not try to substitute its outputs. This is useful for very trivial derivations (such as writeText in Nixpkgs) that are cheaper to build than to substitute from a binary cache."
<LambdaDuck> Ah, right. Except when they aren't.
<infinisil> And -j0 fails because it tries to build something, this ^ (as seen by the "building ..." lines in your log)
<srid> LambdaDuck: I was told that `enableSeparateDataOutput` would ditch those dependencies, but it caused Nix to complain of cyclic dependency between the binary and the data derivation. There was something like propagated-build-inputs or something that unnecessary referred the cabal library package.
<srid> infinisil: ^
<thequux[m]> hazel: You need to enable add the console=ttyS0,115200 kernel parameter to get console output on serial
<infinisil> LambdaDuck: The derivation is very cheap to build, in this case it's just that the dependencies aren't already present, meaning it's more expensive in the end
<CFS-MP3> I have a question about right way to go about a package that generates two libraries from the same .tgz. It relates to this diff: https://github.com/NixOS/nixpkgs/pull/90706
<{^_^}> #90706 (by cfsmp3, 16 hours ago, open): libprom: init at 0.1.1
<CFS-MP3> that PR builds libprom. In the same tgz however, just in a different directory, they also added libpromhttp
<srid> I'm not sure how allowSubstitutes is relevant, because when you install neuron from cache nothing (including neuron) is built from source.
<thequux[m]> hazel: If you have a NixOS machine handy, you could also try building your own installer. I've done it many times and it's ridiculously easy
<CFS-MP3> I'm discussed it at work a bit and there's no consensus, some people prefer to just have two different derivations even if the source is the same, and other people prefer to have one derivation with multiple outputs
<LambdaDuck> infinisil: Exactly.
<srid> LambdaDuck: Also keep in mind that neuron is using a way older nixpkgs (via reflex-platform), but maralorn is planning to fix that.
<infinisil> srid: And that with an empty store?
<infinisil> Because IFD won't need to download anything if you already have the necessary derivations locally
<srid> On a fresh Ubuntu install, following the nix/cachix/neuron install instructions here: https://neuron.zettel.page/2011501.html
<LambdaDuck> srid: This is not entirely true. A few files are "built" from source, namely derivation files, which are built by cabal2nix.
<srid> Nothing gets compiled, everything comes from cache
<srid> Hmm, okay. I'm referring to the Haskell compilation here.
<infinisil> Nothing gets compiled yeah, but cabal2nix should still be run
travelion78 has quit [Quit: bye]
<srid> Right, but it doesn't actually compile it. Instead gets it from cache: https://github.com/anka-213/test-gh-actions-neuron/runs/784005967?check_suite_focus=true#step:7:887
<maralorn> srid: I must say getting reflex to build in nixpkgs was a walk in the park compared to what I still need to do to your default.nix.^^
<hazel> thequux[m]: how do I do that? edit it in GRUB?
janneke has quit [Quit: janneke quits Mes'sing]
<hazel> also, how do I send input? namely, keys on a keyboard nor keys in minicom navigate GRUB...
<thequux[m]> yeah
<LambdaDuck> infinisil: But why is everything after the cabal2nix necessary? The final closure still doesn't contain the library dependencies. The final step just contains a whole bunch of copying.
travelion787 has joined #nixos
<hazel> alrighty
<srid> maralorn: Once reflex and reflex-dom is in nixpkgs, I'd think it would be a piece of cake to port neuron? What am I missing?
janneke has joined #nixos
<infinisil> LambdaDuck: You're Nix, and I'm telling you "You need to determine the dependencies for this project, here's how you can get the tools for that". The first thing you need to do is actually get the tools before you can do anything
anotherAevin has joined #nixos
<maralorn> srid: Nothing in principle. In practice I don‘t have an overview over what features the nix files of neuron do offer. Just writing a default.nix that compiles the binary, would probably work.
<thequux[m]> hazel: IIRC, you can edit the syslinux configuration on your installer device as well
anotherAevin has quit [Remote host closed the connection]
<hazel> yeah GRUB's displaying serial
<{^_^}> [nixpkgs] @prusnak opened pull request #91063 → hashcat: 5.1.0 -> 6.0.0 → https://git.io/JfFRQ
<hazel> I just need to be able to *do things* in GRUB, but I don't know how to send input
<infinisil> LambdaDuck: I think if `allowSubstitutes` were true, it would instead be "Here's where you can download the result of somebody else having determined all the dependencies"
<infinisil> The tools in this case is just cabal2nix
<infinisil> But also, if you were to use a later version of nixpkgs with #81125 in it, cabal2nix wouldn't be so big to download
<{^_^}> https://github.com/NixOS/nixpkgs/pull/81125 (by madjar, 16 weeks ago, merged): cabal2nix: split into a lightweight version and a wrapper
<LambdaDuck> infinisil: Yes, I understand why cabal2nix and all its dependencies are needed, but I don't quite get why all the dependencies after line 339 are needed.
cole-h has quit [Ping timeout: 240 seconds]
<infinisil> Runtime dependencies?
<LambdaDuck> infinisil: Why are they not in the closure according to nix-store then?
hazel has quit [Remote host closed the connection]
<infinisil> LambdaDuck: How did you determine this?
<LambdaDuck> nix-store -q --size "/nix/store/pz08vmgv1y1vlvx0jfjwdwjvhs06246d-neuron-0.5.5.1"
<quinn> haskell people: i'm trying to add brittany to my shell.nix for a haskell repo (that uses developPackage) and i'm not sure what the "elegant"/"correct" way to do it is
<LambdaDuck> Or nix-store -q -R "/nix/store/pz08vmgv1y1vlvx0jfjwdwjvhs06246d-neuron-0.5.5.1"
<infinisil> LambdaDuck: And the last one gives you what result?
<srid> maralorn: if the new default.nix will compile the binary, in addition to working on the CI, that's all we need. then we can nuke the project.nix stuff and reflex-platform including the ./deps/* stuff.
<thequux[m]> hazel: check if minicom has hardware flow control enabled. If so, turn it off
dansho has joined #nixos
<infinisil> LambdaDuck: Not the same derivation though
<{^_^}> [nixpkgs] @leenaars opened pull request #91064 → LindeBuzoGrayStippling: init -> 1.0 → https://git.io/JfF0U
<infinisil> You have /nix/store/pz08vmgv1y1vlvx0jfjwdwjvhs06246d-neuron-0.5.5.1, CI has /nix/store/gjz0jdxq64zri4kszp2bm5ncajwxjjcd-neuron-0.5.5.1
<LambdaDuck> Right, this is on macos. I'll upload the command to ci.
<srid> LambdaDuck: what's under "/nix/store/j6w8a63v99z8hhyay1di6k8f7chxmzqq-source" ?
<infinisil> Pretty sure macos does dynamic linking differently
<infinisil> Which can explain the difference
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srid> I think now I remember. THe haskell binary seems to have a hardcoded path to the cabal library path under a different derivation, which in turn pulls in the whole slew of Haskell deps.
<srid> I seemed to have tried this in vain to fix that: https://github.com/srid/neuron/commit/9a1ea6e88b7f8652c77f9d66b1de6a691f2ffc85
<{^_^}> [nixpkgs] @flokli merged pull request #91043 → nixos/buildbot-master: support reporters, migrate away from status → https://git.io/JfFOJ
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfF0m
<LambdaDuck> infinisil: That would make sense
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<infinisil> LambdaDuck: srid: If it's the dynamic linking, running `ldd` on the binary should reveal all those paths
janneke has quit [Quit: janneke quits Mes'sing]
<srid> So the question is: why does the binary refer to lib/ghc-8.6.5/x86_64-linux-ghc-8.6.5 thereby bringing in the entire Haskell universe?
<srid> (despite using `JustStaticExecutables)
globin has quit [Ping timeout: 260 seconds]
<infinisil> Could check with `nix why-depends'
jco has quit [Quit: WeeChat 2.8]
janneke has joined #nixos
lsix has quit [Ping timeout: 272 seconds]
<srid> infinisil: is there a way to just list all dependencies recursively up to a certain level?
hazel has joined #nixos
<infinisil> srid: Does nix-store -q --tree work?
<hazel> so apparently I have uncovered a more general issue -- USB hotplugging is not working on my machine
<infinisil> That just shows the tree of deps
<hazel> how do I fix that
<hazel> things work when they're plugged in on boot, but not when they're plugged in after boot
<srid> infinisil: Helpful!
<hazel> indiscriminately between my serial adapter, keyboard, mouse dongle, and usb stick
<LambdaDuck> Is there a way to ask nix what it would do if /nix/store was empty? Or do you have to use a container/chroot to test it?
<srid> Okay, ^ the haskell (static) binary references paths to haskell library derivations. Why?
<{^_^}> [nixpkgs] @Lassulus merged pull request #90476 → routinator: 0.7.0 -> 0.7.1 → https://git.io/Jf7z2
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfF0K
<hazel> also (micro)SD hotplug does work
<LambdaDuck> I'm going to bed. Good night. Thanks for the help and discussion!
<hazel> this is a laptop
cosimone has quit [Quit: Quit.]
stevenxl has joined #nixos
globin has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #91065 → nixos/fontconfig: Move deprecated ultimate removals to relevant module → https://git.io/JfF0Q
janneke has quit [Quit: janneke quits Mes'sing]
<srid> Those haskell deps shouldn't be there. ^
<infinisil> nix why-depends!
janneke has joined #nixos
<srid> infinisil: Oh yea. But why-depends spits out "does not depend on". Very odd
<stevenxl> Folks. I do not know how to use nix, but I am working on a project that does use nix. (https://github.com/NorfairKing/hastory/pull/29). When I try to run `nix-shell` and then `nix-build`, I get a failure. I believe that the failure stems from the fact that nix does not know where to find a Haskell library called "base64". However, I do not know how to fix this problem.
<{^_^}> NorfairKing/hastory#29 (by StevenXL, 1 week ago, open): Multi-User Server
* stevenxl The particular error I get is :error: anonymous function at /nix/store/ax59027mi351rzq6wqir45yxcm7x2y6v-cabal2nix-hastory-server-data/default.nix:1:1 called without required argument 'base64', at /nix/store/3c0k1lhzwlr9l5bzilpfdrmjsnyid6li-source/pkgs/development/haskell-modules/make-package-set.nix:87:27
<infinisil> srid: If `nix-store -qR <path>` shows <otherpath>, then `nix why-depends <path> <otherpath>` should work
<srid> Oops, my error
<infinisil> Oh you need `$(realpath result)`
<srid> I didn't type the full path to the store, including the "slug" at the end
<srid> "bin/neuron: ….pandoc_types_bindir./nix/store/yav6sgpa310r6w4vs1iz6qb0rk4p8nyr-pandoc-types-1.21/bin.pandoc_ty…"
<srid> Hmm, what's that ...
<infinisil> Oh pandoc
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2b417708c28 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<srid> Shake too: "bin/neuron: …s_shake.shake_bindir./nix/store/npzrmbfmbw9q334wkx0h05yp69i84dij-shake-0.18.5/bin.shake_libdir./…"
<srid> How do I parse this cryptic looking line?
<infinisil> This might be relevant for the pandoc thing
<srid> the damn Paths_* module again!
<srid> "a transitive runtime dependency on the whole GHC distribution."
<srid> :(
<infinisil> You could remove them the same way as there
<{^_^}> [nixpkgs] @Lassulus merged pull request #83874 → swiftshader: init at 2020-03-31 → https://git.io/Jv52q
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JfFEm
<srid> Looks like I should do `remove-references-to` on pandoc, shake, warp, etc.
<infinisil> Not sure if this breaks anything though :P
<hazel> udevadm trigger does not pick up anything either
<hazel> can't plug in USB devices
<hazel> am I missing a kernel module?
<infinisil> hazel: You might want to try importing <nixpkgs/nixos/modules/profiles/all-hardware.nix>
<infinisil> (and rebuild + reboot after that before trying again)
<hazel> are there any downsides to doing that
philr_ has joined #nixos
<infinisil> Just increases the system size by a bit
<infinisil> And probably slower
<infinisil> And more code -> more vulnerability possibilities, yada yada
<hazel> there is a hardware profile for my laptop
<hazel> gnna do that
<infinisil> Clone repo, import that path from the repo
<infinisil> Or that :)
AmandaC has quit [Ping timeout: 264 seconds]
<iqubic> Hmm? Is it just me, or is CUPS broken?
<{^_^}> [nixpkgs] @markuskowa merged pull request #90073 → ocamlPackages.ppx_deriving: 4.4.1 -> 4.5 → https://git.io/JfSXD
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JfFEE
jnorkus has joined #nixos
<iqubic> Looks like I just needed to update my channels.
AmandaC has joined #nixos
<{^_^}> [mobile-nixos] @samueldr opened pull request #169 → doc: Fix 404 in in-depth devices doc → https://git.io/JfFES
buckley310 has joined #nixos
cole-h has joined #nixos
<{^_^}> [nix] @Ericson2314 closed pull request #3472 → Uses `StorePathHash` typedef to always remember the length → https://git.io/JvbBj
<{^_^}> [mobile-nixos] @samueldr merged pull request #169 → doc: Fix 404 in in-depth devices doc → https://git.io/JfFES
<{^_^}> [mobile-nixos] @samueldr pushed 2 commits to master: https://git.io/JfFEN
<{^_^}> [nixos-search] @garbas pushed to flakes « flakify »: https://git.io/JfFuv
<{^_^}> [nixos-search] @garbas opened pull request #106 → flakify → https://git.io/JfFuU
eoli3n has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #75510 → nixos/systemd: Use a proper type for unit paths → https://git.io/Je9SX
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfFuL
<{^_^}> [nixos-search] @garbas pushed to flakes « typos »: https://git.io/JfFuR
<cole-h> flokli: One use case where a string-path is useful (re: ^) is when, for whatever reason, something needs sudo in its path. If you add the package, it won't have suid, so you'd want to add /run/wrappers/bin
<cole-h> This is something somebody recently ran into (though they may have been going about it wrong...)
<cole-h> in here*
<flokli> uh, huh
<{^_^}> [nixpkgs] @Flakebi opened pull request #91066 → salt: 3000.3 -> 3001 → https://git.io/JfFuE
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/2b417708c28 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<{^_^}> [nixpkgs] @Mic92 merged pull request #91061 → oil: 0.8.pre4 -> 0.8.pre6 → https://git.io/JfFB0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfFu2
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #91067 → monero: 0.15 -> 0.16 → https://git.io/JfFuV
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
<flokli> cole-h: indeed, and this breaks the ipfs test
<flokli> I'll update and file a followup PR shortly
<cole-h> So, maybe `oneOf (str path package)`, or however that works? :)
<hazel> I'm trying to edit isolinux.cfg on the installer drive but it's read-only
<hazel> what do I do?
<hazel> set with "security.selinux" although selinux isn't installed on the host PC...
<{^_^}> [nixos-search] @garbas pushed to flakes « pass down version to webpack »: https://git.io/JfFuM
gustavderdrache has quit [Quit: Leaving.]
<cole-h> Any darwin users here? Could I ask you to run `nix-instantiate --eval -E 'with import <nixpkgs> {}; stdenv == gccStdenv'` 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/JfFuQ
<{^_^}> [nixpkgs] @flokli opened pull request #91068 → nixos/systemd: allow str in systemd.services.<name>.path → https://git.io/JfFu7
<{^_^}> #91068 (by flokli, 10 seconds ago, open): nixos/systemd: allow str in systemd.services.<name>.path
nikita` has quit [Quit: leaving]
werner291 has joined #nixos
<gregf> trying to print the current generation in my motd, I tried ${system.generation} but that errors out on build. Can someone tell me the right way to do this?
<werner291> Hello! Question: I've got Factorio installed, but would like to also install the list of recommended mods (https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/factorio/mods.nix). How do I do that?
<cole-h> flokli++
<{^_^}> flokli's karma got increased to 30
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #91065 → nixos/fontconfig: Move deprecated ultimate removals to relevant module → https://git.io/JfF0Q
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfFup
<{^_^}> [nixpkgs] @worldofpeace merged pull request #90626 → open-vm-tools: fix build → https://git.io/Jf5r8
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JfFuh
meh`_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #90978 → [20.03] libexif: 0.6.21 -> 0.6.22 for security fixes → https://git.io/JfFIJ
<{^_^}> [nixpkgs] @flokli pushed 2 commits to staging-20.03: https://git.io/JfFzv
<{^_^}> [nixpkgs] @flokli merged pull request #91009 → [19.09] libexif: 0.6.21 -> 0.6.22 for security fixes → https://git.io/JfFI8
<{^_^}> [nixpkgs] @flokli pushed 2 commits to release-19.09: https://git.io/JfFzf
fendor has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #90730 → matcha-gtk-theme: 2020-05-24 -> 2020-06-18 → https://git.io/JfFU8
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfFzU
<jnorkus> When nix learning resources state that you can have multiple versions of the same package installed, do they generally mean multiple versions installed under /nix/store, instead of meaning multiple versions available in the current environment?
pjt_014 has joined #nixos
<hazel> multiple versions and then you can switch between them with nix-shell yes
<jnorkus> hazel++ thanks
<{^_^}> hazel's karma got increased to 1
<hazel> i have it set up for rust projects (for example) that nix-shells in my project directories requiring nightly use nightly rust, but it's stable system-wide
<hazel> you don't actually need nix for that exact use-case (rustup could do it) but it's an example
justanotheruser has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #90268 → nextcloud: 18.0.4 -> 18.0.6 → https://git.io/JfQCG
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfFzm
<cole-h> flokli: Thanks for the quick fix -- ipfs tests pass :^)
<{^_^}> [nixpkgs] @Mic92 merged pull request #90269 → nextcloud: 18.0.4 -> 18.0.6 [20.03] → https://git.io/JfQCR
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-20.03: https://git.io/JfFzO
pjt_tmp has joined #nixos
fendor_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-search] @garbas pushed to flakes « fix »: https://git.io/JfFzG
Zetagon has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @flokli merged pull request #90267 → rmlint: fix running rmlint --gui → https://git.io/JfQcr
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfFzZ
simba1 has quit [Ping timeout: 244 seconds]
hazel has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 opened pull request #91069 → gitea: 1.11.6 -> 1.12.0 → https://git.io/JfFz8
orivej has quit [Ping timeout: 260 seconds]
mumuluxi has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #91068 → nixos/systemd: allow str in systemd.services.<name>.path → https://git.io/JfFu7
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfFzz
wucke13 has joined #nixos
<cole-h> flokli++
<{^_^}> flokli's karma got increased to 31
<flokli> uff
<flokli> all the karma
<srid> Is there a GUI tool to visualize and interact with the tree output of `nix-store -q --tree ...`?
<flokli> I need to get more stickers
<cole-h> :D
hazel has joined #nixos
* flokli throws a sticker into the direction of gchristensen
<hazel> so I still can't hotplug USB...
<hazel> udevadm trigger doesn't work either
<b42> hazel: what hardware? i probably have similar problem
<hazel> thinkpad t495
<b42> workaround is rmmod xhci_pci && modprobe xhci_pci
justanotheruser has joined #nixos
<b42> hm, i've got thinkpad a285 (ryzen 5)
<hazel> probably similar then...
<hazel> anyway another issue
<hazel> I want to edit isolinux.cfg on the NixOS install media
<hazel> it's write protected and has weird SELinux stuff
<hazel> is there a better way to do this
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfFz1
<hazel> I need a custom kernel cmdline for a headless install so
<hazel> yeah that works
<{^_^}> [nixpkgs] @flokli merged pull request #90501 → container-linux-config-transpiler: 0.7.0 -> 0.9.0 → https://git.io/Jf7oM
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfFzH
<{^_^}> [nixpkgs] @flokli merged pull request #90500 → cinnamon.cinnamon-translations: 4.4.2 -> 4.6.0 → https://git.io/Jf7o8
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfFzQ
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #91070 → mutt: 1.14.3 -> 1.14.4 → https://git.io/JfFzb
<{^_^}> [nixpkgs] @bcdarwin opened pull request #91071 → minc-tools: actually build Nifti support → https://git.io/JfFzA
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfFzp
<{^_^}> [nixpkgs] @flokli merged pull request #90328 → sane-backends: 1.0.28 -> 1.0.30 → https://git.io/JfQPh
erasmas has quit [Quit: leaving]
Rusty1 has joined #nixos
CFS-MP3 has quit [Remote host closed the connection]
agsdheidjd has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #90289 → adoptopenjdk-icedtea-web: 1.8.3 -> 1.8.4 → https://git.io/JfQrU
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfFgv
pjt_014 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @flokli merged pull request #90234 → openjdk: 11.0.6 -> 11.0.7 → https://git.io/JfHhW
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JfFgf
drakonis1 has quit [Quit: WeeChat 2.8]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/9480bae3370 (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> [nixos-search] @garbas merged pull request #106 → flakify → https://git.io/JfFuU
<{^_^}> [nixos-search] @garbas pushed to master « flakify (#106) »: https://git.io/JfFgY
<{^_^}> [nixos-search] @garbas pushed 0 commits to flakes: https://git.io/JfFgO
magnetophon has joined #nixos
dansho has quit [Ping timeout: 258 seconds]
drakonis_ has joined #nixos
<{^_^}> [nixos-search] @garbas pushed 6 commits to fix-62: https://git.io/JfFgK
<{^_^}> [nixos-search] @garbas opened pull request #107 → Improving option search ranking → https://git.io/JfFg6
<srid> infinisil: Your pointer put me in the right path, to solve 75% of the problem. A 25% still remains, and I wonder if cabal2nix is to blame: https://github.com/srid/neuron/issues/193#issuecomment-646342720
noudle has quit []
<srid> I don't know what all this is about ^
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<hazel> having trouble building my own ISO
chloekek has quit [Ping timeout: 264 seconds]
<hazel> "waiting for /dev/root to appear..............."
<hazel> what
<hazel> and then it says "An error occured in stage 1 of the boot process"
<hazel> and then kernel panic if I ignore it
neeasade has quit [Remote host closed the connection]
<gchristensen> how are you copying it to the USB device, hazel?
dansho has joined #nixos
* srid published today's investigation of cabal Paths_* mess and using remove-references-to fix it, in https://www.srid.ca/04b88e01.html
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #91072 → [20.03] mutt: patch for CVE-2020-14093 → https://git.io/JfF2k
<hazel> dd gchristensen
<gchristensen> dd if=./my.iso of=/dev/sda ?
Baughn_ has joined #nixos
Baughn_ is now known as Baughn
rajivr has joined #nixos
<bigvalen> How do you get "nix build" to use multiple cores ? It doesn't seem to have a --max-jobs option
<hazel> correct
agsdheidjd has quit [Ping timeout: 272 seconds]
<hazel> well, it's an SD, so /dev/mmcblk0
<hazel> but
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
cjpbirkbeck has joined #nixos
asymptotically has quit [Quit: Leaving]
dermetfan has quit [Ping timeout: 272 seconds]
<gchristensen> as long as you sent it to the raw device and not to a partition
<gchristensen> mmc though you might need to add more kernel modules
<cjpbirkbeck> hello, how do you add keys to ssh-agent?
<hazel> it's over a usb reader for a memory stick gchristensen
<hazel> but whatever
<hazel> any other ideas? obviously this isn't working
<hazel> what even is /dev/root
<cjpbirkbeck> i've enabled `programs.ssh.startAgent = true;`, but it does not seem to remember that i've entered my passphrase
liori has joined #nixos
<DigitalKiwi> cole-h: abathur i can do what i want now. i had to change the shell to bash and add a .bashrc that sourced the nix.sh and nix-daemon.sh (i don't know if i need both but i have both...). can't figure out what file i need to make it work with zsh but w/e
<DigitalKiwi> cole-h: abathur so now i can do this [kiwi@mvp-nixos pr-nixpkgs]$ nix-build . -A mlv-app --argstr system x86_64-darwin # from my macbook pro, that runs nixos, that has a qemu kvm of macos, that has nix in it... :|
<cole-h> :D
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<abathur> changed the user shell, or?
<DigitalKiwi> chsh -s /bin/bash
<DigitalKiwi> now it just whines at me that i'm supposed to use zsh
<abathur> and that's on the system you're issuing from, or the vm?
<DigitalKiwi> The default interactive shell is now zsh.
<DigitalKiwi> To update your account to use zsh, please run `chsh -s /bin/zsh`.
<DigitalKiwi> For more details, please visit https://support.apple.com/kb/HT208050.
<DigitalKiwi> in the macos vm
<DigitalKiwi> i think it probably only has to be for the root user
mbrgm_ has joined #nixos
cjpbirkbeck has joined #nixos
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
<ldlework> Man
<ldlework> I'm getting crazy graphical artifacting again on unstable
<ldlework> with nvidia offload
<DigitalKiwi> try The default interactive shell is now zsh.
<DigitalKiwi> To update your account to use zsh, please run `chsh -s /bin/zsh`.
<DigitalKiwi> dangit
<abathur> hehe
<DigitalKiwi> try nouveau i've never not had artifacts
<hazel> okay yeah I'm getting kernel panics and don't know what to do
<hazel> how do I make an installer ISO with custom kernel cmdline
<hazel> or force a custom kernel cmdline with the default installer
cjpbirkbeck has quit [Client Quit]
cjpbirkbeck has joined #nixos
<cole-h> Can't you edit the cmdline when you're selecting between the installer, the nomodeset installer, etc?
<hazel> whatever bootloader loads by default on a BIOS system (syslinux?) doesn't respond to serial input
<hazel> so, no. i also can't plug in a keyboard, machine has no keyboard controller.
<hazel> pc engines apu2.
<DigitalKiwi> boot.kernelParams = lib.mkForce [ "console=ttyS1,115200n8" "console=tty1" "loglevel=7" "cma=256M" ];
<hazel> do that?
<DigitalKiwi> that's what i have for my raspberrypi that i think is what you want to do
<DigitalKiwi> maybe not exactly that
<hazel> alright I'll give it a go, this isn't a Pi though
<DigitalKiwi> but that's the settings to try
<DigitalKiwi> the console= are the parts i needed for console to work
<DigitalKiwi> serial i mean
<hazel> is that the entire config?
<DigitalKiwi> also you could try a different kernel
<DigitalKiwi> boot.kernelPackages = pkgs.linuxPackages_4_19;
<DigitalKiwi> for example
<cjpbirkbeck> okay, it seems like ssh-agent isn't working despite being enabled and running. it never saves my keys, so i always have retype my passphrase. i feel like i'm missing something obvious but i don't what it is.
<hazel> i highly doubt that is it but i will do it anyway
<hazel> *sigh*
<hazel> computers
jnorkus has quit [Quit: leaving]
<DigitalKiwi> iknowrite
<hazel> again, not a pi, but yeah
<{^_^}> [nixpkgs] @zowoq merged pull request #90541 → ffmpeg: 4.2.3 -> 4.3 → https://git.io/Jf7xV
leungbk has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @zowoq pushed 4 commits to staging: https://git.io/JfFak
<DigitalKiwi> yeah adapt to your needs it might be something different but that's how you do it
<hazel> it also could just be a bad disk and I might try another
o1lo01ol1o has quit [Remote host closed the connection]
<cjpbirkbeck> does ssh-add permanently add keys to the ssh-agent?
gustavderdrache has joined #nixos
<hazel> no
<DigitalKiwi> i use keychain it works well https://www.funtoo.org/Keychain
<DigitalKiwi> and for gpg too!
<cjpbirkbeck> but with the ssh-agent, entering the passphrase once should put it automatically into the agent, so that you don't have to enter it again, right?
<hazel> not if it doesn't have somewhere to store that data
leungbk has joined #nixos
<cjpbirkbeck> hazel: so do you enable it store the data in given location?
<hazel> nvm I was doing dd bs=128K
<hazel> do not do that
hazel has quit [Remote host closed the connection]
m0rphism has quit [Ping timeout: 240 seconds]
timemage has quit [Quit: .]
werner291 has quit [Remote host closed the connection]
timemage has joined #nixos
<{^_^}> [nixpkgs] @danielfullmer opened pull request #91073 → nixos/systemd-boot: fix incorrect string formatting → https://git.io/JfFa6