Add the priorities directly in flake.nix
This commit is contained in:
parent
b50af13787
commit
3149cd80fa
|
@ -65,7 +65,12 @@
|
|||
"bash-only" = runtimeList ["bash"];
|
||||
"none" = { };
|
||||
};
|
||||
pistonRuntimePriorities = import ./runtimes/priorities;
|
||||
pistonRuntimePriorities = [
|
||||
"mono-csharp"
|
||||
"dotnet-sdk-csharp"
|
||||
"python3"
|
||||
"python2"
|
||||
];
|
||||
|
||||
legacyPackages."${system}" = rec {
|
||||
nosocket = (import ./nosocket { inherit pkgs; }).package;
|
||||
|
|
|
@ -1,66 +0,0 @@
|
|||
[
|
||||
"node-javascript"
|
||||
"python3"
|
||||
"python2"
|
||||
"bash"
|
||||
"clojure"
|
||||
"cobol-gnu-cobol"
|
||||
"crystal"
|
||||
"dart"
|
||||
"dash"
|
||||
"deno-javascript"
|
||||
"deno-typescript"
|
||||
"elixir"
|
||||
"erlang"
|
||||
"gawk-awk"
|
||||
"openjdk11_headless-java"
|
||||
"ruby"
|
||||
"zig"
|
||||
"vlang"
|
||||
"swift"
|
||||
"node-typescript"
|
||||
"sqlite"
|
||||
"rscript"
|
||||
"raku"
|
||||
"racket"
|
||||
"powershell"
|
||||
"prolog"
|
||||
"ponylang"
|
||||
"php"
|
||||
"perl"
|
||||
"octave"
|
||||
"ocaml"
|
||||
"nim"
|
||||
"nasm"
|
||||
"nasm-nasm64"
|
||||
"mono-csharp"
|
||||
"lua"
|
||||
"lolcode"
|
||||
"sbcl-lisp"
|
||||
"jvm-kotlin"
|
||||
"julia"
|
||||
"jelly"
|
||||
"openjdk-java"
|
||||
"iverilog"
|
||||
"ghc-haskell"
|
||||
"groovy"
|
||||
"go"
|
||||
"gcc-c"
|
||||
"gcc-c++"
|
||||
"gcc-d"
|
||||
"gcc-fortran"
|
||||
"yabasic"
|
||||
"emacs"
|
||||
"gnat-ada"
|
||||
"rust"
|
||||
"dotnet-sdk-csharp"
|
||||
"dotnet-sdk-fsharp"
|
||||
"dotnet-sdk-fsharp-interactive"
|
||||
"dotnet-sdk-visual-basic"
|
||||
"fpc-pascal"
|
||||
"brainfuck"
|
||||
"node-coffeescript"
|
||||
"jvm-scala"
|
||||
"llvm_ir"
|
||||
"mono-basic"
|
||||
]
|
|
@ -32,11 +32,7 @@ else
|
|||
.scaffold.nix > $NAME.nix
|
||||
echo "}" >> default.nix
|
||||
|
||||
sed -i '$d' ./priorities/default.nix
|
||||
echo " \"$NAME\"" >> ./priorities/default.nix
|
||||
echo "]" >> ./priorities/default.nix
|
||||
|
||||
git add $NAME.nix default.nix ./priorities
|
||||
git add $NAME.nix default.nix
|
||||
|
||||
echo "Scaffolded $NAME"
|
||||
echo "Edit $NAME.nix to get started"
|
||||
|
|
Loading…
Reference in New Issue