aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/simple/flake.lock57
-rw-r--r--examples/simple/flake.nix8
2 files changed, 59 insertions, 6 deletions
diff --git a/examples/simple/flake.lock b/examples/simple/flake.lock
new file mode 100644
index 0000000..b24646a
--- /dev/null
+++ b/examples/simple/flake.lock
@@ -0,0 +1,57 @@
+{
+ "nodes": {
+ "futils": {
+ "inputs": {
+ "systems": "systems"
+ },
+ "locked": {
+ "lastModified": 1722349920,
+ "narHash": "sha256-Jyg5B9g9TtE9xGZpT6U77LwmjRGyzKrWh5GBZ5h7kpc=",
+ "ref": "refs/heads/main",
+ "rev": "fa2922de79eb53448c934e447e3490383fed4cd1",
+ "revCount": 2,
+ "type": "git",
+ "url": "https://git.sorre.xyz/miranb/futils"
+ },
+ "original": {
+ "type": "git",
+ "url": "https://git.sorre.xyz/miranb/futils"
+ }
+ },
+ "nixpkgs": {
+ "locked": {
+ "lastModified": 0,
+ "narHash": "sha256-+W5eZOhhemLQxelojLxETfbFbc19NWawsXBlapYpqIA=",
+ "path": "/nix/store/70y8v9qfn34sdfsnwh3l9772lk4rpfiy-source",
+ "type": "path"
+ },
+ "original": {
+ "id": "nixpkgs",
+ "type": "indirect"
+ }
+ },
+ "root": {
+ "inputs": {
+ "futils": "futils",
+ "nixpkgs": "nixpkgs"
+ }
+ },
+ "systems": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ }
+ },
+ "root": "root",
+ "version": 7
+}
diff --git a/examples/simple/flake.nix b/examples/simple/flake.nix
index 366464d..3695196 100644
--- a/examples/simple/flake.nix
+++ b/examples/simple/flake.nix
@@ -1,10 +1,6 @@
{
description = "futils demo.";
-
- inputs.futils = {
- url = "git+https://git.sorre.xyz/miranb/futils";
- inputs.nixpkgs.follows = "nixpkgs";
- };
+ inputs.futils.url = "git+https://git.sorre.xyz/miranb/futils";
outputs =
{
@@ -18,7 +14,7 @@
pkgs = nixpkgs.legacyPackages.${system};
in
{
- devShells.default = futils.lib.mkMinimalShell pkgs {
+ devShells.default = futils.lib.minimalMkShell pkgs {
packages = with pkgs; [
git
hello