diff options
author | Soispha <soispha@vhack.eu> | 2023-05-27 16:47:17 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-05-27 16:47:17 +0200 |
commit | 1f263a83a6f7d7dd1898326b04b2491b78e845b1 (patch) | |
tree | e56f9e121b8d904033fc9b21065ab0c9b242fb74 /rust/default.nix | |
parent | Chore: Initial Commit (diff) | |
download | flake-templates-1f263a83a6f7d7dd1898326b04b2491b78e845b1.tar.gz flake-templates-1f263a83a6f7d7dd1898326b04b2491b78e845b1.zip |
Feat(rust): Update
Diffstat (limited to '')
-rw-r--r-- | rust/default.nix | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/rust/default.nix b/rust/default.nix deleted file mode 100644 index 75e6b2a..0000000 --- a/rust/default.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - description = ""; # TODO fill - - inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - flake-utils.url = "github:numtide/flake-utils"; - - crane = { - url = "github:ipetkov/crane"; - inputs = { - nixpkgs.follows = "nixpkgs"; - flake-utils.follows = "flake-utils"; - }; - }; - }; - - outputs = { - self, - nixpkgs, - crane, - flake-utils, - ... - }: - flake-utils.lib.eachDefaultSystem (system: let - craneLib = crane.lib.${system}; - craneBuild = craneLib.buildPackage { - src = craneLib.cleanCargoSource ./.; - - doCheck = true; - }; - appName = ""; # TODO fill - in { - packages.default = craneBuild; - legacyPackages.default = craneBuild; - app.default = { - type = "app"; - program = "${self.packages.${system}.default}/bin/${appName}"; - }; - }); -} -# vim: ts=2 - |