add flake support
This commit is contained in:
parent
065ff0f0ee
commit
3bc882eba6
2 changed files with 55 additions and 0 deletions
15
flake.nix
Normal file
15
flake.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
description = "Assorted scripts";
|
||||
inputs = {
|
||||
flake-utils.url = github:numtide/flake-utils;
|
||||
};
|
||||
outputs = { self, flake-utils, nixpkgs, ... }: (flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
defaultPackage = self.packages.${system}.scripts;
|
||||
packages.scripts = pkgs.callPackage ./default.nix { };
|
||||
}
|
||||
));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue