!zghijEASpYQWYFzriI:nixos.org

Hydra

390 Members
109 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
24 Apr 2022
@kayla.fire:matrix.orgkayla (she/they)

I'm trying to pull in the hydra flake on my local build machine configuration, it would seem that when using the outputs.nixosModules.hydra module, it adds an overlay for both hydra-dev and nix.
I also host nix-serve on the same configuration, which has the following line in nixpkgs platforms = nix.meta.platforms;. This seems to have conflicts as github:nixos/nix does not seem to have meta.platforms set, as shown by the error I'm hitting

building the system configuration...
error: attribute 'platforms' missing

       at /nix/store/hlw0ara6xnmqvlybgvh6a2ygjvc34n43-source/pkgs/tools/package-management/nix-serve/default.nix:50:17:

           49|     license = licenses.lgpl21;
           50|     platforms = nix.meta.platforms;
             |                 ^
           51|   };
(use '--show-trace' to show detailed location information)

---

nix eval github:NixOS/nix#nix.meta.platforms
error: flake 'github:NixOS/nix' does not provide attribute 'packages.x86_64-linux.nix.meta.platforms', 'legacyPackages.x86_64-linux.nix.meta.platforms' or 'nix.meta.platforms'

Is there any known workarounds/fixes for this?

12:01:41
@tim:stratum0.orgdadada (they/them) changed their display name from dadada (they/them) to dadada (er/they).15:49:19

Show newer messages


Back to Room ListRoom Version: 6