Package Details: nix-git 2.2.r10010.g50cb14f-1

Git Clone URL: https://aur.archlinux.org/nix-git.git (read-only, click to copy)
Package Base: nix-git
Description: A purely functional package manager
Upstream URL: https://nixos.org/nix
Licenses: LGPL2
Conflicts: nix
Provides: nix
Submitter: atweiden
Maintainer: alerque
Last Packager: alerque
Votes: 5
Popularity: 0.025154
First Submitted: 2016-01-11 03:58 (UTC)
Last Updated: 2024-04-04 18:38 (UTC)

Required by (9)

Sources (6)

Latest Comments

1 2 Next › Last »

triarius commented on 2024-08-29 02:20 (UTC)

Look like it now requires toml11 as a dependency:

checking for toml.hpp... no
configure: error: toml11 is not found.

micwoj92 commented on 2024-04-04 18:45 (UTC)

Is it possible to change pkgver to use .version file as base? Then it would more closely show the "real version" instead of 2.2.r10010.g50cb14f-1 which might not work assuming some software would for example require nix>=2.3.

eclairevoyant commented on 2023-07-17 05:11 (UTC)

@alerque the issue was caused by the PKGBUILD using _GLIBCXX_USE_CXX11_ABI, so I removed that and provided some other improvements that we can discuss on the PR directly.

To your other point, I agree that VCS packages may occasionally break, but I would seriously doubt that the main build system/package manager on a distro which receives active development would be broken for months. And I think this package in particular should always build, since they have proper CI set up.

alerque commented on 2023-06-26 08:08 (UTC) (edited on 2023-06-26 08:09 (UTC) by alerque)

@eclairevoyant Re your orphan request, please consider sending patches. If I see good patches I'll add you or whoever as co-maintainers too. You can also send PRs against this repository.

I mostly synced this with the stable packaging in [extra]. There is still a build issue of some kind. We regularly have trouble with differences between stable releases and how they handle compiler flags, this looks like more of that. In between releases breaks frequently. I'm happy to patch this if people figure out what is going on at any given time, but I don't think the expectation is that a VCS package will always build.

AkechiShiro commented on 2022-09-22 09:34 (UTC)

Build is still failing with the same error as @SamLukeYes

SamLukeYes commented on 2022-04-24 06:29 (UTC) (edited on 2022-04-24 06:36 (UTC) by SamLukeYes)

nlohmann-json should be added to makedepends. After adding this dependency, build fails with the following error:

  LD     /usr/lib/libnixutil.so
/usr/bin/ld: cannot open output file /usr/lib/libnixutil.so: Permission denied
collect2: error: ld returned 1 exit status
make: *** [mk/lib.mk:117: /usr/lib/libnixutil.so] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/yes/build

alerque commented on 2021-11-16 18:49 (UTC)

@grawlinson Thanks for getting that working. Kind of a bummer, I did about 90% of that work a few days back but ran out of time to finish and hence we duplicated a lot of fiddling. Oh well. I'll work on migrating those changes over here.

Also we need to talk upstream into getting their stable tags merged to master so git describe gives sane results again.

grawlinson commented on 2021-11-16 04:01 (UTC)

Nix 2.4 is in testing, a few significant changes were required. Some of these changes should help this package compile again.

alerque commented on 2021-11-16 03:29 (UTC)

I brought this up to speed a lot with current build issues (largely copied from the stable builds) but there is still an issue with the ld step. I have the same issue trying to bump the stable build to 2.4. If anybody knows what is up with that please do let me know!

AkechiShiro commented on 2021-10-31 14:13 (UTC)

I found that the filename version was changed to ".version".

But I've met a new error, it seems there is a missing dependency :

configure: error: Package requirements (libcpuid) were not met:

Package 'libcpuid', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBCPUID_CFLAGS
and LIBCPUID_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
==> ERROR: A failure occurred in build().
    Aborting...