From 5ea9c63f9d5fce5ee8b14c870aee1580d3422fb8 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Fri, 24 May 2024 22:54:00 +0530 Subject: [PATCH] ignore all result* links --- .gitignore | 2 +- flake.nix | 2 +- govarnam/libgovarnam.nix | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b2be92b..fcfc4a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -result +result* diff --git a/flake.nix b/flake.nix index f0d0c46..309cf63 100644 --- a/flake.nix +++ b/flake.nix @@ -29,7 +29,7 @@ ninja cmake pkg-config - ]) ++ (with packages; [ libgovarnam ]); + ]) ++ (with packages; [ libgovarnam varnam-cli ]); }; packages = { inherit (packages) libgovarnam varnam-cli fcitx5-varnam; diff --git a/govarnam/libgovarnam.nix b/govarnam/libgovarnam.nix index 534b279..8bea219 100644 --- a/govarnam/libgovarnam.nix +++ b/govarnam/libgovarnam.nix @@ -25,7 +25,8 @@ buildGoModule rec { go build -tags "fts5" -buildmode=c-shared -ldflags \ "-s -w -X 'github.com/varnamproject/govarnam/govarnam.BuildString=${version} (\#0000000 1970-01-01T00:00:00+0000)' \ -X 'github.com/varnamproject/govarnam/govarnam.VersionString=${version}' \ - -extldflags "-Wl,-soname,${pname}.so.1,--version-script,${src}/govarnam.syms"" -o ${pname}.so . + -extldflags "-Wl,-soname,${pname}.so.1,--version-script,${src}/govarnam.syms"" \ + -o ${pname}.so . runHook postInstall '';