ignore all result* links

This commit is contained in:
Adithya 2024-05-24 22:54:00 +05:30
parent 84f2fdd93b
commit 5ea9c63f9d
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C
3 changed files with 4 additions and 3 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
result
result*

View file

@ -29,7 +29,7 @@
ninja
cmake
pkg-config
]) ++ (with packages; [ libgovarnam ]);
]) ++ (with packages; [ libgovarnam varnam-cli ]);
};
packages = {
inherit (packages) libgovarnam varnam-cli fcitx5-varnam;

View file

@ -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
'';