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