aboutsummaryrefslogtreecommitdiff
path: root/scripts/nix_infos
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-25 15:11:11 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-27 01:42:18 +0200
commit4506dbe51901f66406a02042b2097b3b3856e8a6 (patch)
tree70f877fb285fd3df5a32cd01336bb142f8317e77 /scripts/nix_infos
parent2232653330cedd11ac2aa64bdac994137cb26e80 (diff)
downloadNix-4506dbe51901f66406a02042b2097b3b3856e8a6.tar.gz
Nix-4506dbe51901f66406a02042b2097b3b3856e8a6.tar.zst
Nix-4506dbe51901f66406a02042b2097b3b3856e8a6.zip
Use Makefile for some env/deploy scripts
Diffstat (limited to 'scripts/nix_infos')
-rwxr-xr-xscripts/nix_infos10
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/nix_infos b/scripts/nix_infos
deleted file mode 100755
index 56e5b19..0000000
--- a/scripts/nix_infos
+++ /dev/null
@@ -1,10 +0,0 @@
1#!/bin/bash
2
3DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
4
5source $DIR/nix_env
6version=$(nix eval --raw nixpkgs.lib.version)
7mainversion=$(echo $version | cut -d"." -f -2)
8
9echo "https://releases.nixos.org/nixos/$mainversion/nixos-$version/nixexprs.tar.xz"
10nix eval --raw nixpkgs.bc.meta.position | cut -d"/" -f-4