Search Criteria
Package Details: nixfmt 0.6.0-4
Package Actions
Git Clone URL: | https://aur.archlinux.org/nixfmt.git (read-only, click to copy) |
---|---|
Package Base: | nixfmt |
Description: | A formatter for Nix code |
Upstream URL: | https://github.com/serokell/nixfmt |
Keywords: | nix nixos |
Licenses: | MPL2 |
Submitter: | JamieMagee |
Maintainer: | JamieMagee |
Last Packager: | JamieMagee |
Votes: | 2 |
Popularity: | 0.000000 |
First Submitted: | 2020-06-21 15:13 (UTC) |
Last Updated: | 2023-10-31 23:49 (UTC) |
Dependencies (2)
- ghc (ghc-cabal-artsAUR)
- cabal-install (cabal-install-gitAUR, ghc-cabal-artsAUR, cabal-install-binAUR) (make)
Latest Comments
Misaka13514 commented on 2024-01-28 06:10 (UTC)
ELF file ('usr/bin/nixfmt') lacks FULL RELRO and PIE. https://wiki.archlinux.org/title/Haskell_package_guidelines#PKGBUILD_library_example
Please follow Arch Linux RFC16: use SPDX license identifier in PKGBUILD. https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0016-spdx-license-identifiers.rst
JamieMagee commented on 2021-03-08 01:47 (UTC)
Thanks for the patch. It's available in the latest change.
lunik1 commented on 2021-02-17 16:29 (UTC)
This patch will fix the build
diff --git a/PKGBUILD b/PKGBUILD index e5c658d..a536193 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -20,6 +20,8 @@ build() {
package() { cd "${srcdir}/${pkgname}-${pkgver}" + mkdir -p "${pkgdir}/usr/lib" install -m 755 -D "$(find . -name "nixfmt" -type f)" "${pkgdir}/usr/bin/nixfmt" + install -m 755 -D "$(find . -name "libHSnixfmt*.so" -type f)" "${pkgdir}/usr/lib/" install -m 644 -D LICENSE "${pkgdir}/usr/share/licenses/nixfmt/LICENSE" }
ckie commented on 2020-12-14 22:40 (UTC)
lunik1: can reproduce, getting the same error
lunik1 commented on 2020-10-17 14:29 (UTC)
I get "nixfmt: error while loading shared libraries: libHSnixfmt-0.4.0-inplace-ghc8.10.2.so: cannot open shared object file: No such file or directory" when trying to use nixfmt.