From 2cf8f2e746838cd94fcc58f7013aa77e5dd27b68 Mon Sep 17 00:00:00 2001 From: Santiago Fraire Date: Fri, 23 Jun 2023 19:31:29 +0200 Subject: [PATCH] docs: add lock to shell-environments --- examples/project-commands/flake.lock | 0 examples/shell-environments/README.md | 3 ++ examples/shell-environments/flake.lock | 63 ++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 examples/project-commands/flake.lock create mode 100644 examples/shell-environments/flake.lock diff --git a/examples/project-commands/flake.lock b/examples/project-commands/flake.lock new file mode 100644 index 0000000..e69de29 diff --git a/examples/shell-environments/README.md b/examples/shell-environments/README.md index a5d81e8..de18ac7 100644 --- a/examples/shell-environments/README.md +++ b/examples/shell-environments/README.md @@ -14,6 +14,9 @@ You can search for more package in [nix packages](https://search.nixos.org/packa ## Usage +> **Warning** +> If you copy the flake.nix remember to add it to git, otherwise it won't work + The [`devShells` option](https://flake.parts/options/flake-parts.html#opt-perSystem.devShells) is used by the following command: ```sh diff --git a/examples/shell-environments/flake.lock b/examples/shell-environments/flake.lock new file mode 100644 index 0000000..f1371b0 --- /dev/null +++ b/examples/shell-environments/flake.lock @@ -0,0 +1,63 @@ +{ + "nodes": { + "flake-parts": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1685662779, + "narHash": "sha256-cKDDciXGpMEjP1n6HlzKinN0H+oLmNpgeCTzYnsA2po=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "71fb97f0d875fd4de4994dfb849f2c75e17eb6c3", + "type": "github" + }, + "original": { + "id": "flake-parts", + "type": "indirect" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1687412861, + "narHash": "sha256-Z/g0wbL68C+mSGerYS2quv9FXQ1RRP082cAC0Bh4vcs=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e603dc5f061ca1d8a19b3ede6a8cf9c9fcba6cdc", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-lib": { + "locked": { + "dir": "lib", + "lastModified": 1685564631, + "narHash": "sha256-8ywr3AkblY4++3lIVxmrWZFzac7+f32ZEhH/A8pNscI=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "4f53efe34b3a8877ac923b9350c874e3dcd5dc0a", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-parts": "flake-parts", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +}