Skip to content
Snippets Groups Projects
Verified Commit f59e3c02 authored by Akshay Mankar's avatar Akshay Mankar
Browse files

flake: Add attribute to build static executable, make it the default package

parent 2270eab3
Branches main
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@
in rec {
packages = {
terraform-http-backend-pass = haskellPackages.terraform-http-backend-pass;
terraform-http-backend-pass-static = pkgs.haskell.lib.justStaticExecutables haskellPackages.terraform-http-backend-pass;
dev-shell = haskellPackages.shellFor {
packages = p: [p.terraform-http-backend-pass];
buildInputs = [
......@@ -46,7 +47,7 @@
];
};
};
defaultPackage = packages.terraform-http-backend-pass;
defaultPackage = packages.terraform-http-backend-pass-static;
devShell = packages.dev-shell;
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment