Update the carnix updater to do a cargo build prior to the carnix update
This commit is contained in:
parent
8df71dffdc
commit
9ccce84eb9
|
@ -1,11 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
cd nix
|
||||
|
||||
patched_carnix() {
|
||||
src=$1
|
||||
result=$2
|
||||
|
||||
(
|
||||
cd "$(dirname "$src")"
|
||||
cargo build
|
||||
)
|
||||
|
||||
carnix "$src" --output "$result"
|
||||
patch -p1 "$result" ./carnix.patch
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue