diff options
| author | Fuwn <[email protected]> | 2021-05-06 17:33:46 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-06 17:33:46 +0000 |
| commit | 3655d61ca201b20fcb5e4fa0192ddcafbf6f7628 (patch) | |
| tree | 4f62722b72bd4aae74d54945aaac11e6ee448a88 /senpy-api.nix | |
| parent | etc: Remove useless CORS headers (diff) | |
| download | api-3655d61ca201b20fcb5e4fa0192ddcafbf6f7628.tar.xz api-3655d61ca201b20fcb5e4fa0192ddcafbf6f7628.zip | |
feat(global): :star:
Diffstat (limited to 'senpy-api.nix')
| -rw-r--r-- | senpy-api.nix | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/senpy-api.nix b/senpy-api.nix deleted file mode 100644 index a08a9b2..0000000 --- a/senpy-api.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ sources ? import ./nix/sources.nix, pkgs ? import sources.nixpkgs { } }: - -let - rust = import ./nix/rust.nix { inherit sources; }; - - naersk = pkgs.callPackage sources.naersk { - rustc = rust; - cargo = rust; - }; - - src = builtins.filterSource - (path: type: type != "directory" || builtins.baseNameOf path != "target") - ./.; -in naersk.buildPackage { - inherit src; - remapPathPrefix = true; -} |