Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,13 @@
in (import nixpkgs { system = "x86_64-linux"; }).writeTextFile {
name = "devx";
executable = true;
# We use nix-shell to invoke bash, to work around some shells being just too ancient.
# This primarily happens on macOS. But as the sourced env may expect a bash version
# current with the current nix, using nix-shell to launch the bash is probably the
# most reliable option.
text = ''
#!/bin/bash
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p bash

set -euo pipefail

Expand Down
Loading