aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-20 01:58:14 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-20 02:17:17 +0200
commite94cd212b4a43296d44876b3c5f7113e9f5b9727 (patch)
tree292bfe25517e1993368f10aa5d14071d8d6fdf7d /scripts
parentd3452fc59b9839846225fd254926c64a9c71f071 (diff)
downloadNix-e94cd212b4a43296d44876b3c5f7113e9f5b9727.tar.gz
Nix-e94cd212b4a43296d44876b3c5f7113e9f5b9727.tar.zst
Nix-e94cd212b4a43296d44876b3c5f7113e9f5b9727.zip
Remove useless scripts after migration to home-manager
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make-env12
-rwxr-xr-xscripts/make-nur4
-rw-r--r--scripts/nix_env7
3 files changed, 3 insertions, 20 deletions
diff --git a/scripts/make-env b/scripts/make-env
deleted file mode 100755
index 25aa869..0000000
--- a/scripts/make-env
+++ /dev/null
@@ -1,12 +0,0 @@
1#!/bin/bash
2
3DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
4
5eval "$(make --no-print-directory -C $(dirname $DIR) nix-path)"
6nix-env -r -i -A myEnvironments.immae-eu -f "<nixpkgs>" "$@"
7result=$?
8
9cat >> $(dirname $DIR)/versions_log <<EOF
10Ran $(date) with args "$@" and returned "$result"
11$(make --no-print-directory -C $(dirname $DIR) nix-info | sed -e "s/^/ /")
12EOF
diff --git a/scripts/make-nur b/scripts/make-nur
index 1fe5f7a..127f8bd 100755
--- a/scripts/make-nur
+++ b/scripts/make-nur
@@ -1,4 +1,4 @@
1#!/bin/bash 1#!/usr/bin/env bash
2 2
3set -e 3set -e
4 4
@@ -16,6 +16,8 @@ nur_root="252dd7d899b7a0deea1537cc5d2d48b825afffb0"
16first_commit="5145061e9b679ea1e5d2709d22d0ee53467fed15" 16first_commit="5145061e9b679ea1e5d2709d22d0ee53467fed15"
17git rebase --onto=$nur_root $first_commit master 17git rebase --onto=$nur_root $first_commit master
18 18
19# The list below musn't get shrinked, it is used by filter-branch on
20# every commit
19clean_folder=' 21clean_folder='
20 rm -rf config lib/private modules/private pkgs/private nixops 22 rm -rf config lib/private modules/private pkgs/private nixops
21 for broken in pkgs/crypto/cardano/default.nix; do 23 for broken in pkgs/crypto/cardano/default.nix; do
diff --git a/scripts/nix_env b/scripts/nix_env
deleted file mode 100644
index 7fb6646..0000000
--- a/scripts/nix_env
+++ /dev/null
@@ -1,7 +0,0 @@
1#!/bin/bash
2
3# This will automatically upgrade to latest version at each build
4nixpkgs="https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz"
5nixpkgsPrevious="$nixpkgs"
6nixpkgsNext="$nixpkgs"
7export NIX_PATH="nixpkgs=$nixpkgs:nixpkgsNext=$nixpkgsNext:nixpkgsPrevious=$nixpkgsPrevious"