summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorYueh-Shun Li <shamrocklee@posteo.net>2023-07-14 05:19:15 +0800
committerYueh-Shun Li <shamrocklee@posteo.net>2023-12-07 22:28:30 +0000
commit79a1e9d729d3703945b2cd46c725ba1f0255a358 (patch)
treecba133d816587f96f13831be0335c474440599de /pkgs/development/python-modules/rangehttpserver
parent1d56e7909d692b4a8cd52d8d503391e63f279c7a (diff)
tests.trivial-builders.references: refactor expression
Define package `testScriptBin` that contains the substituted test script. * Add an `installCheckPhase` to check the result script with ShellCheck. * Passthru as `references.testScriptBin` to run the (substituted) test script directly (without VM). * Drop the logic in build script that detects if it is run in the Nix sandbox. * Inline sample application; drop invoke-*.nix. Format expressions. * Format with `nixpkgs-fmt`. * Use multi-line style of set patterns. Call the samples with `callPackage`. * Rename `sample` -> `samples`. * Take individual packages / build helpers directly from the set pattern. * Define `cleanSamples` to filter out overriders such as `<pkg>.override`. added by `callPackage`. Passthru samples and invocation results for easier debugging. * Passthru samples, references, directReferences * Provide tests.trivial-builders.writeStringReferencesToFile with such samples argument.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions