diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-25 15:11:11 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 00:04:22 +0200 |
commit | a8e4bf7554dc7219b23c0ff076321f62c24b2b82 (patch) | |
tree | 0f6f2512811374036e29d9c66e18fff1f20cadc1 /scripts/nix_infos | |
parent | 6afdbd8c052a347284772d6d7b2d90977f174018 (diff) | |
download | NUR-a8e4bf7554dc7219b23c0ff076321f62c24b2b82.tar.gz NUR-a8e4bf7554dc7219b23c0ff076321f62c24b2b82.tar.zst NUR-a8e4bf7554dc7219b23c0ff076321f62c24b2b82.zip |
Use Makefile for some env/deploy scripts
Diffstat (limited to 'scripts/nix_infos')
-rwxr-xr-x | scripts/nix_infos | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/nix_infos b/scripts/nix_infos deleted file mode 100755 index 56e5b197..00000000 --- a/scripts/nix_infos +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
4 | |||
5 | source $DIR/nix_env | ||
6 | version=$(nix eval --raw nixpkgs.lib.version) | ||
7 | mainversion=$(echo $version | cut -d"." -f -2) | ||
8 | |||
9 | echo "https://releases.nixos.org/nixos/$mainversion/nixos-$version/nixexprs.tar.xz" | ||
10 | nix eval --raw nixpkgs.bc.meta.position | cut -d"/" -f-4 | ||