diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2023-06-29 16:23:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 16:23:35 +0200 |
commit | bc8aa1cdb090e65c64fd3c9a6d95c03448c8c2d9 (patch) | |
tree | ed9c66d0c4a5ef3811a9b0618d4d8e8bcc26417a | |
parent | 16b76678e3ae27a6cfa40f43f701e6b294abd7ce (diff) | |
parent | 058eeda945ad8ad3e1022fd8a76cca79c74cf2cf (diff) |
Merge pull request #216063 from Stunkymonkey/source-and-tags-phases
-rw-r--r-- | pkgs/misc/source-and-tags/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/misc/source-and-tags/default.nix b/pkgs/misc/source-and-tags/default.nix index 88ed7a477251..eb243aa4f9b8 100644 --- a/pkgs/misc/source-and-tags/default.nix +++ b/pkgs/misc/source-and-tags/default.nix @@ -12,13 +12,12 @@ # tag command must create file named $TAG_FILE sourceWithTagsDerivation = {name, src, srcDir ? ".", tagSuffix ? "_tags", createTagFiles ? []} : stdenv.mkDerivation { - phases = "unpackPhase buildPhase"; inherit src srcDir tagSuffix; name = "${name}-source-with-tags"; nativeBuildInputs = [ unzip ]; # using separate tag directory so that you don't have to glob that much files when starting your editor # is this a good choice? - buildPhase = + installPhase = let createTags = lib.concatStringsSep "\n" (map (a: '' TAG_FILE="$SRC_DEST/${a.name}$tagSuffix" |