worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-inf
stree has quit [Ping timeout: 252 seconds]
ahmedelgabri has quit [Ping timeout: 260 seconds]
ddellacosta has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121163 → prs: 0.2.9 -> 0.2.10 → https://github.com/NixOS/nixpkgs/pull/121163
aaabbbbbbbbbb has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120115 → python3.pkgs.sphinx-markdown-parser: init at 0.2.4 → https://github.com/NixOS/nixpkgs/pull/120115
stree has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #120785 → Fix grab-site and python3Packages.lmdb → https://github.com/NixOS/nixpkgs/pull/120785
<{^_^}> [nixpkgs] @alex-eyre closed pull request #121061 → nimbo: init at 0.2.1 → https://github.com/NixOS/nixpkgs/pull/121061
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121006 → vimPlugins: fix which-key-nvim branch, add friendly-snippets, vim-code-dark → https://github.com/NixOS/nixpkgs/pull/121006
<matthewcroughan> copying path '/nix/store/pgy0a8ra984g2drig8w2hfii1jvsqx6x-r13y.patch' from 'https://cache.nixos.org'...
Andoriyu has quit [Ping timeout: 252 seconds]
<matthewcroughan> gchristensen: what's this r13y business about? :D
<matthewcroughan> Your website r13y.com, is ending up in the installation image, what is this patch/package?
<hexa-> pkgs/tools/system/efivar/default.nix
<hexa-> 17: name = "r13y.patch";
<hexa-> some called the patch that name
<hexa-> and since efivar is pretty common in the install image, there you go
<hexa-> r13y = reproducibility
<matthewcroughan> yeah I got that after a few seconds of thought :P
acowley has joined #nixos
<matthewcroughan> samueldr: None of the builds here work anymore https://github.com/samueldr/cross-system
<matthewcroughan> that's because it's relying on my local nixpkgs right?
* jasom wonders what the first abbreviation to use the r13y/i18n format was
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121217 → flow: 0.149.0 -> 0.150.0 → https://github.com/NixOS/nixpkgs/pull/121217
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121200 → river: unstable 2021-04-08 -> unstable 2021-04-27 → https://github.com/NixOS/nixpkgs/pull/121200
<samueldr> matthewcroughan: most likely
<matthewcroughan> colemickens got back to me here and is kind of saving the day
<matthewcroughan> I wonder if we could turn your repo into a flake with pinned, known working hashes.
<matthewcroughan> because your repo cannot be used, since nobody knows what the hash was when it worked
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120049 → argocd: 1.8.6 -> 2.0.1 → https://github.com/NixOS/nixpkgs/pull/120049
<pie_> jasom: ryyyyyyyyyyyyy/innnnnnnnnnnnnnnnnn
Andoriyu has joined #nixos
ahmedelgabri has quit [Ping timeout: 250 seconds]
jesystani has quit [Ping timeout: 260 seconds]
<colemickens> matthewcroughan: I think a project to track known good crosses is a great ideas, btw.
<samueldr> colemickens: on it already
<matthewcroughan> colemickens: What you have is interspersed with your existing flake, makes it hard to read, but I'm getting it I think.
<matthewcroughan> sd-image-raspberrypi.nix is the only thing I'm struggling to understand why I'd need it.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121118 → b4: loosen versions for request and dnspython → https://github.com/NixOS/nixpkgs/pull/121118
<matthewcroughan> All I should need to do is define a `nixosConfigurations` and a cross-compiled device in that way.
<samueldr> colemickens: I want to "prove" this approach with mobile nixos first, but then bring this into NixOS
<matthewcroughan> But then, I do not know what I'd need to do with my equivalent of sd-image-raspberrypi.nix
bennofs__ has quit [Ping timeout: 252 seconds]
<matthewcroughan> Then, this doesn't even produce a flashable system image. For that, https://github.com/Mic92/nixos-aarch64-images looks great to add.
bennofs_ has joined #nixos
ddellacosta has joined #nixos
<matthewcroughan> My desire is to make an embedded system. I would build an iso for this system like `nix build github:matthewcroughan/nixcfgs#embedded-system`, the output should be an iso image that I flash to a disk.
<matthewcroughan> mic's nixos-aarch64-images provides a way of doing that, more or less.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121176 → [20.09] Backport of displaylink 5.4.0 → https://github.com/NixOS/nixpkgs/pull/121176
<matthewcroughan> It just uses dd with known offsets, the offsets are written in Nix, code as documentation :P
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120903 → nsis: enable builds on darwin. → https://github.com/NixOS/nixpkgs/pull/120903
<matthewcroughan> colemickens: Your pi4 configs do not have a cross compiled config, is this because the board is powerful enough?
ddellacosta has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mweinelt merged pull request #121165 → kea: 1.9.5 -> 1.9.6 → https://github.com/NixOS/nixpkgs/pull/121165
rj has quit [Ping timeout: 240 seconds]
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121218 → git-quick-stats: 2.1.8 -> 2.1.9 → https://github.com/NixOS/nixpkgs/pull/121218
ahmedelgabri has quit [Ping timeout: 276 seconds]
lsix1 has quit [Ping timeout: 250 seconds]
<{^_^}> [hydra] @cole-h opened pull request #948 → Jobset: list known inputs in invalid input type response → https://github.com/NixOS/hydra/pull/948
Cale has joined #nixos
vk3wtf_ has quit [Quit: WeeChat 3.0.1]
vk3wtf has joined #nixos
<matthewcroughan> colemickens: In your flake, you define a function called mkSystem, it takes 3 args. pkgs, system and hostname. But I don't see you do anything with pkgs, what is that about?
<{^_^}> [nixpkgs] @ivan opened pull request #121219 → lmdb: use fetchFromGitLab → https://github.com/NixOS/nixpkgs/pull/121219
<matthewcroughan> Is that just setting a value to later be used elsewhere?
ddellacosta has joined #nixos
JerryXiao has quit [Ping timeout: 240 seconds]
rajivr has joined #nixos
h0m1 has quit [Ping timeout: 250 seconds]
exondation has quit [Ping timeout: 250 seconds]
h0m1 has joined #nixos
Qwerky_ has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 252 seconds]
<matthewcroughan> Also, holy crap, environment.noXlibs = true;
<matthewcroughan> epic
<matthewcroughan> Wayland all the way, for real! :D
<samueldr> no because it's not exactly related to X, but anything for a graphical output
<matthewcroughan> ?
<samueldr> generally used to disable anything graphical in derivations
<samueldr> not specific to X
<matthewcroughan> oh :(
<samueldr> but named this way because it was introduced most likely before wayland was really a thing
<matthewcroughan> I thought it'd remove all the x11 libs in things
<matthewcroughan> like if I compile kitty, the terminal emulator, I thought it'd remove x11 by magic at compile time :P
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120912 → opusfile: fix windows compilation → https://github.com/NixOS/nixpkgs/pull/120912
<matthewcroughan> samueldr: How would I build the machines from colemickens flake then?
<matthewcroughan> They're not derivations
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121184 → flip-link: init at 0.1.3 → https://github.com/NixOS/nixpkgs/pull/121184
<samueldr> no idea
<samueldr> I'm not 'em, and I'm not a flakes user
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120459 → indlib: 1.8.9 -> 1.9.0 → https://github.com/NixOS/nixpkgs/pull/120459
JerryXiao has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121080 → jp2a: 1.0.7 -> 1.1.0 → https://github.com/NixOS/nixpkgs/pull/121080
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120629 → vimPlugins.gruvbox-nvim: init at 2021-04-23 → https://github.com/NixOS/nixpkgs/pull/120629
jgt has joined #nixos
Qwerky has joined #nixos
Ashy has joined #nixos
<Ashy> `nix-shell -p gcc9` seems to be actually giving me gcc 10.2.0, can someone else confirm that?
<matthewcroughan> Ashy: are you getting it from the cache?
<{^_^}> [nixpkgs] @mweinelt opened pull request #121222 → nixos/nginx: update hardening settings → https://github.com/NixOS/nixpkgs/pull/121222
<matthewcroughan> It does seem that way, but I assure you it is not 10.2.0
<matthewcroughan> copying path '/nix/store/590qwvlwbk0sa8hnmnyifwa5cnql7zim-gcc-9.3.0-lib' from 'https://cache.nixos.org'...
<Ashy> yeah i see that too
<Ashy> why is the version number reporting incorrectly?
<matthewcroughan> because gcc is unreproducible, is my guess
<matthewcroughan> for reasons like this
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121098 → electron_12: 12.0.4 -> 12.0.5 → https://github.com/NixOS/nixpkgs/pull/121098
<matthewcroughan> gcc gets its version number somehow at compile time, there's probably no way to purely nixify it
<matthewcroughan> common problem really
Qwerky has quit [Ping timeout: 260 seconds]
<matthewcroughan> like, imagine that the cmake file for gcc uses a curl script to set the version number, nix couldn't deal with that, it probably does something weird
<{^_^}> [nixpkgs] @peterhoeg merged pull request #120837 → cantata: ffmpeg_3 -> ffmpeg → https://github.com/NixOS/nixpkgs/pull/120837
jgt has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121078 → croc: fix passthru.tests → https://github.com/NixOS/nixpkgs/pull/121078
<pennae> well, gcc48 by that token can compile stuff with c++2a, which seems unlikely
<matthewcroughan> Check this out for example
haijuno has quit [Quit: Leaving]
<pennae> installing gcc into the user env yields the correct versions though
<matthewcroughan> that is very very very strange and fun behavior..
haijuno has joined #nixos
<matthewcroughan> I even did `nix-shell --pure gcc9` and got 10.2, so what's happening?
ddellaco_ has joined #nixos
<colemickens> matthewcroughan: not sure what mkSystem does off the top of my head, but it's just at the top of the flake.
<colemickens> As for the rpi4, I have access to a beefy aarch64 machine where I build and then push to cachix.
<matthewcroughan> yeah I read it, I'm not good enough at functional to understand it fully :P
<matthewcroughan> you give it inputs.nixpkgs as the first arg, aka pkgs: in the mkSystem function. Though I never see that used.
<colemickens> mkSystem calls "pkgs.lib.nixosSystem", so it's using pkgs for that.
<colemickens> aka, it's using that pkgs value passed is as the base nixpkgs for that system.
<matthewcroughan> I've responded on the forum to this https://discourse.nixos.org/t/how-to-cross-compile-the-sd-card-images/12751/7
<matthewcroughan> Might be better to answer so others can love you in the future :D
<matthewcroughan> colemickens++
<colemickens> sure, can do
<{^_^}> colemickens's karma got increased to 61
<{^_^}> [nixpkgs] @peterhoeg opened pull request #121223 → nixos/module: example referenced old ffmpeg → https://github.com/NixOS/nixpkgs/pull/121223
<{^_^}> [nixpkgs] @peterhoeg merged pull request #121223 → nixos/module: example referenced old ffmpeg → https://github.com/NixOS/nixpkgs/pull/121223
ddellaco_ has quit [Ping timeout: 260 seconds]
<hexa-> that's a close to not pushing to master as you can get :D
<pennae> Ashy: `nix run nixpkgs.gcc9` works, if that's any help
<colemickens> matthewcroughan: answered! good luck :)
<{^_^}> [hydra] @grahamc merged pull request #948 → Jobset: list known inputs in invalid input type response → https://github.com/NixOS/hydra/pull/948
shibboleth has quit [Quit: shibboleth]
<matthewcroughan> colemickens: You're a machine..
<matthewcroughan> Are you sure you didn't use Nix to build yourself?
JerryXiao has quit [Quit: Bye]
<tomberek> nice
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 1000 commits to structured-attrs: https://git.io/J3YYx
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121219 → lmdb: use fetchFromGitLab → https://github.com/NixOS/nixpkgs/pull/121219
JerryXiao has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #121089 → minidlna: switch from ffmpeg_3 to ffmpeg → https://github.com/NixOS/nixpkgs/pull/121089
hlz has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121032 → zlib: fix windows static compile → https://github.com/NixOS/nixpkgs/pull/121032
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121033 → libgnurx: output libgnurx.a when static → https://github.com/NixOS/nixpkgs/pull/121033
<colemickens> matthewcroughan: I do have a quip about `nix build ".#self.config.system.build.singularity"`. imagining my life as a reproducible set of states/events. :) but as far as I know I'm no escapee from Westworld!
<Ashy> pennae: cheers
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120988 → dpkg: 1.20.7.1 -> 1.20.9 → https://github.com/NixOS/nixpkgs/pull/120988
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121224 → k9s: 0.24.6 -> 0.24.8 → https://github.com/NixOS/nixpkgs/pull/121224
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120775 → Deterministic stdenv → https://github.com/NixOS/nixpkgs/pull/120775
Ashy has left #nixos ["WeeChat 3.0"]
stree has quit [Ping timeout: 268 seconds]
mrpi has quit [Quit: Bridge terminating on SIGTERM]
Scriptkiddi has quit [Quit: Bridge terminating on SIGTERM]
ajs124 has quit [Quit: Bridge terminating on SIGTERM]
ajs124 has joined #nixos
Scriptkiddi has joined #nixos
cheriimoya has joined #nixos
mrpi has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121225 → kube3d: 4.4.2 -> 4.4.3 → https://github.com/NixOS/nixpkgs/pull/121225
theDon has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120958 → svd2rust: 0.14.0 -> 0.18.0 → https://github.com/NixOS/nixpkgs/pull/120958
ece has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 closed pull request #121102 → svd2rust: 0.14.0 -> 0.17.0 → https://github.com/NixOS/nixpkgs/pull/121102
ddellacosta has quit [Ping timeout: 252 seconds]
theDon has joined #nixos
<{^_^}> [nixpkgs] @zhaofengli opened pull request #121226 → Librem 5 phone packages (Take 2) → https://github.com/NixOS/nixpkgs/pull/121226
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120968 → shticker-book-unwritten: fix broken cargoSha256; add libXcursor → https://github.com/NixOS/nixpkgs/pull/120968
AkechiShiro has quit [Quit: WeeChat 2.9]
stree has joined #nixos
AkechiShiro has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120896 → aws-sam-cli: 1.14.0 -> 1.23.0 → https://github.com/NixOS/nixpkgs/pull/120896
<{^_^}> [nixpkgs] @jtojnar closed pull request #88767 → Librem 5 phone packages → https://github.com/NixOS/nixpkgs/pull/88767
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
akaWolf has quit [Ping timeout: 240 seconds]
ece has quit [Read error: Connection reset by peer]
ahmedelgabri has joined #nixos
ece has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121228 → libmaxminddb: 1.5.2 -> 1.6.0 → https://github.com/NixOS/nixpkgs/pull/121228
ahmedelgabri has quit [Ping timeout: 276 seconds]
<wrkzk[m]> hey guys
<wrkzk[m]> I have a quick question
<wrkzk[m]> I am a noob so hear me out
<wrkzk[m]> when I try to import lua at the top of configuration.nix: { config, pkgs, lib, lua, ... }:
<wrkzk[m]> it shows this: error: attribute 'lua' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:303:28
<matthewcroughan> Does anybody know why this is called doubles.nix? https://github.com/NixOS/nixpkgs/blob/master/lib/systems/doubles.nix
<matthewcroughan> Never understood that :D
<{^_^}> [nixpkgs] @mystfox opened pull request #121229 → rtl88xxau-aircrack: fc0194 -> c0ce81 → https://github.com/NixOS/nixpkgs/pull/121229
<pennae> matthewcroughan: have you seen the term "target triples" in compilers? (not that we know that that's the origin, but they look suspiciously like that)
<dxb[m]> wrkzk: what're you trying to achieve by putting lua there?
syhn has quit [Ping timeout: 250 seconds]
<wrkzk[m]> I am trying to install a custom package from luarocks
<wrkzk[m]> I used luarocks-nix to create the derivation
<wrkzk[m]> I'm not sure if Im doing it correctly though
<dxb[m]> put it in systempackages as something like `(import ./path/to/lua.nix)`
syhn has joined #nixos
<pennae> wrkzk[m]: the lua you're looking for is probably an attribute of pkgs
haijuno has quit [Remote host closed the connection]
haijuno has joined #nixos
<pennae> or what dxb said if you have an entire file, yeah
AlpineLlama has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<wrkzk[m]> and some of the things are prefixed with "lua"
AlpineLlama has joined #nixos
ddellacosta has joined #nixos
judeka[m] has joined #nixos
ddellacosta has quit [Ping timeout: 252 seconds]
botty has joined #nixos
<botty> Is there a way I can print the contents of something in my Nix config to troubleshoot an error I'm getting?
aaronjanse has quit [Quit: authenticating]
<botty> Trying to debug why this line throws an error:
<botty> " unstableNur.repos.emmanuelrosa.bisq-desktop
aaronjanse has joined #nixos
<botty> It's complaing that error: attribute 'repos' missing
lordcirth has quit [Ping timeout: 250 seconds]
lordcirth has joined #nixos
lordcirth has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #121230 → togglesg-download: drop it as it is no longer maintained/working → https://github.com/NixOS/nixpkgs/pull/121230
lordcirth has joined #nixos
<{^_^}> [nixpkgs] @yrashk opened pull request #121231 → why3: 1.3.3 -> 1.4.0 → https://github.com/NixOS/nixpkgs/pull/121231
haijuno has quit [Ping timeout: 276 seconds]
jgt has joined #nixos
jgt has quit [Ping timeout: 240 seconds]
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/J3Y2k
botty has quit [Quit: leaving]
ddellacosta has joined #nixos
ddellac__ has joined #nixos
ddellacosta has quit [Ping timeout: 265 seconds]
ddellac__ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121232 → avro-c: 1.9.1 -> 1.10.2 → https://github.com/NixOS/nixpkgs/pull/121232
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @tomberek merged pull request #121218 → git-quick-stats: 2.1.8 -> 2.1.9 → https://github.com/NixOS/nixpkgs/pull/121218
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121233 → apacheHttpd: 2.4.46 -> 2.4.47 → https://github.com/NixOS/nixpkgs/pull/121233
ddellacosta has joined #nixos
snowflake has quit [Ping timeout: 240 seconds]
snowflake_ has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
MidAutumnHotaru has quit [Quit: Quit 啾]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121234 → activemq: 5.16.1 -> 5.16.2 → https://github.com/NixOS/nixpkgs/pull/121234
MidAutumnHotaru has joined #nixos
<{^_^}> [nixpkgs] @tomberek merged pull request #121216 → deepdiff: 5.3.0 -> 5.5.0 → https://github.com/NixOS/nixpkgs/pull/121216
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121235 → bgpq4: 0.0.6 -> 0.0.7 → https://github.com/NixOS/nixpkgs/pull/121235
<{^_^}> [nixpkgs] @tomberek merged pull request #121217 → flow: 0.149.0 -> 0.150.0 → https://github.com/NixOS/nixpkgs/pull/121217
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120891 → opera: add libdrm and mesa dependencies → https://github.com/NixOS/nixpkgs/pull/120891
<{^_^}> [nixpkgs] @peterhoeg merged pull request #121230 → togglesg-download: drop it as it is no longer maintained/working → https://github.com/NixOS/nixpkgs/pull/121230
stree has quit [Ping timeout: 268 seconds]
endformationage has quit [Quit: WeeChat 2.9]
<tomberek> Would love a look at 119517. Worried it and the service module can become stale. I'd like to have those packages enter into a more regular cadence of simple version bumps rather than refactors
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121232 → avro-c: 1.9.1 -> 1.10.2 → https://github.com/NixOS/nixpkgs/pull/121232
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #99414 → scream: 3.4 -> 3.6 → https://github.com/NixOS/nixpkgs/pull/99414
lordcirth has quit [Read error: Connection reset by peer]
lordcirth has joined #nixos
slyphon has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121062 → terragrunt: 0.29.0 -> 0.29.1 → https://github.com/NixOS/nixpkgs/pull/121062
<slyphon> hey all, i just ran into this issue https://github.com/NixOS/nix/pull/4634 trying to install neovim. I see that it was merged, but i'm a total newb at nix, how do i get this fix in my local install of nix?
<{^_^}> nix#4634 (by ianthehenry, 6 weeks ago, merged): backport #4411
xkapastel has quit [Quit: Connection closed for inactivity]
stree has joined #nixos
<tomberek> slyphon: update your nix with a version past that point (unless you are on nixos with a nix-daemon running?).
<slyphon> nah i'm on centos 7
<slyphon> how do i update my nix with a version past that point? I'm sorry i know that's a really basic question, but i just installed using the curl-into-sh thing in the instructions
<{^_^}> [nixpkgs] @michojel opened pull request #121236 → megasync: use ffmpeg instead of ffmpeg_3 → https://github.com/NixOS/nixpkgs/pull/121236
<slyphon> i'm just getting my bearings and reading the "ubuntu cheatsheet" wiki page to figure out the commands
<tomberek> okay, one sec..... you're trying to install a specific nix version, right?
<slyphon> i think so? i want to update to the point where this change has been merged
<slyphon> rather where i'm running nix that has this fix in it
<slyphon> i made a gist ^^ above of the output of nix-info if that helps
<tomberek> not sure what channel you are on, but easiest would be something like directly installing the version you want:  nix-env -if https://github.com/NixOS/nix/tarball/master
<{^_^}> [nixpkgs] @jonringer merged pull request #121115 → gcc11: init at 11.0.0 → https://github.com/NixOS/nixpkgs/pull/121115
<slyphon> version: `nix-env (Nix) 2.3.10`, i have both channels(root): `"nixpkgs-21.05pre286028.f4c4ddae041"` and `"20.09-20.09.3990.7a9104b6d4b"`
<slyphon> the latter is for my user
<slyphon> i'll try what you suggested
palo1 has joined #nixos
palo has quit [Ping timeout: 240 seconds]
palo1 is now known as palo
thc202 has joined #nixos
thc202 has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @happysalada opened pull request #121237 → vector: 0.13.0 -> 0.13.1 → https://github.com/NixOS/nixpkgs/pull/121237
thc202 has joined #nixos
ddellacosta has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @kanashimia opened pull request #121238 → ibus: fix autostart → https://github.com/NixOS/nixpkgs/pull/121238
jgt has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
turlando has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121215 → kopia: 0.7.3 -> 0.8.4 → https://github.com/NixOS/nixpkgs/pull/121215
DevTurks[m] has left #nixos ["User left"]
ddellacosta has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @tomberek merged pull request #121152 → qutebrowser: 2.2.0 -> 2.2.1 → https://github.com/NixOS/nixpkgs/pull/121152
ahmedelgabri has joined #nixos
sangoma has joined #nixos
ddellacosta has joined #nixos
ahmedelgabri has quit [Ping timeout: 250 seconds]
ddellacosta has quit [Ping timeout: 260 seconds]
syhn has quit [Ping timeout: 268 seconds]
syhn has joined #nixos
<matthewcroughan> colemickens: I found this as a result of trying really hard
<{^_^}> #8989 (by deepfire, 5 years ago, closed): insanity: polkit depends on spidermonkey
<matthewcroughan> Man, I can't find a way of disabling it :P
<matthewcroughan> it won't compile for armv7l that's for sure
<matthewcroughan> it wasn't just polkit.
<matthewcroughan> Haha, okay, so I applied some of your stuff.. like udisks2.enable = false; that got rid of it.
thc202 has quit [Quit: thc202]
slyphon has quit [Quit: I REGRET NOTHiiiiiiiiiinnnngggg….]
thc202 has joined #nixos
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/dbc8bdf6c15 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121239 → cargo-audit: 0.14.0 -> 0.14.1 → https://github.com/NixOS/nixpkgs/pull/121239
test53453535[m] has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120876 → python37Packages.poetry: update stale substituteInPlace → https://github.com/NixOS/nixpkgs/pull/120876
<{^_^}> [nixpkgs] @peti merged pull request #121233 → apacheHttpd: 2.4.46 -> 2.4.47 → https://github.com/NixOS/nixpkgs/pull/121233
ddellacosta has joined #nixos
ddellacosta has quit [Ping timeout: 260 seconds]
hyiltiz has quit [Ping timeout: 252 seconds]
arzoc has joined #nixos
arzoc has quit [Client Quit]
<{^_^}> [nixpkgs] @snoord opened pull request #121240 → tanka: 0.15.0 -> 0.15.1 → https://github.com/NixOS/nixpkgs/pull/121240
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120933 → dotty: 0.26.0-RC1 -> 3.0.0-RC3 → https://github.com/NixOS/nixpkgs/pull/120933
cfricke has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120923 → lagrange: 1.3.2 → 1.3.4 → https://github.com/NixOS/nixpkgs/pull/120923
<{^_^}> [nixpkgs] @siraben opened pull request #121241 → coq2html: 20170720 -> unstable-2021-04-22 → https://github.com/NixOS/nixpkgs/pull/121241
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120914 → trilium: 0.46.9 -> 0.47.2 → https://github.com/NixOS/nixpkgs/pull/120914
domogled has joined #nixos
hyiltiz has joined #nixos
hyiltiz has joined #nixos
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @fabaff merged pull request #121211 → python3Packages.karton-yaramatcher: 1.0.0 -> 1.1.0 → https://github.com/NixOS/nixpkgs/pull/121211
<{^_^}> [nixpkgs] @vbgl opened pull request #121242 → coqPackages.VST: 2.6 → 2.7.1 → https://github.com/NixOS/nixpkgs/pull/121242
<{^_^}> [nixpkgs] @fabaff merged pull request #121143 → python3Packages.gym: 0.18.0 -> 0.18.1 → https://github.com/NixOS/nixpkgs/pull/121143
hyiltiz has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120638 → pythonPackages.btrfs: 12 -> 13 → https://github.com/NixOS/nixpkgs/pull/120638
jgt has joined #nixos
<{^_^}> [nixpkgs] @fabaff merged pull request #121210 → python3Packages.karton-config-extractor: 1.0.0 -> 1.1.1 → https://github.com/NixOS/nixpkgs/pull/121210
<Frosku> How unstable is unstable/
stree has quit [Ping timeout: 246 seconds]
attila_lendvai has joined #nixos
civodul has joined #nixos
<Frosku> "Don't run this on a critical webserver" unstable or "typical rolling release" unstable or somewhere between?
domogled1 has joined #nixos
<ar> Frosku: i treat my "unstable" systems as "typical rolling release, might break"
nschoe has joined #nixos
<Frosku> So if I'm used to i.e. Arch/Gentoo stability it's probably fine?
domogled has quit [Ping timeout: 248 seconds]
domogled1 is now known as domogled
<ar> Frosku: yup.
<Frosku> 5.4 kernel doesn't support large swaths of my hardware, is why I'm asking
<ar> Frosku: boot.kernelPackages = pkgs.linuxPackages_latest;
saschagrunert has joined #nixos
<ar> I'm using that on my laptop (thinkpad x13 w/ ryzen 4750U), and desktop (zen3 and rdna2 graphics)
aaabbbbbbbbbb has joined #nixos
lsix1 has joined #nixos
ahmedelgabri has joined #nixos
abstrn has quit [Quit: later]
ddellacosta has joined #nixos
respawn_ has joined #nixos
supersandro2000 has joined #nixos
hiro98 has joined #nixos
stree has joined #nixos
ahmedelgabri has quit [Ping timeout: 276 seconds]
ddellacosta has quit [Ping timeout: 240 seconds]
ahmedelgabri has joined #nixos
domogled1 has joined #nixos
domogled has quit [Ping timeout: 260 seconds]
domogled1 is now known as domogled
m0rphism has joined #nixos
<Frosku> Nice
<Frosku> Does that have to be compiled every upgrade?
<Frosku> Or is it compiled on hydra?
cole-h has quit [Ping timeout: 240 seconds]
hiro98 has quit [Ping timeout: 240 seconds]
<eyJhb> Frosku: Should be in the binary cache, unless you have something "extra"
<Frosku> I have nonfree firmware for sound/wifi
domogled has quit [Ping timeout: 252 seconds]
<Frosku> and nvidia driver
<Frosku> Other than that, nothing
exondation has joined #nixos
thomasjm__ has joined #nixos
hiro98 has joined #nixos
hyiltiz has joined #nixos
hyiltiz has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #117716 → Fix https://github.com/NixOS/nixpkgs/issues/117715https://github.com/NixOS/nixpkgs/pull/117716
thelounge84153 has joined #nixos
thelounge84153 has quit [Client Quit]
hiro98 has quit [Ping timeout: 240 seconds]
hyiltiz has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @happysalada merged pull request #121237 → vector: 0.13.0 -> 0.13.1 → https://github.com/NixOS/nixpkgs/pull/121237
<{^_^}> [nixpkgs] @fabaff merged pull request #121239 → cargo-audit: 0.14.0 -> 0.14.1 → https://github.com/NixOS/nixpkgs/pull/121239
Frosku has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #121208 → [20.09] palemoon: 29.1.1 -> 29.2.0 → https://github.com/NixOS/nixpkgs/pull/121208
melg8 has joined #nixos
<{^_^}> [nixpkgs] @twoolie opened pull request #121243 → rich: make `ipywidgets` dependency optional → https://github.com/NixOS/nixpkgs/pull/121243
ddellacosta has joined #nixos
avaq has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
thomasjm__ has quit [Ping timeout: 252 seconds]
<{^_^}> [hydra] @regnat opened pull request #950 → Properly report hash mismatches → https://github.com/NixOS/hydra/pull/950
thomasjm_ has quit [Ping timeout: 276 seconds]
nschoe has quit [Ping timeout: 260 seconds]
jonringer has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @06kellyjac opened pull request #121244 → trivy: 0.16.0 -> 0.17.1 → https://github.com/NixOS/nixpkgs/pull/121244
ddellacosta has joined #nixos
cyrinux has quit [Quit: bye]
Frosku has joined #nixos
meh` has joined #nixos
tbreslein has joined #nixos
cyrinux has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos
respawn_ has quit [Quit: Leaving]
jgt has quit [Ping timeout: 252 seconds]
fendor_ is now known as fendor
hyiltiz has joined #nixos
hyiltiz has joined #nixos
S0rin has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121240 → tanka: 0.15.0 -> 0.15.1 → https://github.com/NixOS/nixpkgs/pull/121240
<{^_^}> [nixpkgs] @happysalada opened pull request #121245 → rustup: 1.23.1 -> 1.24.1 → https://github.com/NixOS/nixpkgs/pull/121245
hyiltiz has quit [Ping timeout: 240 seconds]
jgt has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121236 → megasync: use ffmpeg instead of ffmpeg_3 → https://github.com/NixOS/nixpkgs/pull/121236
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121235 → bgpq4: 0.0.6 -> 0.0.7 → https://github.com/NixOS/nixpkgs/pull/121235
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121094 → pythonPackages.trollius: remove, adjust downstream dependencies → https://github.com/NixOS/nixpkgs/pull/121094
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121244 → trivy: 0.16.0 -> 0.17.1 → https://github.com/NixOS/nixpkgs/pull/121244
hyiltiz has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120908 → just: 0.9.0 -> 0.9.1 → https://github.com/NixOS/nixpkgs/pull/120908
hyiltiz has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119895 → matrix-commander: init at unstable-2021-04-18 → https://github.com/NixOS/nixpkgs/pull/119895
<{^_^}> [nixpkgs] @thblt opened pull request #121246 → Correctly install pcscd (fix #121121) → https://github.com/NixOS/nixpkgs/pull/121246
hiro98 has joined #nixos
hyiltiz has joined #nixos
ddellacosta has joined #nixos
exondation has quit [Ping timeout: 250 seconds]
eyJhb has joined #nixos
exondation has joined #nixos
atralheaven has joined #nixos
ddellacosta has quit [Ping timeout: 260 seconds]
<{^_^}> [nixos-weekly] @domenkozar merged pull request #155 → Add 'Data Science with Nix: Parameter Sweeps' blog post → https://github.com/NixOS/nixos-weekly/pull/155
beertoagunfight has joined #nixos
thomasjm_ has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #119640 → python3Packages.cryptography: Update Cargo hash → https://github.com/NixOS/nixpkgs/pull/119640
thomasjm__ has joined #nixos
akaWolf has joined #nixos
<atralheaven> Hi! I've read a a little about nixos recently, and its approach seems very interesting to me, I have a few basic questions about it
<{^_^}> [nixpkgs] @thblt opened pull request #121247 → pcsclite: Remove the confdir configure option (fix #121088) → https://github.com/NixOS/nixpkgs/pull/121247
* evils welcomes atralheaven
<atralheaven> packages are isolated and atomic, which is great, what about configurations? are they stored separately for each package/version?
<atralheaven> how configurations are managed, generally?
thomasjm_ has quit [Read error: Connection reset by peer]
<colemickens> atralheaven: depends on what configurations.
<evils> i think you're asking about the nixos modules
thomasjm__ has quit [Read error: Connection reset by peer]
<colemickens> atralheaven: things configured via nixos modules are part of the system generation
<atralheaven> I mean package configurations, not os related ones
<colemickens> atralheaven: if you just install vlc and use it, no, it's just gonna write out random dotfiles wherever
<colemickens> atralheaven: some applications can be configured via `programs.<foo>.....` in which case a config file is built as part of the generation and symlinked in place
<colemickens> atralheaven: home-manager adds similar declarative (and thus profile/generation) support to MANY more "user-y" applications
meh` has quit [Ping timeout: 240 seconds]
fendor has quit [Remote host closed the connection]
<colemickens> atralheaven: for example, basically every single thing I use on a linux system is handled declaratively through nixos+home-manager
<colemickens> random things fall through the cracks though (for example, I might not have `htop` configured, but I have it installed, it writes out some config by itself that is thus not managed by the profile/generation)
<etu> colemickens: htop configuration through home-manager is great though :)
meh` has joined #nixos
<colemickens> I mean, I do have it ;)
fendor has joined #nixos
<colemickens> home-manager is just delightful
<atralheaven> how does it work, basically?
<Kinnison> colemickens: periodically sweep ~/.config etc. for non-symlinks and home-managerify them?
* Kinnison is in the early days of home-manager and finds himself having to do that every now and again
<colemickens> yeah, and/or just checking h-m before randoming installing stuff, always amazed at what the community has already added
<colemickens> atralheaven: that's a big question, can you narrow it down a bit
<etu> Kinnison: I just run tmpfs for / and /home so I realize what's not included/symlinked after each reboot :p
<Kinnison> etu: wow, that's impressive dedication :D
<etu> Kinnison: I'm not alone though
<Kinnison> I'd get sad if random files I'd dropped down in ~ vanished on a reboot
<atralheaven> currently my problems are more related to configs than packages themselves, if I can have some sort of snapshots of application-related files like configs, it would make my life easier
* Kinnison is still exceedingly early in his nixos life though
<colemickens> atralheaven: sure, just take a peek at the home-manager documentation
<etu> Kinnison: It pushes you to have diciplin of where you store things :p
<colemickens> atralheaven: you use the nixos module system to configure your applications, then home-manager "renders" that into config files that are then symlinked into your home dir
<Kinnison> etu: so do you end up with a ~/crap folder which isn't reset?
<Kinnison> etu: Also do you preserve things like ~/.local ?
<etu> Kinnison: Yes, it's called ~/Downloads
<etu> Kinnison: Some specific paths yes
<Kinnison> etu: and as for / being tmpfs -- I assume /etc is persistent?
<Kinnison> etu: or is it just /etc/nixos ?
<colemickens> etu: I uh, I want to be the kind of person that can do that but I already curse myself enough from throwing stuff in /tmp and then rebooting, god forbid all of $HOME
<Ke> you don't need either
<etu> Kinnison: /etc/nixos is bindmounted to a persistent volume, /etc isn't needed :p
<colemickens> I've had "erase my darlings" on the back burner todo for forever. or at least the version that maybe snapshots and then applies the blank snapshot so I can cry less
<Kinnison> etu: Hmm
<atralheaven> colemickens: I checked "https://nixos.wiki/wiki/Home_Manager" but I didn't understand much from it actually :D
* Kinnison thinks he doesn't want to go down that route just yet
<colemickens> atralheaven: well I gave the briefest version I can give
<Ke> you can set nixPath to persistent vol directly
<colemickens> atralheaven: beyond that I'd recommend finding hte HM manual and reading and just giving it a shot
<colemickens> it becomes pretty clear pretty quick what's going on, I think
<atralheaven> oh I didn't see you message
<euank> Let me give a specific example and see if that helps, atralheaven. Say I want to configure my fonts and colors in alacritty. I might write this home.nix: https://gist.github.com/euank/e4746fcf98a01d5ee750227001708e63
<colemickens> but the nixos manual might be an even better place to start if you have no idea what's going on under the covers :)
<Ke> I have only /nix, /mnt/persist and /tmp
<euank> and at the end, running home-manager will take that nix expression, create configuration files, and symlink them into place. This also includes managing $PATH, other session variables, bashrc, systemd --user services, etc
<atralheaven> man that's awesome
<euank> The goal is that you can then check in the .nix file, and when you run it again, you'll get the exact same result
<Ke> oh, I do have /home, but only because I'm lazy
<euank> home-manager includes a lot of existing programs / modules for specialized "translate this nix config into this program specific config", but you can also shim in files, with things like `home.file.".docker/config.json".text = # file contents`
<euank> which all taken together ends up making it reasonable to represent pretty complicated configs pretty well with all the usual benefits of the nix language (declarative / pure / reproducible, unless you go out of your way to do impure things)
<euank> Hopefully that description of it helped a little. I'd mostly just recommend playing around with it to get a feel for it, or poking through the docs + some people's home.nix on github
v0lde[m] has quit [Quit: Idle for 30+ days]
contrun has quit [Quit: Idle for 30+ days]
aiden[m] has quit [Quit: Idle for 30+ days]
<evils> colemickens++ Kinnison++ euank++
<{^_^}> colemickens's karma got increased to 62
<{^_^}> Kinnison's karma got increased to 1
<{^_^}> euank's karma now has 2 digits!
<atralheaven> is nixos relatively lightweight/minimal by default in a fresh install?
hiro98 has quit [Ping timeout: 252 seconds]
berberman_ has joined #nixos
<etu> atralheaven: It can be, and not just in fresh installs, it depends on your configuration and what you have installed.
<euank> What a default / fresh-install is is a little less well-defined. iirc the 'configuration.nix' that 'nixos-install' generates doesn't even enable X, so I'd say it's pretty minimal...
berberman has quit [Ping timeout: 260 seconds]
<etu> atralheaven: And in NixOS it's actually easy to go back, wipe out, and go back to a near "fresh-install" state (compared to other distros)
<euank> but you're also expected to edit configuration.nix during the install before it's considered done, so again, not really a clearly-defined default.
<euank> nixos-install -> nixos-generate-config, wrong tool
<Kinnison> etu: Hmm this ephemeral / thing seems quite plausible to me, and since I'm early in my journey it might make sense to do it before I get too deep
kshaa has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #121248 → doc/contributing: clarify stdenv.lib deprecation → https://github.com/NixOS/nixpkgs/pull/121248
<Kinnison> etu: why did you need special consideration for legacy boot, was it just wrt. partition formats ?
<etu> Kinnison: To me it's actually easier in many ways, sure, when I start using a new application I have to discover how/where it stores things, but when I've put the care into mounting/linking it it's easier to backup and keep track of what files I actually care about :)
<atralheaven> hmmm so let's say I have nixos and I want to install it on another machine, if I use the exact same configs, I'll get the same os "state"? I mean, the os "state" is only dependant on config files?
<etu> Kinnison: Because I've got enough questions on how to do that even though it's just partition formats and types, I should merge those two posts because it's pretty much the same.
<etu> atralheaven: Correct
<Kinnison> etu: Okay, cool. My auto-setup stuff copes with both, so I could just wire that bit in, no problem
* Kinnison was worried there'd be other gotchas
kshaa has quit [Client Quit]
ddellacosta has joined #nixos
exondation has quit [Ping timeout: 260 seconds]
<eyJhb> Kinnison: Come join us ;) ;) It is quite a nice thing to do. I just need to switch a couple of VPS over to it as well + my router.
<thblt> atralheaven: there may be a few edge cases, the most fundamental one being partitioning, though. It's common for NixOS configs to be split between config and hardware-config, the former importing the latter. Hardware-config, obviously, is per-machine.
exondation has joined #nixos
<atralheaven> thblt: the separation makes complete sense
<euank> .. also the predictable names of ethernet devices in `networking.interfaces.enpxxx` :(
<Kinnison> eyJhb: I think ephemeral / is much more plausible for me than ephemeral /home for now
<atralheaven> so the whole os would be like a program written with only pure functions, I didn't think that could even be possible, considering how different things usually are on operating systems
<etu> Kinnison: I took it one step at the time :)
<{^_^}> [nixpkgs] @ali-abrar closed pull request #52593 → ipxe: Add options to specify trusted root certificate and enable image trust management → https://github.com/NixOS/nixpkgs/pull/52593
<eyJhb> Kinnison: I just run with / and /home, + NOEXEC/NOSUID except for /nix/store and /nix-builds, because some builds require it... My server at home is running with /, and I have nothing in my home folder anyways, since it is a server. If that made sense.
ddellacosta has quit [Ping timeout: 240 seconds]
__monty__ has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #121249 → doc/contributing: clarify pname in package naming → https://github.com/NixOS/nixpkgs/pull/121249
<Kinnison> etu: so why doesn't hashedPassword work, but initialHashedPassword does?
rubm has quit [Ping timeout: 260 seconds]
<etu> Kinnison: I don't remember the details about that, but that's how it is.
rubm has joined #nixos
<Kinnison> :D
shla has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #120750 → [20.09]: jellyfin_10_5: remove unmaintained version → https://github.com/NixOS/nixpkgs/pull/120750
<{^_^}> [nixpkgs] @happysalada merged pull request #121201 → zellij: 0.5.1 -> 0.6.0 → https://github.com/NixOS/nixpkgs/pull/121201
stree has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @vojta001 opened pull request #121250 → backblaze-b2: 2.1.0 -> 2.4.0 → https://github.com/NixOS/nixpkgs/pull/121250
<atralheaven> what things do I need to learn before I install nix os?
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #121251 → doc/contributing: add lib.optional → https://github.com/NixOS/nixpkgs/pull/121251
<thblt> atralheaven: not much, if you know basic Linux administration. Nix, obviously.
<atralheaven> great! I'll try it in few days, thanks for your help!
<Kinnison> etu: so apart from the persistent SSH keys, and machine-id faff that looks fairly straightforward for me to adjust my installer with. I may give that a go in a test VM on a branch of my config
respawn_ has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d7e7fd74b15 (from 12 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @SuperSandro2000 pushed to SuperSandro2000-patch-1 « doc/contributing: add unnecessary string conversions »: https://git.io/J3Odj
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #121252 → doc/contributing: add unnecessary string conversions → https://github.com/NixOS/nixpkgs/pull/121252
<{^_^}> [nixpkgs] @dotlambda merged pull request #120735 → pangolin: 2017-08-02 -> 0.6 → https://github.com/NixOS/nixpkgs/pull/120735
<eyJhb> It is possible to use a sha1 as checksum?
<qyliss> yes
<qyliss> (try it!)
<qyliss> but I don't think we'd be happy with it in nixpkgs
orion has joined #nixos
stree has joined #nixos
<orion> This build is stuck: https://github.com/NixOS/nixpkgs/pull/119154/checks?check_run_id=2317767466 -- Is anyone here able to reset it?
<eyJhb> Just looking at Minecraft qyliss, and they give the hashes as sha1... :p
<eyJhb> Which is, annoying...
<qyliss> ,tofu eyJhb
<{^_^}> eyJhb: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000), then replace it with the correct hash Nix expected. The library functions lib.fakeSha256, lib.fakeSha512, lib.fakeHash are available for this.
<qyliss> ime we don't usually pay much attention to hashes from upstream
<eyJhb> Shouldn't tofu be updated with the syntax sha1- , sha256-, etc?
<qyliss> no, we're not making any effort to prefer those yet
<qyliss> because stable Nix doesn't generate SRI
<eyJhb> Ahh. okay :) Thanks!
<eyJhb> qyliss++
<{^_^}> qyliss's karma got increased to 0b10000110
<qyliss> (but using them is fine too -- just use whatever's most convenient to you when changing the hash)
mniip has joined #nixos
jesystani has joined #nixos
<orion> Thank you! (Whoever reset the build)
<pie_> qyliss: i kinda feel like fakehashes should be builtins
<pie_> qyliss: having to import lib is a bit of a pain sometimes iirc
<qyliss> pie_: if you're doing it a lot, you can use an editor macro
ddellacosta has joined #nixos
<qyliss> In emacs I do C-u 52 a
<qyliss> (which generates 52 'a' characters, which is a valid base32 hash)
<qyliss> I assume most editors have a way to repeat a character N times; vi and kakoune certainly do
<{^_^}> [nixpkgs] @domenkozar merged pull request #121248 → doc/contributing: clarify stdenv.lib deprecation → https://github.com/NixOS/nixpkgs/pull/121248
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121253 → eventstat: 0.04.11 -> 0.04.12 → https://github.com/NixOS/nixpkgs/pull/121253
jesystani has quit [Ping timeout: 260 seconds]
ddellac__ has joined #nixos
ddellacosta has quit [Ping timeout: 268 seconds]
<pie_> oh right, people that arent using nano exist x)
orivej has joined #nixos
ddellac__ has quit [Ping timeout: 246 seconds]
<qyliss> pie_: in nano I think I would do ^Tyes 0 | tr -d '\n' | head -52
<qyliss> which is not ideal, but nano also has macros, so you could record that once if you're doing it a lot of times
fuiltilt has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @dotlambda opened pull request #121254 → postfix: 3.5.10 -> 3.6.0 → https://github.com/NixOS/nixpkgs/pull/121254
<pie_> huh
<qyliss> pie_: actually ^Tprintf "%.52d" would be much better
<qyliss> quotes aren't even necessary if you want to golf it even further
<pie_> mfw i dont know how to use my tools
<pie_> ok cool now I know how to do that
<qyliss> :)
<qyliss> I figured it out by looking at a nano cheatsheet, in case you're interested
<__monty__> Do GUI editors often have such functionality?
<qyliss> the only gui editor I'm familiar with apart from Emacs is Sublime Text, and IIRC it had snippets
<dutchie> printf is such a useful shell utility
cr4y1 has joined #nixos
vidbina has joined #nixos
<Frosku> Wait people use nano?
<qyliss> it's the default text editor on NixOS!
<Frosku> Yeah my first install was emacs :P
<qyliss> you might find https://www.noa-s.org/nano.html interesting
<qyliss> pie_: you might too :)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121122 → python3Packages.pytest-helpers-namespace: add missing dependency → https://github.com/NixOS/nixpkgs/pull/121122
<thblt> Frosku: in a recent torvalds interview, he considered switching to nano if his overpatched μEmacs becomes unusable.
<pie_> lol
<{^_^}> [nixpkgs] @fabaff opened pull request #121255 → metasploit: 6.0.41 -> 6.0.42 → https://github.com/NixOS/nixpkgs/pull/121255
<Frosku> thblt: wow
<pie_> i use nano because it was easy enough to get started with and i couldnt get around to learning emacs yet
<Frosku> I use gccemacs with a pared-back spacemacs
<Frosku> I like spacemacs layers
<thblt> I just switched to gccemacs, for now the most visible feature is a ton of compiler warnings :)
<Frosku> It makes lsp a lot more usable
beertoagunfight has quit [Quit: beertoagunfight]
hiro98 has joined #nixos
<thblt> Ok, there's that too :)
v0|d has joined #nixos
beertoagunfight has joined #nixos
fendor has quit [Read error: Connection reset by peer]
beertoagunfight1 has joined #nixos
fendor has joined #nixos
beertoagunfight has quit [Ping timeout: 246 seconds]
beertoagunfight1 is now known as beertoagunfight
ddellacosta has joined #nixos
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
<Schicko> Are the cached pre-built binary packages in https://cache.nixos.org/ always built with glibc, or are there cached packages that are built with other libcs too, for instance musl? If so, how might I use nix to install packages built with musl? Would I just run `nix-env -i <package> pkgsCross.musl`? Or would I need to somehow need to use the `pkgsMusl` attribute?
ddellacosta has quit [Ping timeout: 260 seconds]
supersandro2000 has joined #nixos
<Schicko> Or I guess `nix-env -iA nixpkgs.<package> pkgsCross.musl`. Is that right?
<__monty__> Schicko: I think you use `nixpkgs.pkgsMusl.whateverPackage`.
<qyliss> I don't think they get cached though
zupo has joined #nixos
<__monty__> Not sure whether they're cached.
zupo has quit [Client Quit]
<Schicko> Ah thanks, so I guess that would build it from source since it isn't cached, right?
<{^_^}> [nixpkgs] @FliegendeWurst opened pull request #121256 → k3b: ffmpeg_3 -> ffmpeg → https://github.com/NixOS/nixpkgs/pull/121256
<__monty__> Yeah
<__monty__> Including stdenv and all its bootstrapping stages.
<Schicko> Okay, thanks!
<pie_> oof x)
<{^_^}> [nixpkgs] @dotlambda opened pull request #121257 → pythonPackages: migrate away from ffmpeg_3 → https://github.com/NixOS/nixpkgs/pull/121257
devhell has joined #nixos
zupo has joined #nixos
abstrn has joined #nixos
cr4y1 has quit [Ping timeout: 265 seconds]
cr4y1 has joined #nixos
saschagrunert has quit [Remote host closed the connection]
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120637 → ombi: 4.0.1292 -> 4.0.1345 → https://github.com/NixOS/nixpkgs/pull/120637
<{^_^}> [nixpkgs] @happysalada merged pull request #121245 → rustup: 1.23.1 -> 1.24.1 → https://github.com/NixOS/nixpkgs/pull/121245
hiro98 has quit [Ping timeout: 265 seconds]
srk has quit [Remote host closed the connection]
srk has joined #nixos
ddellacosta has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121028 → rofi-power-menu: init at 3.0.2 → https://github.com/NixOS/nixpkgs/pull/121028
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121255 → metasploit: 6.0.41 -> 6.0.42 → https://github.com/NixOS/nixpkgs/pull/121255
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120641 → xineLib: 1.2.9 -> 1.2.11 → https://github.com/NixOS/nixpkgs/pull/120641
cyrinux has quit [Quit: bye]
justanotheruser has quit [Ping timeout: 250 seconds]
abathur has quit [Quit: abathur]
cyrinux has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121155 → aws-vault: add wrapper and simple install check → https://github.com/NixOS/nixpkgs/pull/121155
henri` has joined #nixos
<henri`> supersandro2000: How can I reproduce the failing evaluation from #120850 locally?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/120850 (by fortuneteller2k, 2 days ago, open): linux_xanmod: 5.11.16 -> 5.12.0
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @primeos merged pull request #121139 → mesa: Don't fail to build when d3d isn't built → https://github.com/NixOS/nixpkgs/pull/121139
sangoma has quit [Ping timeout: 252 seconds]
sangoma has joined #nixos
attila_lendvai has quit [Ping timeout: 240 seconds]
prusnak has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #121260 → Cutter → https://github.com/NixOS/nixpkgs/pull/121260
<{^_^}> [nixpkgs] @primeos merged pull request #121150 → ungoogled-chromium: 90.0.4430.85 -> 90.0.4430.93 → https://github.com/NixOS/nixpkgs/pull/121150
Ox4A6F has quit [Quit: authenticating]
Ox4A6F1 has joined #nixos
AxelHanikel[m] has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #121261 → ungoogled-chromium: 90.0.4430.85 -> 90.0.4430.93 → https://github.com/NixOS/nixpkgs/pull/121261
ddellacosta has joined #nixos
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a1643da0480 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
joehh1 has quit [Ping timeout: 245 seconds]
joehh1 has joined #nixos
hyper_ch2 has quit [Read error: Connection reset by peer]
stree has quit [Ping timeout: 240 seconds]
hyper_ch4 has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
<Frosku> How do I install perl packages?
<Frosku> perl532Packages.Appperlbrew <-- Like this, in configuration.nix?
<Synthetica> I assume `perl532.withPackages (p: with p; [Appperlbrew])`
<Synthetica> Like with python
vidbina has quit [Ping timeout: 240 seconds]
<Frosku> That looks a lot nicer
<Synthetica> (I still want the `with:` syntax for this sort of thing)
lsix1 has quit [Quit: WeeChat 2.9]
hyper_ch5 has joined #nixos
<Frosku> error: A definition for option `environment.systemPackages.[definition 4-entry 1]' is not of type `package'
<henri`> Frosku: You need parentheses around the entire thing.
ddellacosta has quit [Ping timeout: 252 seconds]
<Frosku> Like
<Frosku> (perl532.withPackages (p: with p; [
<Frosku> Appperlbrew
<Frosku> ]))
<Frosku> ?
<henri`> Frosku: Yes
<Frosku> Thanks, worked
<henri`> Frosku: A side-effect of lists being space-separated in Nix.
<Frosku> Yeah
<Frosku> That makes sense
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120341 → stm32cubemx: 6.0.1 -> 6.2.1 → https://github.com/NixOS/nixpkgs/pull/120341
hyper_ch2 has joined #nixos
hyper_ch4 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120838 → soldat-unstable: unstable-2021-02-09 -> unstable-2021-04-27 → https://github.com/NixOS/nixpkgs/pull/120838
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120741 → chroma: 0.8.2 -> 0.9.1 → https://github.com/NixOS/nixpkgs/pull/120741
anders^ has quit []
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120872 → vscode: add meta.mainProgram → https://github.com/NixOS/nixpkgs/pull/120872
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120091 → pulumi-bin: 2.24.1 -> 3.1.0 → https://github.com/NixOS/nixpkgs/pull/120091
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120861 → linuxPackages.oci-seccomp-bpf-hook: 1.2.2 -> 1.2.3 → https://github.com/NixOS/nixpkgs/pull/120861
stree has joined #nixos
XgF has quit [Remote host closed the connection]
hyper_ch5 has quit [Ping timeout: 260 seconds]
marek has quit [Ping timeout: 252 seconds]
Uma has quit [Remote host closed the connection]
Uma has joined #nixos
anders^ has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120612 → protontricks: 1.4.4 -> 1.5.0 → https://github.com/NixOS/nixpkgs/pull/120612
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120755 → frescobaldi: 3.1.1 -> 3.1.3 → https://github.com/NixOS/nixpkgs/pull/120755
XgF has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120723 → maven: 3.6.3 -> 3.8.1 → https://github.com/NixOS/nixpkgs/pull/120723
<{^_^}> [nixpkgs] @archseer opened pull request #121262 → linux_5_12: init at 5.12 → https://github.com/NixOS/nixpkgs/pull/121262
zupo has joined #nixos
marek has joined #nixos
tomberek has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120944 → python3Packages.graphql-core: 3.1.3 -> 3.1.4 → https://github.com/NixOS/nixpkgs/pull/120944
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b3477d186b8 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120921 → libosmium: 2.16.0 → 2.17.0 → https://github.com/NixOS/nixpkgs/pull/120921
<Frosku> Is there a way to populate /bin?
ddellacosta has joined #nixos
dev_mohe has joined #nixos
<Frosku> perlbrew needs pwd in /bin
<Frosku> For whatever reason it's hardcoded
<gchristensen> typically the approach there is to patch perlbrew
<{^_^}> [nixpkgs] @primeos merged pull request #121065 → iproute2: 5.11.0 -> 5.12.0 → https://github.com/NixOS/nixpkgs/pull/121065
<Frosku> Well technically it's Cwd which needs pwd in bin, perlbrew depends on Cwd
<henri`> Frosku: You can run it in a buildFHSUserEnv, but that comes with all other sorts of limitations.
<Frosku> henri`: What kinds of limitations? I only need this during build
<henri`> Frosku: I see, buildFHSUserEnv is purely runtime. You will have to patch Cwd then.
ddellac__ has joined #nixos
<gchristensen> Frosku: yeah, so usually you'd just patch it:
<pie_> is it? can you not run an fhsuserenv in the build sandbox? (i dont know)
<pie_> isnt it just a chroot?
respawn_ has quit [Quit: Leaving]
<Frosku> I'm not sure what a fhsuserenv is
<Frosku> perlbrew is a perl version manager, it allows for managing multiple perl instances each with their own sets of libraries etc.
<Frosku> It's a common tool for testing releases against multiple versions
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cfricke has quit [Quit: WeeChat 3.1]
<Frosku> So the version of Cwd it pulls wont be from the nix repo
<Frosku> It'll be straight from cpan
ddellac__ has quit [Ping timeout: 265 seconds]
<lukegb> _then_ you want an FHS userenv - FHS being the Filesystem Hierarchy Standard, which is what most distros do (e.g. having a /bin)
<lukegb> it's... sort of a very leaky container
<henri`> pie_: Yes, it is a chroot, but I think that is a setuid binary which won't work in the sandbox.
dev_mohe has quit [Quit: dev_mohe]
<pie_> i guess that sounds reasonable
<Frosku> On guix I used (extra-special-file "/bin/pwd" (file-append coreutils "/bin/pwd")) to work around it
<Frosku> I was wondering if there's something similar in nix
<{^_^}> [nixpkgs] @regnat opened pull request #121263 → nixUnstable: pre20210326_dd77f71 -> pre20210429_d15a196 → https://github.com/NixOS/nixpkgs/pull/121263
<pie_> i dont think nix nix exposes any way to fiddle with the sandbox on its side (id love to be proved wrong), but maybe one could modify the build environment as a tenant in it, in which case, good question if we have any tools for that
<lukegb> Frosku: aaiu you're not trying to invoke perlbrew inside a Nix expression, right?
<lukegb> Just on your system
<Frosku> lukegb: Just in bash, not in a nix expression
<Frosku> perlbrew install perl-5.32.1
<Frosku> (or other version I test with)
<{^_^}> [nixpkgs] @alyssais opened pull request #121264 → systemd: fix build → https://github.com/NixOS/nixpkgs/pull/121264
<{^_^}> [nixpkgs] @RPGHank opened pull request #121265 → nixos/doc/manual: correct gpu acceleration opencl configs → https://github.com/NixOS/nixpkgs/pull/121265
IRCsum has quit [Remote host closed the connection]
<Frosku> My test suite installs about 10 versions and tests against them all before releasing packages to CPAN.
<{^_^}> [nixpkgs] @mweinelt merged pull request #120859 → fastd: fix build on aarch64 → https://github.com/NixOS/nixpkgs/pull/120859
<{^_^}> [nixpkgs] @danieldk merged pull request #121010 → amdvlk: 2021.Q1.6 -> 2021.Q2.2 → https://github.com/NixOS/nixpkgs/pull/121010
dansho has joined #nixos
<lukegb> Yeah, then my suggestion would be either a buildFHSUserEnv (https://nixos.org/manual/nixpkgs/stable/#sec-fhs-environments)
IRCsum has joined #nixos
<lukegb> or you could do something horrible with e.g. systemd-tmpfilesd to symlink /bin/pwd to something else
<lukegb> s/tmpfilesd/tmpfiles/
<lukegb> (systemd.tmpfiles.rules being the way to configure that)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121013 → pythonPackages.pyface: fix build → https://github.com/NixOS/nixpkgs/pull/121013
zupo has joined #nixos
dev_mohe has joined #nixos
avaq has quit [Ping timeout: 268 seconds]
dev_mohe has quit [Client Quit]
hiro98 has joined #nixos
MysteriousSilver has joined #nixos
<MysteriousSilver> Hi! I'm trying to install vterm in emacs, but CMake returns this error: http://ix.io/3loK , am I missing any packages?
beertoagunfight has quit [Ping timeout: 240 seconds]
<henri`> MysteriousSilver: Do you have gnumake and gcc installed in your user environment?
<qyliss> MysteriousSilver: are you using emacsWithPackages?
melg8 has quit [Quit: Connection closed]
<qyliss> in general, compiling things outside of a Nix build or nix-shell environment isn't really the thing to do on NixOS
<qyliss> but you can include vterm as part of your emacs package from nix like this:
<qyliss> > emacsWithPackages (epkgs: [ epkgs.vterm ])
<{^_^}> "<derivation /nix/store/d0w9nc8xvvy6grsnd1qyd41mqd7icgx8-emacs-with-packages-27.2.drv>"
handerpeder has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120018 → yadm: 2.5.0 -> 3.1.0 → https://github.com/NixOS/nixpkgs/pull/120018
<MysteriousSilver> qyliss: Running vterm inside emacs runs the same command, i'll try emacsWithPackages method
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120652 → libfido2: 1.5.0 -> 1.7.0 → https://github.com/NixOS/nixpkgs/pull/120652
<MysteriousSilver> henri`: yes
<Frosku> Alright, trying with this symlink
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120707 → ffsend: fix build on darwin → https://github.com/NixOS/nixpkgs/pull/120707
<pie_> I want a formalization of this, it's hard :P https://thezvi.wordpress.com/2020/06/15/simulacra-and-covid-19/
<pie_> wrong chan...
<handerpeder> I'm trying to deploy services using nix to a non nixos server. lets use postgresql as an example. getting the binaries on the server is a breeze but it's pretty annoying having manually set up systemd service files. nixpkgs contains expressions for generating these on nixos. shouldn't these be usable outside of nixos as well? how can I generate these to a file outside of nixos?
<qyliss> I think there might have been a NixCon talk about that
<handerpeder> qyliss: you replying to me?
<__monty__> What are the conditions for the error that an output is not allowed to refer to certain paths?
<henri`> handerpeder: Are you looking for https://github.com/svanderburg/nix-processmgmt ?
<MysteriousSilver> qyliss: wait, i couldn't understand what am i supposed to install (i'm that emacs-vterm guy)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121199 → kubernetes-helm: 3.5.3 -> 3.5.4 → https://github.com/NixOS/nixpkgs/pull/121199
<qyliss> MysteriousSilver: put (emacsWithPackages (epkgs: [ epkgs.vterm ])) in environment.systemPackages
<qyliss> (and uninstall emacs if you've installed it with nix-env or something)
<handerpeder> great I'll check out the video and the project, thanks. I feel it should be possible to run toString on this guy or something: https://github.com/NixOS/nixpkgs/blob/d600f006643e074c2ef1d72e462e218b647a096c/nixos/modules/services/databases/postgresql.nix#L317
adisbladis has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121205 → libgpiod: 1.6.2 -> 1.6.3 → https://github.com/NixOS/nixpkgs/pull/121205
MysteriousSilver has quit [Remote host closed the connection]
handerpeder has quit [Quit: ERC (IRC client for Emacs 27.1)]
<{^_^}> [nixpkgs] @blanky0230 opened pull request #121266 → tuxedo-keyboard: 2019-08-26 -> v3.0.5 → https://github.com/NixOS/nixpkgs/pull/121266
<Frosku> https://github.com/Perl/perl5/pull/18752 I've put a PR in to perl so hopefully it'll work in future.
<{^_^}> Perl/perl5#18752 (by Frosku, 1 minute ago, open): Update Cwd.pm to work on Guix & NixOS
henri` has quit [Quit: ERC (IRC client for Emacs 27.1)]
<{^_^}> [nixpkgs] @primeos merged pull request #121261 → [20.09] ungoogled-chromium: 90.0.4430.85 -> 90.0.4430.93 → https://github.com/NixOS/nixpkgs/pull/121261
melg8 has joined #nixos
avaq has joined #nixos
ddellac__ has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120763 → Add roswell. → https://github.com/NixOS/nixpkgs/pull/120763
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #120754 → movine: init at 0.11.0 → https://github.com/NixOS/nixpkgs/pull/120754
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121181 → sof-firmware: 1.6 -> 1.7 → https://github.com/NixOS/nixpkgs/pull/121181
ddellacosta has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121038 → josm: 17702 → 17833 → https://github.com/NixOS/nixpkgs/pull/121038
<eyJhb> Frosku: This is very very specific for NixOS, and it shouldn't be handled like that. You sohuld patch the sourcecode, and add direct paths into the nix store
<eyJhb> Let me try to get you an example.
ddellac__ has quit [Ping timeout: 252 seconds]
<Frosku> eyJhb: They already do that for other distributions. /usr/bin/pwd is only there to support Arch.
<Frosku> I know how it *should* be done, which is to use the output from `which pwd`, but that breaks taint mode and perl hates breaking bc
<eyJhb> No, it would no be `which pwd`.
<gchristensen> Frosku: again, the ideal way to fix this is by patching it
<eyJhb> ,bin locate pwd
<eyJhb> Did {^_^} die? Ohh...
<eyJhb> ,locate bin pwd
<{^_^}> Found in packages: toybox, busybox, coreutils, coreutils-full
<eyJhb> You would patch it, and then make it use
<eyJhb> > "${pkgs.coreutils}/bin/pwd"
<{^_^}> "/nix/store/dyikz835agazxvxm9fj7xqlsz0k34iwj-coreutils-8.32/bin/pwd"
<eyJhb> So that it will also follow your nixpkgs, etc. etc.
<{^_^}> [nixpkgs] @jtojnar closed pull request #113899 → evolution-ews: 3.38.3 -> 3.38.4 → https://github.com/NixOS/nixpkgs/pull/113899
<{^_^}> [nixpkgs] @samuelgrf opened pull request #121267 → google-chrome-dev: fix error on startup → https://github.com/NixOS/nixpkgs/pull/121267
<Frosku> gchristensen: OK, how can I patch it when using perlbrew on command line to install multiple versions? Or alternatively, does someone want to maintain every version since 5.08 in nixpkgs? :P
<eyJhb> gchristensen: Don't we discourage the use of substituteInPlace, and use `.patch` instead?
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121166 → nvidia-x11: 460.27.04 -> 465.27 → https://github.com/NixOS/nixpkgs/pull/121166
<gchristensen> eyJhb: not exactly
<eyJhb> Frosku: That's not the Nix way :p If you use perlbrew, then you are outside of the nixpkgs eco-system, and pretty much on your own :)
<eyJhb> But I think someone else is much qualified to answer about perl specifically. But that PR should not be merged in any case
zebrag has joined #nixos
<eyJhb> gchristensen: Is there any place to read on when it is OK and when it is not?
<Frosku> eyJhb: Which is why I sent a PR to perl, not to nix...
<eyJhb> Frosku: Yes, it should not be merged by perl either.
<qyliss> eyJhb: IMO you have to make a judgement call about which is likely to be more maintainable
<Frosku> So you're offering me no way to manage older perl versions, which perl devs need tested when I release cpan packages, but also saying perl shouldn't offer it either?
<{^_^}> [nixpkgs] @ajs124 merged pull request #121019 → gitlab-pages: 1.35.0 -> 1.38.0 → https://github.com/NixOS/nixpkgs/pull/121019
<qyliss> eyJhb: substituteInPlace/sed are more flexible, but are more likely to go wrong, and will also at most emit a warning if they change nothing at all
<eyJhb> Frosku: Did you read the part where I stated, that I am not qualified to answer NixOS + Perl questions, but qualified enough to know that is NOT the way? It is a basic thing, that should not be done like that, in any way. What you are trying to get merged is just a hack.
<Frosku> eyJhb: It's not helpful to say "that's not the way" without saying what is.
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #121260 → cutter: 2.0.1 -> 2.0.2 → https://github.com/NixOS/nixpkgs/pull/121260
<Frosku> And "don't use perlbrew" isn't an answer.
<qyliss> Frosku: a fix that doesn't use NixOS-specific paths would be to have it search PATH
<qyliss> I think that would probably be acceptable to everyone
<qyliss> here, at least
<Frosku> That would break taint mode
<Frosku> Would never get merged without a major version bump.
<qyliss> because it would be looking at a string from the environment?
<Frosku> The thing is, the way I'm doing it is how it has been historically handled by p5p maintainers. I know it's a hack, but the non-hack options break taint mode, which wont be deprecated until 7 and probably wont be deleted until 8.
<Frosku> Yes
<qyliss> If it's acknowledged that it's a hack due to specific Perl behaviour, I think it's probably fine to use /run/current-system
ddellacosta has joined #nixos
<qyliss> It's unfortunate that it has to be that way, though, and it's not the way to fix programs on NixOS in general
<{^_^}> [nixpkgs] @FlorianFranzen opened pull request #121268 → bacon: init at 1.1.5 → https://github.com/NixOS/nixpkgs/pull/121268
<qyliss> that said, Perl wouldn't be the first to have its build system use NixOS-specific paths. I think Rust's already does.
zgrep has joined #nixos
<Frosku> Yeah, it's just to get past taint-mode. I know it's not the right way to do it in a scenario where we don't have to account for taint mode.
<eyJhb> But I guess then it should be mentioned in the PR that it is in fact, a hack and should be removed at some point
<eyJhb> ALso, feel free to include a link to the logs here in IRC. Always helpful
<qyliss> Those paths were (AIUI) chosen specifically so that they wouldn't be hardcoded anywhere, but now we're getting popular enough that people are hardcoding them specifically for NixOS compatibility!
ram19890 has joined #nixos
<{^_^}> [nixpkgs] @rtimush opened pull request #121269 → npm-merge-driver: init at 2.3.6 → https://github.com/NixOS/nixpkgs/pull/121269
<{^_^}> [nixpkgs] @dotlambda merged pull request #120881 → python3Packages.sanic: 21.3.2 -> 21.3.4; fix tests → https://github.com/NixOS/nixpkgs/pull/120881
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda opened pull request #121270 → pythonPackages.pgpy: 0.5.2 -> 0.5.4 → https://github.com/NixOS/nixpkgs/pull/121270
<qyliss> Frosku: a Nixpkgs overlay that packages old Perl versions would be another good thing, but I don't think it exists at the moment (and I'm not telling you you have to make one!)
<eyJhb> Generally I would kill for something, that would allow one to chose any version, of any package, at any point...
<Frosku> qyliss: I may well do something like that at some point, when I'm more comfortable in nix.
slac19827 has joined #nixos
<Frosku> I'm definitely far more familiar with perl than with nix :D
<{^_^}> [nixpkgs] @samuelgrf opened pull request #121271 → libfaketime: add meta.mainProgram → https://github.com/NixOS/nixpkgs/pull/121271
hiro98 has quit [Ping timeout: 240 seconds]
<pennae> is there a good way to clear the serial backlog in a vm test (to wait only for stuff that hasn't been printed yet) other than logging a uuid and waiting for that?
<eyJhb> Frosku: Remember to take notes of all the nice hacks you learn in Nix!
<__monty__> eyJhb: Yes. I've started just keeping versions and hashes in my personal expressions. If I add an argument I could use that to select the version I want.
<Frosku> qyliss: I'd want to know that there's some kind of userbase for it though, beyond me. Perl isn't the trendiest of languages these days but it's still a very capable one.
slac19827 has quit [Remote host closed the connection]
<eyJhb> __monty__: A tool that could "autofind" whatever version one needed would be sooo cool.
<qyliss> I know a few NixOS users who are Perl fans
orivej has quit [Ping timeout: 240 seconds]
slack1256 has quit [Ping timeout: 252 seconds]
<qyliss> although I'm not sure how many of them actually write Perl day to day any more
<eyJhb> Ie. give it a specification of all the specific versions you want, and it could find the SHAs of Nixpkgs, which has the most files in common to reduce the size
Alex84 has joined #nixos
<__monty__> That sounds like a gargantuan task from what I've gleaned of cabal development.
<{^_^}> [nixpkgs] @ymatsiuk opened pull request #121272 → zoom-us: 5.6.16775.0418 -> 5.6.16888.0424 → https://github.com/NixOS/nixpkgs/pull/121272
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eyJhb> I woud assume so. And there would be a TON of combinations.
zupo has joined #nixos
clerie has joined #nixos
<pie_> eyJhb: theres a tool that searches nixpgks history for old versions iirc, dont remember how to find it
<pie_> its not what we dream about but its a start
hlz has left #nixos ["WeeChat 3.1"]
zupo has quit [Client Quit]
zupo has joined #nixos
ddellac__ has joined #nixos
<eyJhb> pie_: :O If you find it, please ping me :)
MysteriousSilver has joined #nixos
<__monty__> Obviously we need a tool to find tools to find stuff in Nixpkgs first.
<{^_^}> [rfc39-record] @grahamc pushed commit from rfc39 to main « Automated team sync results. »: https://git.io/J33Nw
<MysteriousSilver> qyliss: vterm works perfectly after installing emacsWithPackages, thanks
<eyJhb> Yes. :D
<MysteriousSilver> and how do i manage other elpa packages with nix?
<__monty__> Actually, git log -S 'specific.version.you're.looking.for' might turn something up? You'd get false positives of course.
ddellac__ has quit [Ping timeout: 252 seconds]
<pie_> eyJhb: im not going to look right now
riksteri has joined #nixos
<qyliss> MysteriousSilver: you can list them in the emacsWithPackages line just like vterm!
<qyliss> MELPA too, and a few things from elsewhere
<qyliss> > emacsWithPackages (epkgs: with epkgs; [ magit vterm pod-mode ])
<{^_^}> "<derivation /nix/store/3x3a73sbxyxwxp332mpax1n70rwijvrg-emacs-with-packages-27.2.drv>"
ToxicFrog has quit [Remote host closed the connection]
<MysteriousSilver> cool, and my (older hardware) pc hangs whenever I run `nixos-rebuild`, is that normal?
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a1643da0480 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
ToxicFrog has joined #nixos
<{^_^}> [nixpkgs] @ktor closed pull request #104668 → timeular: 3.4.1 -> 3.9.1 → https://github.com/NixOS/nixpkgs/pull/104668
<simpson> MysteriousSilver: Is it doing nothing, or thrashing? Does your RAM and swap usage climb out of control?
<qyliss> MysteriousSilver: Nix evaluation can use a lot of CPU and memory
hyper_ch2 has quit [Ping timeout: 260 seconds]
ddellacosta has quit [Remote host closed the connection]
<MysteriousSilver> simpson: the shell commands runs well, i am just not able to use other application in the meantime due to heavy resource usage. qyliss: ah okay, i just wanted to know if its normal
<{^_^}> [nixpkgs] @ktor opened pull request #121273 → timeular: 3.4.1 -> 3.9.1 → https://github.com/NixOS/nixpkgs/pull/121273
<pie_> eyJhb: you might have some luck googling something like nixpkgs version search or something
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ddellaco_ has joined #nixos
<{^_^}> [nixpkgs] @samuelgrf opened pull request #121274 → linuxPackages.rtw88: 2021-04-19 -> 2021-04-27 → https://github.com/NixOS/nixpkgs/pull/121274
artturin has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #121267 → google-chrome-dev: fix error on startup → https://github.com/NixOS/nixpkgs/pull/121267
<{^_^}> [nixpkgs] @expipiplus1 opened pull request #121275 → ecpdap: 0.1.5 -> 0.1.6 → https://github.com/NixOS/nixpkgs/pull/121275
<{^_^}> [nixpkgs] @primeos opened pull request #121276 → [20.09] google-chrome-dev: fix error on startup → https://github.com/NixOS/nixpkgs/pull/121276
mkaito has joined #nixos
mkaito has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #121277 → netbsd.libcurses: fix build → https://github.com/NixOS/nixpkgs/pull/121277
ddellaco_ has quit [Remote host closed the connection]
ddellaco_ has joined #nixos
jgt has quit [Remote host closed the connection]
jgt has joined #nixos
ddellaco_ has quit [Ping timeout: 246 seconds]
stree has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @alyssais merged pull request #121264 → systemd: fix build → https://github.com/NixOS/nixpkgs/pull/121264
ddellacosta has joined #nixos
<midchildan> ,locate dot_clean
<{^_^}> Couldn't find in any packages
<{^_^}> [nixpkgs] @primeos merged pull request #121276 → [20.09] google-chrome-dev: fix error on startup → https://github.com/NixOS/nixpkgs/pull/121276
ddellacosta has quit [Ping timeout: 252 seconds]
stree has joined #nixos
jgt has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @centromere opened pull request #121278 → rust-cbindgen: Update Cargo hash → https://github.com/NixOS/nixpkgs/pull/121278
nly has joined #nixos
xkapastel has joined #nixos
endformationage has joined #nixos
<{^_^}> [nixpkgs] @symphorien merged pull request #119562 → fuse: fix mount.fuse -o setuid=... → https://github.com/NixOS/nixpkgs/pull/119562
<{^_^}> [nixpkgs] @primeos merged pull request #119615 → cage: 0.1.2.1 -> 0.1.3 → https://github.com/NixOS/nixpkgs/pull/119615
<{^_^}> [nixpkgs] @AluisioASG opened pull request #121279 → python3Packages.sanic-auth: fix tests → https://github.com/NixOS/nixpkgs/pull/121279
sangoma has quit [Read error: Connection reset by peer]
sangoma has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #121280 → redmine: 4.2.0 -> 4.2.1 → https://github.com/NixOS/nixpkgs/pull/121280
<{^_^}> [nixpkgs] @dotlambda merged pull request #121279 → python3Packages.sanic-auth: fix tests → https://github.com/NixOS/nixpkgs/pull/121279
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #121281 → [20.09] redmine: 4.1.2 -> 4.1.3 → https://github.com/NixOS/nixpkgs/pull/121281
nly has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ehmry opened pull request #121282 → nim: 1.4.4 -> 1.4.6 → https://github.com/NixOS/nixpkgs/pull/121282
slack1256 has joined #nixos
mkaito has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @aanderse merged pull request #121162 → kodiPackages.inputstream-adaptive: 2.6.13 -> 2.6.14 → https://github.com/NixOS/nixpkgs/pull/121162
<{^_^}> [nixpkgs] @bfortz opened pull request #121283 → bitwig-studio: Move away from from ffmpeg_3 → https://github.com/NixOS/nixpkgs/pull/121283
<{^_^}> [nixpkgs] @aanderse opened pull request #121284 → openscenegraph: update from ffmpeg_3 to ffmpeg → https://github.com/NixOS/nixpkgs/pull/121284
ddellacosta has joined #nixos
ddellac__ has joined #nixos
<bgamari> is nixos.org down?
ddellac__ has quit [Read error: Connection reset by peer]
<simpson> No.
<joepie91> worksforme
ddellac__ has joined #nixos
<bgamari> thanks!
ddellacosta has quit [Ping timeout: 240 seconds]
vidbina has quit [Ping timeout: 240 seconds]
<bgamari> bizarrely `curl https://nixos.org/channels/nixos-unstable` times out
<bgamari> yet `curl http://nixos.org/channels/nixos-unstable` works
_bin has quit [Ping timeout: 268 seconds]
<AmandaC> Does the http curl return valid data? Sounds like a captive portal
<bgamari> it does
<AmandaC> ( For example "free wifi" at a hotel or similar )
<bgamari> I'm at home
<AmandaC> ah
* bgamari is terribly confused
<bgamari> time to get out wireshark I guess
_bin has joined #nixos
<simpson> curl has a few verbose/debugging flags, too, if you don't want to read TLS dumps.
<AmandaC> is `HTTPS_PROXY` set? I think that was a thing
<AmandaC> ( in the env )
<bgamari> seems to hang after
<bgamari> * TLSv1.3 (IN), TLS handshake, Server hello (2):
<bgamari> Client says hello, then hangs waiting for server hello
<{^_^}> [nixpkgs] @aanderse opened pull request #121285 → musikcube: 0.96.5 -> 0.96.7 → https://github.com/NixOS/nixpkgs/pull/121285
<{^_^}> [nixpkgs] @talyz merged pull request #118898 → nixos/gitlab: Add options to tame GitLab's memory usage somewhat → https://github.com/NixOS/nixpkgs/pull/118898
dansho has quit [Remote host closed the connection]
<bgamari> AmandaC, nope
dansho has joined #nixos
jonringer has joined #nixos
<bgamari> seems like ipv6 may be somehow implicated
<bgamari> adding -4 to the curl command line works
sangoma has quit [Quit: WeeChat 3.1]
_bin has quit [Ping timeout: 260 seconds]
<l33[m]> <bgamari "seems to hang after"> from the department of quick googling... https://github.com/curl/curl/issues/593
<{^_^}> curl/curl#593 (by kamermans, 5 years ago, closed): Curl is trying to use IPv6 when it is not usable
ram19890 has quit [Quit: Konversation terminated!]
<bgamari> l33[m], that doesn't look like the same issue to me
<bgamari> that appears to be a name resolution issue
<bgamari> name resolution is working fine in my case
<l33[m]> it is from the department of quick googling..
<bgamari> fair
<l33[m]> in that case it is unrelated.
<l33[m]> i think wireshark will be your friend.
<bgamari> yeah
sangoma has joined #nixos
<l33[m]> a a very long time ago, i hang like this, but it was about supported cipher sets, the server has a restricted set of ciphers, and the client didn't have or didn't want to support what the server was offering.. this code has changed a lot due to lot of cipher downgrade attacks...
<l33[m]> that's the first thing i'd check...
vidbina has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
avaq has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @dotlambda opened pull request #121287 → passExtensions.pass-import: fix tests → https://github.com/NixOS/nixpkgs/pull/121287
ddellaco_ has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
<evils> anyone know how i can install a bin in a secondary output of a package?
ddellacosta has joined #nixos
<evils> that's to say, install into my environment, an executable that's in package.not-default-output
ddellacosta has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #111487 → llvmPackages: Clean up outputs → https://github.com/NixOS/nixpkgs/pull/111487
sangoma has quit [Quit: WeeChat 3.1]
lordcirth_ has joined #nixos
lordcirth has quit [Ping timeout: 240 seconds]
meh` has quit [Ping timeout: 260 seconds]
KarlJoad has joined #nixos
ahmedelgabri has quit [Ping timeout: 250 seconds]
<KarlJoad> I want some additional features out of my Emacs which require build-time configuration. How should I go about overriding these build options?
<{^_^}> [nixpkgs] @dotlambda merged pull request #120447 → dyndnsc: 0.5.1 -> 0.6.1 → https://github.com/NixOS/nixpkgs/pull/120447
domogled has joined #nixos
tomberek has joined #nixos
tbreslein has quit [Quit: tbreslein]
domogled has quit [Client Quit]
eacameron has joined #nixos
<{^_^}> [nixpkgs] @symphorien opened pull request #121289 → bombono: update ffmpeg, fix iso generation → https://github.com/NixOS/nixpkgs/pull/121289
zakame has quit [Ping timeout: 240 seconds]
<eacameron> Is a private nix cache really necessary in general? Aren't Nix cache URLs unguessable?
<simpson> In the formal sense, yes, they're unguessable, with a hardness of ~256 from SHA-256.
<simpson> I don't actually grok why folks want private caches, but I don't grok a lot of business decisions.
zakame has joined #nixos
dev_mohe has joined #nixos
dev_mohe has quit [Client Quit]
<ehmry> eacameron: is it a problem if people probe for what you have cached?
<ToxicFrog> Regulatory requirements; wanting a cache inside your business network so it can be quickly replicated to satellite offices; wanting a cache that you can store proprietary stuff in.
<eacameron> ehmry: Yes that would be a big problem if you didn't want people to actually have access to your stuff.... but AFAIK all you have to do is disable listing.
<simpson> ehmry: *Is* there a cap-aware way of discussing that particular problem? We can use #erights if it's not on-topic for Nix stores.
<eacameron> ToxicFrog: I mean a public cache is the easiest thing to replicate.
<simpson> eacameron: I think ehmry is talking about the scenario where an attacker knows a vulnerable version of a package, builds it locally and so learns the unguessable hash, and then probes caches to see if a cache has that particular hash with a timing-based attack.
<eacameron> ToxicFrog: Proprietary stuff... yes that's exactly the issue here. But at some point "guessing a hash" and "hacking into your VPN" are indistinguishable from a security perspective I'd imagine.
<simpson> This problem's endemic to content-addressed storage, so I wouldn't be surprised if it's fundamentally unfixable.
<ehmry> ^ yes, that will be a problem with ipfs
<ehmry> someone else brought this up at the first nixcon
<simpson> Yes, hacking into a VPN has an unguessability requirement and threshold; cryptographic encoding is generally unguessable.
<ToxicFrog> eacameron: yeah, but it's easier to have a blanket policy of "our internal tools aren't allowed to be stored off-corp" than to add a bunch of exceptions based on the security properties of where you're storing them
Alex84 has quit [Quit: Connection closed]
<ToxicFrog> and if you control the cache that also means you don't need to worry about the administrators of the cache itself being malicious
<simpson> However, a VPN's keying mechanism can usually rekey or bump nonces (and sometimes *has* to do it) on a regular schedule, while content-addressed storage can't exactly change the content without ruining the entire point of content-addressability.
<ehmry> simpson: if you really want private caps you could salt the path hashes
<eacameron> ToxicFrog: True true. At this point we use GitHub Actions.... so our cache is probably the least of our worries :P
<eacameron> simpson: ehmry: What exactly is the attack here? Knowing that a vulnerable package exists doesn't buy you much...
<ToxicFrog> eacameron: yeah, I'm used to companies where everything is built and cached internally and often there are government regulations requiring us to do that -- the entire commit-to-execution path has to be internally auditable.
<eacameron> ToxicFrog: How do you secure your Nix cache?
<ToxicFrog> Both to ensure it's not tampered with and ensure no-one *else* gets to look at it without proper authorization, which you can't guarantee if you're sticking it in a public content-addressed store.
<ToxicFrog> Oh, we don't, nowhere I've worked has used nix
<ehmry> eacameron: if the catch is private it might imply that the vulnerable package is running somewhere
<{^_^}> [nixpkgs] @petabyteboy opened pull request #121290 → firefox-esr: use latest Rust → https://github.com/NixOS/nixpkgs/pull/121290
<ToxicFrog> but I could see these requirements resulting in a requirement to self-host the nix cache if we had been using it
<{^_^}> [nixpkgs] @samuelgrf closed pull request #121274 → linuxPackages.rtw88: 2021-04-19 -> 2021-04-27 → https://github.com/NixOS/nixpkgs/pull/121274
<eacameron> ToxicFrog: I see.
<eacameron> ehmry: Oh you mean someone can discover that there's a likelihood that you're actually using the vuln package.
urkk has joined #nixos
<simpson> eacameron: Exactly. For example, I might know that there's an OpenSSH server vuln, and I could check to see if you happen to be using a vulnerable version. I could "store spray" somewhat by building many different flavors of the vulnerable package, generating many different candidates.
mkaito has joined #nixos
<ehmry> or a cached could be probed as part of business espionge ("'
<ehmry> (I'm not sure what kind of conversation I walked into here)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121291 → krapslog: 0.1.2 -> 0.1.3 → https://github.com/NixOS/nixpkgs/pull/121291
<eacameron> ehmry: The perfect one. "How are public nix caches insecure?" basically.
<ehmry> well public caches are secure if you trust what gets put into them, and if you don't then you could make a private cache and hydra
ahmedelgabri has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
<eacameron> I mean, "secure" in the sense that you don't leak company secrets.
zebrag has joined #nixos
sebbadk[m] has quit [Quit: Idle for 30+ days]
<simpson> Right, "secure" doesn't mean much. What we really care about is the threat model, the exfiltration channels, the possible operations, and the things we don't want to have happen.
<ehmry> in this case it would be nice to have a caching nix proxy cache, and fill it from tor
erasmas has joined #nixos
proofofkeags has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
justanotheruser has joined #nixos
growpotkin has joined #nixos
<eacameron> ehmry: Can you explain?
zebrag has joined #nixos
ahmedelgabri has quit [Ping timeout: 260 seconds]
gentauro has quit [Read error: Connection reset by peer]
<ehmry> eacameron: a cache in your network that fetches cache misses from the public cache, but over tor
<eacameron> ehmry: Oh hah. How would that help?
gentauro has joined #nixos
<ehmry> you would still get the cached packages but the public cache wouldn't know where the requests are coming from, if you don't trust the the public cache not to store metadata
abathur has joined #nixos
<ehmry> I've thought about writing a caching nix proxy but the current cache is just so fast
<eacameron> ehmry: Oh. If you don't trust the public cache then why would you use it at all?
<simpson> Two kinds of trust: Trust to deliver the correct bytes, and trust to not keep metadata on requests.
<simpson> One of those is auditable by the caller, but the other is inherently a trust-me-Trent situation.
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/be58d0fbaa4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ff13163e3fd (from 14 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<ehmry> FWIW I trust the public cache in both regards
<ehmry> well, just like everyone else
<eacameron> simpson: I guess I'm thinking that a server might be tracking me, how do I know it's not also signing bad builds with the signature I trust?
<eacameron> simpson: I suppose if *I* uploaded those signed builds...
<simpson> eacameron: We can borrow some zero-knowledge proof theory. Suppose that the cache server issues every cache request; we're not concerned with whether proxies lie. Then, the cache server only has to be caught *once* with misbehavior in order for its entire userbase to run away.
<simpson> This means that a user doesn't have to challenge very many packages; they can pick logarithmically few test packages, rebuild them locally, and confirm that the hashes match.
<ehmry> we do have untrustable machines and caches - https://github.com/nix-community/aarch64-build-box
attila_lendvai has joined #nixos
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
<eacameron> simpson: Interesting.
<simpson> eacameron: https://web.mit.edu/~ezyang/Public/graph/svg.html demonstrates a classic zero-knowledge toy. This proof has the same principle: you only need to make relatively few queries to be relatively sure, and if the prover *ever* lies, then it's game-over for them.
ahmedelgabri has joined #nixos
erasmas has quit [Quit: leaving]
devhell has quit [Quit: nyaa~]
ahmedelgabri has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #121292 → grpc: 1.37.0 -> 1.37.1 → https://github.com/NixOS/nixpkgs/pull/121292
stree has quit [Ping timeout: 240 seconds]
<eacameron> simpson: Awesome! I've had to work with zkSNARKS a bit but never thought of using it for this.
whatisRT- has quit [Ping timeout: 252 seconds]
<simpson> ehmry++
<{^_^}> ehmry's karma got increased to 1.0
<ehmry> there goes my chaotic-neutral alignment
whatisRT has joined #nixos
<simpson> eacameron: It's more about the zero-knowledge principle than the particular SNARK encoding. Here, the prover claims to have a large Nix store, impossible for a user to scan due to sheer size. Sometimes these are called Merlin-and-Arthur problems because of the differential in abilities.
wallacer has quit [Ping timeout: 250 seconds]
<KarlJoad> Why would `emacs.overrideAttrs (oldAttrs: rec { withXwidgets = true; nativeComp = true; })` fail to have the related configure flags set?
<ehmry> KarlJoad: maybe you want just `emacs.override { withXwidgets = true; nativeComp = true; }` to modify what `callPackage` does?
<KarlJoad> ehmry: In the REPL, that did it. I'll build and see what happens.
ahmedelgabri has joined #nixos
<KarlJoad> ehmry: Yup. That did it. Thanks.
<ehmry> np, thats a confusing one
<{^_^}> [nixpkgs] @nh2 opened pull request #121294 → wireguard module: generatePrivateKeyFile: Fix chmod security race → https://github.com/NixOS/nixpkgs/pull/121294
mkaito has quit [Read error: Connection reset by peer]
stree has joined #nixos
beertoagunfight has joined #nixos
cole-h has joined #nixos
wallacer has joined #nixos
ahmedelgabri has quit [Ping timeout: 276 seconds]
<pgiarrusso> hi all, noob Q: I downloaded a prebuilt binary on NixOs, it failed with ENOENT, and I ended up doing `sudo ln -s /nix/store/1jn6apz0fa9h9x7rl3v6vwiymwnjznwv-glibc-2.32-40/lib64/ld-linux-x86-64.so.2 /lib64/`.
<pgiarrusso> what's the proper way to run a prebuilt binary on NixOS *without* creating a derivation?
ahmedelgabri has joined #nixos
meh` has joined #nixos
<ehmry> pgiarrusso: patchelf?
<eyJhb> Docker? \s
<ar> steam-run?
erasmas has joined #nixos
<eyJhb> ^^^^
<eyJhb> I have heard steam-run is really nice
orivej has joined #nixos
ahmedelgabri has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #121295 → lxc: 4.0.6 -> 4.0.7 → https://github.com/NixOS/nixpkgs/pull/121295
meh` has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 260 seconds]
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #121290 → firefox-esr: use latest Rust → https://github.com/NixOS/nixpkgs/pull/121290
<KarlJoad> I'm trying to build emacs with Xwidgets for my NixOS system. Would an overlay be better, or just an override?
vidbina has quit [Ping timeout: 260 seconds]
<thblt> KarlJoad: it's an option of the emacs package.
MysteriousSilver has quit [Ping timeout: 276 seconds]
orivej has joined #nixos
<KarlJoad> Meaning I should just pass `withXWidgets = true` to a function call somewhere?
ahmedelgabri has joined #nixos
<thblt> KarlJoad: In an override, I think. Something like (emacs.override { withXWidgets = true; })
nix has joined #nixos
nix is now known as lom
<KarlJoad> That's whay I have figured out. I'm asking if overlaying that on emacs makes any sense. That way when I refer to "emacs", I mean an emacs where withXwidgets = true.
<lom> If I add snapper configs, are snapshots automatically made of them?
respawn_ has joined #nixos
lsix has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #121047 → python2Packages.importlib-resources: use version 3.3.1 for python2 → https://github.com/NixOS/nixpkgs/pull/121047
ahmedelgabri has quit [Ping timeout: 276 seconds]
haijuno has joined #nixos
nixajon has joined #nixos
alexherbo2 has joined #nixos
<nixajon> hello nixos channel, newbie here and getting starting. Is there a nix expression language equivalent of `which`? I'm using nix package manager, not on nixos, and I want to obtain the full path of the `fish` executable that's been installed by `home-manager`
<nixajon> hello nixos channel, newbie here and getting starting. Is there a nix expression language equivalent of `which` ? I'm using nix package manager, not on nixos, and I want to obtain the full path of the `fish` executable that's been installed by `home-manager`
meh` has joined #nixos
<radvendii> readlink $(which fish)
orivej has quit [Ping timeout: 246 seconds]
vidbina has joined #nixos
<nixajon> can readlink be used within home.nix?
<radvendii> oh
<radvendii> i see what you're saying
_bin has joined #nixos
<radvendii> "${fish}/bin/fish" should do it
<{^_^}> [nixpkgs] @marsam opened pull request #121297 → rclone: 1.55.0 -> 1.55.1 → https://github.com/NixOS/nixpkgs/pull/121297
<radvendii> if you enclose a variable in ${} inside a string (this includes a '' '' delimited script) it will put the value of that (string) variable. certain other variables also work, if they know how to convert themselves into strings. Derivations, for instance, will give the output path
<radvendii> can i ask what the context is? there might be a better solution for your particular problem
ahmedelgabri has joined #nixos
<nixajon> Yeah, fair question. I am using fish as my primary shell. My pattern is open terminal to bash, set the $SHELL to fish-path, launch tmux and attach or start a new session. tmux uses $SHELL to determine what shell to launch. This lets me have a POSIX compliant terminal but I can start at fish when I open a new terminal
<nixajon> error: undefined variable 'fish' at /home/nixajon/projects/dotfiles/nixpkgs/home.nix:14:17
<radvendii> can you give a pastebin of your home.nix?
AmandaC has joined #nixos
<radvendii> what do you mean "POSIX compliant terminal but I can start at fish when I open a new terminal" aren't those mutually exclusive?
beertoagunfight has quit [Read error: Connection reset by peer]
lordcirth__ has joined #nixos
meh` has quit [Ping timeout: 265 seconds]
sangoma has joined #nixos
<nixajon> They are mutually exclusive. I don't chsh -s fish. When terminal launches, its bash. My bashrc has
<nixajon>    8   │ export SHELL=$(which fish)
<nixajon>    9   │
<nixajon>   10   │ tmux attach -t 1 || tmux new -s 1
<nixajon> ───────┴──────────────────────────────────────
ahmedelgabri has quit [Ping timeout: 248 seconds]
lordcirth_ has quit [Ping timeout: 248 seconds]
<evils> `${pkgs.fish}`?
<nixajon> Thanks!
meh` has joined #nixos
<{^_^}> [hydra] @cole-h opened pull request #951 → Fix deleting projects → https://github.com/NixOS/hydra/pull/951
sciamp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121298 → kronosnet: 1.20 -> 1.21 → https://github.com/NixOS/nixpkgs/pull/121298
ahmedelgabri has joined #nixos
beertoagunfight has joined #nixos
<radvendii> I'm still not sure I understand why you don't just set fish as your default shell, but I'm glad it's working for you
<{^_^}> [nixpkgs] @Ma27 opened pull request #121299 → nixos/gitea: set umask for secret creation → https://github.com/NixOS/nixpkgs/pull/121299
<nixajon> This way I don't have to manually chsh -s when I have a fresh install. Its minor but I like the idea of automating everything
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
ahmedelgabri has quit [Ping timeout: 260 seconds]
attila_lendvai_ has joined #nixos
attila_lendvai has quit [Ping timeout: 252 seconds]
alexherbo28 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #121300 → postgresqlPackages.pgvector: 0.1.0 -> 0.1.2 → https://github.com/NixOS/nixpkgs/pull/121300
<pennae> store optimisation just freed almost a million inodes. that's a lot of inodes.
VideoGameEnjoyer has quit [Quit: Konversation terminated!]
beertoagunfight has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @prusnak closed pull request #120938 → ssm-agent: use the fixed lsb-release instead of workarounds → https://github.com/NixOS/nixpkgs/pull/120938
mkaito has quit [Read error: Connection reset by peer]
attila_lendvai_ has quit [*.net *.split]
_bin has quit [*.net *.split]
alexherbo2 has quit [*.net *.split]
Andoriyu has quit [*.net *.split]
Uma has quit [*.net *.split]
mniip has quit [*.net *.split]
S0rin has quit [*.net *.split]
turlando has quit [*.net *.split]
MidAutumnHotaru has quit [*.net *.split]
ajs124 has quit [*.net *.split]
AmandaC has quit [*.net *.split]
respawn_ has quit [*.net *.split]
erasmas has quit [*.net *.split]
zakame has quit [*.net *.split]
dansho has quit [*.net *.split]
JerryXiao has quit [*.net *.split]
acowley has quit [*.net *.split]
mbrgm has quit [*.net *.split]
gpanders has quit [*.net *.split]
andrewrk has quit [*.net *.split]
is_null has quit [*.net *.split]
proofofkeags has quit [*.net *.split]
julm has quit [*.net *.split]
terinjokes has quit [*.net *.split]
patagonicus has quit [*.net *.split]
cypher has quit [*.net *.split]
Arahael has quit [*.net *.split]
LambdaDuck has quit [*.net *.split]
psy3497 has quit [*.net *.split]
delan has quit [*.net *.split]
hodapp has quit [*.net *.split]
rickard has quit [*.net *.split]
hyper_ch_ has quit [*.net *.split]
lord| has quit [*.net *.split]
kaliumxyz has quit [*.net *.split]
dotlambda has quit [*.net *.split]
mla has quit [*.net *.split]
HaserWolf has quit [*.net *.split]
chiefgoat has quit [*.net *.split]
rail has quit [*.net *.split]
muppeth has quit [*.net *.split]
amfl has quit [*.net *.split]
paddymahoney has quit [*.net *.split]
matthewcroughan has quit [*.net *.split]
Serus has quit [*.net *.split]
alexherbo28 is now known as alexherbo2
nixajon has quit [Quit: Connection closed]
Arahael has joined #nixos
exondation has quit [Ping timeout: 260 seconds]
AmandaC has joined #nixos
attila_lendvai_ has joined #nixos
proofofkeags has joined #nixos
dansho has joined #nixos
MidAutumnHotaru has joined #nixos
andrewrk has joined #nixos
mla has joined #nixos
ajs124 has joined #nixos
cypher has joined #nixos
zakame has joined #nixos
terinjokes has joined #nixos
S0rin has joined #nixos
julm has joined #nixos
kaliumxyz has joined #nixos
c4rc4s has joined #nixos
amfl has joined #nixos
mbrgm has joined #nixos
gpanders has joined #nixos
LambdaDuck has joined #nixos
rail has joined #nixos
turlando has joined #nixos
hodapp has joined #nixos
mniip has joined #nixos
erasmas has joined #nixos
lord| has joined #nixos
rickard has joined #nixos
hyper_ch_ has joined #nixos
matthewcroughan has joined #nixos
_bin has joined #nixos
respawn_ has joined #nixos
Andoriyu has joined #nixos
delan has joined #nixos
Uma has joined #nixos
HaserWolf has joined #nixos
acowley has joined #nixos
psy3497 has joined #nixos
is_null has joined #nixos
dotlambda has joined #nixos
patagonicus has joined #nixos
muppeth has joined #nixos
paddymahoney has joined #nixos
chiefgoat has joined #nixos
JerryXiao has joined #nixos
hiro98 has joined #nixos
matthewcroughan has quit [Max SendQ exceeded]
gpanders has quit [Max SendQ exceeded]
is_null has quit [Max SendQ exceeded]
lord| has quit [Max SendQ exceeded]
rickard has quit [Read error: Connection reset by peer]
matthewcroughan has joined #nixos
is_null has joined #nixos
gpanders has joined #nixos
lom has quit [Quit: WeeChat 3.1]
rickard has joined #nixos
jefferai has quit [Ping timeout: 240 seconds]
attila_lendvai_ has quit [Ping timeout: 252 seconds]
Guest36338 is now known as dsal
lord| has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
Serus has joined #nixos
jefferai has joined #nixos
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
orion has quit []
attila_lendvai has joined #nixos
<Frosku> ntlm_auth <-- Any idea what package I need to install for this?
<pennae> probably samba
<Frosku> Thanks
<cole-h> ,locate bin ntlm_auth
<{^_^}> Found in packages: smbclient, samba4Full
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121301 → libgcrypt: 1.9.2 -> 1.9.3 → https://github.com/NixOS/nixpkgs/pull/121301
ahmedelgabri has joined #nixos
orivej has joined #nixos
<thblt> Frosku: btw nixos has command-not-found
rj has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121302 → libksba: 1.5.0 -> 1.5.1 → https://github.com/NixOS/nixpkgs/pull/121302
ahmedelgabri has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @deviant opened pull request #121303 → steamPackages.steam-runtime: 0.20201203.1 -> 0.20210317.0 → https://github.com/NixOS/nixpkgs/pull/121303
mallox has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121304 → libjpeg: 2.0.6 -> 2.1.0 → https://github.com/NixOS/nixpkgs/pull/121304
<nh2[m]> Jan Tojnar: I see you investigated SublimeText issues with /usr/bin/pkexec in the past.
<nh2[m]> If I try to save a root-woned `configuration.nix` in my normal user's Sublime, I get a popup `Unable to save /.../configuration.nix: ... /usr/bin/pkexec failed`. I am quite sure it worked in the past. Does that currently work for you?
<nh2[m]> Also funny is that the popup does not appear when I `strace -fyp $(pidof sublime_text)` (but it still doesn't succeed to save).
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages »: https://git.io/J3G3D
<superbaloo> when a *vendor* executable comes in with a specific ld-linux loader
<superbaloo> is there an easy way to wrap it to make load another loader (and ideally feed in the missing dependencies, and not relying on a ld_preload) ?
ahmedelgabri has joined #nixos
<pennae> superbaloo: patchelf can change all those
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121305 → malcontent: 0.10.0 -> 0.10.1 → https://github.com/NixOS/nixpkgs/pull/121305
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/J3GGq
<superbaloo> ha
<superbaloo> that works indeed
<superbaloo> thank you!
<{^_^}> [nixpkgs] @asymmetric opened pull request #121306 → doc: document nixpkgs-fmt rules → https://github.com/NixOS/nixpkgs/pull/121306
jess has quit []
ahmedelgabri has quit [Ping timeout: 248 seconds]
Guest71549 has quit [Quit: authenticating]
bourbon has joined #nixos
bourbon is now known as Guest11648
<{^_^}> [nixpkgs] @Ekleog merged pull request #121160 → kcov: 36 -> 38 → https://github.com/NixOS/nixpkgs/pull/121160
jonringer has quit [Remote host closed the connection]
mkaito has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 hash for the new version »: https://git.io/J3GnO
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<SumnerEvans[m]> asymmetric: your link on https://github.com/NixOS/nixpkgs/issues/120832#issuecomment-830287673 is not to the PR.
stree has quit [Ping timeout: 260 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #120568 → nixos/adguardhome: init → https://github.com/NixOS/nixpkgs/pull/120568
thc202 has quit [Quit: thc202]
Guest11648 has quit [Quit: authenticating]
Guest11648 has joined #nixos
ddellaco_ has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
respawn_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Ekleog opened pull request #121308 → kcov: add metadata and passthru.tests → https://github.com/NixOS/nixpkgs/pull/121308
stree has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121309 → libpst: 0.6.75 -> 0.6.76 → https://github.com/NixOS/nixpkgs/pull/121309
beertoagunfight has joined #nixos
fuiltilt has joined #nixos
<{^_^}> [mobile-nixos] @samueldr pushed 3 commits to master: https://git.io/J3GlX
<{^_^}> [mobile-nixos] @samueldr merged pull request #341 → examples/demo: Prefer modesetting first → https://github.com/NixOS/mobile-nixos/pull/341
meh` has quit [Ping timeout: 240 seconds]
ddellaco_ has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 240 seconds]
hiro98 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « darwin: fix build with structured-attrs »: https://git.io/J3G8O
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
orivej has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/be58d0fbaa4 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
jonringer has joined #nixos
jonringer has quit [Remote host closed the connection]
jonringer has joined #nixos
<matthewcroughan> colemickens: I ended up getting 'error: access to path '/nix/store/lib/make-ext4-fs.nix' is forbidden in restricted mode' when I try to build your rpizero1 image.
vidbina has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121311 → libwpe: 1.8.0 -> 1.10.0 → https://github.com/NixOS/nixpkgs/pull/121311
zebrag has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121312 → liquibase: 4.3.2 -> 4.3.4 → https://github.com/NixOS/nixpkgs/pull/121312
ahmedelgabri has joined #nixos
f4r598 has joined #nixos
f4r59 has quit [Read error: Connection reset by peer]
sangoma has quit [Ping timeout: 240 seconds]
zebrag has joined #nixos
<{^_^}> [nixpkgs] @Ekleog merged pull request #121308 → kcov: add metadata and passthru.tests → https://github.com/NixOS/nixpkgs/pull/121308
zupo has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121313 → lilypond: 2.22.0 -> 2.22.1 → https://github.com/NixOS/nixpkgs/pull/121313
<{^_^}> [nixpkgs] @dotlambda opened pull request #121314 → prs: 0.2.10 -> 0.2.11 → https://github.com/NixOS/nixpkgs/pull/121314
rubm has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121315 → alephone-infinity: 20200904 -> 20210408 → https://github.com/NixOS/nixpkgs/pull/121315
<{^_^}> [nixpkgs] @flokli merged pull request #121021 → nixos/nix-containers: use SIGTERM to stop containers → https://github.com/NixOS/nixpkgs/pull/121021
vidbina has joined #nixos
<radvendii> nixajon: you know you can set your default shell through NixOS or home-manager?
<radvendii> (sorry I'm a bit late with this)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pennae> (wohoo, containers won't get sigkill'd on host shutdown! :3)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121316 → macchina: 0.6.9 -> 0.7.2 → https://github.com/NixOS/nixpkgs/pull/121316
<{^_^}> [nixpkgs] @dotlambda merged pull request #121297 → rclone: 1.55.0 -> 1.55.1 → https://github.com/NixOS/nixpkgs/pull/121297
<{^_^}> [nixpkgs] @alyssais merged pull request #121229 → rtl88xxau-aircrack: fc0194 -> c0ce81 → https://github.com/NixOS/nixpkgs/pull/121229
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121317 → libthreadar: 1.3.1 -> 1.3.2 → https://github.com/NixOS/nixpkgs/pull/121317
<{^_^}> [nixpkgs] @primeos opened pull request #121318 → wayland-protocols: 1.20 -> 1.21 → https://github.com/NixOS/nixpkgs/pull/121318
gustavderdrache has quit [Quit: Leaving.]
ahmedelgabri has quit [Ping timeout: 276 seconds]
sangoma has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121319 → logcheck: 1.3.22 -> 1.3.23 → https://github.com/NixOS/nixpkgs/pull/121319
<{^_^}> [nixpkgs] @peti merged pull request #120446 → Update Haskell package set to Stackage Nightly 2021-04-23 (plus other fixes) → https://github.com/NixOS/nixpkgs/pull/120446
vidbina has quit [Ping timeout: 260 seconds]
haijuno has quit [Ping timeout: 276 seconds]
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #120529 → nixos/zigbee2mqtt: apply rfc42 and harden systemd unit → https://github.com/NixOS/nixpkgs/pull/120529
attila_lendvai has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2021-04-30T19:36:25Z »: https://git.io/J3GV9
<{^_^}> [nixpkgs] @peti pushed to master « all-cabal-hashes: update to Hackage at 2021-04-30T19:36:25Z »: https://git.io/J3GVx
pi2 has joined #nixos
<pi2> hi
Lord_of_Life_ has joined #nixos
pi2 is now known as oo_miguel
qyliss has quit [Quit: bye]
oo_miguel has quit [Client Quit]
Lord_of_Life has quit [Ping timeout: 240 seconds]
pi2 has joined #nixos
Lord_of_Life_ is now known as Lord_of_Life
pi2 has quit [Client Quit]
qyliss has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #121320 → vagrant: 2.2.15 -> 2.2.16 → https://github.com/NixOS/nixpkgs/pull/121320
oo_miguel has joined #nixos
maralorn has quit [Quit: issued !quit command]
infandum has joined #nixos
<{^_^}> [nixpkgs] @j4m3s-s opened pull request #121321 → steamPackages.steam: 1.0.0.69 -> 1.0.0.70 → https://github.com/NixOS/nixpkgs/pull/121321
<infandum> I just installed nixos on a computer. It had a /home that I mounted. I am trying to get xmonad to work, but it just results in a blank screen (no cursor, no commands work, no signal from monitor). gnome does work though. I removed all configurations for xmonad, just the basic one from arch linux that compiles with xmonad --recompile. What could be causing this issue?
<infandum> I am trying to use the same kind of config from my nixos laptop which does work.
<infandum> I also have home-manager, but I removed all xmonad from that to troubleshoot
orivej has quit [Ping timeout: 240 seconds]
<oo_miguel> as soon as I create more then one virtualHosts via. services.nginx.virtualHosts it does not come up anymore and I get: you should increase server_names_hash_bucket_size: 32
<infandum> logging back into gnome, xmonad.errors is empty
<{^_^}> [nixpkgs] @j4m3s-s closed pull request #121321 → steamPackages.steam: 1.0.0.69 -> 1.0.0.70 → https://github.com/NixOS/nixpkgs/pull/121321
<{^_^}> [nixpkgs] @Ma27 merged pull request #121287 → passExtensions.pass-import: fix tests → https://github.com/NixOS/nixpkgs/pull/121287
<infandum> journalctl -t xmonad shows "XIO: fatal IO error 0 (success) on X server ":0""
beertoagunfight has quit [Remote host closed the connection]
<thblt> infandum: what about X log?
beertoagunfight has joined #nixos
<thblt> (also gnome is wayland by default, so this may be a X bug?)
<mjlbach> Trying to finish up my matrix dendrite PR, for systemd services it seems like execstartpre is executed *before* the creation of runtime directories. I wanted to use an environment file to do substitutions to avoid polluting the nix store with secrets, is "the move" to just write two separate systemd services?
<infandum> thblt: which log?
beertoagunfight has quit [Ping timeout: 250 seconds]
nix has joined #nixos
<thblt> infandum: /var/log/X* ?
nix has left #nixos [#nixos]
<infandum> doesn't exist
<{^_^}> [nixpkgs] @KAction opened pull request #121322 → acme-sh: fix missing runtime dependencies → https://github.com/NixOS/nixpkgs/pull/121322
lom has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #121167 → leftwm: 0.2.6 -> 0.2.7 → https://github.com/NixOS/nixpkgs/pull/121167
mix has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann opened pull request #121323 → pkgsLLVM: cross compiled package set using llvm compilers → https://github.com/NixOS/nixpkgs/pull/121323
ddellaco_ has joined #nixos
ddellaco_ has quit [Remote host closed the connection]
<lom> I'm trying to downgrade my channel to 20.09, from unstable. When rebuilding i'm now hit with a error: "error: undefined variable 'anything'", is this a known issue? How can I resolve it?
ddellacosta has joined #nixos
rubm has joined #nixos
ahmed_elgabri has joined #nixos
hke has quit [Quit: bye]
<infandum> thblt: if I login to xmonad+nothing, (screen off), blindly type in "Mod4+S+Return -> reboot -> Return" then it reboots, so it must be a screen issue
hke has joined #nixos
<infandum> err, none+xmonad
f4r598 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Ma27 merged pull request #120895 → cargo-deb: 1.29.1 -> 1.29.2 → https://github.com/NixOS/nixpkgs/pull/120895
ddellacosta has quit [Ping timeout: 240 seconds]
f4r5983 has joined #nixos
ahmedelgabri has quit [Ping timeout: 276 seconds]
<mjlbach> ah nvm fixed
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121324 → libsvm: 3.24 -> 3.25 → https://github.com/NixOS/nixpkgs/pull/121324
<infandum> in gnome, if I change the refresh rate from 75 to 120 (my monitor supports this) then it is a blank screen as well
<thblt> infandum: to be clear: xmonad never worked with that setup? There's no way you've brought a state file from another install? (~/.xmonad.state IIRC)
<infandum> I can check, as this install /home is on top of the previous arch linux install with home-manager
<infandum> which messed up some stuff
<infandum> which I needed to fix
philr has quit [Ping timeout: 240 seconds]
<thblt> Another possibility is some multi-head confusion. The main monitor may be on a non-existing output.
mix has quit [Remote host closed the connection]
<infandum> just one monitor
tinco has quit [Ping timeout: 245 seconds]
tinco has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121325 → librespeed-cli: 1.0.7 -> 1.0.8 → https://github.com/NixOS/nixpkgs/pull/121325
<thblt> infandum: what's the hardware like?
<infandum> there is no .xmonad.state
<infandum> ultrawide monitor, custom built pc
<infandum> intel
<infandum> nvidia 980ti
<thblt> nouveau or proprietary?
<infandum> not configured in my nixos
<thblt> So I guess nouveau?
<{^_^}> [nixpkgs] @primeos merged pull request #121318 → wayland-protocols: 1.20 -> 1.21 → https://github.com/NixOS/nixpkgs/pull/121318
<infandum> I can try to set it, see what happens
justanotheruser has quit [Ping timeout: 260 seconds]
<matthewcroughan> colemickens: I get "permission denied" when trying to build firmware for the sd-card-image/installer, trying again as root. But do you know anything about that?
<infandum> thblt: Setting the videoDrivers worked
<infandum> thank you so much!!
<thblt> infandum: cheers :)
<colemickens> eh, I don't recommend trying to run nix-build as root, doubtful that it will fix anything, and probably a bad sign if it does
<colemickens> let me look real quick though
<matthewcroughan> colemickens: I'm using the flake tooling
<matthewcroughan> https://termbin.com/4lcw
<matthewcroughan> I wouldn't know how to build it without the flake tooling :P
<colemickens> I don't know what that means
<matthewcroughan> `nix build .#images.rpizero1`
<colemickens> k
<colemickens> * ok
<matthewcroughan> I'll make a fork of your repo showing some of the changes, just trying to hack locally :P
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121326 → maddy: 0.4.3 -> 0.4.4 → https://github.com/NixOS/nixpkgs/pull/121326
elibrokeit has quit [Quit: A random quit message]
rubm has quit [Ping timeout: 248 seconds]
elibrokeit has joined #nixos
<pie_> ok there needs to be a script that attempts to replicate a systemd unit's environment to help with debugging interactively
* pie_ goes to the -systemd channel
<colemickens> +1
<pennae> pie: overlay that ExecStart's a tmux? :D
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121327 → libsolv: 0.7.17 -> 0.7.19 → https://github.com/NixOS/nixpkgs/pull/121327
stree has quit [Ping timeout: 240 seconds]
<pie_> pennae: how does babby override systemd unit
<pie_> im also annoyed at having to try to look this up
justanotheruser has joined #nixos
<pie_> isnt there some kind of systemctl drop-me-into-this-units-environment or soemthing
<pie_> or something like a reverse reptyr
infandum has quit [Remote host closed the connection]
<pennae> pie_: drop a fragment of a service file with the things you want overridden in ${unit_name}.d/ with .conf extension and reload
<nh2[m]> How do I link to a NixOS option containing a `*` in the manual? Like in `networking.wireguard.interfaces.<name>.peers.*.publicKey`
<pie_> pennae: yeah but thats immutable isnt it
<pennae> systemctl cat shows overrides too btw
<pie_> (there is a mutable path somewhere)
<pennae> there's more than one path systemd loads from, one of them is in /run
<pie_> pennae: any idea if i can make `systemctl edit` work in some reasonable manner
<pennae> yeah, just s,etc,run, and go
<pennae> never tried edit actually, we're oldschool :D
proofofkeags has quit [Ping timeout: 252 seconds]
<colemickens> nh2: that means you'd have things like `networking.wireguard.interfaces.wg1.peers."my-peer".publicKey`.
<pie_> colemickens: question was about linking the manual tho
<colemickens> oh :( oops
gustavderdrache has joined #nixos
lom has quit [Quit: WeeChat 3.1]
<nh2[m]> I need the equivalent of `<link linkend="opt-networking.interfaces._name_.ipv4.addresses">networking.interfaces.eth0.ipv4.addresses</link>`
<nh2[m]> here `_name_` is for `<name>` but I need to know what to write for `*`
<colemickens> I'm not sure I can get any sort of "link" to work to the new search actually
<pie_> " Note that this command cannot be used to remotely edit units and that you cannot temporarily edit units which are in /etc/, since they take precedence over /run/."
<pie_> whelp?
<pie_> pennae: that kind of sounds like this wont work anyway? or do overrides have a different file extension or something
<pennae> i think that means outright replacing them? not sure though
<pie_> maybe
maralorn has joined #nixos
<pennae> overrides are all .conf, in a ${unit}.d folder. could still work
<pie_> wonder if i could use one of those ld_preload libs to get the command to work on /run
<pie_> i hate how inflexible systemd tooling can be
seku has joined #nixos
kcalvinalvin has quit [Ping timeout: 245 seconds]
<pie_> guess ill just do it the easy way for once
radu2427 has joined #nixos
<pennae> pie_: overrides are loaded from /run just fine it seems
<pie_> yeah
<pie_> pennae: hm. are dropins the same as overrides?
radu242 has quit [Ping timeout: 276 seconds]
radu2427 is now known as radu242
<pie_> apparently nix generates (at least with my config) both a nix-daemon.service and an overrides.conf
<pennae> yup
<pie_> so what happens when there is a second overrides.conf?
<pennae> don't know actually
<nh2[m]> pie_: colemickens I filed the question as https://github.com/NixOS/nixpkgs/issues/121328
<{^_^}> #121328 (by nh2, 1 minute ago, open): manual: How to link to a NixOS option with a star / asterisk?
<pie_> in this case its probably fine because the service is the one with the ExecStart and no ExecStart in the override
<pie_> but in general what if there are conflicts
<pennae> afawk the latest file in C collation order wins
<pie_> pennae: also im just kind of annoyed by having to write files to disk to do what i intend as ephemeral tests
stree has joined #nixos
<pie_> pennae: this is someting that drives me absolutely godforsaken bonkers with udev btw
kcalvinalvin has joined #nixos
<pennae> yeah, it's...not great :/
<pie_> and ive been reminding myself for months now to file an issue upstream about that
<pie_> to rant at them about adding an interface for manipulating rules in memory from the cli
<{^_^}> [nixpkgs] @maralorn opened pull request #121329 → nix-output-monitor: 1.0.3.0 -> 1.0.3.1 → https://github.com/NixOS/nixpkgs/pull/121329
<pie_> i doubt theyll do it though
<pie_> kinda feels like something they would have already if they were going to
ahmed_elgabri has quit [Quit: WeeChat 3.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121330 → matio: 1.5.20 -> 1.5.21 → https://github.com/NixOS/nixpkgs/pull/121330
cr4y1 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @nh2 opened pull request #121331 → wireguard module: Add `dynamicEndpointRefreshSeconds` option → https://github.com/NixOS/nixpkgs/pull/121331
mdash has quit [Ping timeout: 276 seconds]
zopieux has quit [Ping timeout: 260 seconds]
<pie_> well for the moment i just copy pasted the command out
zopieux has joined #nixos
<pie_> oh wow wth
<pie_> thats weird
<pie_> in this case i needed to set SSH_AUTH_SOCK and NIX_SSHOPTS on nix-shell instead of the daemon???
<pie_> clever: can you comment^?
<pie_> am i misremembering the normal behaviour
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121332 → mailcap: 2.1.52 -> 2.1.53 → https://github.com/NixOS/nixpkgs/pull/121332
ddellac__ has quit [Remote host closed the connection]
ddellacosta has joined #nixos
zebrag has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 merged pull request #121329 → nix-output-monitor: 1.0.3.0 -> 1.0.3.1 → https://github.com/NixOS/nixpkgs/pull/121329
ddellacosta has quit [Remote host closed the connection]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121333 → lidarr: 0.7.2.1878 -> 0.8.1.2135 → https://github.com/NixOS/nixpkgs/pull/121333
ddellacosta has quit [Remote host closed the connection]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #121303 → steamPackages.steam-runtime: 0.20201203.1 -> 0.20210317.0 → https://github.com/NixOS/nixpkgs/pull/121303
<{^_^}> [mobile-nixos] @samueldr merged pull request #337 → pine64-pinephone: add alsa ucm config files to make the audio work → https://github.com/NixOS/mobile-nixos/pull/337
ddellacosta has quit [Remote host closed the connection]
ddellacosta has joined #nixos
wnklmnn has joined #nixos
ddellacosta has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #121334 → lldpd: 1.0.8 -> 1.0.10 → https://github.com/NixOS/nixpkgs/pull/121334
mdash has joined #nixos
<{^_^}> [mobile-nixos] @zhaofengli closed pull request #347 → pine64-pinephone: Use the more generic device path for modem → https://github.com/NixOS/mobile-nixos/pull/347
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #120802 → ffmpeg_3 -> ffmpeg patches → https://github.com/NixOS/nixpkgs/pull/120802
<joedevivo> anyone have any success with services.ssm-agent?
<{^_^}> [mobile-nixos] @samueldr opened pull request #350 → profiles/installer.nix: Remove → https://github.com/NixOS/mobile-nixos/pull/350
<{^_^}> [nixpkgs] @mweinelt merged pull request #121334 → lldpd: 1.0.8 -> 1.0.10 → https://github.com/NixOS/nixpkgs/pull/121334
<{^_^}> [mobile-nixos] @samueldr opened pull request #351 → examples/plasma-mobile-demo: init → https://github.com/NixOS/mobile-nixos/pull/351
qyliss has quit [Quit: bye]
qyliss has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #121335 → mesa: Fix build → https://github.com/NixOS/nixpkgs/pull/121335
<{^_^}> [nixpkgs] @mweinelt merged pull request #121326 → maddy: 0.4.3 -> 0.4.4 → https://github.com/NixOS/nixpkgs/pull/121326
S0rin has quit [Ping timeout: 252 seconds]
sciamp has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @markuskowa opened pull request #121336 → nixos/slurm: 20.11.5.1 -> 20.11.6.1, improve security → https://github.com/NixOS/nixpkgs/pull/121336
S0rin has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #121319 → logcheck: 1.3.22 -> 1.3.23 → https://github.com/NixOS/nixpkgs/pull/121319
erasmas has quit [Quit: leaving]
fendor has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #120997 → nodejs: Fix build with icu 69 → https://github.com/NixOS/nixpkgs/pull/120997
<{^_^}> [nixpkgs] @marsam merged pull request #121300 → postgresqlPackages.pgvector: 0.1.0 -> 0.1.2 → https://github.com/NixOS/nixpkgs/pull/121300
<noonien> anyone cross-compile go packages with nix?
__monty__ has quit [Quit: leaving]
qyliss has quit [Quit: bye]
sciamp has joined #nixos
<{^_^}> [nixpkgs] @mweinelt merged pull request #121222 → nixos/nginx: update hardening settings → https://github.com/NixOS/nixpkgs/pull/121222
qyliss has joined #nixos
melg8 has quit [Quit: Connection closed]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @fgaz opened pull request #121337 → miniaudicle: init at 1.3.5.2 → https://github.com/NixOS/nixpkgs/pull/121337
S0rin has quit [Ping timeout: 240 seconds]
ddellacosta has quit [Ping timeout: 240 seconds]
aaabbbbbbbbbb has quit [Ping timeout: 260 seconds]
haijuno has joined #nixos
mkaito has quit [Quit: WeeChat 3.1]
S0rin has joined #nixos
ronthecookie has quit [Quit: o~/]
Qwerky has joined #nixos
ronthecookie has joined #nixos
zebrag has joined #nixos
Constrixor has joined #nixos
<{^_^}> [nixpkgs] @zowoq pushed to master « logcheck: fix license »: https://git.io/J3ZUo
<numkem> I just started using zfs on NixOS and I’m trying to build my full config using unstable but it fails with a no space on device error even tho there is plenty of space left
<tpw_rules> how is your /boot?
<numkem> Petty much empty
<numkem> it’s during package build, complaining about /build being full
<numkem> My USB stick was on 20.03 trying to build unstable so maybe it’s part of the problem
sciamp has quit [Ping timeout: 246 seconds]
<qyliss> could it be a tmpfs filling up?
qyliss has quit [Quit: bye]
riksteri has quit [Quit: riksteri]
<numkem> /Tom
<numkem> /tmp isn’t a tmpfs, it’s in the zpool
<numkem> Well in /
qyliss has joined #nixos
<pie_> ,locate cpupower
<{^_^}> Found in packages: linux.dev, linux-rt.dev, linux-libre.dev, linux_mptcp.dev, linux-rt_5_6.dev, linux_testing.dev, linux_mptcp_94.dev, linuxPackages_4_4.cpupower, linuxPackages_4_9.cpupower, linuxPackages_5_8.cpupower, linuxPackages_zen.cpupower, linuxPackages_4_14.cpupower, linuxPackages_4_19.cpupower, linuxPackages-libre.cpupower, linuxPackages_4_4.kernel.dev, linuxPackages_4_9.kernel.dev, linuxPackages_5_8.kernel.dev, and 17 more
<hrnz> does the ,locate-function exist somewhere outside of the bot?
<pennae> ,locate nix-locate
mbrgm_ has joined #nixos
<{^_^}> Found in packages: nix-index
supersandro2000 has quit [Killed (verne.freenode.net (Nickname regained by services))]
<hrnz> thanks
supersandro2000 has joined #nixos
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
stree has quit [Ping timeout: 252 seconds]
<samueldr> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<pennae> building the index seems to be broken today(?), lots of errors in the json files it pulls?
<pennae> tried it multiple times and it always dumped 5 gigs of erroneous json into /tmp
Mateon1 has quit [Remote host closed the connection]
Mateon1 has joined #nixos
<clever> pie_: depends on what is doing the fetch
<clever> numkem: df -i ?
judson_ has joined #nixos
civodul has quit [Ping timeout: 260 seconds]
S0rin has quit [Ping timeout: 240 seconds]
VideoGameEnjoyer has joined #nixos
<numkem> clever: 1% everywhere
<clever> numkem: can you pastebin the full build log and error?
stree has joined #nixos
<numkem> clever: the machine doesn’t have a UI arm… it’s the first boot after initial install
orivej has joined #nixos
<numkem> Is there a tool I could pipe it into?
mallox has quit [Quit: WeeChat 3.1]
<samueldr> are you trying to nixos-rebuild into the live system?
<samueldr> oh, no, I re-read what you said
turlando has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @happysalada opened pull request #121338 → broot: 1.3.0 -> 1.3.1 → https://github.com/NixOS/nixpkgs/pull/121338
<{^_^}> [mobile-nixos] @samueldr merged pull request #350 → profiles/installer.nix: Remove → https://github.com/NixOS/mobile-nixos/pull/350
jesystani has joined #nixos
<clever> numkem: http://termbin.com/
S0rin has joined #nixos
eacameron has quit [Quit: Connection closed for inactivity]