Fixup flake for development

This commit is contained in:
Olivier 'reivilibre' 2023-10-28 21:54:12 +01:00
parent 7c142e8080
commit 8bb5e037bc
4 changed files with 43 additions and 23 deletions

2
.envrc Normal file
View File

@ -0,0 +1,2 @@
use flake

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/target /target
/.idea /.idea
/.env /.env
/.direnv

View File

@ -5,11 +5,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1652722411, "lastModified": 1698420672,
"narHash": "sha256-FxzNgYiH9c91hUVAntcjrqY//KOTUPP2a4e8Wyuysxg=", "narHash": "sha256-/TdeHMPRjjdJub7p7+w55vyABrsJlt5QkznPYy55vKA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "naersk", "repo": "naersk",
"rev": "94beb7a3edfeb3bcda65fa3f2ebc48ec6b40bf72", "rev": "aeb58d5e8faead8980a807c840232697982d47b9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -20,12 +20,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1653117584, "lastModified": 1695825837,
"narHash": "sha256-5uUrHeHBIaySBTrRExcCoW8fBBYVSDjDYDU5A6iOl+k=", "narHash": "sha256-4Ne11kNRnQsmSJCRSSNkFRSnHC4Y5gPDBIQGjjPfJiU=",
"owner": "NixOS", "path": "/nix/store/mrqyw5xdivdymj83v5d9jzzs2ifmw8h0-source",
"repo": "nixpkgs", "rev": "5cfafa12d57374f48bcc36fda3274ada276cf69e",
"rev": "f4dfed73ee886b115a99e5b85fdfbeb683290d83", "type": "path"
"type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "id": "nixpkgs",
@ -34,12 +33,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1653117584, "lastModified": 1695825837,
"narHash": "sha256-5uUrHeHBIaySBTrRExcCoW8fBBYVSDjDYDU5A6iOl+k=", "narHash": "sha256-4Ne11kNRnQsmSJCRSSNkFRSnHC4Y5gPDBIQGjjPfJiU=",
"owner": "NixOS", "path": "/nix/store/mrqyw5xdivdymj83v5d9jzzs2ifmw8h0-source",
"repo": "nixpkgs", "rev": "5cfafa12d57374f48bcc36fda3274ada276cf69e",
"rev": "f4dfed73ee886b115a99e5b85fdfbeb683290d83", "type": "path"
"type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "id": "nixpkgs",
@ -57,22 +55,41 @@
"src": { "src": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-rokT3gG2BKALiOQ5kSaf0FKXzH9dGnR8t3nsAH7YsLc=", "lastModified": 0,
"path": ".", "narHash": "sha256-BzAD04MXi8kqeGvPrcgQtxYxkLrPuVqMUvoukS6FCng=",
"path": "./.",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": ".", "path": "./.",
"type": "path" "type": "path"
} }
}, },
"utils": { "systems": {
"locked": { "locked": {
"lastModified": 1652776076, "lastModified": 1681028828,
"narHash": "sha256-gzTw/v1vj4dOVbpBSJX4J0DwUR6LIyXo7/SuuTJp1kM=", "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "04c1b180862888302ddfb2e3ad9eaa63afc60cf8", "rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -39,7 +39,7 @@
# `nix develop` # `nix develop`
devShell = pkgs.mkShell { devShell = pkgs.mkShell {
nativeBuildInputs = with pkgs; [ rustc cargo ]; nativeBuildInputs = with pkgs; [ rustc cargo openssl pkg-config ];
}; };
}); });
} }