Skip to content

Commit

Permalink
[nix] replace src population with master branch
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin committed Jan 21, 2024
1 parent 7c36a50 commit 57c149c
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions nix/t1/configgen.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib'
{ lib
, stdenvNoCC
, fetchMillDeps
, mill
Expand All @@ -10,17 +10,25 @@
stdenvNoCC.mkDerivation rec {
name = "t1-configgen";

src = lib'.sourceFilesByPrefixes ./../.. [
"/build.sc"
"/common.sc"
"/t1"
"/configgen"
];
sourceRoot = src.name;
src = (with lib.fileset; toSource {
root = ./../..;
fileset = unions [
./../../build.sc
./../../common.sc
./../../t1
./../../configgen
];
}).outPath;

passthru.millDeps = fetchMillDeps {
inherit name;
src = lib'.sourceFilesByPrefixes ./../.. [ "/build.sc" "/common.sc" ];
src = (with lib.fileset; toSource {
root = ./../..;
fileset = unions [
./../../build.sc
./../../common.sc
];
}).outPath;
millDepsHash = "sha256-3ueeJddftivvV5jQtg58sKKwXv0T2vkGxblenYFjrso=";
nativeBuildInputs = [ submodules.setupHook ];
};
Expand Down

0 comments on commit 57c149c

Please sign in to comment.