mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-04-15 04:33:08 +00:00
16 lines
482 B
Nix
16 lines
482 B
Nix
# Fetches Nimble at the exact revision pinned in nimble.lock.
|
|
# Regenerate sha256 with:
|
|
# nix shell nixpkgs#nix-prefetch-git --command \
|
|
# nix-prefetch-git --url <url> --rev <vcsRevision> --fetch-submodules
|
|
{ pkgs }:
|
|
let
|
|
lock = builtins.fromJSON (builtins.readFile ../nimble.lock);
|
|
entry = lock.packages.nimble;
|
|
in
|
|
pkgs.fetchgit {
|
|
url = entry.url;
|
|
rev = entry.vcsRevision;
|
|
sha256 = "1q3mpv0b5a0hhvdfn2c1f03hjbdwfam894vym14i3dm23qin2i5z";
|
|
fetchSubmodules = true;
|
|
}
|