# Usability study session #3

**URL:** https://discourse.nixos.org/t/usability-study-session-3/21401
**Category:** Documentation
**Created:** [September 2, 2022, 12:24am UTC](https://discourse.nixos.org/t/usability-study-session-3/21401 "2022-09-02T00:24:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![toraritte](https://discourse.nixos.org/user_avatar/discourse.nixos.org/toraritte/32/6777_2.png) [@toraritte](https://discourse.nixos.org/u/toraritte)
#### Post date: [September 2, 2022, 12:24am UTC](https://discourse.nixos.org/t/usability-study-session-3/21401/1 "2022-09-02T00:24:18Z")

</div>

[previous study](https://discourse.nixos.org/t/user-study-learning-journey-2/21400) | [index](https://discourse.nixos.org/t/usability-studies/21404) | [next study](https://discourse.nixos.org/t/usability-study-session-4/21422)

## 1. Bio / Persona

Software engineer.

## 2. Prior Nix experience

Just finished packaging a C project at work with help of colleagues, and tackled packaging a personal / school project previously. Running Nix on [Windows Subsystem for Linux (WSL)](https://docs.microsoft.com/en-us/windows/wsl/about).

## 3. Approaches to learning Nix

Started learning from [Nix Pills](https://nixos.org/guides/nix-pills/) (highlights [Chapter 6.](https://nixos.org/guides/nix-pills/our-first-derivation.html)), but found it too deep with too many details.

- [NixOS/nixos-homepage#855](https://github.com/NixOS/nixos-homepage/pull/855) move Nix Pills to the end of recommendation list, reword logline

## 4. Using Nix

The starting point of this session is googling for `package nix cpp`, and evaluating the search results:

- [C - NixOS Wiki](https://nixos.wiki/wiki/C)

- [Inria](https://www.inria.fr/en)’s [Nix tutorial](https://nix-tutorial.gitlabpages.inria.fr/nix-tutorial/) (4th result)

Clones the project, and tries to re-use the [example Nix file](https://nix-tutorial.gitlabpages.inria.fr/nix-tutorial/first-experiment.html#first-experiment-default-nix) as a template for a personal project, but not familiar with C development, and wondering why both `make` and `cmake` is needed.

1. Copies example file into own project.

2. Culls `buildInputs`

3. Stops for a second at `src` and changes it to `./.` (remembers this from [Nix Pills, Chapter 7.](https://nixos.org/guides/nix-pills/working-derivation.html)) (Doesn’t understand what `rev` is for in the example anyway - maybe has something to do with the URL?)

4. Removes `mv chord $out/bin`

5. Runs `nix-shell own-project.nix`, builds it, and it works

**Interviewer** : How would you make the project, and run it in your environment, outside of `nix-shell`?  
**Participant** : Would build it somehow.

Tries `nix-build`, gets a CMake error, but not familiar enough with CMake and Nix to make adjustments.

- [NixOS/nix.dev#882](https://github.com/NixOS/nixos-homepage/pull/882) make nix.dev official

Session ends here.

[archive](https://web.archive.org/web/20220902002428/https://discourse.nixos.org/t/user-study-learning-journey-3/21401)

---

<div class="post-metadata">

### Author: ![soupglasses](https://discourse.nixos.org/user_avatar/discourse.nixos.org/soupglasses/32/28508_2.png) [@soupglasses](https://discourse.nixos.org/u/soupglasses)
#### Post date: [October 3, 2022, 10:26am UTC](https://discourse.nixos.org/t/usability-study-session-3/21401/2 "2022-10-03T10:26:00Z")

</div>

I want to point out [Jon Ringer](https://www.youtube.com/user/elitespartan117j27)’s youtube channel. It helped me better than any documentation i have found on how to actually package things for nix, and how to use the different tooling.

It is disappointing that this resource is on a channel not directly affiliated with NixOS. Making it into a “you just have to know that exists” situation.

---

<div class="post-metadata">

### Author: ![fricklerhandwerk](https://discourse.nixos.org/user_avatar/discourse.nixos.org/fricklerhandwerk/32/2029_2.png) [@fricklerhandwerk](https://discourse.nixos.org/u/fricklerhandwerk)
#### Post date: [October 3, 2022, 12:25pm UTC](https://discourse.nixos.org/t/usability-study-session-3/21401/3 "2022-10-03T12:25:03Z")

</div>

You may be pleased to see that there is a [nix.dev PR](https://github.com/NixOS/nix.dev/pull/324) soon to be merged which places the videos more visibly. While this is not yet the front-page presence many rightfully desire, we’re slowly getting there.
