diff options
author | Emma@Rory& <root@rory.gay> | 2023-07-24 20:57:56 +0200 |
---|---|---|
committer | Emma@Rory& <root@rory.gay> | 2023-07-24 20:57:56 +0200 |
commit | 1fdcb808607ce0b4d55d6fcf14e7111f1d15f143 (patch) | |
tree | 451cdc1202d42c2da90a7e15e1f113f77f7006ab /mkdeps | |
parent | Start of MRU Desktop (diff) | |
download | MatrixUtils-1fdcb808607ce0b4d55d6fcf14e7111f1d15f143.tar.xz |
Start of nix flake
Diffstat (limited to 'mkdeps')
-rwxr-xr-x | mkdeps | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mkdeps b/mkdeps new file mode 100755 index 0000000..b577e03 --- /dev/null +++ b/mkdeps @@ -0,0 +1,11 @@ +#!/usr/bin/env nix-shell +#!nix-shell -i "bash -x" -p bash nuget-to-nix +find . | grep -E '(bin|obj)$' | while read d; do rm -rf $d & done +wait + +MSBUILDLIVELOGGER=false dotnet restore --packages=packages -v n --ucr +nuget-to-nix packages | tee deps.nix +du -sh packages +rm -rf packages +nix flake update +git add deps.nix flake.lock |