f4f15a619e
git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@33593 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
15 lines
277 B
Bash
Executable file
15 lines
277 B
Bash
Executable file
#! /bin/sh -e
|
|
src="$1"
|
|
dst="$2"
|
|
|
|
if test ! -d "$src" -o ! -d "$dst"; then
|
|
echo "syntax: $0 source-dir dest-dir"
|
|
exit 1
|
|
fi
|
|
|
|
nix-generate-patches \
|
|
/data/releases/nars \
|
|
/data/releases/patches \
|
|
http://nixos.org/releases/patches \
|
|
"$src/MANIFEST" "$dst/MANIFEST"
|