Remove devshell
This commit is contained in:
parent
f3e1cbd193
commit
c4cfc69de6
|
@ -1,10 +0,0 @@
|
||||||
# https://numtide.github.io/devshell
|
|
||||||
[[commands]]
|
|
||||||
package = "devshell.cli"
|
|
||||||
help = "Per project developer environments"
|
|
||||||
|
|
||||||
[[commands]]
|
|
||||||
package = "cargo"
|
|
||||||
|
|
||||||
[[commands]]
|
|
||||||
package = "rustc"
|
|
16
flake.lock
16
flake.lock
|
@ -1,20 +1,5 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"devshell": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1622013274,
|
|
||||||
"narHash": "sha256-mK/Lv0lCbl07dI5s7tR/7nb79HunKnJik3KyR6yeI2k=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "devshell",
|
|
||||||
"rev": "e7faf69e6bf8546517cc936c7f6d31c7eb3abcb2",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "devshell",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1620759905,
|
"lastModified": 1620759905,
|
||||||
|
@ -46,7 +31,6 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"devshell": "devshell",
|
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
}
|
}
|
||||||
|
|
20
flake.nix
20
flake.nix
|
@ -1,20 +1,14 @@
|
||||||
{
|
{
|
||||||
description = "virtual environments";
|
description = "virtual environments";
|
||||||
|
|
||||||
inputs.devshell.url = "github:numtide/devshell";
|
|
||||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
|
||||||
outputs = { self, flake-utils, devshell, nixpkgs }:
|
outputs = { self, flake-utils, nixpkgs, ... }@inputs:
|
||||||
flake-utils.lib.eachDefaultSystem (system: {
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
devShell =
|
let pkgs = nixpkgs.legacyPackages.${system};
|
||||||
let pkgs = import nixpkgs {
|
in {
|
||||||
inherit system;
|
devShell = pkgs.mkShell {
|
||||||
|
buildInputs = with pkgs; [ cargo rustc pkgconfig openssl.dev ];
|
||||||
overlays = [ devshell.overlay ];
|
|
||||||
};
|
};
|
||||||
in
|
});
|
||||||
pkgs.devshell.mkShell {
|
|
||||||
imports = [ (pkgs.devshell.importTOML ./devshell.toml) ];
|
|
||||||
};
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue