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.