Permalink
Browse files

Avoid dashes in function names

Using nix-build-linux does not fail in bash, but it does fail in sh.
  • Loading branch information...
johbo committed Oct 31, 2017
1 parent aca27fd commit bfc82419d0e895a32dd42f3297efcbc050e65445
Showing with 2 additions and 2 deletions.
  1. +2 −2 config/etc/profile.d/johbo-utils.sh
@@ -9,13 +9,13 @@
# Nix
function nix-build-linux() {
function nix_build_linux() {
nix-build \
--arg pkgs '(import <nixpkgs> { system="x86_64-linux"; })' \
$@
}
export -f nix-build-linux
export -f nix_build_linux

0 comments on commit bfc8241

Please sign in to comment.