From b96cc8fb8646923e1f9616f64495d58120f409f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 22 Apr 2018 16:43:18 +0100 Subject: [PATCH] Revert "nix-pin: add `passthru.updateScript`" This reverts commit 146dabd4aca9794f685528d2b247cb72f2fc54bd. breaks evaluation --- pkgs/tools/package-management/nix-pin/default.nix | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pkgs/tools/package-management/nix-pin/default.nix b/pkgs/tools/package-management/nix-pin/default.nix index 72cea4de5021..e2c18f33d61d 100644 --- a/pkgs/tools/package-management/nix-pin/default.nix +++ b/pkgs/tools/package-management/nix-pin/default.nix @@ -20,19 +20,6 @@ let self = stdenv.mkDerivation rec { let api = import "${self}/share/nix/api.nix" { inherit pkgs; }; in { inherit (api) augmentedPkgs pins callPackage; - updateScript = '' - set -e - echo - cd ${toString ./.} - ${pkgs.nix-update-source}/bin/nix-update-source \ - --prompt version \ - --replace-attr version \ - --set owner timbertson \ - --set repo nix-pin \ - --set type fetchFromGitHub \ - --set rev 'version-{version}' \ - --modify-nix default.nix - ''; }; meta = with stdenv.lib; { homepage = "https://github.com/timbertson/nix-pin";