diff options
author | Franck Cuny <franck@fcuny.net> | 2022-10-26 19:09:19 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-10-26 19:09:44 -0700 |
commit | 2a1649ddcd32efb687bf09c5ec2033af690c8124 (patch) | |
tree | bb4d666544c987087ed6616b5a3826383786840c /content/notes/working-with-nix.md | |
parent | ref(css): clean up and adjust a few things (diff) | |
download | fcuny.net-2a1649ddcd32efb687bf09c5ec2033af690c8124.tar.gz |
ref(content): set correct headers for notes
Diffstat (limited to '')
-rw-r--r-- | content/notes/working-with-nix.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/notes/working-with-nix.md b/content/notes/working-with-nix.md index 9e697d5..3d208e4 100644 --- a/content/notes/working-with-nix.md +++ b/content/notes/working-with-nix.md @@ -6,7 +6,7 @@ tags: - nix --- -# the `nix develop` command +## the `nix develop` command The `nix develop` command is for working on a repository. If our repository contains a `Makefile`, it will be used by the various @@ -26,9 +26,9 @@ they map as follow: In the repository, running `nix develop --build` will build the binary **using the Makefile**. This is different from running `nix build`. -# the `nix build` and `nix run` commands +## the `nix build` and `nix run` commands -## for Go +### for Go For Go, there's the `buildGoModule`. Looking at the [source](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/go-modules/generic/default.nix) @@ -38,7 +38,7 @@ a result, we don't have to define them ourselves. If we run `nix build` in the repository, it will run the default [build phase](https://github.com/NixOS/nixpkgs/blob/fb7287e6d2d2684520f756639846ee07f6287caa/pkgs/development/go-modules/generic/default.nix#L171). -# `buildInputs` or `nativeBuildInputs` +## `buildInputs` or `nativeBuildInputs` - `nativeBuildInputs` is intended for architecture-dependent build-time-only dependencies |