Created
February 5, 2023 17:41
-
-
Save DamienCassou/4d355b3648369586b7226554f46a9891 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodes": { | |
"devenv": { | |
"locked": { | |
"dir": "src/modules", | |
"lastModified": 1675567441, | |
"narHash": "sha256-SGXaZkv/7MTt+iplexU2ZU2yY10G5lFsjGu4Q5j1p44=", | |
"owner": "cachix", | |
"repo": "devenv", | |
"rev": "871faa3fee0f4550074212b3db180e62fa699ab4", | |
"type": "github" | |
}, | |
"original": { | |
"dir": "src/modules", | |
"owner": "cachix", | |
"repo": "devenv", | |
"type": "github" | |
} | |
}, | |
"flake-compat": { | |
"flake": false, | |
"locked": { | |
"lastModified": 1673956053, | |
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", | |
"owner": "edolstra", | |
"repo": "flake-compat", | |
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "edolstra", | |
"repo": "flake-compat", | |
"type": "github" | |
} | |
}, | |
"flake-utils": { | |
"locked": { | |
"lastModified": 1667395993, | |
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", | |
"owner": "numtide", | |
"repo": "flake-utils", | |
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "numtide", | |
"repo": "flake-utils", | |
"type": "github" | |
} | |
}, | |
"gitignore": { | |
"inputs": { | |
"nixpkgs": [ | |
"pre-commit-hooks", | |
"nixpkgs" | |
] | |
}, | |
"locked": { | |
"lastModified": 1660459072, | |
"narHash": "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8=", | |
"owner": "hercules-ci", | |
"repo": "gitignore.nix", | |
"rev": "a20de23b925fd8264fd7fad6454652e142fd7f73", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "hercules-ci", | |
"repo": "gitignore.nix", | |
"type": "github" | |
} | |
}, | |
"nixpkgs": { | |
"locked": { | |
"lastModified": 1675584158, | |
"narHash": "sha256-SBkchaDzCHxnPNRDdtZ5ko5caHio9iS0Mbyn/xXbXxs=", | |
"owner": "NixOS", | |
"repo": "nixpkgs", | |
"rev": "d840126a0890621e7b220894d749132dd4bde6a0", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "NixOS", | |
"ref": "nixpkgs-unstable", | |
"repo": "nixpkgs", | |
"type": "github" | |
} | |
}, | |
"nixpkgs-stable": { | |
"locked": { | |
"lastModified": 1673800717, | |
"narHash": "sha256-SFHraUqLSu5cC6IxTprex/nTsI81ZQAtDvlBvGDWfnA=", | |
"owner": "NixOS", | |
"repo": "nixpkgs", | |
"rev": "2f9fd351ec37f5d479556cd48be4ca340da59b8f", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "NixOS", | |
"ref": "nixos-22.11", | |
"repo": "nixpkgs", | |
"type": "github" | |
} | |
}, | |
"pre-commit-hooks": { | |
"inputs": { | |
"flake-compat": "flake-compat", | |
"flake-utils": "flake-utils", | |
"gitignore": "gitignore", | |
"nixpkgs": [ | |
"nixpkgs" | |
], | |
"nixpkgs-stable": "nixpkgs-stable" | |
}, | |
"locked": { | |
"lastModified": 1675337566, | |
"narHash": "sha256-jmLBTQcs1jFOn8h1Q5b5XwPfYgFOtcZ3+mU9KvfC6Js=", | |
"owner": "cachix", | |
"repo": "pre-commit-hooks.nix", | |
"rev": "5668d079583a5b594cb4e0cc0e6d84f1b93da7ae", | |
"type": "github" | |
}, | |
"original": { | |
"owner": "cachix", | |
"repo": "pre-commit-hooks.nix", | |
"type": "github" | |
} | |
}, | |
"root": { | |
"inputs": { | |
"devenv": "devenv", | |
"nixpkgs": "nixpkgs", | |
"pre-commit-hooks": "pre-commit-hooks" | |
} | |
} | |
}, | |
"root": "root", | |
"version": 7 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, ... }: | |
{ | |
env.GREET = "hello"; | |
packages = [ pkgs.jq ]; | |
enterShell = '' | |
echo $GREET | |
jq --version | |
''; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inputs: | |
nixpkgs: | |
url: github:NixOS/nixpkgs/nixpkgs-unstable | |
# can't point to the local modules here as it's used as a template |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment