fixed flake

This commit is contained in:
Sebastian Wendel 2022-07-12 17:45:34 +02:00
parent f0919192be
commit c3654e5cbf
No known key found for this signature in database
GPG key ID: 1422B7DF78144640
4 changed files with 26 additions and 38 deletions

5
.envrc
View file

@ -1,11 +1,6 @@
watch_file **/*.nix
watch_file flake.lock
use_flake() {
mkdir -p "$(direnv_layout_dir)"
eval "$(nix print-dev-env --profile "$(direnv_layout_dir)/flake-profile")"
}
if (nix help flake &> /dev/null)
then
use flake

View file

@ -16,6 +16,21 @@
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1656928814,
"narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1657425264,
@ -35,23 +50,8 @@
"root": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": "nixpkgs",
"utils": "utils"
}
},
"utils": {
"locked": {
"lastModified": 1656928814,
"narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}
}
},

View file

@ -1,22 +1,18 @@
{
description = "SRX frugal bioreactor";
inputs = {
nixpkgs = { url = "github:NixOS/nixpkgs/nixos-unstable-small"; };
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
utils.url = "github:numtide/flake-utils";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils, ... }@inputs:
utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.default = import ./shell.nix {
inherit pkgs; };
});
outputs = { self, nixpkgs, flake-utils, ... }@inputs:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system}; in
{
devShells.default = import ./shell.nix { inherit pkgs; };
}
);
}

View file

@ -4,10 +4,7 @@ with pkgs;
mkShell {
name = "fcos.integration";
# nativeBuildInputs = with pkgs; [
nativeBuildInputs = [
chart-testing
dotenv-linter
nativeBuildInputs = with pkgs; [
editorconfig-checker
git
hadolint