Skip to content

Commit fb7dcb1

Browse files
rtfm: 0.6.1 -> 0.6.2 (NixOS#397796)
2 parents f55cd8f + 6ba0043 commit fb7dcb1

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

pkgs/by-name/rt/rtfm/package.nix

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
writeShellScript,
2121
}:
2222
let
23-
version = "0.6.1";
23+
version = "0.6.2";
2424

2525
src = fetchFromGitHub {
2626
owner = "hugopl";
2727
repo = "rtfm";
2828
tag = "v${version}";
29-
hash = "sha256-qWQ2V7o7swbnXGgPOcnZ5Mg/SpjHOYpaD1HL6kgutCs=";
29+
hash = "sha256-0yKldVTZdFV1Tj1MUI7TCqF3Ho/D7NOGR9UuLaLUFdo=";
3030
};
3131

3232
gtk-doc =
@@ -60,16 +60,13 @@ crystal.buildCrystalPackage {
6060
--replace-fail 'doc_source = Path.new(ARGV[0]? || "/usr/share/doc/crystal/api")' 'doc_source = Path.new(ARGV[0]? || "${crystal}/share/doc/crystal/api")'
6161
substituteInPlace src/doc2dash/docset_builder.cr \
6262
--replace-fail 'File.copy(original, real_dest)' 'File.copy(original, real_dest); File.chmod(real_dest, 0o600)'
63-
substituteInPlace Makefile \
64-
--replace-fail 'shards install' 'true'
6563
'';
6664

6765
preBuild = ''
6866
cd lib/gi-crystal
6967
shards build -Dpreview_mt --release --no-debug
7068
cd ../..
71-
mkdir bin/
72-
cp lib/gi-crystal/bin/gi-crystal bin/
69+
install -Dm755 lib/gi-crystal/bin/gi-crystal bin/gi-crystal
7370
'';
7471

7572
buildTargets = [ "all" ];
@@ -91,6 +88,8 @@ crystal.buildCrystalPackage {
9188
glib-compile-schemas $out/share/glib-2.0/schemas
9289
'';
9390

91+
doInstallCheck = false;
92+
9493
passthru = {
9594
updateScript = _experimental-update-script-combinators.sequence [
9695
(gitUpdater { rev-prefix = "v"; })

pkgs/by-name/rt/rtfm/shards.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
};
1212
gi-crystal = {
1313
url = "https://github.com/hugopl/gi-crystal.git";
14-
rev = "v0.24.0";
15-
sha256 = "0x356xn35008l573qhyl1sdddc9cc5i3bsa4c7865kgq9521ifyh";
14+
rev = "69388976418f5cc5ebc0cb7fb6aae5efd345ce8d";
15+
sha256 = "15ayic628ma1h7b56bx11y8yl361qrpxlqngy0jkv793v7vpwd9b";
1616
};
1717
gtk4 = {
1818
url = "https://github.com/hugopl/gtk4.cr.git";

0 commit comments

Comments
 (0)