diff options
author | EuAndreh <eu@euandre.org> | 2019-06-13 11:16:31 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-13 11:16:31 -0300 |
commit | 9873dba2f4e773e28e9bb812d52a6b8fb56a172d (patch) | |
tree | 50dc729722da8974929f14741fa8c77ff916aea4 | |
parent | Add 1 git-crypt collaborator (diff) | |
download | toph-9873dba2f4e773e28e9bb812d52a6b8fb56a172d.tar.gz toph-9873dba2f4e773e28e9bb812d52a6b8fb56a172d.tar.xz |
utils.nix: Fix shell derivation function helpers
-rw-r--r-- | utils.nix | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |