blob: bd976b6255f399a6f4eb20be23a67bdc1061eabd (
plain) (
tree)
|
|
#!/bin/bash
if [ -z "$NIXOPS_DEPLOYMENT" ]; then
# This will automatically upgrade to latest version at each build
nixpkgs="https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz"
else
nixpkgs="https://releases.nixos.org/nixos/19.03/nixos-19.03.172361.cf3e277dd0b/nixexprs.tar.xz"
fi
nixpkgsPrevious="$nixpkgs"
nixpkgsNext="$nixpkgs"
export NIX_PATH="nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious"
|