Replies: 1 comment
-
There is an open PR here: NixOS/nixpkgs#201531 For an overlay you can also use something along these lines: (final: prev: {
atlas = prev.callPackage
({ buildGoModule, fetchFromGitHub }: buildGoModule rec {
pname = "atlas";
version = "0.10.1";
src = fetchFromGitHub {
owner = "ariga";
repo = "atlas";
rev = "refs/tags/v${version}";
hash = "sha256-XReR3DsnFZeb+RSTgph1uI4u2ytF3XX3BZ6dAXLQnK4=";
};
proxyVendor = true;
vendorHash = "sha256-lxuo90BsHiBNAcqXV7vlHpN/Vceezp67hC2+CZf8U+Q=";
ldflags = [
"-s"
"-w"
"-X ariga.io/atlas/cmd/atlas/internal/cmdapi.version=v${version}"
];
modRoot = "cmd/atlas";
nativeCheckInputs = [ prev.git ];
})
{ };
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I just learnt about atlas and I think it could be packaged for Nix which I find great help when deploying my applications (it's very convenient to see all dependencies needed to run whole app in nix shell file).
Beta Was this translation helpful? Give feedback.
All reactions