Create Nix flake and app package
This commit is contained in:
16
flake.nix
Normal file
16
flake.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
description = "Flake which provides support for Tauron Scrapper package as well as convinient module";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
}: {
|
||||
packages.x86_64-linux.tauron-scrapper = nixpkgs.legacyPackages.x86_64-linux.callPackage ./package.nix {};
|
||||
|
||||
packages.x86_64-linux.default = self.packages.x86_64-linux.tauron-scrapper;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user