Skip to content

nix: restore cli-app and cli derivations - #1763

Merged
tomhoule merged 2 commits into
mainfrom
gb-6858-restore-nix-derivation-for-grafbase-cli
Jun 11, 2024
Merged

tomhoule merged 2 commits into
mainfrom
gb-6858-restore-nix-derivation-for-grafbase-cli

Conversation

@tomhoule

Copy link
Copy Markdown
Contributor

Since c896aa3, we haven't been able to
build the Grafbase CLI as a nix derivation, due to the breaking upgrade
to pnpm 9 and the lack of support for pnpm 9 in pnpm2nix. Fortunately,
NixOS/nixpkgs#290715 was recently merging into
nixpkgs, so we can use pnpm_9.fetchDeps to re-instate the cli-app
derivation, and as a cascading effect build the cli derivation again.

tomhoule added 2 commits June 11, 2024 12:49
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/45ea0059fb325132fdc3c39faffb0941d25d08d3' (2024-04-18)
  → 'github:ipetkov/crane/a3f0c63eed74a516298932b9b1627dd80b9c3892' (2024-06-11)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d' (2024-04-01)
  → 'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8' (2024-06-01)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/d8fe5e6c92d0d190646fb9f1056741a229980089?dir=lib' (2024-03-29)
  → 'https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz?narHash=sha256-lIbdfCsf8LMFloheeE6N31%2BBMIeixqyQWbSr2vk79EQ%3D' (2024-06-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d764f230634fa4f86dc8d01c6af9619c7cc5d225' (2024-04-18)
  → 'github:NixOS/nixpkgs/3bcedce9f4de37570242faf16e1e143583407eab' (2024-06-09)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/1e9264d1214d3db00c795b41f75d55b5e153758e' (2024-04-19)
  → 'github:oxalica/rust-overlay/bedc47af18fc41bb7d2edc2b212d59ca36253f59' (2024-06-11)
Since c896aa3, we haven't been able to
build the Grafbase CLI as a nix derivation, due to the breaking upgrade
to pnpm 9 and the lack of support for pnpm 9 in pnpm2nix. Fortunately,
NixOS/nixpkgs#290715 was recently merging into
nixpkgs, so we can use pnpm_9.fetchDeps to re-instate the cli-app
derivation, and as a cascading effect build the cli derivation again.
@linear

linear Bot commented Jun 11, 2024

Copy link
Copy Markdown

@tomhoule
tomhoule marked this pull request as ready for review June 11, 2024 11:47
@tomhoule
tomhoule requested a review from a team as a code owner June 11, 2024 11:47
@tomhoule
tomhoule requested a review from jakubadamw June 11, 2024 11:47
@tomhoule
tomhoule merged commit 2658f0b into main Jun 11, 2024
@tomhoule
tomhoule deleted the gb-6858-restore-nix-derivation-for-grafbase-cli branch June 11, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants