cargo-pgrx: prevent update of pinned versions
Hopefully it works this time.
This commit is contained in:
parent
4d4069361d
commit
68f8de6113
@ -56,24 +56,6 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
cargo-pgrx_0_12_0_alpha_1 = generic {
|
||||
version = "0.12.0-alpha.1";
|
||||
hash = "sha256-0m9oaqjU42RYyttkTihADDrRMjr2WoK/8sInZALeHws=";
|
||||
cargoHash = "sha256-zYjqE7LZLnTaVxWAPWC1ncEjCMlrhy4THtgecB7wBYY=";
|
||||
};
|
||||
|
||||
cargo-pgrx_0_12_6 = generic {
|
||||
version = "0.12.6";
|
||||
hash = "sha256-7aQkrApALZe6EoQGVShGBj0UIATnfOy2DytFj9IWdEA=";
|
||||
cargoHash = "sha256-pnMxWWfvr1/AEp8DvG4awig8zjdHizJHoZ5RJA8CL08=";
|
||||
};
|
||||
|
||||
cargo-pgrx_0_14_1 = generic {
|
||||
version = "0.14.1";
|
||||
hash = "sha256-oMToAhKkRiCyC8JYS0gmo/XX3QVcVtF5mUV0aQjd+p8=";
|
||||
cargoHash = "sha256-RawGAQGtG2QVDCMbwjmUEaH6rDeRiBvvJsGCY8wySw0=";
|
||||
};
|
||||
|
||||
# Default version for direct usage.
|
||||
# Not to be used with buildPgrxExtension, where it should be pinned.
|
||||
# When you make an extension use the latest version, *copy* this to a separate pinned attribute.
|
||||
@ -83,3 +65,4 @@ in
|
||||
cargoHash = "sha256-c+n1bJMO9254kT4e6exVNhlIouzkkzrRIOVzR9lZeg4=";
|
||||
};
|
||||
}
|
||||
// lib.mapAttrs (_: generic) (import ./pinned.nix)
|
||||
|
20
pkgs/development/tools/rust/cargo-pgrx/pinned.nix
Normal file
20
pkgs/development/tools/rust/cargo-pgrx/pinned.nix
Normal file
@ -0,0 +1,20 @@
|
||||
# nixpkgs-update: no auto update
|
||||
{
|
||||
cargo-pgrx_0_12_0_alpha_1 = {
|
||||
version = "0.12.0-alpha.1";
|
||||
hash = "sha256-0m9oaqjU42RYyttkTihADDrRMjr2WoK/8sInZALeHws=";
|
||||
cargoHash = "sha256-zYjqE7LZLnTaVxWAPWC1ncEjCMlrhy4THtgecB7wBYY=";
|
||||
};
|
||||
|
||||
cargo-pgrx_0_12_6 = {
|
||||
version = "0.12.6";
|
||||
hash = "sha256-7aQkrApALZe6EoQGVShGBj0UIATnfOy2DytFj9IWdEA=";
|
||||
cargoHash = "sha256-pnMxWWfvr1/AEp8DvG4awig8zjdHizJHoZ5RJA8CL08=";
|
||||
};
|
||||
|
||||
cargo-pgrx_0_14_1 = {
|
||||
version = "0.14.1";
|
||||
hash = "sha256-oMToAhKkRiCyC8JYS0gmo/XX3QVcVtF5mUV0aQjd+p8=";
|
||||
cargoHash = "sha256-RawGAQGtG2QVDCMbwjmUEaH6rDeRiBvvJsGCY8wySw0=";
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user