Skip to content

Commit 49c8af7

Browse files
committed
chore: update flake
1 parent fc17fde commit 49c8af7

File tree

3 files changed

+50
-6
lines changed

3 files changed

+50
-6
lines changed

flake.lock

Lines changed: 37 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,23 @@
44
inputs = {
55
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
66
flake-utils.url = "github:numtide/flake-utils";
7+
internal-helpers = {
8+
url = "github:ut-code/internal-helpers";
9+
inputs.nixpkgs.url = "nixpkgs";
10+
};
711
};
812

913
outputs = {
1014
nixpkgs,
1115
flake-utils,
16+
internal-helpers,
1217
...
1318
}:
1419
flake-utils.lib.eachDefaultSystem (system: let
1520
pkgs = nixpkgs.legacyPackages.${system};
1621
in {
17-
devShells.default = pkgs.callPackage ./shell.nix {};
22+
devShells.default = pkgs.callPackage ./shell.nix {
23+
inherit internal-helpers;
24+
};
1825
});
1926
}

shell.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
{pkgs ? import <nixpkgs> {}}:
1+
{
2+
pkgs ? import <nixpkgs> {},
3+
internal-helpers ? builtins.getFlake "github:ut-code/internal-helpers"
4+
}:
25
pkgs.mkShell {
36
packages = [
47
pkgs.bun
58
pkgs.nodejs-slim # required by astro to find sharp
69
pkgs.ffmpeg
710
pkgs.imagemagick
11+
internal-helpers.packages.${pkgs.system}.disallow-large-dir
812
];
913
}

0 commit comments

Comments
 (0)