Giter Site home page Giter Site logo

nix-tutorials's Introduction

Nix Tutorials

This repository is simply intended to document my progression through the tutorials found at https://nix.dev/tutorials.

Important tips:

A few nuggets of information that are important to keep in mind.

Pin Nixpkgs for Reproducibility

This tip is a summary of information taken from the nix.dev tutorials.

Importing <nixpkgs> may be convenient for quickly checking if you can correctly create a working Nix expression by importing Nix packages. However doing so doesn't create a fully reproducible Nix expression.

Pinning an exact version of Nixpkgs will create fully reproducible Nix expressions. This can be done like so:

{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/06278c77b5d162e62df170fec307e83f1812d94b.tar.gz") {}
}:

...

It is recommended to follow the latest stable NixOS release (ex: nixos-23.11), or the latest unstable release (nixos-unstable).

However, a list of all the releases and the latest commit can be viewed at status.nixos.org.

More examples of pinning nixpkgs can be found here.

nix-tutorials's People

Contributors

kourtni avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.