summaryrefslogtreecommitdiff
path: root/Specifying a License in a Flake output.md
diff options
context:
space:
mode:
authorJasper Ras <jaspert.ras@gmail.com>2025-04-26 13:13:58 +0200
committerJasper Ras <jaspert.ras@gmail.com>2025-04-26 13:13:58 +0200
commitf0a7d563a385663513f24aecad92219ecfc83bd8 (patch)
treed3b201241bd8934a63646d26a94c9b2730775ca0 /Specifying a License in a Flake output.md
parent80325cced8485df9d87c1b5d9f5d123d85b01336 (diff)
vault backup: 2025-04-26 13:13:58
Diffstat (limited to 'Specifying a License in a Flake output.md')
-rw-r--r--Specifying a License in a Flake output.md9
1 files changed, 9 insertions, 0 deletions
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