From a35566af2b02ea21f130a145205e1b34c4b3b3c7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 11 Mar 2008 10:26:50 +0000 Subject: [PATCH] * stdenv doesn't have an attribute named bash on FreeBSD (maybe it should). svn path=/nixpkgs/trunk/; revision=11053 --- pkgs/tools/typesetting/asciidoc/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/typesetting/asciidoc/default.nix b/pkgs/tools/typesetting/asciidoc/default.nix index 375e1fad6a37..373abac7e7a3 100644 --- a/pkgs/tools/typesetting/asciidoc/default.nix +++ b/pkgs/tools/typesetting/asciidoc/default.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation rec { sed -e 's,^#!/usr/bin/env python,#!${python}/bin/python,g' \ > ,,tmp && mv ,,tmp asciidoc.py && chmod +x asciidoc.py cat "a2x" | \ - sed -e 's,^#!/usr/bin/env bash,#!${stdenv.bash}/bin/bash,g' \ + sed -e 's,^#!/usr/bin/env bash,#!${stdenv.shell},g' \ > ,,tmp && mv ,,tmp a2x && chmod +x a2x cat "install.sh" | \