Commit graph

127 commits

Author SHA1 Message Date
Eelco Dolstra
2557dc6392
Merge pull request #94 from osbm/flake-outputs
Use non-deprecated flake outputs
2025-10-14 14:23:48 +02:00
a753c6a8fe Use non-deprecated flake outputs 2025-10-03 08:41:31 +03:00
Hamish Mackenzie
ad0e221dda
Use numtide/flake-utils (#86)
#67 had some bit rot when it was merged.  Haskell.nix does not depend on `flake-utils` internally any more (so we can't get the patched version from there).

Now that https://github.com/numtide/flake-utils/pull/97 is merged we can use `numtide/flake-utils` directly in this template.
2024-09-01 23:57:16 -04:00
Bassel Mabsout
bed78cb79f
Created Typescript templates (#82)
* added a typescript-pnpm template

* moved to pnpm subfolder

* fixed missing semicolon

* made use of markup for welcome text

* removed vscodium from template to simplify

* added typescript-p5js template, and cleaned up the welcome text for typescript templates

* fixed extraneous };

* added .envrc to typescript templates

* fixed bug in p5js template

* replaced package name and removed unnecessary allowUnfree from typescript templates

* fixed p5js not being imported by default

* Update typescript/pnpm-p5js/flake.nix

Co-authored-by: tomberek <tomberek@users.noreply.github.com>

---------

Co-authored-by: tomberek <tomberek@users.noreply.github.com>
2024-08-17 22:35:29 -04:00
tomberek
94d806168d
Merge pull request #32 from ngiger/master
Added ruby template
2024-08-17 03:21:52 -04:00
tomberek
d67a59ef0f
Merge branch 'master' into master 2024-08-17 03:21:46 -04:00
Tom Bereknyei
7fe47be35e bump: ruby deps 2024-08-17 03:20:52 -04:00
tomberek
63f055ff41
Merge pull request #67 from hamishmack/hkm/haskell-nix-fixes
Use flake-utils from haskell.nix and fix `packages`
2024-08-17 03:12:52 -04:00
tomberek
85c8293501
Merge pull request #84 from Smaug123/expand-dotnet
Expand and tighten up the .NET template
2024-08-17 03:05:56 -04:00
tomberek
be93f0377f
Merge pull request #76 from carlthome/add-latex-template
Add LaTeX writing template with `latexmk`
2024-07-02 18:55:57 -04:00
Carl Thomé
2105fdbc10
Add LaTeX writing template with latexmk 2024-07-02 22:25:01 +02:00
Smaug123
17a82cb4cf
Expand and tighten up the .NET template 2024-06-01 00:29:34 +01:00
Eelco Dolstra
c57ac1ea60
Merge pull request #81 from Rexcrazy804/patch-1
minor refactor in flake.nix
2024-04-09 12:56:11 +02:00
Rexiel Scarlet
30a6f18805
minor refactor
appended a newline before ');', slightly improving the visibility of the  block scope. This is in compliance with the rnix lsp formater :D
2024-04-09 15:26:42 +05:30
Eelco Dolstra
bfc872cab5
Merge pull request #78 from atcol/patch-1
chore: update install-nix-action to latest; fix nix build command
2024-04-02 17:42:57 +02:00
Alex
19d06ec251
chore: update install-nix-action to latest; fix nix build command 2024-03-30 10:14:07 +00:00
Eelco Dolstra
0bd1047151
Merge pull request #77 from pinpox/go-vendor-hash
Use vendorHash instead of deprecated sha256
2024-03-28 11:04:01 +01:00
Pablo Ovelleiro Corral
560fbb6a6a
Use vendorHash instead of deprecated sha256 2024-03-28 11:01:17 +01:00
tomberek
259699d91b
Merge pull request #75 from peterbecich/add-haskell-flake
add `haskell-flake` to list
2024-02-20 22:03:52 -05:00
Peter Becich
1c160025a3
clarify haskell-flake description 2024-02-17 17:24:41 -08:00
Matthieu Coudron
6ca9b8b02e add nixpkgs as input of "trivial" template
I had to give a nix training yesterday trying to explain nix, how flakes
are purer than nix <2.4 than I asked the students to run `nix flake init`
which doesnt generate any input.
It forces to introduce the concept of registry and makes it less "pure"
as now your inputs are hidden.
I add the inputs here to make it more newcomer friendly, and I think it
makes developinbg your own flake easier with inputs laid out fromn the
start.
see https://github.com/NixOS/nix/issues/7005
2024-02-14 22:16:34 -05:00
Peter Becich
192f1d969b
add haskell-flake to list
closes: https://github.com/NixOS/templates/issues/74
2024-02-08 20:33:10 -08:00
Wanten
35355cc7ba
template full: Fix typo in flake.nix (#73)
* template full: Fix typo in flake.nix

* template go-hello: Fix typo in flake.nix
2024-01-19 12:08:25 -05:00
tomberek
105b28c090
Merge pull request #23 from schuelermine/add-empty
Add empty template
2024-01-08 13:13:44 -05:00
tomberek
2de6f483a6
Merge branch 'master' into add-empty 2024-01-08 13:13:10 -05:00
tomberek
825696af1f
Merge pull request #36 from cab404/utils-generic-template
Added utils-generic template
2024-01-08 13:11:18 -05:00
tomberek
615ca9d6ee
Merge branch 'master' into utils-generic-template 2024-01-08 13:10:35 -05:00
tomberek
98c7477e11
Merge pull request #58 from Smaug123/dotnet-template
.NET template
2024-01-08 12:56:46 -05:00
Tom Bereknyei
cad507ec3d fix: remove lock per PR 72 2024-01-08 12:55:42 -05:00
tomberek
6a514c4a4c
Merge pull request #68 from bts/bts/fix-python-template
python: Add poetry.lock to allow `nix develop`
2024-01-08 12:27:04 -05:00
Tom Bereknyei
5dacec6060 fix: update python template to use nix-community 2024-01-08 12:23:54 -05:00
tomberek
cdb0b2cdc9
Merge pull request #72 from ifd3f/master
Remove all flake.lock files in templates
2024-01-08 12:12:22 -05:00
Astrid Yu
fb0b87761f Remove all flake.lock files 2023-12-22 16:11:52 -08:00
Domen Kožar
98bc26d940
Merge pull request #63 from peterbecich/haskell-template-with-haskell-flake
`srid/haskell-flake` example
2023-10-15 11:00:28 +01:00
Peter Becich
738e81954a
remove test.sh, unnecessary 2023-09-02 21:24:16 -07:00
Peter Becich
f2217f7fcd
haskell-flake example
copied from https://github.com/srid/haskell-flake/tree/0.4.0/example
2023-09-02 21:16:59 -07:00
Peter Becich
be0d2b6113
srid/haskell-template
Including `srid/haskell-template` in the official templates is approved by @srid: https://github.com/srid/haskell-flake/discussions/131
2023-09-02 21:16:59 -07:00
Tomo
0fb94bf871
full: Mark nixosModule as deprecated (#70)
See https://github.com/NixOS/nix/pull/6375
2023-08-07 11:16:09 -04:00
Brian Schroeder
cadb68944a python: Add flake.lock to allow nix develop 2023-07-16 16:39:55 -04:00
Hamish Mackenzie
dcd4ad95b3
Use flake-utils from haskell.nix and fix packages
The version of `flake-utils` we use in haskell.nix includes https://github.com/numtide/flake-utils/pull/97

The `packages` attribute was replaced instead of extended by the code that adds `packages.default`.
2023-06-26 17:55:17 +12:00
cab
e3c2629294
Added utils-generic template 2023-04-05 22:21:07 +04:00
Domen Kožar
0edaa06373
Merge pull request #61 from peterbecich/update-haskell.nix-flake-template
update haskell.nix Flake template
2023-03-11 12:44:44 +04:00
Peter Becich
e7a5f0e307
update haskell.nix Flake template
GHC 9.2.6

trying to fix caching of Flake template https://github.com/input-output-hk/haskell.nix/issues/1824

follows https://github.com/NixOS/templates/pull/57
2023-03-01 19:24:43 -08:00
Sandro
3ac7e8ba52
Use pname+version, don't overwrite unpackPhase (#35) 2023-02-16 07:40:31 -05:00
tomberek
7bf5bdbf5d
Merge branch 'master' into add-empty 2023-02-16 07:39:53 -05:00
Stef Dunlap
4d03901dae
Add example for devShells in go-hello (#60)
It took me bit to figure out how to get development dependencies into a go
project when converting from shell.nix to flake.nix. I'm hoping adding this
here will help those following behind.

Some credit for working out how to do this from
https://xeiaso.net/blog/nix-flakes-1-2022-02-21
2023-02-16 07:37:28 -05:00
Peter Becich
e9951bb154
update haskell.nix flake template (#57)
Also set `packages.default` to the example in the template, as done here: https://input-output-hk.github.io/haskell.nix/tutorials/getting-started-flakes.html#scaffolding
2023-02-16 07:35:56 -05:00
Smaug123
006a3efeec Basic .NET template
Conform to template submission guidelines
2023-01-09 22:38:47 +00:00
Kovacsics Robert
2d6dcce2f3
template full: Fix typo in flake.nix (#56)
Closes #38
2022-12-21 14:34:09 -05:00
Tim
dfd2a90b15
rename input to correctly reflect naming scheme (#55)
stable branches in nixpkgs are named like so 'nixos-<release>'
updated flake lock with
$ nix flake lock --update-input nixpkgsGitHubBranch
some of the inputs got shuffled around

Co-authored-by: Tim Häring <tim.haering@posteo.net>
2022-11-25 16:59:14 -05:00