From 9873dba2f4e773e28e9bb812d52a6b8fb56a172d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 13 Jun 2019 11:16:31 -0300 Subject: utils.nix: Fix shell derivation function helpers --- utils.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'utils.nix') diff --git a/utils.nix b/utils.nix index 438a5d8..ac49ac2 100644 --- a/utils.nix +++ b/utils.nix @@ -90,11 +90,10 @@ in rec { ''; }); shellEnvironment = shellBuildInputs: - baseTask.overrideAttrs (baseAttrs: - pkgs.mkshell { - name = "${baseAttrs.name}-shell"; + pkgs.mkShell { + name = "${baseName}-shell"; buildInputs = shellBuildInputs; - }); + }; overwritingPublishScript = { docsDerivation, overwrite ? true }: pkgs.writeShellScriptBin "publish.sh" '' set -euo pipefail -- cgit v1.2.3