Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
ZKAPAuthorizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Administrator
ZKAPAuthorizer
Commits
ebf7a3bf
Commit
ebf7a3bf
authored
3 years ago
by
Tom Prince
Browse files
Options
Downloads
Patches
Plain Diff
Fix comments.
parent
9d372606
Branches
Branches containing commit
No related tags found
1 merge request
!239
Switch to using mach-nix for python packaging.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
default.nix
+9
-4
9 additions, 4 deletions
default.nix
with
9 additions
and
4 deletions
default.nix
+
9
−
4
View file @
ebf7a3bf
...
...
@@ -9,6 +9,9 @@ in
let
providers
=
{
_default
=
"sdist,nixpkgs,wheel"
;
# mach-nix doesn't provide a good way to depend on mach-nix packages,
# so we get it as a nixpkgs dependency from an overlay. See below for
# details.
tahoe-lafs
=
"nixpkgs"
;
# not packaged in nixpkgs at all, we can use the binary wheel from
# pypi though.
...
...
@@ -51,11 +54,13 @@ in
name
=
"zero-knowledge-access-pass-authorizer"
;
src
=
./.
;
inherit
providers
;
# We need to specify requirements here, since mach-nix does not
# grab reqs from nixpkg dependencies
# TODO: File issue
# mach-nix does not provide a way to specify dependencies on other
# mach-nix packages, that incorporates the requirements and overlays
# of that package.
# See https://github.com/DavHau/mach-nix/issues/123
# In particular, we explicitly include the requirements of tahoe-lafs
# here, and include it in a python package overlay.
requirementsExtra
=
tahoe-lafs
.
requirements
;
# Add
overridesPre
=
[
(
self
:
super
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment