mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
dotnet: allow update.sh to be run from root
This commit is contained in:
parent
5518ca2098
commit
5ad4b8b068
@ -1,9 +1,11 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -I nixpkgs=../../../../. -i bash -p curl jq nix gnused
|
||||
#!nix-shell -I nixpkgs=./. -i bash -p curl jq nix gnused
|
||||
# shellcheck shell=bash
|
||||
|
||||
set -Eeuo pipefail
|
||||
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
|
||||
release () {
|
||||
local content="$1"
|
||||
local version="$2"
|
||||
|
Loading…
Reference in New Issue
Block a user