File tree Expand file tree Collapse file tree 3 files changed +50
-6
lines changed
Expand file tree Collapse file tree 3 files changed +50
-6
lines changed Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 1- { pkgs ? import <nixpkgs> { } } :
1+ {
2+ pkgs ? import <nixpkgs> { } ,
3+ internal-helpers ? builtins . getFlake "github:ut-code/internal-helpers"
4+ } :
25pkgs . 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}
You can’t perform that action at this time.
0 commit comments