From 058eeda945ad8ad3e1022fd8a76cca79c74cf2cf Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 12 Feb 2023 22:18:29 +0100 Subject: [PATCH] source-and-tags: deprecate phases --- pkgs/misc/source-and-tags/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/misc/source-and-tags/default.nix b/pkgs/misc/source-and-tags/default.nix index 966a451c060c..6d0b93b2daca 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"