parent
adcb941c6d
commit
3a8388b09f
1 changed files with 5 additions and 3 deletions
|
@ -63,17 +63,19 @@ ls.add_snippets("nix", {
|
||||||
[[
|
[[
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";<inputs>
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";<inputs>
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{ nixpkgs, ... }:
|
{ nixpkgs, ... }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = import nixpkgs { inherit system; };
|
||||||
|
|
||||||
|
inherit (pkgs) mkShell;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
devShells.${system}.default = pkgs.mkShell {
|
devShells.${system}.default = mkShell {
|
||||||
packages = with pkgs; [ <pkgs> ];
|
packages = with pkgs; [ <pkgs> ];
|
||||||
};<finish>
|
};<finish>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue