repl: clean up

This commit is contained in:
Alexander Bantyev 2021-03-14 02:22:15 +03:00
parent 0b059d7bf4
commit 97fd1af40f
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -101,6 +101,7 @@
TEMP="$(mktemp --suffix=.nix)"
echo "let self = builtins.getFlake \"$source\"; in self // self.legacyPackages.\''${builtins.currentSystem} or { } // self.packages.\''${builtins.currentSystem} or { }" > "$TEMP"
nix repl "$TEMP"
rm "$TEMP"
}