Skip to content

isd-project/minimal-versioningit-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minimal uv2nix versioningit example

Running uv build creates the correct output and detects the correct version v0.1.0.

But running nix build .# fails as the .git repository is skipped:

>     raise type(e)(message) from None
       > RuntimeError: Error getting the version from source `versioningit`: NotSdistError: /build/vxbbmhg4a4j8rvcvfz93s7rqm06jd31m-source does not contain a PKG-INFO file
       >
       > versioningit could not find a version for the project in /build/vxbbmhg4a4j8rvcvfz93s7rqm06jd31m-source!
       >
       > You may be installing from a shallow clone, in which case you need to unshallow it first.
       >
       > Alternatively, you may be installing from a Git archive, which is not supported by default.  Install from a git+https://... URL instead.
       >
       >
       >   x Failed to build `/build/vxbbmhg4a4j8rvcvfz93s7rqm06jd31m-source`
       >   |-> The build backend returned an error
       >   `-> Call to `hatchling.build.build_wheel` failed (exit status: 1)
       >       hint: This usually indicates a problem with the package or the build
       >       environment.
       For full logs, run 'nix log /nix/store/ma77r728sjmnds5fmbs3glw9vbram3mp-minimal-versioningit.drv'.
error: builder for '/nix/store/ma77r728sjmnds5fmbs3glw9vbram3mp-minimal-versioningit.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/0dvlfsspx56i66hif8bzj52rq4s17f53-minimal-versioningit-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9cj5k5jrk5k4ybada65rmgrm5hbjdrgd-minimal-versioningit-0.1.0.drv' failed to build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published