1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

Merge pull request #118187 from thiagokokada/bump-hover

hover: 0.46.2 -> 0.46.3
This commit is contained in:
Sandro 2021-04-01 09:42:51 +02:00 committed by GitHub
commit 90283ed5e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@
let
pname = "hover";
version = "0.46.2";
version = "0.46.3";
libs = with xorg; [
libX11.dev
@ -46,13 +46,13 @@ let
subPackages = [ "." ];
vendorSha256 = "0hdh4vwzvwlarjzg6pv9dp665r9px9yplfjpgyyfjyy5b9sxl795";
vendorSha256 = "sha256-qTBGmONlcFJcN+9bMZbVY+6kOQ97JmJWWvgmNeDWBL0=";
src = fetchFromGitHub {
rev = "v${version}";
owner = "go-flutter-desktop";
repo = pname;
sha256 = "1gmsv7hmj7zzfwbz50az3kvgzqvj0jn8i2pv7sjyl9dx1bavi5g3";
sha256 = "sha256-0qzbRzpqoZcAt3k52+omqZ3Fq1KdS++wPpQkBkG1p6o=";
};
nativeBuildInputs = [ addOpenGLRunpath makeWrapper ];

View file

@ -53,7 +53,7 @@ index cb75563..3822e80 100644
-func ExecuteTemplateFromAssetsBox(boxed, to string, assetsBox *rice.Box, templateData interface{}) {
- templateString, err := assetsBox.String(boxed)
+func ExecuteTemplateFromAssetsBox(boxed, to string, assetsBox string, templateData interface{}) {
+ templateString, err := ioutil.ReadFile(boxed + "/" + boxed)
+ templateString, err := ioutil.ReadFile(assetsBox + "/" + boxed)
if err != nil {
log.Errorf("Failed to find template file: %v\n", err)
os.Exit(1)