update flake to use snowfall
This commit is contained in:
45
lib/installed-packages/default.nix
Normal file
45
lib/installed-packages/default.nix
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
# This is the merged library containing your namespaced library as well as all libraries from
|
||||
# your flake's inputs.
|
||||
lib
|
||||
, # Your flake inputs are also available.
|
||||
inputs
|
||||
, # The namespace used for your flake, defaulting to "internal" if not set.
|
||||
namespace
|
||||
, # Additionally, Snowfall Lib's own inputs are passed. You probably don't need to use this!
|
||||
snowfall-inputs
|
||||
, ...
|
||||
}:
|
||||
|
||||
{
|
||||
# This will be available as `lib.my-namespace.mkPackages`.
|
||||
mkPackages = {pkgs, ...}:
|
||||
let
|
||||
inherit pkgs;
|
||||
# pkgs = namespace.;
|
||||
# pkgs = snowfall-inputs.nixpkgs { system = "x86_64-linux"; config.allowUnfree = true; };
|
||||
baseBackages = [
|
||||
pkgs.vim
|
||||
pkgs.nixpkgs-fmt
|
||||
];
|
||||
utilPackages = [
|
||||
pkgs.wget
|
||||
pkgs.curl
|
||||
pkgs.git
|
||||
pkgs.ffmpeg
|
||||
];
|
||||
haxeDevelopmentPackages = [
|
||||
pkgs.haxe
|
||||
];
|
||||
in
|
||||
{
|
||||
packages = baseBackages ++ utilPackages ++ haxeDevelopmentPackages;
|
||||
};
|
||||
|
||||
# my-scope = {
|
||||
# # This will be available as `lib.my-namespace.my-scope.my-scoped-helper-function`.
|
||||
# my-scoped-helper-function = x: x;
|
||||
# };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user