Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
flake.nix: Add simulation requirements to devShell
Fintan Halpenny committed 8 days ago
commit d64cb924c1bbf9bd6c1f2d3218816c0384d3fb07
parent 56020f59665391975e1ce8c3befacd8e21d5f11c
2 files changed +16 -3
modified flake.lock
@@ -126,11 +126,11 @@
    },
    "nixpkgs-unstable": {
      "locked": {
-
        "lastModified": 1771371298,
-
        "narHash": "sha256-AudCpsjP7MfL1mAusLjyyiOz+SF+JujxWzoSAhjk+Og=",
+
        "lastModified": 1777560654,
+
        "narHash": "sha256-ag+TnfQmMTdkU4lQPS6nZzpqHsWAlsQsLCv/1iA6GWg=",
        "owner": "NixOS",
        "repo": "nixpkgs",
-
        "rev": "bf117123cd658283c5b5c587e59091168323ad61",
+
        "rev": "5a9c58fc6ac2ec48bf9cf4c07de27f912b1ed1cc",
        "type": "github"
      },
      "original": {
modified flake.nix
@@ -366,12 +366,25 @@
          just
          ripgrep
          sqlite
+

+
          # /simulation
+
          cue
+
          kubectl
+
          talosctl
+
          timoni
+
          qemu
+
          OVMF.fd
        ];

        env = {
          RUST_BACKTRACE = "full";
          RUST_SRC_PATH = "${rustupDevShell.toolchain}/lib/rustlib/src/rust/library";
        };
+

+
        # NixOS: OVMF firmware lives in the Nix store, not /usr/share/OVMF.
+
        # talosctl has hardcoded search paths, so we expose the store path for
+
        # the simulation justfile to symlink into a location talosctl can find.
+
        env.OVMF_FD_PATH = "${pkgs.OVMF.fd}/FV";
      };
    });
}