diff options
Diffstat (limited to 'nixpkgs/pkgs/shells/oil/default.nix')
-rw-r--r-- | nixpkgs/pkgs/shells/oil/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/shells/oil/default.nix b/nixpkgs/pkgs/shells/oil/default.nix index 654476bd5ae0..4d66f0d401dc 100644 --- a/nixpkgs/pkgs/shells/oil/default.nix +++ b/nixpkgs/pkgs/shells/oil/default.nix @@ -1,12 +1,12 @@ -{ stdenv, lib, fetchurl, readline }: +{ stdenv, lib, fetchurl, withReadline ? true, readline }: stdenv.mkDerivation rec { pname = "oil"; - version = "0.8.11"; + version = "0.8.12"; src = fetchurl { url = "https://www.oilshell.org/download/oil-${version}.tar.xz"; - sha256 = "sha256-GVV+532dPrXkQ3X2+wa4u6aCPBvQAIiypeoqzJqvk9Y="; + sha256 = "sha256-M8JdMru2DDcPWa7qQq9m1NQwjI7kVkHvK5I4W5U1XPU="; }; postPatch = '' @@ -17,8 +17,8 @@ stdenv.mkDerivation rec { mkdir -p $out/bin ''; - buildInputs = [ readline ]; - configureFlags = [ "--with-readline" ]; + buildInputs = lib.optional withReadline readline; + configureFlags = lib.optional withReadline "--with-readline"; # Stripping breaks the bundles by removing the zip file from the end. dontStrip = true; |