WIP: destructure pkgs argument in package modules #395
No reviewers
Labels
No labels
0 points
0.5 points
1 point
13 points
2 points
21 points
3 points
34 points
5 points
55 points
8 points
ambition
application-offering
ambition
configure-applications
ambition
front-end
ambition/install-applications
ambition
security
ambition
switch-host
ambition
update-applications
ambition
user-management
api service
blocked
component: fediversity panel
component: nixops4
documentation
estimation high: >3d
estimation low: <2h
estimation mid: <8h
infinite points
productisation
project-management
question
role: application developer
role: application operator
role: hosting provider
role: maintainer
security
technical debt
testing
type unclear
type: bug
type: deliverable
type: key result
type: objective
type: task
type: user story
user experience
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
fediversity/fediversity!395
Loading…
Reference in a new issue
No description provided.
Delete branch "kiara/fediversity:destructure-packages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
restructures some initial package-structured modules, as a start to #93.
i mostly tried this for the learning experience, as i feel unsure as to how to approach this properly:
by default imports won't pass
pkgsin destructured form as well, unless usingpkgs.callPackage(or manually passing// pkgs), which:This change does not relate to #93, and arguably we don't need to expand the arguments --
pkgscan be taken from the test module argument, such as here: https://git.fediversity.eu/Fediversity/Fediversity/compare/main...fricklerhandwerk:peertube-test-refactor -- then the test is a module (as it should be, instead of a function call layering in apkgs) and we invoke it from the outside.On that note,
nix-build services -A tests.mastodonfails withand same for
pixelfed-garage. cc @Niols.@fricklerhandwerk wrote in Fediversity/Fediversity#395 (comment):
i believe those have been regressions on
maininduced as they never worked in CI (#34 / #33), tho i'm not sure #13 is still relevant.thanks, opened as #396 - closing in favor of that one then.
Pull request closed