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 /img/app/default.nix | |
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 'img/app/default.nix')
-rw-r--r-- | img/app/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/img/app/default.nix b/img/app/default.nix index fa282ab..57dcddb 100644 --- a/img/app/default.nix +++ b/img/app/default.nix @@ -78,7 +78,10 @@ in stdenvNoCC.mkDerivation { name = "spectrum-appvm"; - inherit src; + src = lib.fileset.toSource { + root = ../..; + fileset = src; + }; sourceRoot = "source/img/app"; nativeBuildInputs = [ erofs-utils jq lseek s6-rc util-linux ]; |