baserow: 1.13.3 -> 1.16.0
This commit is contained in:
parent
3eaa849f81
commit
f3bf63c484
3 changed files with 1690 additions and 2290 deletions
|
@ -10,13 +10,13 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.13.3";
|
version = "1.16.0";
|
||||||
suffix = lib.optionalString ossOnly "-oss";
|
suffix = lib.optionalString ossOnly "-oss";
|
||||||
src' = fetchFromGitLab {
|
src' = fetchFromGitLab {
|
||||||
owner = "bramw";
|
owner = "bramw";
|
||||||
repo = "baserow";
|
repo = "baserow";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "00fi5hqz55k08y7wwds42d1z6q1ax2hpb2x5fi1nyc3ymk7khr09";
|
sha256 = "02ij94cqk5f0lsy8qiz0zrm9087swji9lxqbzy64jf1drqsdjj7a";
|
||||||
};
|
};
|
||||||
src = if ossOnly then pkgs.runCommand "${src'.name}${suffix}" {} ''
|
src = if ossOnly then pkgs.runCommand "${src'.name}${suffix}" {} ''
|
||||||
cp -R ${src'} $out
|
cp -R ${src'} $out
|
||||||
|
|
|
@ -530,12 +530,15 @@ let
|
||||||
then
|
then
|
||||||
ln -s $out/lib/node_modules/.bin $out/bin
|
ln -s $out/lib/node_modules/.bin $out/bin
|
||||||
|
|
||||||
# Patch the shebang lines of all the executables
|
# Fixup all executables
|
||||||
ls $out/bin/* | while read i
|
ls $out/bin/* | while read i
|
||||||
do
|
do
|
||||||
file="$(readlink -f "$i")"
|
file="$(readlink -f "$i")"
|
||||||
chmod u+rwx "$file"
|
chmod u+rwx "$file"
|
||||||
patchShebangs "$file"
|
if isScript "$file"
|
||||||
|
then
|
||||||
|
sed -i 's/\r$//' "$file" # convert crlf to lf
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue