NUR icon indicating copy to clipboard operation
NUR copied to clipboard

add AndrewKvalheim repository

Open AndrewKvalheim opened this issue 1 year ago • 3 comments

The following points apply when adding a new repository to repos.json

  • [x] I ran ./bin/nur format-manifest after updating repos.json (We will use the same script in github actions to make sure we keep the format consistent)
  • [x] By including this repository in NUR I give permission to license the content under the MIT license.

Clarification where license should apply: The license above does not apply to the packages built by the Nix Packages collection, merely to the package descriptions (i.e., Nix expressions, build scripts, etc.). It also might not apply to patches included in Nixpkgs, which may be derivative works of the packages to which they apply. The aforementioned artifacts are all covered by the licenses of the respective packages.

AndrewKvalheim avatar Apr 30 '24 04:04 AndrewKvalheim

@mergify queue

Mic92 avatar Apr 30 '24 06:04 Mic92

queue

🛑 The pull request has been removed from the queue default

The queue conditions cannot be satisfied due to failing checks.

You can take a look at Queue: Embarked in merge queue check runs for more details.

In case of a failure due to a flaky test, you should first retrigger the CI. Then, re-embark the pull request into the merge queue by posting the comment @mergifyio refresh on the pull request.

mergify[bot] avatar Apr 30 '24 06:04 mergify[bot]

error: attribute 'agpl3' missing

Updated for NixOS/nixpkgs#297173.


I haven’t figured out how to get the checks to run locally. Can you spot what I’m doing wrong?

$ nix-env --file './nur.nix' --query '*' --available --drv-path --meta --json --show-trace --allowed-uris 'https://static.rust-lang.org' --option 'restrict-eval' 'true' --option 'allow-import-from-derivation' 'true' -I nixpkgs="$(nix-instantiate --find-file 'nixpkgs')" -I './'
error: cannot evaluate a function that has an argument without a value ('pkgs')
       Nix attempted to evaluate a function as a top level expression; in
       this case it must have its arguments supplied either by default
       values, or passed explicitly with '--arg' or '--argstr'. See
       https://nixos.org/manual/nix/stable/language/constructs.html#functions.

       at /home/ak/src/configuration/nur.nix:1:3:

            1| { pkgs }:
             |   ^
            2|
$ !! --arg 'pkgs' "import $(nix-instantiate --find-file 'nixpkgs') { overlays = [ ]; }"
error:
       … while calling the 'import' builtin

         at «string»:1:1:

            1| import /nix/var/nix/profiles/per-user/root/channels/nixos { overlays = [ ]; }
             | ^

       … while realising the context of path '/nix/var/nix/profiles/per-user/root/channels/nixos'

         at «none»:0: (source not available)

       error: access to canonical path '/nix/store/xw6r4sr9q09f967fx9k8vwq1hng4i26f-nixos-23.11/nixos' is forbidden in restricted mode

AndrewKvalheim avatar Apr 30 '24 17:04 AndrewKvalheim

@mergify queue

Mic92 avatar May 04 '24 22:05 Mic92

queue

🛑 The pull request has been removed from the queue default

The queue conditions cannot be satisfied due to failing checks.

You can take a look at Queue: Embarked in merge queue check runs for more details.

In case of a failure due to a flaky test, you should first retrigger the CI. Then, re-embark the pull request into the merge queue by posting the comment @mergifyio refresh on the pull request.

mergify[bot] avatar May 04 '24 22:05 mergify[bot]

@mergify rebase

Mic92 avatar May 04 '24 22:05 Mic92

rebase

✅ Branch has been successfully rebased

mergify[bot] avatar May 04 '24 22:05 mergify[bot]

@mergify queue

Mic92 avatar May 04 '24 22:05 Mic92

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at d37828faed8bf027cf8785e56fc0c0ea0fdee002

mergify[bot] avatar May 04 '24 22:05 mergify[bot]