add flake
This commit is contained in:
parent
239e13246f
commit
cd5df7b956
24
flake.lock
Normal file
24
flake.lock
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1690630041,
|
||||
"narHash": "sha256-gbnvqm5goS9DSKAqGFpq3398aOpwejmq4qWikqmQyRo=",
|
||||
"path": "/nix/store/qxgp86sdhxwzj0k89kz2aaw0xw7d8f6i-source",
|
||||
"rev": "d57e8c535d4cbb07f441c30988ce52eec69db7a8",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
12
flake.nix
Normal file
12
flake.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
description = "My website";
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
{
|
||||
devShells.x86_64-linux.default = import ./shell.nix {
|
||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||
};
|
||||
|
||||
defaultPackage.x86_64-linux = self.devShells.x86_64-linux.default;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user