Skip to content

Commit

Permalink
add an example for overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Feb 9, 2023
1 parent 17111e2 commit 3c85acb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/overlays/devenv.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{ pkgs, ... }:

{
packages = [ pkgs.rust-bin.stable.latest.default ];
}
9 changes: 9 additions & 0 deletions examples/overlays/devenv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
inputs:
nixpkgs:
url: github:NixOS/nixpkgs/nixpkgs-unstable
rust-overlay:
url: github:oxalica/rust-overlay
allowUnfree: true
overlays:
rust-overlay:
- default

0 comments on commit 3c85acb

Please sign in to comment.