diff options
author | Bryan Lai <bryanlais@gmail.com> | 2024-01-07 18:47:47 +0800 |
---|---|---|
committer | Bryan Lai <bryanlais@gmail.com> | 2024-01-08 19:42:16 +0800 |
commit | df62c3c87f35cd50d6ee20ea92900bb03ad827c9 (patch) | |
tree | f1d174b0787fff484f849b8fdc6e9a37ecfcaa44 /pkgs/test | |
parent | 9ff61712cb18bcd0ca1f1ec1b8cb1a75ad634263 (diff) |
checkpointBuildTools: mkCheckpointedBuild -> mkCheckpointBuild
All other functions are in the form of `*{c,C}heckpointBuild*`, so we deprecate the `mkCheckpointedBuild` function in favor of `mkCheckpointBuild`. Also address some inconsistencies in the docs: some `buildOutput` should actually be `incrementalBuildArtifacts`.
Diffstat (limited to 'pkgs/test')
-rw-r--r-- | pkgs/test/checkpointBuild/default.nix | 4 | ||||
-rw-r--r-- | pkgs/test/default.nix | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/test/checkpointBuild/default.nix b/pkgs/test/checkpointBuild/default.nix index 4a59760230a6e..9237262640999 100644 --- a/pkgs/test/checkpointBuild/default.nix +++ b/pkgs/test/checkpointBuild/default.nix @@ -10,7 +10,7 @@ let patch -p1 < ${./hello.patch} ''; }); - checkpointBuiltHello = checkpointBuildTools.mkCheckpointedBuild patchedHello baseHelloArtifacts; + checkpointBuiltHello = checkpointBuildTools.mkCheckpointBuild patchedHello baseHelloArtifacts; checkpointBuiltHelloWithCheck = checkpointBuiltHello.overrideAttrs (old: { doCheck = true; @@ -41,7 +41,7 @@ let ''; }); - checkpointBuiltHelloWithRemovedFile = checkpointBuildTools.mkCheckpointedBuild patchedHelloRemoveFile baseHelloRemoveFileArtifacts; + checkpointBuiltHelloWithRemovedFile = checkpointBuildTools.mkCheckpointBuild patchedHelloRemoveFile baseHelloRemoveFileArtifacts; in stdenv.mkDerivation { name = "patched-hello-returns-correct-output"; diff --git a/pkgs/test/default.nix b/pkgs/test/default.nix index 1459e9c310da9..30a284fd1fc36 100644 --- a/pkgs/test/default.nix +++ b/pkgs/test/default.nix @@ -113,7 +113,7 @@ with pkgs; install-shell-files = callPackage ./install-shell-files {}; - checkpoint-build = callPackage ./checkpointBuild {}; + checkpointBuildTools = callPackage ./checkpointBuild {}; kernel-config = callPackage ./kernel.nix {}; |