-
-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Description
I'm unable to create a functioning app that uses Pkg.dependencies()
Recreating the error
Generate a package with Pkg as a dependency:
julia> using Pkg
julia> Pkg.generate("MyPackage")
pkg> activate MyPackage
pkg> add PkgEdit MyPackage/src/MyPackage.jl:
module MyPackage
export julia_main
using Pkg
function julia_main()::Cint
@show Pkg.dependencies()
return 0
end
end # module
Make an app:
pkg> activate --temp
julia> using PackageCompiler
julia> create_app("MyPackage", "Compiled", incremental=true)
The app compiles successfully, but running it returns the following error.
$ Compiled/bin/MyPackage
expected package `Pkg [44cfe95a]` to exist in the manifest (use `resolve` to populate the manifest)Metadata
Metadata
Assignees
Labels
No labels