flake.nix: filterSource
This commit is contained in:
parent
c18a299afc
commit
104a62d781
12
flake.nix
12
flake.nix
|
@ -65,13 +65,17 @@
|
|||
rustc = rust;
|
||||
};
|
||||
|
||||
src = builtins.filterSource (path: type:
|
||||
builtins.match ".*\.nix" path == null
|
||||
) ./.;
|
||||
|
||||
in rec {
|
||||
packages.default = self.packages.${system}.caveman-hunter;
|
||||
|
||||
packages.caveman-hunter = naersk-lib.buildPackage rec {
|
||||
pname = "caveman-hunter";
|
||||
version = self.lastModifiedDate;
|
||||
src = ./.;
|
||||
inherit src;
|
||||
targets = [ pname ];
|
||||
nativeBuildInputs = with pkgs; [ pkg-config ];
|
||||
buildInputs = with pkgs; [ openssl systemd ];
|
||||
|
@ -79,7 +83,7 @@
|
|||
packages.caveman-butcher = naersk-lib.buildPackage rec {
|
||||
pname = "caveman-butcher";
|
||||
version = self.lastModifiedDate;
|
||||
src = ./.;
|
||||
inherit src;
|
||||
targets = [ pname ];
|
||||
nativeBuildInputs = with pkgs; [ pkg-config ];
|
||||
buildInputs = with pkgs; [ openssl systemd ];
|
||||
|
@ -87,7 +91,7 @@
|
|||
packages.caveman-gatherer = naersk-lib.buildPackage rec {
|
||||
pname = "caveman-gatherer";
|
||||
version = self.lastModifiedDate;
|
||||
src = ./.;
|
||||
inherit src;
|
||||
targets = [ pname ];
|
||||
nativeBuildInputs = with pkgs; [ pkg-config ];
|
||||
buildInputs = with pkgs; [ openssl systemd ];
|
||||
|
@ -99,7 +103,7 @@
|
|||
packages.caveman-smokestack = naersk-lib.buildPackage rec {
|
||||
pname = "caveman-smokestack";
|
||||
version = self.lastModifiedDate;
|
||||
src = ./.;
|
||||
inherit src;
|
||||
targets = [ pname ];
|
||||
nativeBuildInputs = with pkgs; [ pkg-config ];
|
||||
buildInputs = with pkgs; [ openssl systemd ];
|
||||
|
|
Loading…
Reference in New Issue