ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

reduce fileset of injectedFlakeDir

marshmallow 74b27e0f b813261c

+9 -1
+9 -1
tests/nix/default.nix
··· 87 87 str: lib.strings.sanitizeDerivationName (builtins.replaceStrings [ "." ] [ "_" ] str); 88 88 identifier = sanitizeName "${nixpkgs.legacyPackages.lib.trivial.release}-${nixPackage.name}"; 89 89 path = "tests/nix/suite/${testName}"; 90 + 91 + flakeDirFileset = lib.fileset.toSource { 92 + root = ../..; 93 + fileset = lib.fileset.union ./. ( 94 + lib.fileset.fileFilter (file: (file.hasExt "nix") || (file.hasExt "lock")) ../.. 95 + ); 96 + }; 97 + 90 98 injectedFlakeDir = pkgs.runCommand "injected-flake-dir" { } '' 91 - cp -r ${../..} $out 99 + cp -r ${flakeDirFileset} $out 92 100 chmod -R +w $out 93 101 substituteInPlace $out/${path}/hive.nix --replace-fail @IDENT@ ${identifier} 94 102 '';