Robert Hensing

Results 909 comments of Robert Hensing

If that's safe to do, it solves half of this issue.

I was assuming that these were simply not built on hydra and therefore show up here as 'new'. I do not know whether that's really the case. Another possibility is...

Depends where you're searching. `pkgs.tests`: yes `pkgs.nixosTests`: yes `pkgs.nixosTest`: no (evaluates directly to a lambda without defaults, so no auto-call) `pkgs.nixos`: no (same)

I've diffed the set of option paths, based on what appears in the docs. The following snippet shows how to do it, and the rest shows some further improvements. ##...

@mightyiam Can happen due to any `fetchTree`/`fetchGit`/`getFlake`/{FOD+IFD} input. Been thinking about this. Unusual, but right for flake-parts: - https://github.com/hercules-ci/flake-parts/pull/315

Right, the linked PR only fixes the case where you're testing non-partitioned attributes of a partitioned flake. This issue includes `partitions.dev.extraInputsFlake = ./dev;` which loads a hardcoded lockfile. This lockfile...

I've tried this, but it works: ``` $ nix repl github:boinkor-net/tsnsrv/005e3771e8bd62867153fcfea43ce563c2c11d66 Nix 2.25.0pre20240910_9c0e968 Type :? for help. Loading installable 'github:boinkor-net/tsnsrv/005e3771e8bd62867153fcfea43ce563c2c11d66#'... Added 9 variables. nix-repl> devShells { aarch64-darwin = { ......

I've found the problem: https://github.com/antifuchs/generate-go-sri/commit/3bc5be29254d1f00b628a2bcc3bce16c385629d2#diff-216b2b7bfde9416c79d133bacb031e95702a20bdedb548c0b055c837aa4f6a9cR26 I don't know why Nix would generate a `path` input, but I suspect it's to do with the registry (`original.type == "indirect"`). `path` inputs were...

> and there's [no way to enable it within the `flake.nix`](https://github.com/NixOS/nix/pull/7862). It seems that this would solve the problem nice and simple. > Now if I set the `extraInputsFlake` to...

> > Now if I set the `extraInputsFlake` to `builtins.unsafeDiscardStringContext inputs.nix-dev-flake.outPath;` and try to use partitions it fails > > I think we could use the same workaround that I...