Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Use FlakeHub URL for Nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Dec 6, 2023
1 parent cbc3cc7 commit 6072a3a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
18 changes: 8 additions & 10 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "Nuenv: a Nushell environment for Nix";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; # Provides Nushell v0.87.1
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz"; # Provides Nushell v0.87.1
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down Expand Up @@ -62,7 +62,7 @@
Type:
[package] -> [string] -> package
Example:
let nushellBuilder = mkNuShellDerivation
pkgs.nushell
Expand All @@ -80,12 +80,12 @@
Type:
[string] -> [string] -> package
Example:
let mkNushellScript = mkNushellScript
pkgs.nushell
pkgs.writeTextFile;
let outScript = mkNushellScript
let outScript = mkNushellScript
"repair-infra.nu"
''
print -e "(ansi red)fixing infrastructure(ansi reset)"
Expand Down

0 comments on commit 6072a3a

Please sign in to comment.