Skip to content

Commit

Permalink
add office windows
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongchenyu6 committed Nov 12, 2023
1 parent 3897350 commit da48e25
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 11 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion templates/cpp/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";

nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
devenv = {
url = "github:cachix/devenv";
Expand Down
3 changes: 2 additions & 1 deletion templates/empty/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# SPDX-License-Identifier: CC0-1.0
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";

nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
devenv = {
url = "github:cachix/devenv";
Expand Down
3 changes: 2 additions & 1 deletion templates/go/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";

flake-utils.url = "github:numtide/flake-utils";
devenv = {
url = "github:cachix/devenv";
Expand Down
3 changes: 2 additions & 1 deletion templates/java/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";

nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
devenv = {
url = "github:cachix/devenv";
Expand Down
7 changes: 6 additions & 1 deletion templates/javascript/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# SPDX-License-Identifier: CC0-1.0
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";

flake-utils.url = "github:numtide/flake-utils";
devenv = {
url = "github:cachix/devenv";
Expand All @@ -17,6 +18,10 @@
in {
devShell = devenv.lib.mkShell {
inherit inputs pkgs;
env = {
# This is your devenv configuration
NODE_OPTIONS = "--openssl-legacy-provider";
};
modules = [
({ pkgs, ... }: {
packages = with pkgs; [ ];
Expand Down
4 changes: 3 additions & 1 deletion templates/python/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";

nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
devenv = {
url = "github:cachix/devenv";
Expand All @@ -18,6 +19,7 @@
in {
devShell = devenv.lib.mkShell {
inherit inputs pkgs;

modules = [
({ pkgs, ... }: {
# This is your devenv configuration
Expand Down
3 changes: 2 additions & 1 deletion templates/rust/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";

nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
devenv = {
url = "github:cachix/devenv";
Expand Down
3 changes: 2 additions & 1 deletion templates/shell/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";

nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
devenv = {
url = "github:cachix/devenv";
Expand Down

0 comments on commit da48e25

Please sign in to comment.