Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose required builds and substitutes #325

Merged
merged 7 commits into from
Jan 6, 2025
Merged

Conversation

Mic92
Copy link
Member

@Mic92 Mic92 commented Sep 2, 2024

This allows for more interesting build scheduling.

@Mic92 Mic92 marked this pull request as draft September 2, 2024 07:01
@Mic92 Mic92 force-pushed the expose-more-build-status branch from 5811643 to 40856f8 Compare September 2, 2024 07:24
@Mic92
Copy link
Member Author

Mic92 commented Sep 2, 2024

nix-shell-env % ./src/nix-eval-jobs --gc-roots-dir /tmp/root --impure --check-cache-status --force-recurse --flake .#packages.x86_64-linux.package-with-deps | jq
warning: unknown setting 'allowed-users'
warning: unknown setting 'trusted-users'
path '/home/joerg/git/nix-eval-jobs/build' does not contain a 'flake.nix', searching up
{
  "attr": "",
  "attrPath": [],
  "cacheStatus": "notBuilt",
  "drvPath": "/nix/store/9404n8q0sczpabca39gj0l8yd8612nl1-package-with-deps.drv",
  "inputDrvs": {
    "/nix/store/6sn8q8ssw50vvski2mifkyl8fqjjhbzs-stdenv-linux.drv": [
      "out"
    ],
    "/nix/store/ajyjyxv7h6syp806k4wbk032zh98gmfi-dep-a.drv": [
      "out"
    ],
    "/nix/store/c3pxij9ivzj8b6zqv4sadbcwl6iglc9v-dep-b.drv": [
      "out"
    ],
    "/nix/store/lvnmaggm7nb8nndjps5lkmmcig0spdrr-bash-5.2p32.drv": [
      "out"
    ]
  },
  "isCached": false,
  "name": "package-with-deps",
  "neededBuilds": [
    "/nix/store/ajyjyxv7h6syp806k4wbk032zh98gmfi-dep-a.drv",
    "/nix/store/c3pxij9ivzj8b6zqv4sadbcwl6iglc9v-dep-b.drv",
    "/nix/store/9404n8q0sczpabca39gj0l8yd8612nl1-package-with-deps.drv"
  ],
  "neededSubstitutes": [],
  "outputs": {
    "out": "/nix/store/0algx0219hm8jyg8hjxqilklbfgldkah-package-with-deps"
  },
  "system": "x86_64-linux"
}

@Mic92 Mic92 changed the title use different cache flags per arch expose required builds and substitutes Sep 2, 2024
@Mic92 Mic92 force-pushed the expose-more-build-status branch 2 times, most recently from ff64689 to 91ca6cf Compare September 2, 2024 07:27
@Mic92 Mic92 force-pushed the expose-more-build-status branch 3 times, most recently from 99b87e2 to e5a2c00 Compare October 10, 2024 11:12
@Mic92 Mic92 force-pushed the expose-more-build-status branch from e5a2c00 to 373b712 Compare November 26, 2024 06:00
@Mic92 Mic92 force-pushed the expose-more-build-status branch from 373b712 to 1d27d2f Compare December 10, 2024 09:03
@Mic92 Mic92 force-pushed the expose-more-build-status branch from 1d27d2f to 12fb8d5 Compare January 6, 2025 12:36
@Mic92 Mic92 marked this pull request as ready for review January 6, 2025 12:36
@Mic92
Copy link
Member Author

Mic92 commented Jan 6, 2025

cc @Ericson2314 for review

@Mic92 Mic92 force-pushed the expose-more-build-status branch from 12fb8d5 to 4336dc4 Compare January 6, 2025 12:49
@Mic92 Mic92 merged commit 61ea508 into main Jan 6, 2025
19 checks passed
@Mic92 Mic92 deleted the expose-more-build-status branch January 6, 2025 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant