!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

214 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux 67 Servers

Load older messages


SenderMessageTime
6 Mar 2025
@jellyterra:matrix.org@jellyterra:matrix.org changed their profile picture.13:04:46
7 Mar 2025
@SeTSeR:matrix.orgWhite Whale Hello! How can I override Python package `watchdog` from within overlay? I tried this:
```nix
python3Packages = super.python3Packages.overrideScope (self: super: {
  watchdog = super.watchdog.overrideAttrs (self: super: {
    doCheck = false;
  }
 });
```
However, `nix why-depends` still shows that dependency on old `watchdog` is still in place. It shows that `werkzeug` depends on this library. In Nixpkgs I found, that `werkzeug` has `watchdog` in `nativeBuildInputs`. However, neither putting `watchdog` override in `buildPackages` nor removing the library from `nativeBuildInputs` didn’t do a trick. What else could I try?
19:05:07
@alex:tunstall.xyzAlex
In reply to @SeTSeR:matrix.org
Hello! How can I override Python package `watchdog` from within overlay? I tried this:
```nix
python3Packages = super.python3Packages.overrideScope (self: super: {
  watchdog = super.watchdog.overrideAttrs (self: super: {
    doCheck = false;
  }
 });
```
However, `nix why-depends` still shows that dependency on old `watchdog` is still in place. It shows that `werkzeug` depends on this library. In Nixpkgs I found, that `werkzeug` has `watchdog` in `nativeBuildInputs`. However, neither putting `watchdog` override in `buildPackages` nor removing the library from `nativeBuildInputs` didn’t do a trick. What else could I try?
It might be coming from one of the other Python package sets. Maybe look at the definition of python3Packages in Nixpkgs, because I suspect that it's actually an alias for one of the other sets.
20:48:14
@SeTSeR:matrix.orgWhite Whale
In reply to @alex:tunstall.xyz
It might be coming from one of the other Python package sets. Maybe look at the definition of python3Packages in Nixpkgs, because I suspect that it's actually an alias for one of the other sets.
It’s strange, because I had to disable tests for some other packages and such override did the trick for them. But now I see the problem more clearly: werkzeug sees the updated watchdog, but for some reason this updated watchdog still runs tests.
21:28:52
@alex:tunstall.xyzAlex
In reply to @SeTSeR:matrix.org
It’s strange, because I had to disable tests for some other packages and such override did the trick for them. But now I see the problem more clearly: werkzeug sees the updated watchdog, but for some reason this updated watchdog still runs tests.
You're not using overridePythonAttrs. That's probably why.
21:30:00
@skeuchel:matrix.orgSteven Keuchel White Whale: that's what I usually do: https://nixos.org/manual/nixpkgs/stable/#how-to-override-a-python-package-for-all-python-versions-using-extensions 22:36:04
8 Mar 2025
@vlinkz:matrix.orgvlinkz joined the room.08:27:44
9 Mar 2025
@misuzu:matrix.orgmisuzuhttps://liliputing.com/orange-pi-rv2-is-a-single-board-pc-with-an-8-core-risc-v-processor/20:07:50
@jake:hillion.co.ukJake Hillion joined the room.23:41:03
12 Mar 2025
@jellyterra:matrix.org@jellyterra:matrix.org changed their profile picture.02:44:10
@jellyterra:matrix.org@jellyterra:matrix.org changed their profile picture.02:45:33
13 Mar 2025
@hive:the-apothecary.clubtauphi changed their display name from Li-ion to EVA.00:32:50
@hive:the-apothecary.clubtauphi changed their display name from EVA to EVA-01.00:34:44
@liberodark:matrix.orgliberodarkHi08:31:03
@liberodark:matrix.orgliberodarkI want to use nixos lxc for specific use case.08:31:25
@liberodark:matrix.orgliberodarkHave see nix is available in riscv64 but not lxc.08:31:42
@liberodark:matrix.orgliberodarkYou know a way to create one or lxc is too early for nixos on riscv64 actually ?08:32:31
@liberodark:matrix.orgliberodarkBest Regards08:32:36
@alex:tunstall.xyzAlex
In reply to @liberodark:matrix.org
You know a way to create one or lxc is too early for nixos on riscv64 actually ?
Have you tried compiling it?
08:39:27
@liberodark:matrix.orgliberodarkI can is needed08:40:23
@liberodark:matrix.orgliberodarkHave just try to build image for now.08:40:38
@liberodark:matrix.orgliberodark* I can if is needed08:40:49
@alex:tunstall.xyzAlexExpect most things to require building from source.08:43:18
@liberodark:matrix.orgliberodarkYes, I noticed that. For example, a simple btop will require a lot of builder stuff.08:48:47
17 Mar 2025
@egrieco:matrix.orgegrieco joined the room.06:47:18
@jappie:jappie.devjappie joined the room.08:08:25
@flx-:matrix.orgflx joined the room.19:40:21
@flx-:matrix.orgflxAre there any plans to introduce RISC-V binary builds in the official NixOS caches?21:39:22
@rosscomputerguy:matrix.orgTristan Ross
In reply to @flx-:matrix.org
Are there any plans to introduce RISC-V binary builds in the official NixOS caches?
Maybe in the future once hardware is more stable
21:39:56
@rosscomputerguy:matrix.orgTristan Ross The P550 is a good option but unstable 21:40:25

Show newer messages


Back to Room ListRoom Version: 10