!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

895 Members
181 Servers

Load older messages


SenderMessageTime
21 Sep 2023
@dedmunwalk:matrix.orgdedmunwalk joined the room.23:06:10
22 Sep 2023
@bl1nk:matrix.orgbl1nk changed their profile picture.11:21:25
@bl1nk:matrix.orgbl1nk changed their profile picture.11:23:10
@orowith2os:fedora.imOro (any/all) changed their profile picture.20:45:43
23 Sep 2023
@snuupy:matrix.orgSnuupy joined the room.10:17:54
@0xmrtt:projectsegfau.lt@0xmrtt:projectsegfau.lt removed their profile picture.12:37:12
@0xmrtt:projectsegfau.lt@0xmrtt:projectsegfau.lt removed their display name 0xMRTT.12:44:20
@0xmrtt:projectsegfau.lt@0xmrtt:projectsegfau.lt left the room.12:52:08
@heyoni:matrix.orgheyoni joined the room.20:19:03
24 Sep 2023
@aidalgol:matrix.org@aidalgol:matrix.orgIf I have a function call several times with the same argument values, does it have to compute it for every call, or just once?08:51:35
@aidalgol:matrix.org@aidalgol:matrix.org * If I have a function call several times in a flake.nix with the same argument values, does it have to compute it for every call, or just once? 08:51:50
@mib:kanp.aimib 🥐 joined the room.12:21:19
25 Sep 2023
@bertof:matrix.orgbertof joined the room.10:43:46
@eva:blahaj.nyceva joined the room.15:45:15
@Las:matrix.orgLas left the room.19:44:14
26 Sep 2023
@orowith2os:fedora.imOro (any/all) changed their profile picture.05:51:42
27 Sep 2023
@amnicolist:matrix.orgamnicolist joined the room.02:13:56
@amnicolist:matrix.orgamnicolist

Hi flakes, I'm new to nixos/flakes and this chat. I have a question about flake-parts and overlays. I hope its okay to ask here.

I'm trying to get the [rust-overlay](https://github.com/oxalica/rust-overlay

02:17:58
@amnicolist:matrix.orgamnicolist *

Hi flakes, I'm new to nixos/flakes and this chat. I have a question about flake-parts and overlays. I hope its okay to ask here.

I'm trying to get the [rust-overlay](https://github.com/oxalica/rust-overlay) working with an existing repo that I forked. However, I can't figure out how to get access to the rust-bin set once I follow the https://flake.parts/overlays documentation

02:19:19
@amnicolist:matrix.orgamnicolist *

Hi flakes, I'm new to nixos/flakes and this chat. I have a question about flake-parts and overlays. I hope its okay to ask here.

I'm trying to get the rust-overlay working with an existing repo that I forked. However, I can't figure out how to get access to the rust-bin set once I follow the https://flake.parts/overlays documentation

02:19:32
@charles:computer.surgeryCharlesWould you be amenable to an alternative that doesn't involve overlays02:43:36
@mib:kanp.aimib 🥐 changed their display name from mib to mib 🥐.05:53:08
@belvaleth:matrix.orgbelvaleth joined the room.13:25:07
@antifuchs:asf.computer@antifuchs:asf.computer amnicolist: you're following the "consuming an overlay" section? 17:47:28
@antifuchs:asf.computer@antifuchs:asf.computer that will define the "pkgs" attribute available in the perSystem closure's arguments as the overlaid version, but you then also have to go and use that pkgs attribute to define the system / home-manager configuration... that's typically what trips me up 17:49:43
@antifuchs:asf.computer@antifuchs:asf.computerbut anyway, how are you planning to use the overlay? (:17:50:28
28 Sep 2023
@amnicolist:matrix.orgamnicolist
In reply to @antifuchs:asf.computer
amnicolist: you're following the "consuming an overlay" section?

Yes, I saw the stuff about consuming the overlay. That explained how to get the rust-overlay into the pkgs. I think I kind-of get that. The problem came when I wanted to actually install the package. I want to have multiple rust tool chains installed, nightly for some things etc. My understanding fell down when I tried to call something like

  home.packages = with pkgs; [
    rust-bin.stable.latest.default
  ];
00:58:36
@amnicolist:matrix.orgamnicolist
In reply to @antifuchs:asf.computer
amnicolist: you're following the "consuming an overlay" section?
*

Yes, I saw the stuff about consuming the overlay. That explained how to get the rust-overlay into the pkgs. I think I kind-of get that. The problem came when I wanted to actually install the package. I want to have multiple rust tool chains installed, nightly for some things etc. My understanding fell down when I tried to call something like

  home.packages = with pkgs; [
    rust-bin.stable.latest.default
  ];

Nixos would complain that it can't find rust-bin. I don't really get where it comes from in the overlay part so I couldn't reverse engineer the

        # ... things you need to patch ...
      })
01:00:02
@amnicolist:matrix.orgamnicolist *

Yes, I saw the stuff about consuming the overlay. That explained how to get the rust-overlay into the pkgs. I think I kind-of get that. The problem came when I wanted to actually install the package. I want to have multiple rust tool chains installed, nightly for some things etc. My understanding fell down when I tried to call something like

  home.packages = with pkgs; [
    rust-bin.stable.latest.default
  ];

Nixos would complain that it can't find rust-bin. I don't really get where it comes from in the overlay part so I couldn't reverse engineer the

        # ... things you need to patch ...
      })
01:00:31
@amnicolist:matrix.orgamnicolist *

Yes, I saw the stuff about consuming the overlay. That explained how to get the rust-overlay into the pkgs. I think I kind-of get that. The problem came when I wanted to actually install the package. I want to have multiple rust tool chains installed, nightly for some things etc. My understanding fell down when I tried to call something like

  home.packages = with pkgs; [
    rust-bin.stable.latest.default
  ];

Nixos would complain that it can't find rust-bin. I don't really get where it comes from in the overlay part so I couldn't reverse engineer the

(final:
        # ... things you need to patch ...
      })
01:00:42

Show newer messages


Back to Room ListRoom Version: 6