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

Commit

Permalink
Import kachick/anylang-template#80 for stable bash and basics
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Apr 3, 2024
1 parent ec412ad commit b45ca79
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 13 deletions.
25 changes: 21 additions & 4 deletions flake.lock

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

20 changes: 11 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
# - https://discourse.nixos.org/t/differences-between-nix-channels/13998
# How to update the revision
# - `nix flake update --commit-lock-file` # https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-flake-update.html
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
edge-nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, flake-utils }:
outputs = { self, nixpkgs, edge-nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
edge-pkgs = edge-nixpkgs.legacyPackages.${system};
updaterVersion =
if (self ? shortRev)
then self.shortRev
Expand All @@ -26,16 +28,16 @@
# https://github.com/kachick/dotfiles/pull/228
bashInteractive

nil
nixpkgs-fmt
dprint
typos
go-task
go_1_22
edge-pkgs.nil
edge-pkgs.nixpkgs-fmt
edge-pkgs.dprint
edge-pkgs.typos
edge-pkgs.go-task
edge-pkgs.go_1_22
];
};

packages.gwurl = pkgs.buildGo122Module {
packages.gwurl = edge-pkgs.buildGo122Module {
pname = "gwurl";
version = updaterVersion;
src = pkgs.lib.cleanSource self;
Expand Down

0 comments on commit b45ca79

Please sign in to comment.