From f0a7d563a385663513f24aecad92219ecfc83bd8 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Sat, 26 Apr 2025 13:13:58 +0200 Subject: vault backup: 2025-04-26 13:13:58 --- Specifying a License in a Flake output.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Specifying a License in a Flake output.md (limited to 'Specifying a License in a Flake output.md') diff --git a/Specifying a License in a Flake output.md b/Specifying a License in a Flake output.md new file mode 100644 index 0000000..b14b0a4 --- /dev/null +++ b/Specifying a License in a Flake output.md @@ -0,0 +1,9 @@ +--- +tags: + - nix +--- +While [[Building Go applications or packages with Nix]] I encountered a step where we need to specify a license. + +Documentation on this can be found [here](https://nixos.org/manual/nixpkgs/stable/#var-meta-license). [This](https://github.com/NixOS/nixpkgs/blob/master/lib/licenses.nix) file in Nixpkgs on Github shows available licenses. + +For example, the Apache-2.0 License is referenced through `lib.licenses.asl20`. \ No newline at end of file -- cgit v1.2.3