
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
32 lines
656 B
Plaintext
32 lines
656 B
Plaintext
.class public HelloWorld
|
|
.super java/lang/Object
|
|
|
|
;
|
|
; standard initializer (calls java.lang.Object's initializer)
|
|
;
|
|
.method public <init>()V
|
|
aload_0
|
|
invokenonvirtual java/lang/Object/<init>()V
|
|
return
|
|
.end method
|
|
|
|
;
|
|
; main() - prints out Hello World
|
|
;
|
|
.method public static main([Ljava/lang/String;)V
|
|
.limit stack 2 ; up to two items can be pushed
|
|
|
|
; push System.out onto the stack
|
|
getstatic java/lang/System/out Ljava/io/PrintStream;
|
|
|
|
; push a string onto the stack
|
|
ldc "Hello World!"
|
|
|
|
; call the PrintStream.println() method.
|
|
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
|
|
|
|
; done
|
|
return
|
|
.end method
|
|
|