Skip to content

Running Oils as build shell

Samuel Hierholzer edited this page Oct 18, 2024 · 8 revisions

This document describes issues and notes on running Oils as Shell replacement in package building (either as /bin/bash or /bin/sh)

Nixpkgs

Oily Nixpkgs is an attempt at replacing bash with Oils in the stdenv.

Bugs/incompatibilities found with nixpkgs

  • zulip, PR - "${a[@]+default}" doesn't properly expand as bash
  • zulip, commit - ${mystr[@]} errors (e.g. it's a string) are often silent in bash
Clone this wiki locally