From 9d983e7831522d43ee32caf27fd85f73455ad640 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Tue, 21 Dec 2021 19:23:53 +0000 Subject: [PATCH] nix/pkgs/baserow: tie to tag for 1.7.1 --- nix/pkgs/baserow/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/nix/pkgs/baserow/default.nix b/nix/pkgs/baserow/default.nix index 662075eda6..4898206a1c 100644 --- a/nix/pkgs/baserow/default.nix +++ b/nix/pkgs/baserow/default.nix @@ -1,4 +1,4 @@ -{ fetchFromGitHub +{ fetchFromGitLab , pkgs , stdenv , makeWrapper @@ -7,10 +7,11 @@ }: let - src = fetchFromGitHub { - owner = "bram2w"; + version = "1.7.1"; + src = fetchFromGitLab { + owner = "bramw"; repo = "baserow"; - rev = "f61132a0fcb7e5620571155f7622766574ed52fd"; + rev = version; sha256 = "0jcisfhksrins33whwq46zg4r1101xvs2r0kcf1552x39r911gdg"; }; web-frontend-deps = import ./web-frontend { @@ -52,7 +53,7 @@ in web-frontend = stdenv.mkDerivation { name = "baserow-web-frontend"; - inherit src; + inherit src version; buildInputs = [ nodejs ]; nativeBuildInputs = [ makeWrapper ]; nodeDependencies = web-frontend-deps.shell.nodeDependencies; @@ -87,6 +88,7 @@ in }; backend = python.pkgs.baserow-backend.overridePythonAttrs (oldAttrs: { + inherit version; src = "${src}/backend"; prePatch = '' # Yeet. Just assume everything is installed in the environment already.