chore(*): drop everything that is not required for Tvix
Co-Authored-By: edef <edef@edef.eu> Co-Authored-By: Ryan Lahfa <raito@lix.systems> Change-Id: I9817214c3122e49d694c5e41818622a08d9dfe45
This commit is contained in:
parent
bd91cac1f3
commit
df4500ea2b
2905 changed files with 34 additions and 493328 deletions
|
|
@ -1,12 +0,0 @@
|
|||
{ depot, lib, ... }:
|
||||
|
||||
(
|
||||
depot.nix.dependency-analyzer.knownDependencyGraph
|
||||
"depot"
|
||||
depot.ci.targets
|
||||
).overrideAttrs (old: {
|
||||
# Causes an infinite recursion via ci.targets otherwise
|
||||
meta = lib.recursiveUpdate (old.meta or { }) {
|
||||
ci.skip = true;
|
||||
};
|
||||
})
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{ depot, lib, ... }:
|
||||
|
||||
depot.nix.dependency-analyzer.knownDependencyGraph "3p-lisp" (
|
||||
builtins.filter lib.isDerivation (builtins.attrValues depot.third_party.lisp)
|
||||
)
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
{ depot, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (depot.nix.runTestsuite)
|
||||
runTestsuite
|
||||
assertEq
|
||||
it
|
||||
;
|
||||
|
||||
inherit (depot.nix.dependency-analyzer)
|
||||
plainDrvDepMap
|
||||
drvsToPaths
|
||||
;
|
||||
|
||||
knownDrvs = drvsToPaths (
|
||||
builtins.filter lib.isDerivation (builtins.attrValues depot.third_party.lisp)
|
||||
);
|
||||
exampleMap = plainDrvDepMap knownDrvs;
|
||||
|
||||
# These will be needed to index into the attribute set which can't have context
|
||||
# in the attribute names.
|
||||
knownDrvsNoContext = builtins.map builtins.unsafeDiscardStringContext knownDrvs;
|
||||
in
|
||||
|
||||
runTestsuite "dependency-analyzer" [
|
||||
(it "checks plainDrvDepMap properties" [
|
||||
(assertEq "all known drvs are marked known"
|
||||
(builtins.all (drv: exampleMap.${drv}.known) knownDrvsNoContext)
|
||||
true)
|
||||
(assertEq "no unknown drv is marked known"
|
||||
(builtins.all (entry: !entry.known) (
|
||||
builtins.attrValues (builtins.removeAttrs exampleMap knownDrvsNoContext)
|
||||
))
|
||||
true)
|
||||
])
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue