Skip to content

Commit

Permalink
Use the latest Nushell version and add newline to file
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Oct 16, 2024
1 parent 35154fa commit e49e636
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
17 changes: 17 additions & 0 deletions flake.lock

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

5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
inputs = {
flake-utils.url = "github:numtide/flake-utils";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs = {
Expand All @@ -16,6 +17,7 @@
self,
flake-utils,
nixpkgs,
nixpkgs-unstable,
pre-commit-hooks,
treefmt-nix,
}:
Expand All @@ -24,6 +26,7 @@
let
overlays = [ ];
pkgs = import nixpkgs { inherit system overlays; };
unstablePkgs = import nixpkgs-unstable { inherit system overlays; };
gems = pkgs.bundlerEnv {
name = "jwillikers-blog";
gemdir = ./.;
Expand All @@ -38,7 +41,7 @@
just
lychee
nil
nushell
unstablePkgs.nushell
];
buildInputs = [ ];
treefmt.config = {
Expand Down
2 changes: 1 addition & 1 deletion update-nix-direnv.nu
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def main [
let hash = get_direnvrc_hash $version

for file in $files {
$file | open | update_nix_direnv_in_envrc $version $hash | save --force $file
$file | open | update_nix_direnv_in_envrc $version $hash | $"($in)\n" | save --force $file
}

exit 0
Expand Down

0 comments on commit e49e636

Please sign in to comment.