aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/program.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/populate/program.nix')
-rw-r--r--pkgs/populate/program.nix25
1 files changed, 0 insertions, 25 deletions
diff --git a/pkgs/populate/program.nix b/pkgs/populate/program.nix
deleted file mode 100644
index fbb364c..0000000
--- a/pkgs/populate/program.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-# The program delivering sources, built from the crate in this directory.
-{ rustPlatform }:
-
-let
- cargoToml = builtins.fromTOML (builtins.readFile ./Cargo.toml);
-in
-
-rustPlatform.buildRustPackage {
- pname = cargoToml.package.name;
- inherit (cargoToml.package) version;
- # Without what cargo doesn't build from, so changes to the Nix files or
- # the docs don't rebuild the program. By names, not by paths relative to
- # this directory: the paths the filter gets needn't start with
- # toString ./., e.g. if a symlink leads to this directory.
- src = builtins.path {
- name = "populate-src";
- path = ./.;
- filter = path: type: let
- name = baseNameOf path;
- in
- !(builtins.elem name [ ".gitignore" "docs" "target" ] ||
- builtins.match ".*\\.nix" name != null);
- };
- cargoLock.lockFile = ./Cargo.lock;
-}