aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-07-09 18:56:33 -0400
committerCara Salter <cara@devcara.com>2022-07-09 18:56:33 -0400
commitec087f3d08f5861b6ffcce00a632858a57c86d31 (patch)
treeeeb3b0b9372b5d01c740c88f196656078d1c9d5d
parent945991ae5227bf3de7d715e4d256e11f1753e4fa (diff)
downloadsolarlib-ec087f3d08f5861b6ffcce00a632858a57c86d31.tar.gz
solarlib-ec087f3d08f5861b6ffcce00a632858a57c86d31.zip
No flake
-rw-r--r--.envrc1
-rw-r--r--flake.lock74
-rw-r--r--flake.nix38
3 files changed, 0 insertions, 113 deletions
diff --git a/.envrc b/.envrc
deleted file mode 100644
index 3550a30..0000000
--- a/.envrc
+++ /dev/null
@@ -1 +0,0 @@
-use flake
diff --git a/flake.lock b/flake.lock
deleted file mode 100644
index b22496e..0000000
--- a/flake.lock
+++ /dev/null
@@ -1,74 +0,0 @@
-{
- "nodes": {
- "flake-utils": {
- "locked": {
- "lastModified": 1649676176,
- "narHash": "sha256-OWKJratjt2RW151VUlJPRALb7OU2S5s+f0vLj4o1bHM=",
- "owner": "numtide",
- "repo": "flake-utils",
- "rev": "a4b154ebbdc88c8498a5c7b01589addc9e9cb678",
- "type": "github"
- },
- "original": {
- "owner": "numtide",
- "repo": "flake-utils",
- "type": "github"
- }
- },
- "naersk": {
- "inputs": {
- "nixpkgs": "nixpkgs"
- },
- "locked": {
- "lastModified": 1649096192,
- "narHash": "sha256-7O8e+eZEYeU+ET98u/zW5epuoN/xYx9G+CIh4DjZVzY=",
- "owner": "nix-community",
- "repo": "naersk",
- "rev": "d626f73332a8f587b613b0afe7293dd0777be07d",
- "type": "github"
- },
- "original": {
- "owner": "nix-community",
- "repo": "naersk",
- "type": "github"
- }
- },
- "nixpkgs": {
- "locked": {
- "lastModified": 1648219316,
- "narHash": "sha256-Ctij+dOi0ZZIfX5eMhgwugfvB+WZSrvVNAyAuANOsnQ=",
- "owner": "NixOS",
- "repo": "nixpkgs",
- "rev": "30d3d79b7d3607d56546dd2a6b49e156ba0ec634",
- "type": "github"
- },
- "original": {
- "id": "nixpkgs",
- "type": "indirect"
- }
- },
- "nixpkgs_2": {
- "locked": {
- "lastModified": 1648219316,
- "narHash": "sha256-Ctij+dOi0ZZIfX5eMhgwugfvB+WZSrvVNAyAuANOsnQ=",
- "owner": "NixOS",
- "repo": "nixpkgs",
- "rev": "30d3d79b7d3607d56546dd2a6b49e156ba0ec634",
- "type": "github"
- },
- "original": {
- "id": "nixpkgs",
- "type": "indirect"
- }
- },
- "root": {
- "inputs": {
- "flake-utils": "flake-utils",
- "naersk": "naersk",
- "nixpkgs": "nixpkgs_2"
- }
- }
- },
- "root": "root",
- "version": 7
-}
diff --git a/flake.nix b/flake.nix
deleted file mode 100644
index 415d277..0000000
--- a/flake.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- inputs = {
- flake-utils.url = "github:numtide/flake-utils";
- naersk.url = "github:nix-community/naersk";
- };
-
- outputs = { self, nixpkgs, flake-utils, naersk }:
- flake-utils.lib.eachDefaultSystem (
- system: let
- pkgs = nixpkgs.legacyPackages."${system}";
- naersk-lib = naersk.lib."${system}";
-
- build-inputs = with pkgs; [
- libvirt
- ];
- in
- rec {
- # `nix build`
- packages.waifulib = naersk-lib.buildPackage {
- pname = "solarlib";
- root = ./.;
- buildInputs = build-inputs;
- };
- defaultPackage = packages.waifulib;
-
- # `nix run`
- apps.waifulib = flake-utils.lib.mkApp {
- drv = packages.waifulib;
- };
- defaultApp = apps.waifulib;
-
- # `nix develop`
- devShell = pkgs.mkShell {
- nativeBuildInputs = with pkgs; [ rustc cargo ] ++ build-inputs;
- };
- }
- );
-}