Comments (4)
Yeah, that would be cool.
It seems like nix-instantiate --eval main.nix
can be used to output stuff to stdout.
from glot.
I added a basic version: https://glot.io/new/nix
Let me know if you had something else in mind.
from glot.
Cool!
Is there anyway that the networking can be enabled in the container for trusted users, so something like this will run. Obviously this makes it way more fun :-)
import (builtins.fetchTarball {
# Descriptive name to make the store path easier to identify
name = "nixos-unstable-2018-09-12";
# Commit hash for nixos-unstable as of 2018-09-12
url = "https://github.com/nixos/nixpkgs/archive/ca2ba44cab47767c8127d1c8633e2b581644eb8f.tar.gz";
# Hash obtained using `nix-prefetch-url --unpack <url>`
sha256 = "1jg7g6cfpw8qvma0y19kwyp549k1qyf11a5sg6hvn6awvmkny47v";
}) {}
error: unable to download 'https://github.com/nixos/nixpkgs/archive/ca2ba44cab47767c8127d1c8633e2b581644eb8f.tar.gz': Couldn't resolve host name (6)
This would allow a fully functional nix environment... :-) ...
from glot.
Is there anyway that the networking can be enabled in the container for trusted users
I'm not sure how to identify trusted users. I have considered adding paid accounts that would have networking enabled though.
from glot.
Related Issues (20)
- Nim Old Version HOT 1
- Perl 6 -> Raku HOT 1
- Update Haskell compiler (GHC) to current version HOT 1
- Any way to embed a snippet on a website? HOT 1
- Instalation steps HOT 1
- SSL certification problem HOT 1
- Cant get output HOT 2
- getting error HOT 1
- language versions HOT 2
- api failed?
- Elm: "Elm-Tests" and "Elm-Fuzz"
- How to get code runtime and memory usage?
- PHP 8 HOT 1
- glot.io are vulnerable to CVE-2022-0847 HOT 1
- Having trouble run c++ program HOT 1
- Zig support HOT 3
- Query - API Limit HOT 1
- API disallow cors HOT 2
- python换行
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glot.