chore: supabase-cli depuis nixpkgs-unstable pour avoir une version plus récente

This commit is contained in:
Jalil Arfaoui 2026-02-28 00:05:20 +01:00
parent 080824011d
commit e945c77469
2 changed files with 27 additions and 7 deletions

25
flake.lock generated
View file

@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1751741127,
"narHash": "sha256-t75Shs76NgxjZSgvvZZ9qOmz5zuBE8buUaYD28BMTxg=",
"lastModified": 1767313136,
"narHash": "sha256-16KkgfdYqjaeRGBaYsNrhPRRENs0qzkQVUooNHtoy2w=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "29e290002bfff26af1db6f64d070698019460302",
"rev": "ac62194c3917d5f474c1a844b6fd6da2db95077d",
"type": "github"
},
"original": {
@ -16,9 +16,26 @@
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1772082373,
"narHash": "sha256-wySf8a6hvuqgFdwvvzPPTARBCMLDz7WFAufGkllD1M4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "26eaeac4e409d7b5a6bf6f90a2a2dc223c78d915",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable"
}
}
},

View file

@ -3,9 +3,10 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs }:
outputs = { self, nixpkgs, nixpkgs-unstable }:
let
systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
@ -14,11 +15,13 @@
devShells = forAllSystems (system:
let
pkgs = import nixpkgs { inherit system; };
unstable = import nixpkgs-unstable { inherit system; };
in
{
default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
nodejs_22 supabase-cli
nativeBuildInputs = [
pkgs.nodejs_22
unstable.supabase-cli
];
shellHook = ''