diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-12-17 12:27:42 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-12-17 15:46:29 +0100 |
commit | 3689d431074c3bdc40646d593b273708d8792259 (patch) | |
tree | 4d5fa3920762f0f655e53ade5c272c827e86f82e /Documentation | |
parent | 9f8a8aafa37624360df15c14472b071269810e38 (diff) | |
download | spectrum-3689d431074c3bdc40646d593b273708d8792259.tar spectrum-3689d431074c3bdc40646d593b273708d8792259.tar.gz spectrum-3689d431074c3bdc40646d593b273708d8792259.tar.bz2 spectrum-3689d431074c3bdc40646d593b273708d8792259.tar.lz spectrum-3689d431074c3bdc40646d593b273708d8792259.tar.xz spectrum-3689d431074c3bdc40646d593b273708d8792259.tar.zst spectrum-3689d431074c3bdc40646d593b273708d8792259.zip |
pkgs: use filesets for src
This will make it possible later to specify which directories actually need to be present to build a component, so changing a single file somewhere won't force rebuilds of every Spectrum component. Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/default.nix b/Documentation/default.nix index 94d4741..b58b531 100644 --- a/Documentation/default.nix +++ b/Documentation/default.nix @@ -4,12 +4,15 @@ import ../lib/call-package.nix -({ callSpectrumPackage, src, stdenvNoCC, jekyll, drawio-headless }: +({ callSpectrumPackage, src, lib, stdenvNoCC, jekyll, drawio-headless }: stdenvNoCC.mkDerivation { name = "spectrum-docs"; - inherit src; + src = lib.fileset.toSource { + root = ../.; + fileset = src; + }; sourceRoot = "source/Documentation"; buildPhase = '' |