Build & Share Rust Apps with Nix on GitHub πŸ¦€

Learn to build a Rust app locally and package it with Nix for easy sharing and installation on GitHub.

Build & Share Rust Apps with Nix on GitHub πŸ¦€
PageKey
1.4K views β€’ Jan 17, 2025
Build & Share Rust Apps with Nix on GitHub πŸ¦€

About this video

This video shows you how to build a Rust application locally, and then package it up so that others can simply copy-and-paste a Nix config snippet to install it from GitHub onto their computers. You don't have to "know a guy" to get it onto Nixpkgs - you can do everything completely from source, dynamically downloaded from GitHub!

Article/code for this video: https://github.com/pagekey/education/tree/main/177-Nix-Package-Rust

Timestamps:
0:00 Intro
0:08 DEMO - What We're Building
0:59 Overview
1:22 PageKey: Take Back Tech
2:23 1. Creating the Rust Application (Directory Tree)
2:43 1. Creating the Rust Application (main.c)
2:48 1. Creating the Rust Application (default.nix)
3:22 1. Creating the Rust Application (DEMO)
3:40 2. Running in NixOS Locally (configuration.nix)
4:28 2. Running in NixOS Locally (DEMO)
4:52 3. Testing Using default.nix
5:33 3. Testing Using default.nix (DEMO)
6:03 4. Building from GitHub
6:24 4. Building from GitHub (default.nix - app)
6:54 4. Building from GitHub (default.nix - testbed)
7:48 4. Building from GitHub (DEMO)
8:10 4. Building from GitHub (Testing on NixOS)
8:49 That's it!


---


GitHub: https://github.com/pagekey

Website: https://pagekey.io

Discord: https://discord.gg/5m5yFgDPF5

PageKey is a channel where we take back tech by building our own versions of the products and services we all use every single day.

If you want to get involved in contributing, consider joining our Discord.

We can discuss what you want to work on and get you involved!

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

1.4K

Likes

34

Duration

9:24

Published

Jan 17, 2025

User Reviews

4.5
(1)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.