Skip to content

Add flakes as experimental feature to Nix config #607

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

Merged
merged 3 commits into from
May 14, 2024
Merged

Conversation

sbernauer
Copy link
Member

Fixes

trino-operat… │ Running cmd: make regenerate-nix && nix-build . -A docker --argstr dockerName "${EXPECTED_REGISTRY}/trino-operator" && ./result/load-image | docker load
trino-operat… │ make[1]: Entering directory '/home/sbernauer/stackabletech/trino-operator'
trino-operat… │ nix run -f . regenerateNixLockfiles
trino-operat… │ error:
trino-operat… │        … while calling the 'derivationStrict' builtin
trino-operat… │ 
trino-operat… │          at /derivation-internal.nix:9:12:
trino-operat… │ 
trino-operat… │             8|
trino-operat… │             9|   strict = derivationStrict drvAttrs;
trino-operat… │              |            ^
trino-operat… │            10|
trino-operat… │ 
trino-operat… │        … while evaluating derivation 'regenerate-nix-lockfiles'
trino-operat… │          whose name attribute is located at /nix/store/gm0k19k4131pblz3pji7dzbc27zm0pv0-nixpkgs-src/pkgs/stdenv/generic/make-derivation.nix:331:7
trino-operat… │ 
trino-operat… │        … while evaluating attribute 'text' of derivation 'regenerate-nix-lockfiles'
trino-operat… │ 
trino-operat… │          at /nix/store/gm0k19k4131pblz3pji7dzbc27zm0pv0-nixpkgs-src/pkgs/build-support/trivial-builders/default.nix:103:16:
trino-operat… │ 
trino-operat… │           102|       ({
trino-operat… │           103|         inherit text executable checkPhase allowSubstitutes preferLocalBuild;
trino-operat… │              |                ^
trino-operat… │           104|         passAsFile = [ "text" ]
trino-operat… │ 
trino-operat… │        error: attribute 'fetchTree' missing
trino-operat… │ 
trino-operat… │        at /nix/store/xnxmzwkgf4vnq2vhivk7mzrg3vmsasqw-crate2nix-src/crate2nix/default.nix:6:15:
trino-operat… │ 
trino-operat… │             5|     in
trino-operat… │             6|     import "${builtins.fetchTree flakeLock.nodes.nixpkgs.locked}" { }
trino-operat… │              |               ^
trino-operat… │             7|   )
trino-operat… │ make[1]: *** [Makefile:147: regenerate-nix] Error 1
trino-operat… │ make[1]: Leaving directory '/home/sbernauer/stackabletech/trino-operator'

@sbernauer sbernauer self-assigned this May 10, 2024
Copy link

netlify bot commented May 10, 2024

Deploy Preview for stackable-docs ready!

Name Link
🔨 Latest commit 5c41293
🔍 Latest deploy log https://app.netlify.com/sites/stackable-docs/deploys/663dc90c6c80230008bb3cf2
😎 Deploy Preview https://deploy-preview-607--stackable-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sbernauer sbernauer added this pull request to the merge queue May 14, 2024
Merged via the queue into main with commit e2748ed May 14, 2024
6 checks passed
@sbernauer sbernauer deleted the fix/nix-docs branch May 14, 2024 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants